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