[Serusers] domain and "myself" question

Jan Janak jan at iptel.org
Sat Nov 26 15:07:12 CET 2005


Yes, I agree and I would encourage anyone to submit such feature
enhancements or bug reports there. This way we can easily keep track of
them.

  Jan.

On 26-11-2005 09:42, Greger V. Teigre wrote:
> Arek,
> You could also submit it as a patch on http://bugs.sip-router.org/
> :-)
> g-)
> ----- 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




More information about the sr-users mailing list