<div dir="ltr">hi sergio,<br><br>the SRV record is for my pstn gateway. I'm placing the SRV record in rewritehostport("_sip._<a href="http://udp.wholesaleorigination.acc.globalipcom.com/" target="_blank">udp.wholesaleorigination.acc.globalipcom.com</a>"); like this prior to my t_relay. opensips log is showing me the errors i posted below. I didn't think something special was needed, but it doesn't seem to work as it should.<br>
<br>nslookup of the SRV record on the local machine shows that its there and it returns several A records.<br><br>i'm very stumped on this one... any help would be much appreciated :)<br><br>also the DNS i am hitting is our internet provider's dns, which like i said the SRV records seem to resolve at when using nslookup.<br>
<br>Alex<br><br><div class="gmail_quote">On Mon, Sep 29, 2008 at 5:50 PM, Sergio Gutierrez <span dir="ltr"><<a href="mailto:saguti@gmail.com">saguti@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Hi Alex.<br><br>OpenSIPS does not need any special setup to resolve SRV recrds.<br><br>How do you have defined your SRV records at DNS config?<br><br>If <a href="http://wholesaleorgination.acc.globalipcom.com" target="_blank">wholesaleorgination.acc.globalipcom.com</a> is a SRV, you just call the function you need, t_relay or forward, and your uri fould read as <a href="mailto:username@wholesaleorgination.acc.globalipcom.com" target="_blank">username@wholesaleorgination.acc.globalipcom.com</a> <br>
<br>Best regards.<br><br>Sergio G.<br><br><div class="gmail_quote"><div><div></div><div class="Wj3C7c">On Mon, Sep 29, 2008 at 3:44 PM, Alex G <span dir="ltr"><<a href="mailto:greekman0000@gmail.com" target="_blank">greekman0000@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">
<div dir="ltr">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:<br><br>Sep 29 16:40:10 openser1 /sbin/opensips[21292]: CRITICAL:core:mk_proxy: could not resolve hostname: "_sip._<a href="http://udp.wholesaleorigination.acc.globalipcom.com" target="_blank">udp.wholesaleorigination.acc.globalipcom.com</a>"<br>
Sep 29 16:40:10 openser1 /sbin/opensips[21292]: ERROR:tm:uri2proxy: bad host name in URI <sip:+14016411072@_sip._<a href="http://udp.wholesaleorigination.acc.globalipcom.com:5060" target="_blank">udp.wholesaleorigination.acc.globalipcom.com:5060</a>><br>
<br><br>have tried with and without defining the port and still no luck<br><br>i even turned on ipv6 checks if ipv4 fails and still no luck.<br><br><br>what am i missing here?<br><br><br>Thanks,<br><br>Alex<br></div>
<br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>