[Serusers] SER Register Problems

Jan Janak jan at iptel.org
Wed Jan 7 10:38:13 CET 2004


The contact that you added points back to the proxy.

  Jan.

On 07-01 00:55, Darshan Uka wrote:
> Hello,
> I have added the user sip:einstein at 140.192.37.59 to the database using the 
> serctl utility:
> [root at localhost brewster]# /usr/sbin/serctl ul show
> Dumping all contacts may take long: are you sure you want to proceed? [Y|N] 
> y
> ===Domain list===
> ---Domain---
> name : 'location'
> size : 512
> table: 0x422b7118
> d_ll {
>    n    : 1
>    first: 0x422b9218
>    last : 0x422b9218
> }
> 
> ...Record(0x422b9218)...
> domain: 'location'
> aor   : 'einstein'
> ~~~Contact(0x422b9258)~~~
> domain : 'location'
> aor    : 'einstein'
> Contact: 'sip:einstein at 140.192.37.59'
> Expires: 1073741534
> q      :       1.00
> Call-ID: 
> 'The-Answer-To-The-Ultimate-Question-Of-Life-Universe-And-Everything'
> CSeq   : 42
> replic : 0
> State  : CS_SYNC
> next   : (nil)
> prev   : (nil)
> ~~~/Contact~~~~
> .../Record...
> 
> ---/Domain---
> ===/Domain list===
> 
> When i place a call this is the ngrep trace:
> 
> interface: eth0 (140.192.37.0/255.255.255.0)
> filter: ip and ( port 5060 )
> #U 140.192.37.4:1197 -> 140.192.37.59:5060
> INVITE sip:einstein at 140.192.37.59 SIP/2.0..From: 
> sip:newton at 140.192.37.59;tag=1c18224..To: 
> sip:einstein at 140.192.37.59..Call-Id: call-1073
>  436535-23 at 140.192.37.4..Cseq: 1 INVITE..Contact: 
> <sip:newton at 140.192.37.4>..Content-Type: application/sdp..Content-Length: 
> 306..Accept-La
>  nguage: en..Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY, 
> REGISTER, SUBSCRIBE..Supported: sip-cc, sip-cc-01, timer, replaces..
>  User-Agent: Pingtel/2.1.11 (VxWorks)..Date: Wed, 07 Jan 2004 00:48:56 
> GMT..Via: SIP/2.0/UDP 140.192.37.4....v=0..o=Pingtel 5 5 IN IP4 140
>  .192.37.4..s=phone-call..c=IN IP4 140.192.37.4..t=0 0..m=audio 8766 
> RTP/AVP 96 97 0 8 18 98..a=rtpmap:96 eg711u/8000/1..a=rtpmap:97 eg711
>  a/8000/1..a=rtpmap:0 pcmu/8000/1..a=rtpmap:8 pcma/8000/1..a=rtpmap:18 
> g729/8000/1..a=fmtp:18 annexb=no..a=rtpmap:98 telephone-event/8000/
>  1..
> 
> #U 140.192.37.59:5060 -> 140.192.37.4:5060
> SIP/2.0 100 trying -- your call is important to us..From: 
> sip:newton at 140.192.37.59;tag=1c18224..To: 
> sip:einstein at 140.192.37.59..Call-Id:
>  call-1073436535-23 at 140.192.37.4..Cseq: 1 INVITE..Via: SIP/2.0/UDP 
> 140.192.37.4..Server: Sip EXpress router (0.8.11 (i386/linux))..Content
>  -Length: 0..Warning: 392 140.192.37.59:5060 "Noisy feedback tells:  
> pid=4309 req_src_ip=140.192.37.4 req_src_port=1197 in_uri=sip:einstei
>  n at 140.192.37.59 out_uri=sip:einstein at 140.192.37.59 via_cnt==1"....
> 
> #U 140.192.37.59:5060 -> 140.192.37.4:5060
> SIP/2.0 483 Too Many Hops..From: sip:newton at 140.192.37.59;tag=1c18224..To: 
> sip:einstein at 140.192.37.59;tag=b27e1a1d33761e85846fc98f5f3a7e5
>  8.771c..Call-Id: call-1073436535-23 at 140.192.37.4..Cseq: 1 INVITE..Via: 
> SIP/2.0/UDP 140.192.37.4..Server: Sip EXpress router (0.8.11 (i386
>  /linux))..Content-Length: 0..Warning: 392 140.192.37.59:5060 "Noisy 
> feedback tells:  pid=4309 req_src_ip=140.192.37.59 req_src_port=5060
>  in_uri=sip:einstein at 140.192.37.59 out_uri=sip:einstein at 140.192.37.59 
> via_cnt==12"....
> 
> #U 140.192.37.4:1197 -> 140.192.37.59:5060
>  ACK sip:einstein at 140.192.37.59 SIP/2.0..Contact: 
> sip:newton at 140.192.37.4..From: sip:newton at 140.192.37.59;tag=1c18224..To: 
> sip:einstein at 14
>  0.192.37.59;tag=b27e1a1d33761e85846fc98f5f3a7e58.771c..Call-Id: 
> call-1073436535-23 at 140.192.37.4..Cseq: 1 ACK..Accept-Language: en..User-A
>  gent: Pingtel/2.1.11 (VxWorks)..Date: Wed, 07 Jan 2004 00:48:56 GMT..Via: 
> SIP/2.0/UDP 140.192.37.4..Content-Length: 0....
> exit
> 4 received, 0 dropped
> ~
> 
> Now it gives 483 Too Many Hops.
> Without adding einstein it would give 404.
> Please help.
> 
> 
> -Darshan.
> 
> 
> 
> 
> ----Original Message Follows----
> From: Jan Janak <jan at iptel.org>
> To: Darshan Uka <ukadarshan_2001 at hotmail.com>
> CC: nils at iptel.org, serusers at lists.iptel.org
> Subject: Re: [Serusers] SER Register Problems
> Date: Tue, 6 Jan 2004 13:27:57 +0100
> MIME-Version: 1.0
> Received: from fox.iptel.org ([195.37.77.101]) by mc7-f38.hotmail.com with 
> Microsoft SMTPSVC(5.0.2195.6713); Tue, 6 Jan 2004 04:30:10 -0800
> Received: from localhost.localdomain (fox.iptel.org [195.37.77.101])by 
> fox.iptel.org (Postfix) with SMTPid DBF1A5A2; Tue,  6 Jan 2004 13:27:03 
> +0100 (CET)
> Received: by localhost.localdomain (sSMTP sendmail emulation); Tue,  6 Jan 
> 2004 13:27:57 +0100
> X-Message-Info: JGTYoYF78jHsxm6+wD4G06DDIXCjhqP7
> Message-ID: <20040106122757.GA1060 at localhost.localdomain>
> Mail-Followup-To: Darshan Uka <ukadarshan_2001 at hotmail.com>,nils at iptel.org, 
> serusers at lists.iptel.org
> References: <Law11-F465TeQB5pcaZ00014ec0 at hotmail.com>
> In-Reply-To: <Law11-F465TeQB5pcaZ00014ec0 at hotmail.com>
> User-Agent: Mutt/1.5.4i
> Return-Path: jan at iptel.org
> X-OriginalArrivalTime: 06 Jan 2004 12:30:11.0029 (UTC) 
> FILETIME=[D3ACB850:01C3D450]
> 
> This is a different problem. username einstein is not registered with
> the server. That's the reason why you get 404.
> 
> I think that you should read the admin guide (available from
> http://iptel.org/ser ) and get yourself familiar with SIP first.
> 
>   Jan.
> 
> On 06-01 03:11, Darshan Uka wrote:
> > Hello Nils,
> > I removed the quotes and still it doesnot work.
> > Here is the ngrep trace:
> > interface: eth0 (140.192.37.0/255.255.255.0)
> > filter: ip and ( port 5060 )
> >
> > #U 140.192.37.4:1162 -> 140.192.37.59:5060
> > INVITE sip:einstein at 140.192.37.59 SIP/2.0..From:
> > sip:newton at 140.192.37.59;tag=1c8108..To:
> > sip:einstein at 140.192.37.59..Call-Id: call-10733
> >  58460-16 at 140.192.37.4..Cseq: 1 INVITE..Contact:
> > <sip:newton at 140.192.37.4>..Content-Type: application/sdp..Content-Length:
> > 306..Accept-Lan
> >  guage: en..Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY,
> > REGISTER, SUBSCRIBE..Supported: sip-cc, sip-cc-01, timer, replaces..U
> >  ser-Agent: Pingtel/2.1.11 (VxWorks)..Date: Tue, 06 Jan 2004 03:07:41
> > GMT..Via: SIP/2.0/UDP 140.192.37.4....v=0..o=Pingtel 5 5 IN IP4 140.
> >  192.37.4..s=phone-call..c=IN IP4 140.192.37.4..t=0 0..m=audio 8766 
> RTP/AVP
> > 96 97 0 8 18 98..a=rtpmap:96 eg711u/8000/1..a=rtpmap:97 eg711a
> >  /8000/1..a=rtpmap:0 pcmu/8000/1..a=rtpmap:8 pcma/8000/1..a=rtpmap:18
> > g729/8000/1..a=fmtp:18 annexb=no..a=rtpmap:98 telephone-event/8000/1
> >  ..
> >
> > #U 140.192.37.59:5060 -> 140.192.37.4:5060
> >  SIP/2.0 404 Not Found..From: sip:newton at 140.192.37.59;tag=1c8108..To:
> > sip:einstein at 140.192.37.59;tag=b27e1a1d33761e85846fc98f5f3a7e58.98c
> >  d..Call-Id: call-1073358460-16 at 140.192.37.4..Cseq: 1 INVITE..Via:
> > SIP/2.0/UDP 140.192.37.4..Server: Sip EXpress router (0.8.11 (i386/linu
> >  x))..Content-Length: 0..Warning: 392 140.192.37.59:5060 "Noisy feedback
> > tells:  pid=2933 req_src_ip=140.192.37.4 req_src_port=1162 in_uri
> >  =sip:einstein at 140.192.37.59 out_uri=sip:einstein at 140.192.37.59
> > via_cnt==1"....
> >
> > #U 140.192.37.4:1162 -> 140.192.37.59:5060
> >  ACK sip:einstein at 140.192.37.59 SIP/2.0..Contact:
> > sip:newton at 140.192.37.4..From: sip:newton at 140.192.37.59;tag=1c8108..To:
> > sip:einstein at 140
> >  .192.37.59;tag=b27e1a1d33761e85846fc98f5f3a7e58.98cd..Call-Id:
> > call-1073358460-16 at 140.192.37.4..Cseq: 1 ACK..Accept-Language: 
> en..User-Ag
> >  ent: Pingtel/2.1.11 (VxWorks)..Date: Tue, 06 Jan 2004 03:07:41 GMT..Via:
> > SIP/2.0/UDP 140.192.37.4..Content-Length: 0....
> > exit
> > 3 received, 0 dropped
> > ~
> >
> > Here are the changes that i made to ser.cfg as per your suggestions:
> > # if the request is for other domain use UsrLoc
> >        # (in case, it does not work, use the following command
> >        # with proper names and addresses in it)
> >        if (uri==myself) {
> >
> >                if (method=="REGISTER") {
> >
> > # Uncomment this if you want to use digest authentication
> >                        if (!www_authorize("myself", "subscriber")) {
> >                                www_challenge("myself", "0");
> >                                break;
> >                        };
> >
> >                        save("location");
> >                        break;
> >                };
> >
> >
> > Please help.
> > Thanks,
> >
> > -Darshan
> >
> >
> >
> >
> >
> > ----Original Message Follows----
> > From: Nils Ohlmeier <nils at iptel.org>
> > To: "Darshan Uka" <ukadarshan_2001 at hotmail.com>
> > CC: serusers at lists.iptel.org
> > Subject: Re: [Serusers] SER Register Problems
> > Date: Tue, 6 Jan 2004 04:01:37 +0100
> > MIME-Version: 1.0
> > Received: from fox.iptel.org ([195.37.77.101]) by mc11-f19.hotmail.com 
> with
> > Microsoft SMTPSVC(5.0.2195.6713); Mon, 5 Jan 2004 19:01:41 -0800
> > Received: by fox.iptel.org (Postfix, from userid 103)id 966998F; Tue,  6
> > Jan 2004 03:58:39 +0100 (CET)
> > Received: from cloudcity.ohlmeier.home (pD9E6DAA6.dip.t-dialin.net
> > [217.230.218.166])by fox.iptel.org (Postfix) with ESMTPid 9F2EF8A; Tue,  
> 6
> > Jan 2004 03:58:37 +0100 (CET)
> > X-Message-Info: JGTYoYF78jHGTNWErTl6/pQtjPn/rqiS
> > User-Agent: KMail/1.5.4
> > References: <Law11-F90cgg0gSDbQN0007f8f7 at hotmail.com>
> > In-Reply-To: <Law11-F90cgg0gSDbQN0007f8f7 at hotmail.com>
> > Message-Id: <200401060401.37889.nils at iptel.org>
> > X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on
> > fox.iptel.org
> > X-Spam-Level:
> > X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham
> > version=2.60
> > Return-Path: nils at iptel.org
> > X-OriginalArrivalTime: 06 Jan 2004 03:01:41.0569 (UTC)
> > FILETIME=[68DA2B10:01C3D401]
> >
> > On Tuesday 06 January 2004 03:57, Darshan Uka wrote:
> > > Hello Nils,
> > > I changed 'mnlab.cti.depaul.edu' to 'myself' and still it gives the
> > engage
> > > tone and doesnot register.
> >
> > myself without quotes!
> > What you write into the www_ functions is not that important except you 
> use
> > MS.
> >
> >   Nils
> >
> > > Here is the ngrep trace:
> > > interface: eth0 (140.192.37.0/255.255.255.0)
> > > filter: ip and ( port 5060 )
> > > #U 140.192.37.4:1162 -> 140.192.37.59:5060
> > > INVITE sip:einstein at 140.192.37.59 SIP/2.0..From:
> > > sip:newton at 140.192.37.59;tag=1c24557..To:
> > > sip:einstein at 140.192.37.59..Call-Id: call-1073
> > >   357589-13 at 140.192.37.4..Cseq: 1 INVITE..Contact:
> > > <sip:newton at 140.192.37.4>..Content-Type: 
> application/sdp..Content-Length:
> > > 306..Accept-La
> > >   nguage: en..Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY,
> > > REGISTER, SUBSCRIBE..Supported: sip-cc, sip-cc-01, timer, replaces..
> > >   User-Agent: Pingtel/2.1.11 (VxWorks)..Date: Tue, 06 Jan 2004 02:53:09
> > > GMT..Via: SIP/2.0/UDP 140.192.37.4....v=0..o=Pingtel 5 5 IN IP4 140
> > >   .192.37.4..s=phone-call..c=IN IP4 140.192.37.4..t=0 0..m=audio 8766
> > > RTP/AVP 96 97 0 8 18 98..a=rtpmap:96 eg711u/8000/1..a=rtpmap:97 eg711
> > >   a/8000/1..a=rtpmap:0 pcmu/8000/1..a=rtpmap:8 pcma/8000/1..a=rtpmap:18
> > > g729/8000/1..a=fmtp:18 annexb=no..a=rtpmap:98 telephone-event/8000/
> > >   1..
> > >
> > > #U 140.192.37.59:5060 -> 140.192.37.4:5060
> > > SIP/2.0 100 trying -- your call is important to us..From:
> > > sip:newton at 140.192.37.59;tag=1c24557..To:
> > > sip:einstein at 140.192.37.59..Call-Id:
> > >   call-1073357589-13 at 140.192.37.4..Cseq: 1 INVITE..Via: SIP/2.0/UDP
> > > 140.192.37.4..Server: Sip EXpress router (0.8.11 (i386/linux))..Content
> > >   -Length: 0..Warning: 392 140.192.37.59:5060 "Noisy feedback tells:
> > > pid=2712 req_src_ip=140.192.37.4 req_src_port=1162 in_uri=sip:einstei
> > >   n at 140.192.37.59 out_uri=sip:einstein at 140.192.37.59 via_cnt==1"....
> > >
> > > #U 140.192.37.59:5060 -> 140.192.37.4:5060
> > > SIP/2.0 483 Too Many Hops..From:
> > sip:newton at 140.192.37.59;tag=1c24557..To:
> > > sip:einstein at 140.192.37.59;tag=b27e1a1d33761e85846fc98f5f3a7e5
> > >   8.07d8..Call-Id: call-1073357589-13 at 140.192.37.4..Cseq: 1 
> INVITE..Via:
> > > SIP/2.0/UDP 140.192.37.4..Server: Sip EXpress router (0.8.11 (i386
> > >   /linux))..Content-Length: 0..Warning: 392 140.192.37.59:5060 "Noisy
> > > feedback tells:  pid=2712 req_src_ip=140.192.37.59 req_src_port=5060
> > >   in_uri=sip:einstein at 140.192.37.59 out_uri=sip:einstein at 140.192.37.59
> > > via_cnt==12"....
> > >
> > > #U 140.192.37.4:1162 -> 140.192.37.59:5060
> > > ACK sip:einstein at 140.192.37.59 SIP/2.0..Contact:
> > > sip:newton at 140.192.37.4..From: 
> sip:newton at 140.192.37.59;tag=1c24557..To:
> > > sip:einstein at 14
> > >   0.192.37.59;tag=b27e1a1d33761e85846fc98f5f3a7e58.07d8..Call-Id:
> > > call-1073357589-13 at 140.192.37.4..Cseq: 1 ACK..Accept-Language: 
> en..User-A
> > >   gent: Pingtel/2.1.11 (VxWorks)..Date: Tue, 06 Jan 2004 02:53:09
> > GMT..Via:
> > > SIP/2.0/UDP 140.192.37.4..Content-Length: 0....
> > > exit
> > > 4 received, 0 dropped
> > >
> > > Here is the changes that i made to the ser.cfg file:
> > >   # if the request is for other domain use UsrLoc
> > >         # (in case, it does not work, use the following command
> > >         # with proper names and addresses in it)
> > >         if (uri=="myself") {
> > >
> > >                 if (method=="REGISTER") {
> > >
> > > # Uncomment this if you want to use digest authentication
> > >                         if (!www_authorize("myself", "subscriber")) {
> > >                                 www_challenge("myself", "0");
> > >                                 break;
> > >                         };
> > >
> > > Please help.
> > > Thanks,
> > >
> > > -Darshan
> > >
> > >
> > >
> > >
> > >
> > > ----Original Message Follows----
> > > From: Nils Ohlmeier <nils at iptel.org>
> > > To: "Darshan Uka" <ukadarshan_2001 at hotmail.com>
> > > CC: serusers at lists.iptel.org
> > > Subject: Re: [Serusers] SER Register Problems
> > > Date: Tue, 6 Jan 2004 03:39:25 +0100
> > > MIME-Version: 1.0
> > > Received: from fox.iptel.org ([195.37.77.101]) by mc9-f2.hotmail.com 
> with
> > > Microsoft SMTPSVC(5.0.2195.6713); Mon, 5 Jan 2004 18:39:28 -0800
> > > Received: by fox.iptel.org (Postfix, from userid 103)id DA8418F; Tue,  
> 6
> > > Jan 2004 03:36:26 +0100 (CET)
> > > Received: from cloudcity.ohlmeier.home (pD9E6DAA6.dip.t-dialin.net
> > > [217.230.218.166])by fox.iptel.org (Postfix) with ESMTPid 950E58A; Tue,
> > 6
> > > Jan 2004 03:36:25 +0100 (CET)
> > > X-Message-Info: JGTYoYF78jGnACH44+gZOFO1UBr3xMlZ
> > > User-Agent: KMail/1.5.4
> > > References: <LAW11-F69eRh0PupeoP0006058b at hotmail.com>
> > > In-Reply-To: <LAW11-F69eRh0PupeoP0006058b at hotmail.com>
> > > Message-Id: <200401060339.25479.nils at iptel.org>
> > > X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on
> > > fox.iptel.org
> > > X-Spam-Level:
> > > X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham
> > > version=2.60
> > > Return-Path: nils at iptel.org
> > > X-OriginalArrivalTime: 06 Jan 2004 02:39:28.0772 (UTC)
> > > FILETIME=[4E717C40:01C3D3FE]
> > >
> > > Hello,
> > >
> > > On Tuesday 06 January 2004 02:41, Darshan Uka wrote:
> > >
> > >
> > 
> sip:newton at 140.192.37.59----SER:140.192.37.59-------sip:einstein at 140.192.37
> > >
> > >  >.59
> > >  >
> > >  > This is the ngrep trace:
> > >  > interface: eth0 (140.192.37.0/255.255.255.0)
> > >  > filter: ip and ( port 5060 )
> > >  > #Um 140.192.37.4:1162 -> 140.192.37.59:5060
> > >  > INVITE sip:einstein at 140.192.37.59 SIP/2.0..From:
> > >
> > > The request uri above simply doesnt match your uri check from your 
> config
> > > below. As i allready wrote in my last my: you shold NOT replace/remove
> > the
> > > 'uri==myself' condition.
> > >
> > >  >         if (uri=="mnlab.cti.depaul.edu") {
> > >
> > > It should work if you replace '"mnlab.cti.depaul.edu"' with 'myself'
> > again.
> > >
> > > Greets
> > >    Nils
> > >
> > > _________________________________________________________________
> > > Working moms: Find helpful tips here on managing kids, home, work ?  
> and
> > > yourself.   http://special.msn.com/msnbc/workingmom.armx
> >
> > _________________________________________________________________
> > Tired of slow downloads? Compare online deals from your local high-speed
> > providers now.  https://broadband.msn.com
> >
> > _______________________________________________
> > Serusers mailing list
> > serusers at lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
> 
> _________________________________________________________________
> Expand your wine savvy ? and get some great new recipes ? at MSN Wine. 
> http://wine.msn.com
> 




More information about the sr-users mailing list