[Serusers] SER Register Problems

Jan Janak jan at iptel.org
Tue Jan 6 13:27:57 CET 2004


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




More information about the sr-users mailing list