<html><head><title></title></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello all,<div>I use Bandtel as one of my trunking providers and Freeswitch will work flawlessly for 24-36 hours and then stop responding to SIP requests. &nbsp;I have monit setup to send an options ping once a minute and restart the process if it doesn't get a reply. &nbsp;This has been working ok but the Freeswitch process has to get restarted about once a day on average. &nbsp;Has anybody else had any issues like this? &nbsp;They are using fairly standard issue stuff, Freeswitch registers to SER 0.9.6 and they are using Sippy as a B2BUA on their end. &nbsp;The log shows a call ending, a period of no activity, and Freeswitch attempting to register repeatedly, the process then stops responding to requests and monit restarts Freeswitch.</div><div><br></div><div><div>2010-03-24 17:31:03.897756 [DEBUG] switch_core_state_machine.c:439 (<a href="mailto:sofia/default/13105106983@208.70.78.37">sofia/default/13105106983@208.70.78.37</a>) State DESTROY going to sleep</div><div>2010-03-24 17:33:16.353544 [NOTICE] sofia_reg.c:336 Registering bandtel</div><div>2010-03-24 17:37:58.452249 [NOTICE] sofia_reg.c:336 Registering bandtel</div><div>2010-03-24 17:42:40.588167 [NOTICE] sofia_reg.c:336 Registering bandtel</div><div>2010-03-24 17:47:22.529220 [NOTICE] sofia_reg.c:336 Registering bandtel</div><div>2010-03-24 17:53:15.899570 [INFO] switch_core.c:1734 Shutting down</div><div><br></div></div><div>Here is a typical register request.</div><div><div>&nbsp;------------------------------------------------------------------------</div><div>2010-03-24 21:12:59.955693 [NOTICE] sofia_reg.c:336 Registering bandtel</div><div>send 772 bytes to udp/[66.237.65.67]:5060 at 04:12:59.956245:</div><div>&nbsp;&nbsp; ------------------------------------------------------------------------</div><div>&nbsp;&nbsp; REGISTER <a href="sip:66.237.65.67">sip:66.237.65.67</a> SIP/2.0</div><div>&nbsp;&nbsp; Via: SIP/2.0/UDP 208.70.78.36;rport;branch=z9hG4bKZcD7H9aN1D50j</div><div>&nbsp;&nbsp; Max-Forwards: 70</div><div>&nbsp;&nbsp; From: &lt;<a href="sip:201009000001@66.237.65.67;transport=udp">sip:201009000001@66.237.65.67;transport=udp</a>&gt;;tag=3yZ6ZSZUFj3gQ</div><div>&nbsp;&nbsp; To: &lt;<a href="sip:201009000001@66.237.65.67;transport=udp">sip:201009000001@66.237.65.67;transport=udp</a>&gt;</div><div>&nbsp;&nbsp; Call-ID: b1eae39a-37ae-11df-9bcf-f1944b4d3175</div><div>&nbsp;&nbsp; CSeq: 128622152 REGISTER</div><div>&nbsp;&nbsp; Contact: &lt;<a href="sip:gw+bandtel@208.70.78.36:5060;transport=udp;gw=bandtel">sip:gw+bandtel@208.70.78.36:5060;transport=udp;gw=bandtel</a>&gt;</div><div>&nbsp;&nbsp; Expires: 390</div><div>&nbsp;&nbsp; User-Agent: FreeSWITCH</div><div>&nbsp;&nbsp; Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, NOTIFY</div><div>&nbsp;&nbsp; Supported: timer, precondition, path, replaces</div><div>&nbsp;&nbsp; Authorization: Digest username="201009000001", realm="10.1.2.1", nonce="4baabf0e1e68a1fdfbde46913ca850da0cbecc8a", algorithm=MD5, uri="<a href="sip:66.237.65.67">sip:66.237.65.67</a>", response="3974689c5cb3eeb4f09e634716d2239e"</div><div>&nbsp;&nbsp; Content-Length: 0</div><div>&nbsp;&nbsp;&nbsp;</div><div>&nbsp;&nbsp; ------------------------------------------------------------------------</div><div>recv 505 bytes from udp/[66.237.65.67]:5060 at 04:12:59.980247:</div><div>&nbsp;&nbsp; ------------------------------------------------------------------------</div><div>&nbsp;&nbsp; SIP/2.0 200 OK</div><div>&nbsp;&nbsp; From: &lt;<a href="sip:201009000001@66.237.65.67;transport=UDP">sip:201009000001@66.237.65.67;transport=UDP</a>&gt;;tag=3yZ6ZSZUFj3gQ</div><div>&nbsp;&nbsp; To: &lt;<a href="sip:201009000001@66.237.65.67;transport=UDP">sip:201009000001@66.237.65.67;transport=UDP</a>&gt;;tag=2e41cc73d384c8f458f34dd410d7744b-b5e6</div><div>&nbsp;&nbsp; Call-ID: b1eae39a-37ae-11df-9bcf-f1944b4d3175</div><div>&nbsp;&nbsp; CSeq: 128622152 REGISTER</div><div>&nbsp;&nbsp; Via: SIP/2.0/UDP 208.70.78.36;rport=5060;branch=z9hG4bKZcD7H9aN1D50j</div><div>&nbsp;&nbsp; PortaBilling: currency:USD</div><div>&nbsp;&nbsp; Server: Sip EXpress router (0.9.6 (i386/freebsd))</div><div>&nbsp;&nbsp; Contact: &lt;<a href="sip:gw+bandtel@66.237.65.67:5060;gw=bandtel">sip:gw+bandtel@66.237.65.67:5060;gw=bandtel</a>&gt;;expires=385</div><div>&nbsp;&nbsp; Expires: 385</div><div>&nbsp;&nbsp; Content-Length: 0</div><div>&nbsp;&nbsp;&nbsp;</div><div>&nbsp;&nbsp; ------------------------------------------------------------------------</div><div>2010-03-24 21:12:59.979821 [DEBUG] sofia_reg.c:1478 Changing expire time to 385 by request of proxy <a href="sip:66.237.65.67">sip:66.237.65.67</a></div><div><br></div><div>What is the best way to debug this? &nbsp;It seems strange that everything works for a while and then stops.</div><div><br></div><div>Thanks,</div><div>Spencer</div><div><br></div><div>   <div> --<br> <strong>Spencer Thomason</strong><br> 5Nine Solutions LLC<br> e. <a href="mailto:spencer@5ninesolutions.com">sales@5ninesolutions.com</a><br> p. +1.888.271.7959<br> f. +1.310.510.6980<br> <br> <a href="http://www.5ninesolutions.com/" target="_blank"><img src="http://email-docs.5ninesolutions.com/email_signature_logo.jpg"></a> </div> </div><br></div></body></html>