[Freeswitch-users] 401 Unauthorized in iptel external gateway
Denis Gasparin
denis.gasparin at edistar.com
Mon Feb 27 14:46:27 MSK 2012
Hi Brian.
It was my first thought when I saw the logs... but the strange thing is that I have no NAT problems if I configure an extension in default context like this:
<extension name="iptel">
<condition field="destination_number" expression="^iptel(.*)$">
<action application="bridge" data="sofia/internal/$1 at iptel.org"/>
</condition>
</extension>
With this configuration I call iptel[my_iptel_account] without any problem from my sip phone registered to freeswitch.
I'll double check the NAT configuration in sofia module but from the logs I see it was configured correctly using UPNP.
Thank you
Denis
----- Messaggio originale -----
Da: "Brian West" <brian at freeswitch.org>
A: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
Inviato: Lunedì, 27 febbraio 2012 3:28:51
Oggetto: Re: [Freeswitch-users] 401 Unauthorized in iptel external gateway
Its nat.
notice the 401
Via: SIP/2.0/UDP 192.168.1.2:5080:5080;rport=14802;branch=z9hG4bKjS09v88N9p59K
IT says I received you from 192.168.1.2:5080 but port 14802 so go fix your nat and fix your external profile with the right info/ip's in it.
/b
Sent from my hospital bed
On Feb 26, 2012, at 8:14 PM, Vitalie Colosov wrote:
Maybe some explanation can be received from these lines:
nta: received 401 Unauthorized for REGISTER (24810914)
nta: 401 Unauthorized has fatal syntax errors
nta: timer E fired, retransmit REGISTER (24810914)
Curious what are those "syntax errors" which other soft phones are able to overcome...
Maybe it does not like this message?
Warning: 392 217.9.36.145:5060 "Noisy feedback tells: pid=868 req_src_ip=122.176.168.104 req_src_port=14802 in_uri=sip: sip.iptel.org ;transport=udp out_uri=sip: sip.iptel.org ;transport=udp via_cnt==1"
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120227/d031d109/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list