FYI,
Darren Schreiber did a nice presentation on SIP 101 that covers this. Look at June 20, 2012 here:
http://wiki.freeswitch.org/wiki/Weekly_Conference_Call
There is a PDF to go along with the audio recording. I highly recommend any SIP n00bs check it out.
Please provide more information. Is your authentication failing?401 Unauthorized is 100% normal behaviour for a SIP call to authenticate.The call flow is:> REGISTER< 401 Unauthorized (with WWW-Authenticate header)> REGISTER (with Authorization header)< 200 OKDitto for INVITE.The 401 is required to give the WWW-Authenticate challenge which is required to generate the Authorization header. Thus for a authenticated call the 401 'error' is normal and expected.If authentication is failing after the upgrade or you were not requiring authentication before the upgrade, perhaps during the upgrade your configuration files were modified or the location has moved?-SteveOn 10 December 2012 15:39, Blake Priddy <bpriddy@bryantschools.org> wrote:
So I updated to the latest git head and now several phones NOT ALL, including mine :( are giving me2012-12-10 09:36:04.584347 [DEBUG] sofia_reg.c:1498 Send challenge for [1206@pbx.bryantschools.org]2012-12-10 09:36:04.584347 [WARNING] sofia_reg.c:1502 SIP auth challenge (REGISTER) on sofia profile 'internal' for [1206@pbx.bryantschools.org] from ip 10.10.24.20send 679 bytes to udp/[10.10.24.20]:3072 at 15:36:04.585091:------------------------------------------------------------------------SIP/2.0 401 UnauthorizedVia: SIP/2.0/UDP 10.10.24.20:3072;branch=z9hG4bK-n757mrbdlqdw;rport=3072From: "Blake Priddy" <sip:1206@pbx.bryantschools.org>;tag=dbou3jy9kfTo: "Blake Priddy" <sip:1206@pbx.bryantschools.org>;tag=v2Kpa56439DgKCall-ID: 4e000000e08c-cm5eg6nr96alCSeq: 7373 REGISTERUser-Agent: FreeSWITCH-mod_sofia/1.3.9b+git~20121206T182231Z~a7fafb2039Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBESupported: timer, precondition, path, replacesWWW-Authenticate: Digest realm="pbx.bryantschools.org", nonce="4f0b07b6-42df-11e2-ab4a-4bb963400da6", algorithm=MD5, qop="auth"Content-Length: 0------------------------------------------------------------------------recv 884 bytes from udp/[10.10.24.20]:3072 at 15:36:04.680840:------------------------------------------------------------------------REGISTER sip:pbx.bryantschools.org SIP/2.0Via: SIP/2.0/UDP 10.10.24.20:3072;branch=z9hG4bK-cpukgis6pexk;rportFrom: "Blake Priddy" <sip:1206@pbx.bryantschools.org>;tag=dbou3jy9kfTo: "Blake Priddy" <sip:1206@pbx.bryantschools.org>Call-ID: 4e000000e08c-cm5eg6nr96alCSeq: 7374 REGISTERMax-Forwards: 70Contact: <sip:1206@10.10.24.20:3072>;reg-id=1;q=1.0;+sip.instance="<urn:uuid:cb7105d7-ce2c-4835-8300-000413411CA5>"User-Agent: snom870/8.7.3.10Allow-Events: dialogX-Real-IP: 10.10.24.20Supported: path, gruuWWW-Contact: <http://10.10.24.20:80>WWW-Contact: <https://10.10.24.20:443>Authorization: Digest username="1206",realm="pbx.bryantschools.org",nonce="4f0b07b6-42df-11e2-ab4a-4bb963400da6",uri="sip:pbx.bryantschools.org",qop=auth,nc=00000001,cnonce="4afc06b9",response="8c9a1fcedd906467bd0afa2b98b50829",algorithm=MD5Expires: 3600Content-Length: 0So........ Yea ha--
Blakelund Priddy
Network Systems Engineerp 501-653-5038
Bryant Public School District
Bryant, Arkansas 72022
http://www.bryantschools.org
f 501-847-5656
_________________________________________________________________________
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