it is not. it works based on the domain name which you send it across and it authenticates based on the domain name present in the subscriber table.
Kannaiyan
----- Original Message ----- From: dhiraj.2.bhuyan@bt.com To: nkans@lycos.co.uk Cc: serusers@lists.iptel.org Sent: Tuesday, December 02, 2003 2:05 PM Subject: RE: [Serusers] SIP URL with IP Address Problem
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@lycos.co.uk] Sent: 02 December 2003 13:29 To: Bhuyan,D,Dhiraj,XVR3 R Cc: serusers@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@bt.com To: serusers@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@bt.com [mailto:dhiraj.2.bhuyan@bt.com] Sent: 02 December 2003 10:48 To: serusers@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@eniac.alien.bt.co.uk
When I try
serctl ping sip:dhiraj@eniac.alien.bt.co.uk
I get back a "200 OK"
But when I do
serctl ping sip:dhiraj@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@bt.com
---------------------------------------------------------------------------- ----
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers