[Serusers] SIP URL with IP Address Problem

Jan Janak jan at iptel.org
Wed Dec 3 17:44:41 CET 2003


I guess you are using unstable development version. This version has
multi domain support on by default and not everything is finished yet.
As oposed to stable versions which work correctly.

 Jan.

On 02-12 14:05, dhiraj.2.bhuyan at bt.com wrote:
> Thanks for the tip.
> Managed to fix it by adding a -
> 
> if( uri=~"sip:[.]*@132.146.196.91" ) {
>    rewritehost("eniac.alien.bt.co.uk");
> };
> 
> at the very beginning. Don't know if this is a good thing to do. Surely SER should have been able to see that 132.146.196.91 == eniac.alien.bt.co.uk? Or am I missing something?
> 
> Regards
> 
> Dhiraj
> 
> 
> -----Original Message-----
> From: Kannaiyan Natesan [mailto:nkans at lycos.co.uk]
> Sent: 02 December 2003 13:29
> To: Bhuyan,D,Dhiraj,XVR3 R
> Cc: serusers at lists.iptel.org
> Subject: Re: [Serusers] SIP URL with IP Address Problem
> 
> 
> You can try replacing the save("location") with the below lines,
> 
> if( method==REGISTER)
> {
> 
>   .........
> 
> // should be within the authorised condition ...
> 
> if( uri=~"sip:[.]*@eniac.alien.bt.co.uk" )
> {
>    save("location");
>    rewritehost("132.146.196.91");
>    save("location");
> }
> else
>   save("location");
> 
>   break;
> 
> };
> 
> You may also need a line diversion of call, ( Not sure, but you can check
> without the following )
> 
> if( uri=~"sip:[.]*@132.146.196.91" )
> {
>     rewritehost("eniac.alien.bt.co.uk");
>     forward(uri:host,uri:post);
> }
> 
> 
> ----- Original Message -----
> From: <dhiraj.2.bhuyan at bt.com>
> To: <serusers at lists.iptel.org>
> Sent: Tuesday, December 02, 2003 10:50 AM
> Subject: RE: [Serusers] SIP URL with IP Address Problem
> 
> 
> Sorry I attached the wrong config file in my previous email. Correct one
> attached -
> 
> Regards,
> Dhiraj
> 
> -----Original Message-----
> From: dhiraj.2.bhuyan at bt.com [mailto:dhiraj.2.bhuyan at bt.com]
> Sent: 02 December 2003 10:48
> To: serusers at lists.iptel.org
> Subject: [Serusers] SIP URL with IP Address Problem
> 
> 
> Hello everyone,
> 
> I am facing the following problem -
> 
> eniac.alien.bt.co.uk  =  132.146.196.91
> 
> A Grandstream BudgeTone 100 phone is registered to the SER registrar and
> proxy running on eniac.alien.bt.co.uk as dhiraj at eniac.alien.bt.co.uk
> 
> When I try
> 
> serctl ping sip:dhiraj at eniac.alien.bt.co.uk
> 
> I get back a "200 OK"
> 
> But when I do
> 
> serctl ping sip:dhiraj at 132.146.196.91
> 
> I get back a "404".
> 
> 
> How to overcome this? I am using SER from the CVS. My ser.cfg is attached.
> 
> 
> Thanks,
> 
> Dhiraj Bhuyan
> Network Security Specialist,
> BT Exact
> 
> Tel:   +44 1473 643932
> Mob:   +44 7962 012145
> Email: dhiraj.2.bhuyan at bt.com
> 
> 
> 
> ----------------------------------------------------------------------------
> ----
> 
> 
> > _______________________________________________
> > Serusers mailing list
> > serusers at lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
> >
> 
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list