<div dir="ltr"><div dir="ltr" style="font-size:12.8px">Err sorry Mike (not matt)</div><div class="" style="margin:2px 0px 0px;font-size:12.8px"></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 25, 2016 at 9:57 AM, Daniel Tryba <span dir="ltr"><<a href="mailto:d.tryba@pocos.nl" target="_blank">d.tryba@pocos.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Aug 25, 2016 at 09:38:12AM -0400, Mike Patterson wrote:<br>
> I have configured Kamailio to pass a registration request to another VoIP<br>
> provider.  The reason I am doing this is to provide a sip port for users<br>
> where the ISP is blocking SIP.  I am able to pass the registrations to the<br>
> VoIP provider but I'd like to have inbound calls working as well.  I see the<br>
> inbound invites coming into the Kamailio server but it appears that the<br>
> server does not 'know' about the UA that is registered 'through' the server<br>
> to the VoIP provider.  Can anyone tell me how to fix this problem?  Below is<br>
> my config.<br>
<br>
</span>You should look into the NAT handling tricks:<br>
<a href="http://www.kamailio.org/docs/modules/stable/modules/nathelper.html#nathelper.set_contact_alias" rel="noreferrer" target="_blank">http://www.kamailio.org/docs/<wbr>modules/stable/modules/<wbr>nathelper.html#nathelper.set_<wbr>contact_alias</a><br>
and<br>
<a href="http://kamailio.org/docs/modules/stable/modules/nathelper.html#nathelper.f.handle_ruri_alias" rel="noreferrer" target="_blank">http://kamailio.org/docs/<wbr>modules/stable/modules/<wbr>nathelper.html#nathelper.f.<wbr>handle_ruri_alias</a><br>
<br>
Take a look at the default config NATMANAGE routes and enable "natting"<br>
for all sources except you upstream server.<br>
<br>
Alternatively if the registrar of the voip provider supports Path,<br>
enable that in kamailio use<br>
<a href="http://kamailio.org/docs/modules/stable/modules/path.html#idp38122172" rel="noreferrer" target="_blank">http://kamailio.org/docs/<wbr>modules/stable/modules/path.<wbr>html#idp38122172</a><br>
in the registers to add the header and set<br>
<a href="http://kamailio.org/docs/modules/stable/modules/path.html#idp38033932" rel="noreferrer" target="_blank">http://kamailio.org/docs/<wbr>modules/stable/modules/path.<wbr>html#idp38033932</a><br>
to handle the INVITEs<br>
<br>
______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
</blockquote></div><br></div>