I was having a similar problem with SipStation trunks (never fully got it resolved before I changed providers).<div>FS would spit out tons of reg packets but receive no response from the other end, instead it would timeout then re-register as if nothing was wrong.</div>
<div><br></div><div>I was enlightened to the use of the following line in my provider configuration (however, please keep in mind my problems continued):</div><div><span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px; "><pre style="padding-top: 1em; padding-right: 1em; padding-bottom: 1em; padding-left: 1em; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dashed; border-right-style: dashed; border-bottom-style: dashed; border-left-style: dashed; border-top-color: rgb(47, 111, 171); border-right-color: rgb(47, 111, 171); border-bottom-color: rgb(47, 111, 171); border-left-color: rgb(47, 111, 171); color: black; background-color: rgb(249, 249, 249); line-height: 1.1em; ">
<param name="extension-in-contact" value="true"/>
</pre><div><br></div></span><br><div class="gmail_quote"><br></div><div class="gmail_quote">On Mon, Mar 14, 2011 at 5:10 PM, Madovsky <span dir="ltr"><<a href="mailto:infos@madovsky.org">infos@madovsky.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#ffffff">
<div><font size="2">oopss, sorry I sent the send message...</font></div>
<div><font size="2">apparently their server doesn't answer..</font></div>
<div><font size="2">some 10 sends are made without answer</font></div>
<blockquote style="border-left:#000000 2px solid;padding-left:5px;padding-right:0px;margin-left:5px;margin-right:0px"><div class="im">
<div style="font:10pt arial">----- Original Message ----- </div>
<div style="font:10pt arial;background:#e4e4e4"><b>From:</b>
<a title="infos@madovsky.org" href="mailto:infos@madovsky.org" target="_blank">Madovsky</a>
</div>
<div style="font:10pt arial"><b>To:</b> <a title="freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">FreeSWITCH Users Help</a>
</div>
</div><div><div></div><div class="h5"><div style="font:10pt arial"><b>Sent:</b> Monday, March 14, 2011 8:01
PM</div>
<div style="font:10pt arial"><b>Subject:</b> Re: [Freeswitch-users] debug
down trunk</div>
<div><br></div>
<div><font size="2">thanks Steve,</font></div>
<div><font size="2"></font> </div>
<div><font size="2">here the trace :</font></div>
<div><font size="2"></font> </div>
<div><font size="2"><font size="1">
<p>------------------------------------------------------------------------<br>send
643 bytes to udp/[10.10.10.10]:5060 at
23:57:10.312821:<br>------------------------------------------------------------------------<br>OPTIONS
sip:10.10.10.10;transport=udp SIP/2.0<br>Via: SIP/2.0/UDP
30.30.30.30;rport;branch=z9hG4bKD38154a4e7rXa<br>Max-Forwards: 70<br>From:
<b><</b>sip:freeswitch@<b>10</b>.<b>10</b>.<b>10</b>.<b>10</b>;transport=udp<b>></b>;tag=eB6B7NSge90vK<br>To:
<b><</b>sip:freeswitch@<b>10</b>.<b>10</b>.<b>10</b>.<b>10</b>;transport=udp<b>></b><br>Call-ID:
974aa6c8-c939-122e-45ab-00e0ed0b00c2<br>CSeq: 9737404 OPTIONS<br>Contact:
<b><</b>sip:gw+trunk_3@<b>30</b>.<b>30</b>.<b>30</b>.<b>30</b>:<b>5060</b>;tport=tcp;transport=udp;gw=trunk_3<b>></b><br>User-Agent:
CiscoSystems-SIP-GW-UA<br>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE,
UPDATE, INFO, REFER, NOTIFY<br>Supported: timer, precondition, path,
replaces<br>Allow-Events: talk, hold, refer<br>Content-Length: 0</p>
<p></p></font></font><font size="2">------------------------------------------------------------------------</font><font size="2"></font></div>
<div><font size="2">
<p>weird because it looks like exactly the same response as the other trunks
but<br>it states to down....</p></font></div>
<blockquote style="border-left:#000000 2px solid;padding-left:5px;padding-right:0px;margin-left:5px;margin-right:0px">
<div style="font:10pt arial">----- Original Message ----- </div>
<div style="font:10pt arial;background:#e4e4e4"><b>From:</b>
<a title="steveayre@gmail.com" href="mailto:steveayre@gmail.com" target="_blank">Steven
Ayre</a> </div>
<div style="font:10pt arial"><b>To:</b> <a title="freeswitch-users@lists.freeswitch.org" href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">FreeSWITCH Users
Help</a> </div>
<div style="font:10pt arial"><b>Sent:</b> Monday, March 14, 2011 5:06
PM</div>
<div style="font:10pt arial"><b>Subject:</b> Re: [Freeswitch-users] debug
down trunk</div>
<div><br></div>408 is the error code - this means "408 Request timed
out"<br><br>FS tries sending an OPTIONS request to the gateway and waits for
a reply to test whether it is online or not..<br><br>You can use the
siptrace to see those messages and the reply:<br>sofia global siptrace
on<br><br>-Steve<br><br><br>
<div class="gmail_quote">On 14 March 2011 19:03, Madovsky <span dir="ltr"><<a href="mailto:infos@madovsky.org" target="_blank">infos@madovsky.org</a>></span>
wrote:<br>
<blockquote style="border-left:rgb(204,204,204) 1px solid;margin:0pt 0pt 0pt 0.8ex;padding-left:1ex" class="gmail_quote">
<div bgcolor="#ffffff">
<div><font size="2">I set external.xml to debug=1 and sip trace to 1 and
level debug to 7</font></div>
<div><font size="2">but I can get only this in the log</font></div>
<div><font size="2"></font> </div>
<div><font size="2">sofia.c:4028 Ping failed trunk_3 with code 408 - count
-1/-1/1, state DOWN</font></div>
<div><font size="2"></font> </div>
<div><font size="2">so I don't know why this trunk is down.</font></div>
<div><font size="2">I contacted them and they said that my account is
working.</font></div>
<div><font size="2"></font> </div>
<div><font size="2">Thanks</font></div></div><br>_______________________________________________<br>FreeSWITCH-users
mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>
<div style="text-align:left;padding-bottom:0px;line-height:130%;margin-top:0px;padding-left:0px;padding-right:0px;word-wrap:break-word;color:black;margin-left:0px;font-size:10px;overflow:hidden;padding-top:0px"></div>
<p>
</p><hr>
<p></p>_______________________________________________<br>FreeSWITCH-users
mailing
list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<p></p></blockquote>
</div></div><p>
</p><hr><div class="im">
<p></p>_______________________________________________<br>FreeSWITCH-users
mailing
list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div><p></p></blockquote></div>
<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>