it&#39;s mad at the sticky<br>register-proxy need to be sip:<a href="http://sip.broadvoice.com" target="_blank">sip.broadvoice.com</a><br><br>do you need that setting, you can also omit it?<br>I actually added a patch to core just now to accept either one. (it adds a sip: when it&#39;s omitted)<br>
<br><br><br><br><div class="gmail_quote">On Mon, Nov 17, 2008 at 3:05 PM, Johny Kadarisman <span dir="ltr">&lt;<a href="mailto:jkr888@gmail.com" target="_blank">jkr888@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I add your suggested logging statement, the output looks fine to me (no garbage value). following is the result:<br>

<br>reg url=[sip:<a href="http://sip.broadvoice.com" target="_blank">sip.broadvoice.com</a>;transport=udp] to=[&lt;<a href="mailto:sip%3A6031231234@sip.broadvoice.com" target="_blank">sip:6031231234@sip.broadvoice.com</a>;transport=udp&gt;] from=[&lt;<a href="mailto:sip%3A6031231234@sip.broadvoice.com" target="_blank">sip:6031231234@sip.broadvoice.com</a>;transport=udp&gt;] contact=[&lt;sip:6031231234@69.248.102.128:5080;transport=udp&gt;] reg proxy=[sip:<a href="http://sip.broadvoice.com" target="_blank">sip.broadvoice.com</a>] sticky=[<a href="http://sip.broadvoice.com" target="_blank">sip.broadvoice.com</a>]<br>



<br>Will try to debug with gdb on my own pace :), but appreciate if you have anymore insight on what to looks.<br><br>Johny K.<div><div></div><div><br><br><div class="gmail_quote">On Mon, Nov 17, 2008 at 12:09 PM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>nta outgoing create: invalid URI<br></div>is the important part.<br><br>it doesnt like one of the uri&#39;s<br><br>open sofia_reg.c like 170 and add a debug printf right before nua_register<br><br>printf(&quot;reg url=[%s] to=[%s] from=[%s] contact=[%s] reg proxy=[%s] sticky=[%s]\n&quot;,<br>




gateway_ptr-&gt;register_url, gateway_ptr-&gt;register_from, gateway_ptr-&gt;register_from,<br>gateway_ptr-&gt;register_contact, gateway_ptr-&gt;register_proxy, gateway_ptr-&gt;register_sticky_proxy);<br><br>this should tell us which one is annoying sofia.<div>



<div></div><div><br>
<br><br><br><br><div class="gmail_quote">On Mon, Nov 17, 2008 at 10:48 AM, Johny Kadarisman <span dir="ltr">&lt;<a href="mailto:jkr888@gmail.com" target="_blank">jkr888@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




Thanks Anthony, <br><br>now, its more verbose <br><br>nua: nh_create_handle: entering<br>2008-11-17 11:40:38 [NOTICE] sofia_reg.c:158 sofia_reg_check_gateway() Registering <a href="http://broadvoice.com" target="_blank">broadvoice.com</a><br>





nua: nua_handle_bind: entering<br>nua: nua_register: entering<br>nua(0x81167d8): sent signal r_register<br>nua(0x81167d8): recv signal r_register<br>nua: nua_stack_set_params: entering<br>nta_leg_tcreate(0x80abd38)<br>nua(0x81167d8): adding register usage<br>





nta outgoing create: invalid URI<br>nta: outgoing_free(0x8107268)<br>nua(0x81167d8): event r_register 900 Internal error at nua_stack.c:2578<br>nua(0x81167d8): removing register usage<br>nta_leg_destroy(0x80abd38)<br>nua: nua_application_event: entering<br>





2008-11-17 11:40:38 [WARNING] sofia_reg.c:1087 sofia_reg_handle_sip_r_register() Registration Failed with status 900<br>nua: nua_handle_magic: entering<br>nua: nua_handle_bind: entering<br>nua: nua_handle_destroy: entering<br>





nua(0x81167d8): sent signal r_destroy<br>nua(0x81167d8): recv signal r_destroy<br>nta_leg_destroy((nil))<br><br><br>seems it failed on these area at nta.c:<br><br>&nbsp; if (invalid &lt; 0 || !orq-&gt;orq_branch || msg_serialize(msg, (void *)sip) &lt; 0) {<br>





&nbsp;&nbsp;&nbsp; SU_DEBUG_3((&quot;nta outgoing create: %s\n&quot;,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; invalid &lt; 0 ? &quot;invalid URI&quot; :<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; !orq-&gt;orq_branch ? &quot;no branch&quot; : &quot;invalid message&quot;));<br>&nbsp;&nbsp;&nbsp; outgoing_free(orq);<br>





&nbsp;&nbsp;&nbsp; return NULL;<br>&nbsp; }<br><br>or these, <br><br>&nbsp;&nbsp;&nbsp; invalid = nta_tpn_by_url(home, orq-&gt;orq_tpn, &amp;scheme, &amp;port, route_url);<br><br>those line still looks &#39;klingon&#39; to me ;)<br>I&#39;m using my old gateways config as below:<br>





<br>&lt;include&gt;<br>&nbsp; &lt;gateway name=&quot;<a href="http://broadvoice.com" target="_blank">broadvoice.com</a>&quot;&gt;<br>&nbsp; &lt;param name=&quot;username&quot; value=&quot;6031231234&quot;/&gt;<br>&nbsp; &lt;param name=&quot;realm&quot; value=&quot;<a href="http://sip.broadvoice.com" target="_blank">sip.broadvoice.com</a>&quot;/&gt;<br>





&nbsp; &lt;param name=&quot;password&quot; value=&quot;1234567890&quot;/&gt;<br>&nbsp; &lt;param name=&quot;register-proxy&quot; value=&quot;<a href="http://sip.broadvoice.com" target="_blank">sip.broadvoice.com</a>&quot;/&gt;<br>




&nbsp; &lt;param name=&quot;register&quot; value=&quot;true&quot;/&gt;<br>
&nbsp; &lt;/gateway&gt;<br>&lt;/include&gt;<div><div></div><div><br><br><br><br><div class="gmail_quote">On Mon, Nov 17, 2008 at 9:03 AM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>&gt;</span> wrote:<br>





<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">usually 900 is sofia&#39;s own error from a malformed uri or some other param.<br>can you doublecheck your settings in your gateway?<br>





<br>you can also enable more sofia debug with env vars<br>NUA_DEBUG=9 NTA_DEBUG=9 TPORT_LOG=1<div><div></div><div><br>
<br><br><br><div class="gmail_quote">On Sun, Nov 16, 2008 at 5:12 PM, Johny Kadarisman <span dir="ltr">&lt;<a href="mailto:jkr888@gmail.com" target="_blank">jkr888@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">






I did &quot;make current&quot;, follow with &quot;make install&quot;.<br>I was experimenting with new mod_loopback, everything works okay except for gateway registration. <br><br>tport_log have a bit traffic from a couple other endpoints, but when searching thru these log,&nbsp; i don&#39;t see any traffic to broadvoice at all. &quot;ngrep host <a href="http://sip.broadvoice.com" target="_blank">sip.broadvoice.com</a>&quot; also doesn&#39;t report anything out from fs to broadvoice. <br>







<br>set console loglevel to 10, but the only think i see is :<br><br>2008-11-16 18:01:11 [NOTICE] sofia_reg.c:159 sofia_reg_check_gateway() Registering <a href="http://broadvoice.com" target="_blank">broadvoice.com</a><br>






2008-11-16 18:01:11 [WARNING] sofia_reg.c:1088 sofia_reg_handle_sip_r_register() Registration Failed with status 900<div><div></div><div><br>
<br><br><div class="gmail_quote">On Sun, Nov 16, 2008 at 11:45 AM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">







FYI &quot;make sure&quot; is now &quot;make current&quot; but it still works for legacy sake ;)<br>It&#39;s the recommended method of updating the code.<div><div></div><div><br>&nbsp;<br><br><div class="gmail_quote">
On Sun, Nov 16, 2008 at 10:43 AM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">do you have a trace of console on debug level and TPORT_LOG handy?<br><br><div class="gmail_quote">








<div><div></div><div>On Sun, Nov 16, 2008 at 9:58 AM, Johny Kadarisman <span dir="ltr">&lt;<a href="mailto:jkr888@gmail.com" target="_blank">jkr888@gmail.com</a>&gt;</span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div>Hi, I experience gateway registration problem after recently update fs to latest trunk. I couldn&#39;t connect to broadvoice any more!<br>









Even after set the console log to debug, The only clue i see is these message, <br><br>
2008-11-16 10:42:46 [NOTICE] sofia_reg.c:159 sofia_reg_check_gateway() Registering <a href="http://broadvoice.com" target="_blank">broadvoice.com</a><br>2008-11-16 10:42:46 [WARNING] sofia_reg.c:1088 sofia_reg_handle_sip_r_register() Registration Failed with status 900<br>










<br>I don&#39;t see any traffic from fs to broadvoice both with tport_log or ngrep. from comparing the sip profile config files, seems like it should work the way it was. Is there anyhing that I missed?<br><br>Thanks,<br>










Johny K.<br><br>
<br></div></div><div>_______________________________________________<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></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>









<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>









IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>








<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
</blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>








<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>








IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>







<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
</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><br>
</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><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>






<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>






IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>





<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
</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></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><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>




<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>




IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>



<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
</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></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><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>

<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>

IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>