VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
jkr888 at gmail.com Guest
|
Posted: Mon Nov 17, 2008 4:19 pm Post subject: [Freeswitch-users] Gateway registration failed after recent |
|
|
I add your suggested logging statement, the output looks fine to me (no garbage value). following is the result:
reg url=[sip:sip:6031231234@sip.broadvoice.com ([email]sip%3A6031231234@sip.broadvoice.com[/email]);transport=udp>] from=[<sip:6031231234@sip.broadvoice.com ([email]sip%3A6031231234@sip.broadvoice.com[/email]);transport=udp>] contact=[<sip:6031231234@69.248.102.128:5080;transport=udp>] reg proxy=[sip:sip.broadvoice.com] sticky=[sip.broadvoice.com]
Will try to debug with gdb on my own pace , but appreciate if you have anymore insight on what to looks.
Johny K.
On Mon, Nov 17, 2008 at 12:09 PM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote: | nta outgoing create: invalid URI
is the important part.
it doesnt like one of the uri's
open sofia_reg.c like 170 and add a debug printf right before nua_register
printf("reg url=[%s] to=[%s] from=[%s] contact=[%s] reg proxy=[%s] sticky=[%s]\n",
gateway_ptr->register_url, gateway_ptr->register_from, gateway_ptr->register_from,
gateway_ptr->register_contact, gateway_ptr->register_proxy, gateway_ptr->register_sticky_proxy);
this should tell us which one is annoying sofia.
On Mon, Nov 17, 2008 at 10:48 AM, Johny Kadarisman <jkr888@gmail.com (jkr888@gmail.com)> wrote:
Quote: | Thanks Anthony,
now, its more verbose
nua: nh_create_handle: entering
2008-11-17 11:40:38 [NOTICE] sofia_reg.c:158 sofia_reg_check_gateway() Registering broadvoice.com
nua: nua_handle_bind: entering
nua: nua_register: entering
nua(0x81167d8): sent signal r_register
nua(0x81167d8): recv signal r_register
nua: nua_stack_set_params: entering
nta_leg_tcreate(0x80abd38)
nua(0x81167d8): adding register usage
nta outgoing create: invalid URI
nta: outgoing_free(0x8107268)
nua(0x81167d8): event r_register 900 Internal error at nua_stack.c:2578
nua(0x81167d8): removing register usage
nta_leg_destroy(0x80abd38)
nua: nua_application_event: entering
2008-11-17 11:40:38 [WARNING] sofia_reg.c:1087 sofia_reg_handle_sip_r_register() Registration Failed with status 900
nua: nua_handle_magic: entering
nua: nua_handle_bind: entering
nua: nua_handle_destroy: entering
nua(0x81167d8): sent signal r_destroy
nua(0x81167d8): recv signal r_destroy
nta_leg_destroy((nil))
seems it failed on these area at nta.c:
if (invalid < 0 || !orq->orq_branch || msg_serialize(msg, (void *)sip) < 0) {
SU_DEBUG_3(("nta outgoing create: %s\n",
invalid < 0 ? "invalid URI" :
!orq->orq_branch ? "no branch" : "invalid message"));
outgoing_free(orq);
return NULL;
}
or these,
invalid = nta_tpn_by_url(home, orq->orq_tpn, &scheme, &port, route_url);
those line still looks 'klingon' to me
I'm using my old gateways config as below:
<include>
<gateway name="broadvoice.com">
<param name="username" value="6031231234"/>
<param name="realm" value="sip.broadvoice.com"/>
<param name="password" value="1234567890"/>
<param name="register-proxy" value="sip.broadvoice.com"/>
<param name="register" value="true"/>
</gateway>
</include>
On Mon, Nov 17, 2008 at 9:03 AM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|