On Friday 12 December 2003 13:55, Rick Gocher wrote:
Hi Jesus,
I'm not sure how to change the way the ata sends it credentials. I have my name Rick listed for the UID:0 and UID:1 and the password for that user. I filled in the gateway as both an IP and FQDN with neither changing the
Gateway?? What is the exact parameter you are filling in on the ATA? Gateway is not to be used for SIP. Also, you must not put anything after your UID.
actual problem. I tried placing @coptalk.com and @sip.coptalk.com behind my UID: i.e. Rick@sip.coptalk.com but then the ngrep reports Unauthorized. etc. sip:Rick@sip.coptalk.com@sip.coptalk.com.... If I can't change the ata perhaps I can change the way ser challenges?
Thank you for your help,
Rick
At 12:42 AM 12/12/2003 +0100, Jesus Rodriguez wrote:
On Thu, 11 Dec 2003, Rick Gocher wrote:
Hello,
Just me, still trying to get authentication working... I have found by placing a high debug value and starting ser I received some errors I never saw before as I had no ata box plugged in during the startup. I'm not sure if this points to why I can't authenticate. When the output says there is no routing headers, is that the fault of my ATA?
I think was Jan who gave you the answer. SER is trying to challenge with domain sip.coptalk.com but you are sending credentials as coptalk.com
Dec 11 16:07:19 sip ser: 8(4583) SIP Request: Dec 11 16:07:19 sip ser: 8(4583) method: <REGISTER> Dec 11 16:07:19 sip ser: 8(4583) uri: sip:sip.coptalk.com Dec 11 16:07:19 sip ser: 8(4583) version: <SIP/2.0> Dec 11 16:07:19 sip ser: 8(4583) parse_headers: flags=1 Dec 11 16:07:19 sip ser: 8(4583) end of header reached, state=5 Dec 11 16:07:19 sip ser: 8(4583) parse_headers: Via found, flags=1 Dec 11 16:07:19 sip ser: 8(4583) parse_headers: this is the first via Dec 11 16:07:19 sip ser: 8(4583) After parse_msg... Dec 11 16:07:19 sip ser: 8(4583) preparing to run routing scripts... Dec 11 16:07:19 sip ser: 8(4583) entering main route 8(4583) DEBUG : is_maxfwd_present: searching for max_forwards header Dec 11 16:07:19 sip ser: 8(4583) parse_headers: flags=128 Dec 11 16:07:19 sip ser: 8(4583) end of header reached, state=8 Dec 11 16:07:19 sip ser: 8(4583) DEBUG: get_hdr_field: <To> [27]; uri=[sip:Rick@sip.coptalk.com] Dec 11 16:07:19 sip ser: Dec 11 16:07:19 sip ser: ] Dec 11 16:07:19 sip ser: 8(4583) get_hdr_field: cseq <CSeq>: <7>
<REGISTER>
Dec 11 16:07:19 sip ser: 8(4583) DEBUG: get_hdr_body : content_length=0 Dec 11 16:07:19 sip ser: 8(4583) found end of header Dec 11 16:07:19 sip ser: 8(4583) DEBUG: is_maxfwd_present: max_forwards header not found! Dec 11 16:07:19 sip ser: 8(4583) DEBUG: add_param: tag=1804086518 Dec 11 16:07:19 sip ser: 8(4583) end of header reached, state=29 Dec 11 16:07:19 sip ser: 8(4583) parse_headers: flags=256 Dec 11 16:07:19 sip ser: 8(4583) find_first_route(): No Route headers
found
Dec 11 16:07:19 sip ser: 8(4583) loose_route(): There is no Route HF Dec 11 16:07:19 sip ser: 8(4583) check_self - checking if host==us: 16==9 && [sip.coptalk.com] == [127.0.0.1] Dec 11 16:07:19 sip ser: 8(4583) check_self - checking if port 5060 matches port 5060 Dec 11 16:07:19 sip ser: 8(4583) check_self - checking if host==us: 16==13 && [sip.coptalk.com] == [64.189.165.205] Dec 11 16:07:19 sip ser: 8(4583) check_self - checking if port 5060 matches port 5060 Dec 11 16:07:19 sip ser: 8(4583) request for registration 8(4583) check_nonce(): comparing [3fd907c2aa2d6c72cd666f9109e45155055b2d36] and [3fd907c23a57f75133a55828041f2c9ee7b081c2] Dec 11 16:07:19 sip ser: 8(4583) pre_auth(): Invalid nonce value received, very suspicious ! Dec 11 16:07:19 sip ser: Dec 11 16:07:19 sip ser: ' Dec 11 16:07:19 sip ser: 8(4583) parse_headers: flags=-1 Dec 11 16:07:19 sip ser: 8(4583) check_via_address(64.189.165.206, 64.189.165.206, 0) Dec 11 16:07:19 sip ser: 8(4583) receive_msg: cleaning up Dec 11 16:07:19 sip ser: 6(4581) SIP Request: Dec 11 16:07:19 sip ser: 6(4581) method: <REGISTER> Dec 11 16:07:19 sip ser: 6(4581) uri: sip:sip.coptalk.com Dec 11 16:07:19 sip ser: 6(4581) version: <SIP/2.0> Dec 11 16:07:19 sip ser: 6(4581) parse_headers: flags=1 Dec 11 16:07:19 sip ser: 6(4581) end of header reached, state=5 Dec 11 16:07:19 sip ser: 6(4581) parse_headers: Via found, flags=1 Dec 11 16:07:19 sip ser: 6(4581) parse_headers: this is the first via Dec 11 16:07:19 sip ser: 6(4581) After parse_msg... Dec 11 16:07:19 sip ser: 6(4581) preparing to run routing scripts... Dec 11 16:07:19 sip ser: 6(4581) entering main route 6(4581) DEBUG : is_maxfwd_present: searching for max_forwards header Dec 11 16:07:19 sip ser: 6(4581) parse_headers: flags=128 Dec 11 16:07:19 sip ser: 6(4581) end of header reached, state=8 Dec 11 16:07:19 sip ser: 6(4581) DEBUG: get_hdr_field: <To> [27]; uri=[sip:Rick@sip.coptalk.com] Dec 11 16:07:19 sip ser: Dec 11 16:07:19 sip ser: ] Dec 11 16:07:19 sip ser: 6(4581) get_hdr_field: cseq <CSeq>: <8>
<REGISTER>
Dec 11 16:07:19 sip ser: 6(4581) DEBUG: get_hdr_body : content_length=0 Dec 11 16:07:19 sip ser: 6(4581) found end of header Dec 11 16:07:19 sip ser: 6(4581) DEBUG: is_maxfwd_present: max_forwards header not found! Dec 11 16:07:19 sip ser: 6(4581) DEBUG: add_param: tag=1804086518 Dec 11 16:07:19 sip ser: 6(4581) end of header reached, state=29 Dec 11 16:07:19 sip ser: 6(4581) parse_headers: flags=256 Dec 11 16:07:19 sip ser: 6(4581) find_first_route(): No Route headers
found
Dec 11 16:07:19 sip ser: 6(4581) loose_route(): There is no Route HF Dec 11 16:07:19 sip ser: 6(4581) check_self - checking if host==us: 16==9 && [sip.coptalk.com] == [127.0.0.1] Dec 11 16:07:19 sip ser: 6(4581) check_self - checking if port 5060 matches port 5060 Dec 11 16:07:19 sip ser: 6(4581) check_self - checking if host==us: 16==13 && [sip.coptalk.com] == [64.189.165.205] Dec 11 16:07:19 sip ser: 6(4581) check_self - checking if port 5060 matches port 5060 Dec 11 16:07:20 sip ser: 6(4581) request for registration 6(4581) check_nonce(): comparing [3fd907e3929aea9bad25fbd47b3ea062d9215574] and [3fd907e3929aea9bad25fbd47b3ea062d9215574] Dec 11 16:07:20 sip ser: 6(4581) get_ha1(): no result for user 'Rick@coptalk.com' Dec 11 16:07:20 sip ser: Dec 11 16:07:20 sip ser: ' Dec 11 16:07:20 sip ser: 6(4581) parse_headers: flags=-1 Dec 11 16:07:20 sip ser: 6(4581) check_via_address(64.189.165.206, 64.189.165.206, 0) Dec 11 16:07:20 sip ser: 6(4581) receive_msg: cleaning up
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Saludos JesusR.
Jesus Rodriguez VozTelecom Sistemas, S.L. jesusr@voztele.com http://www.voztele.com Tel. 902360305
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers