Usually SIP registration goes like this:
Hi to all.Today I installed freeswitch following the guide in Freeswitch book.I made successfully all the tests in the book... well all but one.When I tried to setup an external gateway on my iptel account, the registration process failed with 401 sip message.This is the sip trace:freeswitch@dhcppc7> send 647 bytes to udp/[217.9.36.145]:5060 at 17:59:20.965613:------------------------------------------------------------------------REGISTER sip:sip.iptel.org;transport=udp SIP/2.0Via: SIP/2.0/UDP MY_PUBLIC_IP:5080;rport;branch=z9hG4bKXNc7jeQB7BXrpMax-Forwards: 70From: <sip:MY_ACCOUNT@iptel.org;transport=udp>;tag=XQ58BvHmj15eDTo: <sip:MY_ACCOUNT@iptel.org;transport=udp>Call-ID: 8c2823cd-573d-4cc2-8e01-cba340ae890fCSeq: 24760296 REGISTERContact: <sip:gw+iptel@MY_PUBLIC_IP:5080;transport=udp;gw=iptel>Expires: 3600User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-1e6c4be 2012-02-24 14-15-32 -0600Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFYSupported: timer, precondition, path, replacesContent-Length: 0------------------------------------------------------------------------recv 710 bytes from udp/[217.9.36.145]:5060 at 17:59:21.070238:------------------------------------------------------------------------SIP/2.0 401 UnauthorizedVia: SIP/2.0/UDP 192.168.1.9:5080:5080;rport=19198;branch=z9hG4bKXNc7jeQB7BXrpFrom: <sip:MY_ACCOUNT@iptel.org;transport=udp>;tag=XQ58BvHmj15eDTo: <sip:MY_ACCOUNT@iptel.org;transport=udp>;tag=f18024bbca64dd60f33bcd92c390ee0f-5904Call-ID: 8c2823cd-573d-4cc2-8e01-cba340ae890fCSeq: 24760296 REGISTERExpires: 600Min-Expires: 240WWW-Authenticate: Digest realm="iptel.org", nonce="T0ki/U9JIsE+F7QdNo/qIktZaDvpS0sn"Server: ser (3.3.0-dev0 (i386/linux))Content-Length: 0Warning: 392 217.9.36.145:5060 "Noisy feedback tells: pid=863 req_src_ip=MY_PUBLIC_IP req_src_port=19198 in_uri=sip:sip.iptel.org;transport=udp out_uri=sip:sip.iptel.org;transport=udp via_cnt==1"------------------------------------------------------------------------I'm sure that user account and password are valid.I also tested (successfully) a call from my extension to my account@iptel.org.Registration to iptel.org using a sip phone with the same user works just fine.What's wrong?Thank you in advance for your help,Denis
_________________________________________________________________________
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