<div dir="ltr"><div>Hi Larry,<br><br></div>No, they are on separate machines.<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 21 January 2014 17:54, Larry Moore <span dir="ltr"><<a href="mailto:lmoore@omninet.net.au" target="_blank">lmoore@omninet.net.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is Kamalio running on the same system as Asterisk?<div class="im"><br>
<br>
On 21/01/2014 2:41 PM, David Cunningham wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Hi Larry,<br>
<br>
Thanks for the reply. We have all of those settings left out of our<br>
sip.conf, so this should allow everything, right?<br>
<br>
<br>
<br>
On 21 January 2014 17:38, Larry Moore <<a href="mailto:lmoore@omninet.net.au" target="_blank">lmoore@omninet.net.au</a><br></div><div><div class="h5">
<mailto:<a href="mailto:lmoore@omninet.net.au" target="_blank">lmoore@omninet.net.au</a>><u></u>> wrote:<br>
<br>
Have you checked your localnet=, deny=, permit=, contactdeny= &<br>
contactpermit= settings?<br>
<br>
My 2c worth.<br>
<br>
<br>
On 20/01/2014 10:51 AM, David Cunningham wrote:<br>
<br>
Hi,<br>
<br>
We have a Kamailio and Asterisk cluster, both machines being on<br>
a real<br>
103.x IP address and also on a 172.x OpenVPN address.<br>
<br>
The problem is that when Kamailo receives a call from the VPN and<br>
forwards it to the Asterisk server on it's 103.x address,<br>
Asterisk never<br>
sees the call.<br>
<br>
If Kamailio receives a call from the VPN and forwards the call<br>
to the<br>
Asterisk server on it's 172.x address then it works. However, if the<br>
call isn't from the VPN then forwarding it to the 172.x address<br>
doesn't<br>
work. So basically the problem is going between the real network<br>
and the<br>
VPN.<br>
<br>
The question is, how can we make this work when calls are<br>
received on<br>
either network on the Kamailio server and are forwarded to Asterisk?<br>
<br>
Using ngrep on the Asterisk server we see that it does receive the<br>
INVITE, but Asterisk's logging shows no sign it at all. We guess<br>
it's a<br>
Linux networking issue rather than Asterisk's fault, but don't know<br>
where to fix it. We do have net.ipv4.ip_forward = 1 on both the<br>
Kamailio<br>
and Asterisk servers.<br>
<br>
Thanks in advance for any help.<br>
<br>
The ngrep on the Asterisk server:<br>
<br>
U 2014/01/17 13:15:<a href="tel:15.599557%20172" value="+15599557172" target="_blank">15.599557 172</a><br></div></div>
<tel:15.599557%20172>.x.x.x:<u></u>5060 -> 103.y.y.y:5060<br>
INVITE sip:9067268@103.y.y.y:5060;__<u></u>transport=udp SIP/2.0.<div class="im"><br>
Record-Route: <sip:172.x.x.x;lr=on>.<br></div>
Via: SIP/2.0/UDP 172.x.x.x;branch=z9hG4bK50c7._<u></u>_f49ceb73.0.<br>
Via: SIP/2.0/UDP<br>
192.z.z.z:5062;rport=5062;__<u></u>branch=z9hG4bK806710997.<br>
From: "9067271" <sip:9067271@172.x.x.x>;tag=__<u></u>198791249.<div class="im"><br>
To: <sip:9067268@172.x.x.x>.<br>
Call-ID: 1905625787@192.z.z.z.<br>
...<br>
<br>
172.x.x.x is the Kamailio server's VPN address<br>
103.y.y.y is the Asterisk server's real address<br>
192.z.z.z is the calling phone's LAN address<br>
<br>
--<br>
David Cunningham, Voisonics<br>
<a href="http://voisonics.com/" target="_blank">http://voisonics.com/</a><br></div>
USA: <a href="tel:%2B1%20213%20221%201092" value="+12132211092" target="_blank">+1 213 221 1092</a> <tel:%2B1%20213%20221%201092><br>
UK: <a href="tel:%2B44%20%280%29%2020%203298%201642" value="+442032981642" target="_blank">+44 (0) 20 3298 1642</a> <tel:%2B44%20%280%29%2020%<u></u>203298%201642><div class="im"><br>
Australia: <a href="tel:%2B61%20%280%29%202%208063%209019" value="+61280639019" target="_blank">+61 (0) 2 8063 9019</a><br></div>
<tel:%2B61%20%280%29%202%<u></u>208063%209019><br>
<br>
<br>
<br>
--<br>
______________________________<u></u>______________________________<u></u>_____________<div class="im"><br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br></div>
<a href="http://lists.digium.com/__mailman/listinfo/asterisk-__users" target="_blank">http://lists.digium.com/__<u></u>mailman/listinfo/asterisk-__<u></u>users</a><div class="im"><br>
<<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/<u></u>mailman/listinfo/asterisk-<u></u>users</a>><br>
<br>
<br>
<br>
<br>
--<br>
David Cunningham, Voisonics<br>
<a href="http://voisonics.com/" target="_blank">http://voisonics.com/</a><br>
USA: <a href="tel:%2B1%20213%20221%201092" value="+12132211092" target="_blank">+1 213 221 1092</a><br>
UK: <a href="tel:%2B44%20%280%29%2020%203298%201642" value="+442032981642" target="_blank">+44 (0) 20 3298 1642</a><br>
Australia: <a href="tel:%2B61%20%280%29%202%208063%209019" value="+61280639019" target="_blank">+61 (0) 2 8063 9019</a><br>
<br>
<br>
</div></blockquote><div class="HOEnZb"><div class="h5">
<br>
-- <br>
______________________________<u></u>______________________________<u></u>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/<u></u>mailman/listinfo/asterisk-<u></u>users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>David Cunningham, Voisonics<br><a href="http://voisonics.com/" target="_blank">http://voisonics.com/</a><br>USA: +1 213 221 1092<br>UK: +44 (0) 20 3298 1642<br>
Australia: +61 (0) 2 8063 9019<br>
</div>