[Serusers] 404 Not Found when using <user>@<ser_proxy_ip>

Kannaiyan Natesan nkans at lycos.co.uk
Wed Dec 3 17:46:06 CET 2003


When you host more than one domain in a single server you need to
authenticate based on the domain name and not on the IP. Since all the
domain names will give the same IP. I think that is the reason that why
facility of IP comparision with domain name is removed.

Kannaiyan



http://www.speak2world.com/ -- Call with your own domain !!!

----- Original Message -----
From: <jaime.gil at orange.co.uk>
To: <Daniel-Constantin.Mierla at fokus.fraunhofer.de>
Cc: <serusers at lists.iptel.org>
Sent: Wednesday, December 03, 2003 3:35 PM
Subject: Re: [Serusers] 404 Not Found when using <user>@<ser_proxy_ip>


>
> Hello,
>
> The expression that made it work for me was:
>
>         if( uri=~"@<ip-address>" ) {
>                 rewritehost("<domain-name>");
>         };
>
> Just one more question: why has this changed from previous versions????
>
> Thanks!!
>
> Jaime
>
>
>
>
> From: Daniel-Constantin Mierla
<Daniel-Constantin.Mierla at fokus.fraunhofer.de> on
>       03/12/2003 13:18
>
> Please respond to Daniel-Constantin.Mierla at fokus.fraunhofer.de
>
>
>
>
> To:   Jaime GIL/EN/HTLUK at HTLUK
> cc:   serusers at lists.iptel.org
>
>
> Subject:  Re: [Serusers] 404 Not Found when using <user>@<ser_proxy_ip>
>
> Hello Jaime,
> I guess the same situation was discussed in the next thread, yesterday:
> http://lists.iptel.org/pipermail/serusers/2003-December/004146.html
>
> Take a look and see if is your case.
>
> Daniel
>
> On 12/3/2003 2:04 PM, jaime.gil at orange.co.uk wrote:
>
> >Hi,
> >
> >I tried in before in serdev, but nobody seems to know. So here it goes
again:
> >
> >We are getting a strange 404 Not Found when sending requests (INVITE,
> SUBSCRIBE,
> >etc) with a sip request uri in the form sip:<user>@<ser-proxy-ip>.
However, it
> >works when specifying sip:<user>@<domain-of-the-proxy>
> >
> ><user> is registered in the usrloc database, and the config file looks
like:
> >
> >-------------------------- Config
starts -------------------------------------
> >[.....]
> >
> >alias="ser-test.com"
> >alias="192.168.23.23"
> >
> >[.....]
> >
> >route {
> >     if (uri==myself) {
> >
> >[.....]
> >
> >     if (!lookup("location")) {
> >                    log(1, "Not in location\n");
> >                    sl_send_reply("404", "Not Found");
> >          break;
> >      }
> >
> >      if (!t_relay()) {
> >
> >                     sl_reply_error();
> >                    break;
> >     };
> >     break;
> >
> >}
> >
> >----------------Config ends ----------------------
> >
> >The same request and config file in 0.8.11 did not give such an error.
Are
> there
> >any significant changes on how 0.8.12 looks up for registration
information?
> Any
> >hints are much appreciated.
> >
> >Regards,
> >
> >Jaime
> >
> >
> >
>
>***************************************************************************
****
> >Important.
> >Confidentiality: This communication is intended for the above-named
person and
> >may be confidential and/or legally privileged. Any opinions expressed in
this
> >communication are not necessarily those of the company. If it has come to
you
> >in error you must take no action based on it, nor must you copy or show
it to
> >anyone; please delete/destroy and inform the sender immediately.
> >
> >Monitoring/Viruses
> >Orange may monitor all incoming and outgoing emails in line with current
> >legislation.  Although we have taken steps to ensure that this email and
> >attachments are free from any virus, we advise that in keeping with good
> >computing practice the recipient should ensure they are actually virus
free.
> >
> >Orange PCS Limited is a subsidiary of Orange SA and is registered in
England No
> >2178917, with its address at St James Court, Great Park Road, Almondsbury
Park,
> >Bradley Stoke, Bristol BS32 4QJ.
>
>***************************************************************************
****
> >
> >_______________________________________________
> >Serusers mailing list
> >serusers at lists.iptel.org
> >http://lists.iptel.org/mailman/listinfo/serusers
> >
> >
> >
>
>
>
>
>
>
>
>
>
>
****************************************************************************
***
> Important.
> Confidentiality: This communication is intended for the above-named person
and
> may be confidential and/or legally privileged. Any opinions expressed in
this
> communication are not necessarily those of the company. If it has come to
you
> in error you must take no action based on it, nor must you copy or show it
to
> anyone; please delete/destroy and inform the sender immediately.
>
> Monitoring/Viruses
> Orange may monitor all incoming and outgoing emails in line with current
> legislation.  Although we have taken steps to ensure that this email and
> attachments are free from any virus, we advise that in keeping with good
> computing practice the recipient should ensure they are actually virus
free.
>
> Orange PCS Limited is a subsidiary of Orange SA and is registered in
England No
> 2178917, with its address at St James Court, Great Park Road, Almondsbury
Park,
> Bradley Stoke, Bristol BS32 4QJ.
>
****************************************************************************
***
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>





More information about the sr-users mailing list