Hi to all. It was definitively a NAT problem as Brian pointed out. I added the following lines to sip_profiles/external.xml: <param name="ext-rtp-ip" value="rfc1918"/> <param name="ext-sip-ip" value="rfc1918"/> After that, registration and calls worked just fine. I think it should be added to the default configuration or elsewhere as a little tip for new users following the book examples. Thank you to all for your help, you're a great community! Denis ----- Messaggio originale -----
Da: "Denis Gasparin" <denis.gasparin@edistar.com> A: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Inviato: Lunedì, 27 febbraio 2012 12:46:27 Oggetto: Re: [Freeswitch-users] 401 Unauthorized in iptel external gateway 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@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
Da: "Brian West" <brian@freeswitch.org> A: "FreeSWITCH Users Help" <freeswitch-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list 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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list 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