<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'>Thank you.  I am reviewing the doc.  I am new to Kamailio so it will take some time for me.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> sr-users [mailto:sr-users-bounces@lists.sip-router.org] <b>On Behalf Of </b>E. Schmidbauer<br><b>Sent:</b> Thursday, August 25, 2016 10:22 AM<br><b>To:</b> d.tryba@pocos.nl; Kamailio (SER) - Users Mailing List <sr-users@lists.sip-router.org><br><b>Subject:</b> Re: [SR-Users] Kamailio - passing registration to another sip server<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal><span style='font-size:9.5pt'>Err sorry Mike (not matt)<o:p></o:p></span></p></div></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Thu, Aug 25, 2016 at 9:57 AM, Daniel Tryba <<a href="mailto:d.tryba@pocos.nl" target="_blank">d.tryba@pocos.nl</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><p class=MsoNormal>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>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" target="_blank">http://www.kamailio.org/docs/modules/stable/modules/nathelper.html#nathelper.set_contact_alias</a><br>and<br><a href="http://kamailio.org/docs/modules/stable/modules/nathelper.html#nathelper.f.handle_ruri_alias" target="_blank">http://kamailio.org/docs/modules/stable/modules/nathelper.html#nathelper.f.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" target="_blank">http://kamailio.org/docs/modules/stable/modules/path.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" target="_blank">http://kamailio.org/docs/modules/stable/modules/path.html#idp38033932</a><br>to handle the INVITEs<br><br>_______________________________________________<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><o:p></o:p></p></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>