Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Gateway registration failed after recent


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
anthony.minessale at g...
Guest





PostPosted: Mon Nov 17, 2008 4:40 pm    Post subject: [Freeswitch-users] Gateway registration failed after recent Reply with quote

it's mad at the sticky
register-proxy need to be sip:sip.broadvoice.com

do you need that setting, you can also omit it?
I actually added a patch to core just now to accept either one. (it adds a sip: when it's omitted)




On Mon, Nov 17, 2008 at 3:05 PM, Johny Kadarisman <jkr888@gmail.com (jkr888@gmail.com)> wrote:
Quote:
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 Smile, 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 Wink
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:
Quote:
usually 900 is sofia's own error from a malformed uri or some other param.
can you doublecheck your settings in your gateway?

you can also enable more sofia debug with env vars
NUA_DEBUG=9 NTA_DEBUG=9 TPORT_LOG=1




On Sun, Nov 16, 2008 at 5:12 PM, Johny Kadarisman <jkr888@gmail.com (jkr888@gmail.com)> wrote:
Quote:
I did "make current", follow with "make install".
I was experimenting with new mod_loopback, everything works okay except for gateway registration.

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 sip.broadvoice.com" also doesn't report anything out from fs to broadvoice.

set console loglevel to 10, but the only think i see is :

2008-11-16 18:01:11 [NOTICE] sofia_reg.c:159 sofia_reg_check_gateway() Registering broadvoice.com
2008-11-16 18:01:11 [WARNING] sofia_reg.c:1088 sofia_reg_handle_sip_r_register() Registration Failed with status 900



On Sun, Nov 16, 2008 at 11:45 AM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote:
FYI "make sure" is now "make current" but it still works for legacy sake Wink
It's the recommended method of updating the code.



On Sun, Nov 16, 2008 at 10:43 AM, Anthony Minessale <anthony.minessale@gmail.com (anthony.minessale@gmail.com)> wrote:
Quote:
do you have a trace of console on debug level and TPORT_LOG handy?


On Sun, Nov 16, 2008 at 9:58 AM, Johny Kadarisman <jkr888@gmail.com (jkr888@gmail.com)> wrote:


Quote:

Hi, I experience gateway registration problem after recently update fs to latest trunk. I couldn't connect to broadvoice any more!
Even after set the console log to debug, The only clue i see is these message,

2008-11-16 10:42:46 [NOTICE] sofia_reg.c:159 sofia_reg_check_gateway() Registering broadvoice.com
2008-11-16 10:42:46 [WARNING] sofia_reg.c:1088 sofia_reg_handle_sip_r_register() Registration Failed with status 900

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?

Thanks,
Johny K.




_______________________________________________
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



--
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







_______________________________________________
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






_______________________________________________
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






_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services