Hi everyone,
Not sure if this was received, here is my ser.cfg....
Thank you again for all your help,
Rick
At 07:43 PM 12/16/2003 +0000, Kannaiyan Natesan wrote:
Can you please attach your ser.cfg file.
Kannaiyan
----- Original Message ----- From: "Rick Gocher" rgocher@coptalk.com To: "Jesus Rodriguez" jesusr@voztele.com Cc: serusers@lists.iptel.org Sent: Tuesday, December 16, 2003 7:39 PM Subject: Re: [Serusers] Debug information
Hi, please accept my apologies for asking the same questions. I have
read
through the sip tutorial, faqs and other docs with little success. In my ser.cfg I have uncommented these lines below (www_autorize) and once again get unauthorized user when attempting to register with the ATA and Xten.
I
have placed coptalk.com and sip.coptalk.com in the auth area of ser.cfg with the same results. In addition, I have tried changing my UID on the ATA from Rick, to Rick@coptalk.com and Rick@sip.coptalk.com, all with bad results. When I do a serctl show Rick it returns the following; +----------+------------------+-----------+---------------------+ | username | domain | grp | last_modified | +----------+------------------+-----------+---------------------+ | Rick | sip.coptalk.com | free-pstn | 2003-12-07 16:56:29 | | Rick | sip.coptalk.com | local | 2003-12-07 16:07:13 | +----------+------------------+-----------+---------------------+
This means there is a user named Rick and he should be able to register,
right?
Thanks again for all your help,
Rick
At 11:08 AM 12/16/2003 +0100, Jesus Rodriguez wrote:
On Mon, 15 Dec 2003, Rick Gocher wrote:
Hi,
# if (!www_authorize("coptalk.com",
"subscriber")) {
# www_challenge("coptalk.com", "0");
This is the domain you have to use. The domain that you challenge is the domain that must be sent in your credentials. If you use sip.coptalk.com,
then
you have to challenge sip.coptalk.com instead coptalk.com as you are
doing
now.
At 12:45 PM 12/15/2003 +0100, Jesus Rodriguez wrote:
On Fri, 12 Dec 2003, Rick Gocher wrote:
Hello,
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
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?
With Cisco ATA you don't need the gateway field. You have to fill:
UID0 PWD0 GkOrProxy UseSIP
(and others, but these are required).
For example, you have:
UID0 = Rick PWD0 = password GkOrProxy = sip.coptalk.com UseSIP = 1
Then, in SER you have to set you domain as sip.coptalk.com and NOT coptalk.com. You MUST use the same domain in SER and ATA. If you set
GkOrPRoxy
in ATA as coptalk.com then SER must challenge coptalk.com.
Regards.
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:
> > 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:
> > 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 >-------------------------------
Saludos JesusR.
Jesus Rodriguez VozTelecom Sistemas, S.L. jesusr@voztele.com http://www.voztele.com Tel. 902360305
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