it'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'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"><<a href="mailto:jkr888@gmail.com" target="_blank">jkr888@gmail.com</a>></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=[<<a href="mailto:sip%3A6031231234@sip.broadvoice.com" target="_blank">sip:6031231234@sip.broadvoice.com</a>;transport=udp>] from=[<<a href="mailto:sip%3A6031231234@sip.broadvoice.com" target="_blank">sip:6031231234@sip.broadvoice.com</a>;transport=udp>] contact=[<sip:6031231234@69.248.102.128:5080;transport=udp>] 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"><<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>></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's<br><br>open sofia_reg.c like 170 and add a debug printf right before nua_register<br><br>printf("reg url=[%s] to=[%s] from=[%s] contact=[%s] reg proxy=[%s] sticky=[%s]\n",<br>
gateway_ptr->register_url, gateway_ptr->register_from, gateway_ptr->register_from,<br>gateway_ptr->register_contact, gateway_ptr->register_proxy, gateway_ptr->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"><<a href="mailto:jkr888@gmail.com" target="_blank">jkr888@gmail.com</a>></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> if (invalid < 0 || !orq->orq_branch || msg_serialize(msg, (void *)sip) < 0) {<br>
SU_DEBUG_3(("nta outgoing create: %s\n",<br> invalid < 0 ? "invalid URI" :<br> !orq->orq_branch ? "no branch" : "invalid message"));<br> outgoing_free(orq);<br>
return NULL;<br> }<br><br>or these, <br><br> invalid = nta_tpn_by_url(home, orq->orq_tpn, &scheme, &port, route_url);<br><br>those line still looks 'klingon' to me ;)<br>I'm using my old gateways config as below:<br>
<br><include><br> <gateway name="<a href="http://broadvoice.com" target="_blank">broadvoice.com</a>"><br> <param name="username" value="6031231234"/><br> <param name="realm" value="<a href="http://sip.broadvoice.com" target="_blank">sip.broadvoice.com</a>"/><br>
<param name="password" value="1234567890"/><br> <param name="register-proxy" value="<a href="http://sip.broadvoice.com" target="_blank">sip.broadvoice.com</a>"/><br>
<param name="register" value="true"/><br>
</gateway><br></include><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"><<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>></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'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"><<a href="mailto:jkr888@gmail.com" target="_blank">jkr888@gmail.com</a>></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 "make current", follow with "make install".<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, i don't see any traffic to broadvoice at all. "ngrep host <a href="http://sip.broadvoice.com" target="_blank">sip.broadvoice.com</a>" also doesn'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"><<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>></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 "make sure" is now "make current" but it still works for legacy sake ;)<br>It's the recommended method of updating the code.<div><div></div><div><br> <br><br><div class="gmail_quote">
On Sun, Nov 16, 2008 at 10:43 AM, Anthony Minessale <span dir="ltr"><<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>></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"><<a href="mailto:jkr888@gmail.com" target="_blank">jkr888@gmail.com</a>></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'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'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>