<div><div>Damn! I forgot to do a stupid telnet. Thank you for shaking me, I was assuming</div><div>the mistake was mine because I'm so new to this.</div></div><div><br>There was a problem with the provider's firewall but now it seems to be solved,</div>
<div>when I do a "sofia status" the gateway appears REGED.<br><br>Now I'm trying to properly route the calls in my dialplan to run my LuaScript.<br><br>So far I have:<br><br>/usr/local/freeswitch/conf/dialplan/public/testing.xml<br>
========================================<br><include><br> <extension name="testing-inbound"><br> <condition field="destination_number" expression=".*"><br> <action<br>
application="lua"<br> data="/root/ginga-gingaphone/freeswitch/operator.lua"<br> ><br> </condition><br> </extension><br></include><br>========================================<br>
<br>But when I call my number I got this log:<br><br>========================================<br>2012-03-23 20:36:23.465456 [NOTICE] switch_channel.c:926 New Channel sofia/external/<a href="http://1135678377@189.84.133.130:5060">1135678377@189.84.133.130:5060</a> [dae908e0-7527-11e1-8295-15ac0b75d081]<br>
<div>2012-03-23 20:36:23.465456 [NOTICE] sofia.c:5813 Hangup sofia/external/<a href="http://1135678377@189.84.133.130:5060">1135678377@189.84.133.130:5060</a> [CS_NEW] [INCOMPATIBLE_DESTINATION]</div><div><div>2012-03-23 20:36:23.465456 [NOTICE] switch_core_session.c:1400 Session 8 (sofia/external/<a href="http://1135678377@189.84.133.130:5060">1135678377@189.84.133.130:5060</a>) Ended</div>
<div>2012-03-23 20:36:23.465456 [NOTICE] switch_core_session.c:1402 Close Channel sofia/external/<a href="http://1135678377@189.84.133.130:5060">1135678377@189.84.133.130:5060</a> [CS_DESTROY]</div></div><div>========================================</div>
<div><br></div>When I tested the same Dialplan in the default context, calling from a SIP</div><div>client without passing through the external gateway it worked fine and my</div><div>lua script is hit, answering the call.</div>
<div><br>What am I doing wrong?<div><br></div><div>Thanks again.</div><div><br> <br>Anderson Arboleya<br><br><br>On Thu, Mar 22, 2012 at 10:12 AM, Saugort Dario Garcia Tovar <<a href="mailto:dgarcia@anew.com.ve">dgarcia@anew.com.ve</a>> wrote:<br>
><br>> Hi,<br>><br>> Have you tried the basic first?<br>> 1. Do a ping from your FS to your provider IP to check conectivity<br>> 2. Do a telnet: telne PROVIDER_IP PORT and see if it open conection<br>> 3. Have you a firewall installed?<br>
> 4. Have you FS behind a router doing NAT or it has network interface conected directly to internet?</div></div>