<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Fair enough.  :)  I wasn't sure what chunks of information would be needed, or if the entire cfg is required.  I'm pasting the sections that  I edited and that I think are relevent.</p>
<p><br>
</p>
<p>Thank you!</p>
<p><br>
</p>
<p>From the kamailio.cfg log:</p>
<p></p>
<div># *** To run in debug mode:</div>
<div>#     - define WITH_DEBUG</div>
<div>#!define WITH_DEBUG</div>
<div><br>
</div>
<br>
<p></p>
<p><br>
</p>
<p></p>
<div>### LOG Levels: 3=DBG, 2=INFO, 1=NOTICE, 0=WARN, -1=ERR</div>
<div>#!ifdef WITH_DEBUG</div>
<div>debug=4</div>
<div>log_stderror=yes</div>
<div>#!else</div>
<div>debug=2</div>
<div>log_stderror=no</div>
<div>#!endif</div>
<div><br>
</div>
<div>memdbg=5</div>
<div>memlog=5</div>
<div><br>
</div>
<div>log_facility=LOG_LOCAL0</div>
<div><br>
</div>
<div>/* number of SIP routing processes */</div>
<div>children=8</div>
<div><br>
</div>
<div>/* add local domain aliases */</div>
<div>#alias="sip.mydomain.com"</div>
<div><br>
</div>
<div>/* uncomment and configure the following line if you want Kamailio to</div>
<div> * bind on a specific interface/port/proto (default bind on all available) */</div>
<div># listen=udp:10.0.0.10:5060</div>
<div><br>
</div>
<div>/* port to listen to (default 5060 for udp, tcp, scrtp, or 5061 for tls)*/</div>
<div># port=5060</div>
<div>listen=129.82.13.26:5060</div>
<div>listen=129.82.13.26:5065</div>
<div>listen=129.82.13.26:5066</div>
<div>listen=129.82.13.26:5067</div>
<div><br>
</div>
.:: Routing Infomration ::.
<p></p>
<p></p>
<div>route[WITHINDLG] {</div>
<div>        if (!has_totag()) return;</div>
<div><br>
</div>
<div>        # sequential request withing a dialog should</div>
<div>        # take the path determined by record-routing</div>
<div>        if (loose_route()) {</div>
<div>                route(DLGURI);</div>
<div>                if (is_method("BYE")) {</div>
<div>                        setflag(FLT_ACC); # do accounting ...</div>
<div>                        setflag(FLT_ACCFAILED); # ... even if the transaction fails</div>
<div>                } else if ( is_method("ACK") ) {</div>
<div>                        # ACK is forwarded statelessy</div>
<div>                        route(NATMANAGE);</div>
<div>                } else if ( is_method("NOTIFY") ) {</div>
<div>                        # Add Record-Route for in-dialog NOTIFY as per RFC 6665.</div>
<div>                        record_route();</div>
<div><br>
</div>
<div>                        # Copied code - maybe it'll work?</div>
<div>                        sl_send_reply("200", "OK");</div>
<div>                        rewritehost("otc.colostate.edu");</div>
<div>#                        t_relay("tcp:129.82.13.X:5066");</div>
<div>                        t_relay_to_tcp("129.82.13.X","5066");</div>
<div>                        exit;</div>
<div>                }</div>
<div>                route(RELAY);</div>
<div>                exit;</div>
<div>        }</div>
<div><br>
</div>
... other stuff ...
<p></p>
<p>}</p>
<p><br>
</p>
<p><br>
</p>
<div id="x_Signature">
<div id="x_divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="font-family:Tahoma; font-size:13px">
<div>
<div>
<p style="font-family:Tahoma; font-size:13px"></p>
<p style="font-family:Tahoma; font-size:13px"><br>
</p>
<p style="font-family:Tahoma; font-size:13px"><br>
</p>
<p>Robert Remsik</p>
<p>ACNS</p>
<p>Desk Phone: 970 491 7120</p>
<p>Robert.Remsik@colostate.edu</p>
<p style="font-family:Tahoma; font-size:13px"></p>
</div>
</div>
</div>
</div>
</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> sr-users <sr-users-bounces@lists.kamailio.org> on behalf of Antony Stone <Antony.Stone@kamailio.open.source.it><br>
<b>Sent:</b> Friday, May 5, 2017 8:37:32 AM<br>
<b>To:</b> Kamailio (SER) - Users Mailing List<br>
<b>Subject:</b> Re: [SR-Users] How to debug Kamailio</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">On Friday 05 May 2017 at 15:34:39, Remsik,Robert wrote:<br>
<br>
> Hello!<br>
> <br>
> I've got a base install of Kamailio and I'm trying to have it forward<br>
> packets generated by sipsak to a different proxy (a migration of an<br>
> existing ruleset by opensips).  I can get the Kamailio process started but<br>
> I can't figure out why Kamailio isn't forwarding the packet and I haven't<br>
> been able to get debugging working to determine what's going on inside<br>
> Kamailio to fix it.<br>
> <br>
> Can anyone please help me figure out how to debug this?<br>
<br>
Only if you show us what you've tried so far.<br>
<br>
For example, what changes have you made to the default configuration?<br>
<br>
<br>
Antony.<br>
<br>
-- <br>
<flopsie> yes, but this is #lbw, we don't do normal<br>
<br>
                                                   Please reply to the list;<br>
                                                         please *don't* CC me.<br>
<br>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
sr-users@lists.kamailio.org<br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</div>
</span></font>
</body>
</html>