<div dir="ltr">Thanks for advice/ My kamailio starts and now listening my external address, but I still see errors of  tm module<br><br><div>ERROR: tm [ut.h:272]: uri2dst2(): ERROR: uri2dst: bad_uri: <a href="http://sip.myserver.com">sip.myserver.com</a></div>
<div>Aug  3 07:45:31 Kamailio kamailio: ERROR: tm [uac.c:266]: t_uac_prepare(): t_uac: no socket found</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-08-02 16:19 GMT+04:00 Fred Posner <span dir="ltr"><<a href="mailto:fred@palner.com" target="_blank">fred@palner.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Yuriy,<br>
<div class=""><br>
> If I write at kamailio.cfg:<br>
> alias=<a href="http://sip.myserver.com" target="_blank">sip.myserver.com</a><br>
><br>
> I see error at log - bad_uri <a href="http://sip.myserver.com" target="_blank">sip.myserver.com</a><br>
<br>
</div>try adding the port...<br>
<br>
alias=<a href="http://sip.myserver.com:5060" target="_blank">sip.myserver.com:5060</a><br>
<br>
Also, since you're behind NAT make sure you also advertise the address<br>
with advertised_address="<a href="http://sip.myserver.com" target="_blank">sip.myserver.com</a>".<br>
<br>
Fred Posner<br>
The Palner Group, Inc.<br>
<a href="http://www.palner.com" target="_blank">http://www.palner.com</a> (web)<br>
+1-503-914-0999 (direct)<br>
+1-954-472-2896 (fax)<br>
<div><div class="h5"><br>
On 08/02/2014 07:51 AM, Yuriy Gorlichenko wrote:<br>
> Hello. I have Kamailio running behind NAT. It lesten eth0 with ip<br>
> 192.168.0.3 and<br>
> I have external IP that have domain name (for example <a href="http://sip.myserver.com" target="_blank">sip.myserver.com</a>).<br>
><br>
> Register packets from clients comes from external IP.<br>
><br>
> If I write at kamailio.cfg:<br>
> alias=<a href="http://sip.myserver.com" target="_blank">sip.myserver.com</a><br>
><br>
> I see error at log - bad_uri <a href="http://sip.myserver.com" target="_blank">sip.myserver.com</a><br>
><br>
> I think it happens because kamailio does not know atything about external<br>
> ip pecause kamamiliol working with server interfaces (eth0, eth1, etc.)<br>
><br>
> So my question - how to listen external IP with domain name on kamailio<br>
> that running behind NAT?<br>
><br>
> P.S. I do not have any access to router, that present NAT for me.<br>
<br>
><br>
<br>
</div></div>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div><br></div>