[Serusers] domain and "myself" question

Kyriakos Mavromichalis kyriakos at otenettel.com
Tue Nov 29 09:17:22 CET 2005


Hi Arek,
    thanks for the reply.It would be great to have the mod , perhaps its best 
to send it on the list so others can have access too?

K


> > ----- Original Message -----
> > From: "Arek Bekiersz" <sip at perceval.net>
> > To: <serusers at lists.iptel.org>
> > Sent: Friday, November 25, 2005 4:36 PM
> > Subject: Re: [Serusers] domain and "myself" question
> >
> > >Hello Kyriakos,
> > >
> > >
> > >I have created a custom function in 'domain' module.
> > >Function is called is_uri_host_local_rewrite()
> > >
> > >It checks if host in Request URI is local more accurately.
> > >If it is numeric IP, it search DNS for FQDN.
> > >If found, function searches for it in 'domain' MySQL table.
> > >If found as well, it rewrites Request URI with this FQDN.
> > >It checks also DNS aliases.
> > >
> > >I use it in production for few months now, have no problems.
> > >If you want, I can send you this modification on priv or I can send it
> > > on the list?
> > >
> > >--
> > >Arek
> > >
> > >Kyriakos Mavromichalis wrote:
> > >>Hi,
> > >>   currently i have a configuration that works when UA use ip
> > >> adresseses for contacting the server. Also ip is used for the domain.
> > >>
> > >>What i would like users to do is use a domain   ie
> > >>sip1.otenet-telecom.net to register. Domain is setup  A record and
> > >> points to the ip of the server.
> > >>Users register ok but when they try to make a call, if(uri!=myself)
> > >>returns true and the call does not go through.
> > >>
> > >>uri is     number at sip1.otenet-telecom.net
> > >>sip1.otenet-telecom.net is in the domain  mysql table.
> > >>
> > >>What do i do to get the server recognize the calls from users using the
> > >>domain?
> > >
> > >_______________________________________________
> > >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
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers

-- 
Kyriakos Mavromichalis	
Otenet Telecom




More information about the sr-users mailing list