<div dir="ltr">Thanks Steve. <div><br></div><div>I think my problem is NAT. I'm using iptables, but I don't sure if I'm doing right steps.</div><div><br></div><div>In the principal router I've forwarded the ports, but in my firewall (iptables on PBX server) I'm not sure. 201.237.180.154 is my remote place.</div>
<div><br></div><div><br></div><div><div>#El NAT para el 5060 y el 10000-30000 (rtp)</div><div>iptables -t nat -A PREROUTING --dst 201.237.180.154 --proto udp --dport 5060 -j DNAT --to 192.168.1.180</div><div>iptables -t nat -A PREROUTING --dst 201.237.180.154 --proto udp --dport 10000:30000 -j DNAT --to 192.168.1.180</div>
<div>iptables -t nat -A PREROUTING --dst 201.237.180.158 --proto udp --dport 5060 -j DNAT --to 192.168.1.180</div><div>iptables -t nat -A PREROUTING --dst 201.237.180.158 --proto udp --dport 10000:30000 -j DNAT --to 192.168.1.180</div>
<div>iptables -t nat -A POSTROUTING --proto udp --src 192.168.1.180 -j MASQUERADE</div><div><br></div><div>iptables -t filter -A FORWARD --proto udp --dport 5060 -j ACCEPT</div><div>iptables -t filter -A FORWARD --proto udp --dport 10000:30000 -j ACCEPT</div>
</div><div><br></div><div><br></div><div>Can somebody help me to configure my NAT on iptables ? Maybe an example. Thank you again.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 10, 2014 at 4:31 PM, Steve Totaro <span dir="ltr"><<a href="mailto:stotaro@totarotechnologies.com" target="_blank">stotaro@totarotechnologies.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Check here:</div><div><a href="http://www.freepbx.org/forum/freepbx/installation/incoming-calls-drop-30-seconds-on-fpbx-2-9-0-1-8-7-0" target="_blank">http://www.freepbx.org/forum/freepbx/installation/incoming-calls-drop-30-seconds-on-fpbx-2-9-0-1-8-7-0</a></div>
<div><br></div><div>Thanks,</div><div>Steve Totaro</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 10, 2014 at 4:43 PM, <a href="mailto:alpocr@gmail.com" target="_blank">alpocr@gmail.com</a> <span dir="ltr"><<a href="mailto:alpocr@gmail.com" target="_blank">alpocr@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yes, well, really is Elastix. Hmmm where I need to pt directmedia=no ?<div><br></div><div>Thanks,</div>
</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 10, 2014 at 2:38 PM, Eric Wieling <span dir="ltr"><<a href="mailto:EWieling@nyigc.com" target="_blank">EWieling@nyigc.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">Try ulaw instead of g729, set directmedia=no<br>
<br>
I see you are using FreePBX. I cannot help further.<br>
<div><br>
<br>
-----Original Message-----<br>
From: <a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of <a href="mailto:alpocr@gmail.com" target="_blank">alpocr@gmail.com</a><br>
</div><div><div>Sent: Monday, March 10, 2014 4:15 PM<br>
To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
Cc: <a href="mailto:andres@telesip.net" target="_blank">andres@telesip.net</a><br>
Subject: Re: [asterisk-users] Remote extensions call drops after 20 seconds.<br>
<br>
Guys, hi. I have not solved the problem. Outgoing calls to remote extensions drops on 5-20 seconds. Incoming calls work perfectly.<br>
<br>
Hope you can help me. Attach updated logs: <a href="http://pastebin.com/HmKEDAUq" target="_blank">http://pastebin.com/HmKEDAUq</a><br>
<br>
Thanks,<br>
<br>
<br>
On Thu, Dec 19, 2013 at 8:48 AM, Eric Wieling <<a href="mailto:EWieling@nyigc.com" target="_blank">EWieling@nyigc.com</a>> wrote:<br>
<br>
<br>
See sip.conf.sample in the Asterisk tarball for documentation of valid settings.<br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of <a href="mailto:alpocr@gmail.com" target="_blank">alpocr@gmail.com</a><br>
<br>
Sent: Wednesday, December 18, 2013 9:30 PM<br>
To: <a href="mailto:andres@telesip.net" target="_blank">andres@telesip.net</a>; Asterisk Users Mailing List - Non-Commercial Discussion<br>
Subject: Re: [asterisk-users] Remote extensions call drops after 20 seconds.<br>
<br>
<br>
I set canreinvite=very in the remote extension, and now the call not drops. Valid solution?<br>
<br>
<br>
On Wed, Dec 18, 2013 at 6:38 PM, Andres <<a href="mailto:andres@telesip.net" target="_blank">andres@telesip.net</a>> wrote:<br>
<br>
<br>
On 12/18/13, 3:09 PM, <a href="mailto:alpocr@gmail.com" target="_blank">alpocr@gmail.com</a> wrote:<br>
<br>
<br>
Hello. I have a problem with the configuration of a remote extensions. Calls are truncated at 20 seconds.<br>
<br>
I got my my NAT firewall properly configured. Here I attached my debug in CLI: <a href="http://pastebin.com/gh34E69f" target="_blank">http://pastebin.com/gh34E69f</a><br>
<br>
<br>
When the call is setup I see your Asterisk retransmitting the "SIP/2.0 200 OK" packet many times and getting no response. The other end needs to receive the packet and generate an "ACK". You need to trace where that packet is going and figure out why it is not reaching its target, or if it is, then why is the ACK not making it back. Thats your problem.<br>
<br>
<br>
Thank you!<br>
<br>
--<br>
<br>
Allan Porras<br>
<br>
<a href="http://allanPorras.com" target="_blank">http://allanPorras.com</a> <<a href="http://www.AllanPorras.com" target="_blank">http://www.AllanPorras.com</a>><br>
Google Plus: <a href="http://goo.gl/BRkbX" target="_blank">http://goo.gl/BRkbX</a><br>
<br>
Twitter: @alpocr <<a href="http://twitter/alpocr" target="_blank">http://twitter/alpocr</a>><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
Technical Support<br>
<a href="http://www.cellroute.net" target="_blank">http://www.cellroute.net</a><br>
<br>
--<br>
_____________________________________________________________________<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/mailman/listinfo/asterisk-users</a><br>
<br>
<br>
<br>
<br>
<br>
--<br>
<br>
Allan Porras<br>
<br>
<a href="http://allanPorras.com" target="_blank">http://allanPorras.com</a> <<a href="http://www.AllanPorras.com" target="_blank">http://www.AllanPorras.com</a>> Google Plus: <a href="http://goo.gl/BRkbX" target="_blank">http://goo.gl/BRkbX</a><br>
<br>
Twitter: @alpocr <<a href="http://twitter/alpocr" target="_blank">http://twitter/alpocr</a>><br>
<br>
<br>
<br>
<br>
--<br>
_____________________________________________________________________<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/mailman/listinfo/asterisk-users</a><br>
<br>
<br>
<br>
<br>
<br>
--<br>
<br>
Allan Porras<br>
<a href="http://allanPorras.com" target="_blank">http://allanPorras.com</a> <<a href="http://www.AllanPorras.com" target="_blank">http://www.AllanPorras.com</a>> Google Plus: <a href="http://goo.gl/BRkbX" target="_blank">http://goo.gl/BRkbX</a><br>
<br>
Twitter: @alpocr <<a href="http://twitter/alpocr" target="_blank">http://twitter/alpocr</a>><br>
<br>
<br>
<br>
--<br>
_____________________________________________________________________<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/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Allan Porras <div><a href="http://www.AllanPorras.com" target="_blank">http://allanPorras.com</a></div><div>Google Plus: <a href="http://goo.gl/BRkbX" target="_blank">http://goo.gl/BRkbX</a> <br>
<div>Twitter: <a href="http://twitter/alpocr" target="_blank">@alpocr</a></div><div><br><div><br></div></div></div></div>
</div>
</div></div><br>--<br>
_____________________________________________________________________<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/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>
</div></div><br>--<br>
_____________________________________________________________________<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/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">
Allan Porras <div><a href="http://www.AllanPorras.com" target="_blank">http://allanPorras.com</a></div><div>Google Plus: <a href="http://goo.gl/BRkbX" target="_blank">http://goo.gl/BRkbX</a> <br><div>Twitter: <a href="http://twitter/alpocr" target="_blank">@alpocr</a></div>
<div><br><div><br></div></div></div></div>
</div>