On Dec 09, 2003 at 09:00, Rick Gocher <rgocher(a)coptalk.com> wrote:
Hi all,
I have had some success with the configuration, however using
authentication does not work for me at all. I have grabbed another cfg for
testing, I can see my ata sending reg requests to the server and the server
just replying immediately with unauthorized 401 error. Shouldn't the
server first reply with a 100 trying message?
No, it shouldn't.
Does the cfg file look like
it should work?
It doesn't look like a ser configuration problem.
Thanks again,
64.189.165.2065060 -> 64.189.165.2055060
REGISTER
sip:sip.coptalk.com SIP/2.0..Via SIP/2.0/UDP
64.189.165.2065060..From sip:Rick@sip.coptalk.com;tag=21094236
64..To sip:Rick@sip.coptalk.com..Call-ID 399581690@64.189.165.206..CSeq
1 REGISTER..Contact <sip:Rick@64.189.165.206
5060;transport=udp>;expires=3600..User-Agent Cisco ATA 186 v2.16.2
ata18x (030909a)..Content-Length 0....
#
U 64.189.165.2055060 -> 64.189.165.2065060
SIP/2.0 401 Unauthorized..Via SIP/2.0/UDP 64.189.165.2065060..From
sip:Rick@sip.coptalk.com;tag=2109423664..To sip:R
ick@sip.coptalk.com;tag=b27e1a1d33761e85846fc98f5f3a7e58.4a60..Call-ID
399581690@64.189.165.206..CSeq 1 REGISTER..WWW-
Authenticate Digest realm="sip.coptalk.com",
nonce="3fd602692d1f0bf922ae277c623f1d201acbde03"..Server Sip EXpress rou
ter (0.8.12 (i386/linux))..Content-Length 0....
The ata should send again the REGSITER with authentication information
added to it. It looks like your ata is misconfigured.
Andrei