[OpenSIPS-Users] DNS SRV records

Sergio Gutierrez saguti at gmail.com
Mon Sep 29 23:50:32 CEST 2008

Hi Alex.

OpenSIPS does not need any special setup to resolve SRV recrds.

How do you have defined your SRV records at DNS config?

If wholesaleorgination.acc.globalipcom.com is a SRV, you just call the
function you need, t_relay or forward, and your uri fould read as
username at wholesaleorgination.acc.globalipcom.com

Best regards.

Sergio G.

On Mon, Sep 29, 2008 at 3:44 PM, Alex G <greekman0000 at gmail.com> wrote:

> is there anything special i need to do in the config file to use SRV
> records? I try to rewritehostport to the dns srv record but i cannot seem to
> resolve:
> Sep 29 16:40:10 openser1 /sbin/opensips[21292]: CRITICAL:core:mk_proxy:
> could not resolve hostname: "_sip._
> udp.wholesaleorigination.acc.globalipcom.com"
> Sep 29 16:40:10 openser1 /sbin/opensips[21292]: ERROR:tm:uri2proxy: bad
> host name in URI <sip:+14016411072 at _sip._
> udp.wholesaleorigination.acc.globalipcom.com:5060>
> have tried with and without defining the port and still no luck
> i even turned on ipv6 checks if ipv4 fails and still no luck.
> what am i missing here?
> Thanks,
> Alex
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20080929/a63da5d8/attachment.htm 

More information about the Users mailing list