[Freeswitch-users] problem in sending calls to internal Gateway.

Michael Collins msc at freeswitch.org
Mon Mar 15 10:36:03 PDT 2010


Prabin,

Thank you for posting the configs. It is difficult to say what is wrong at
this point because we don't know exactly what you are dialing. Could you
please use pastebin.freeswitch.org and give us some call examples? Capture
the debug output from the FreeSWITCH console. Also, be sure to say what
phone is making the call and what digits the phone is dialing. You might
actually be able to figure it out by looking at the debug output. If you are
using fs_cli then debug mode is on automatically. If you are at the actual
FreeSWITCH console (meaning that you did NOT start freeswitch with the -nc
flag) then be sure to press F8 or type "console loglevel debug" to enable
debug level output. See also this page for lots of handy tips on reporting
information for troubleshooting:
http://wiki.freeswitch.org/wiki/Reporting_Bugs

-MC

On Sat, Mar 13, 2010 at 10:22 PM, Prabin Shrestha <nepaligas at yahoo.com>wrote:

> hello,
>
> My extension are working properly. But they can't send calls to gateway. I
> have 2 interfaces, one with public and another with private lan. Gateway is
> in private lan. Please suggest.
> My configurations are as follows:
>
> /conf/sip_profiles/external.xml:
>    <param name="rtp-ip" value="110.4.12.111"/>
>    <param name="sip-ip" value="110.4.12.111"/>
>    <param name="ext-rtp-ip" value="auto-nat"/>
>    <param name="ext-sip-ip" value="auto-nat"/>
>
> /conf/sip_profiles/internal.xml:
>     <param name="rtp-ip" value="192.168.1.11"/>
>     <param name="sip-ip" value="192.168.1.11"/>
>    <param name="hold-music" value="$${hold_music}"/>
>    <param name="apply-nat-acl" value="nat.auto"/>
>
> haven't made any changes in conf/autoload_configs/acl.conf.xml
>
> to route calls from providers, /dialplan/public/providers.xml:
>    <extension name="provider">
>    <condition field="network_addr" expression="200.144.44.177"/>
>    <condition field="destination_number" expression="^(\d+)$">
>        <action application="transfer" data="$1 XML context_AX"/>
>    </condition>
>   </extension>
>
> gateway is defined at /conf/sip_profiles/internal/gateways.xml:
>   <include>
>   <gateway name="gateway_AX">
>    <param name="username" value="admin"/>
>    <param name="password" value="nepal123"/>
>    <param name="proxy" value="192.168.1.100"/>
>    <param name="register" value="false"/>
>    <param name="extension" value="1001"/>
>    </gateway>
>   </include>
>
>
> To route internal calls from extensions, /conf/dialplan/default.xml:
> <extension name="my_internal">
>    <!--<condition field="${ruleset}" expression="internal" /> -->
>    <condition field="destination_number" expression="^(d+)$">
>      <action application="bridge" data="sofia/gateway/gateway_AX/$1"/>
>    </condition>
>  </extension>
>
> to route calls from providers, conf/dialplan/inbound_routing.xml:
> <context name="context_AX">
>    <extension name="from_provider_to_AX">
>    <!--<condition field="destination_number" expression="^00(1.*)$">-->
>    <condition field="destination_number" expression="^9(\d+)$">
>    <action application="bridge" data="sofia/gateway/gateway_AX/$1"/>
>    </condition>
>    </extension>
> </context>
>
> Please help.
>
>
>      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
> http://in.yahoo.com/
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100315/041ea0f9/attachment-0002.html 


More information about the FreeSWITCH-users mailing list