[OpenSER-Users] DNS query
Yazid Hadj Said
yazid.hadjsaid at gmail.com
Tue May 20 16:01:54 CEST 2008
Hi Henning,
Because i want to place openser between two voip networks, and one of this
networks (his proxy) can not perform DNS query, then i want to adapt sip
message in the format that this network can understand him. This networks
are extern, then I can do nothing .
Thanks
Yazid
2008/5/20 Henning Westerholt <henning.westerholt at 1und1.de>:
> On Tuesday 20 May 2008, Yazid Hadj Said wrote:
> > I want to perform a DNS query with the Record-Route header's content, and
> > replace this content by the response (replacing "domain.com" by
> > xxx.xxx.xxx.xxx).
> > someone knows how?
>
> Hi Yazid,
>
> to get the Record-Route header content in the script use e.g.
> pseudo-variables
> http://www.openser.org/dokuwiki/doku.php/pseudovariables:devel#headers
>
> But why do you want to do the DNS lookup manually? The receiver of the SIP
> message should be capable to do this lookup by themself. It should
> understand
> any valid sip URIs, and also additional parameters here.
>
> You can hack something with the 'exec' module to call a external script if
> you
> really want, but otherwise i have no ideas how to do this.
>
> Cheers,
>
> Henning
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20080520/5956cb2a/attachment.htm>
More information about the sr-users
mailing list