Hi I am new to FreeSWITCH. I am trying to establish outbound and inbound call using Flowroute. Outbound call is working fine. But the inbound call is not working. If I dialed DID number from the phone, it says “Invalid Number”. No log in FreeSWITCH CLI. Did I miss anything or any more configuration needed? Please find my Gateway Configuration and Dialplan for Inbound call below. Gateway Configuration Path:/usr/local/freeswitch/conf/sip_profiles/external/flowroute.xml <include> <gateway name="flowroute"> <param name="username" value=“my_username”/> <param name="password" value=“my_password”/> <param name="proxy" value="sip.flowroute.com"/> <param name="expire-seconds" value="60"/> <param name="register" value="true"/> <param name="register-transport" value="udp"/> <param name="retry-seconds" value="30"/> <param name="caller-id-in-from" value="false"/> <param name="extension-in-contact" value="true"/> <!-- <param name="ping" value="25"/> --> </gateway> </include> Dialplan for Inbound call Path:/usr/local/freeswitch/conf/dialplan/public/00_inbound_did.xml <include> <extension name="public_did"> <condition field="destination_number" expression="^(12408446009)$"> <!-- If you're hosting multiple domains you will want to set the target_domain on these calls so they hit the proper domain after you transfer the caller into the default context. $${domain} is the default domain set from vars.xml but you can set it to any domain you have setup in your user directory. --> <action application="set" data="domain_name=$${domain}"/> <!-- This example maps the DID 5551212 to ring 1000 in the default context --> <action application="transfer" data="2004 XML default"/> </condition> </extension> </include>
run a trace on fs while calling: `sofia profile [profile] siptrace on` (off to turn it off) If you don't see the call coming in, talk to flowroute, they're not sending the call back to you. Regards, David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 On Wed, Sep 4, 2019 at 7:10 PM Md,Mehedi Hasan Kabir(Tanim) < tanim@surroundapps.com> wrote:
Hi
I am new to FreeSWITCH. I am trying to establish outbound and inbound call using Flowroute. Outbound call is working fine. But the inbound call is not working. If I dialed DID number from the phone, it says “Invalid Number”. No log in FreeSWITCH CLI. Did I miss anything or any more configuration needed?
Please find my Gateway Configuration and Dialplan for Inbound call below.
Gateway Configuration
Path:/usr/local/freeswitch/conf/sip_profiles/external/flowroute.xml
<include>
<gateway name="flowroute">
<param name="username" value=“my_username”/>
<param name="password" value=“my_password”/>
<param name="proxy" value="sip.flowroute.com"/>
<param name="expire-seconds" value="60"/>
<param name="register" value="true"/>
<param name="register-transport" value="udp"/>
<param name="retry-seconds" value="30"/>
<param name="caller-id-in-from" value="false"/>
<param name="extension-in-contact" value="true"/>
<!-- <param name="ping" value="25"/> -->
</gateway>
</include>
Dialplan for Inbound call
Path:/usr/local/freeswitch/conf/dialplan/public/00_inbound_did.xml
<include>
<extension name="public_did">
<condition field="destination_number" expression="^(12408446009)$">
<!--
If you're hosting multiple domains you will want to set the
target_domain on these calls so they hit the proper domain after you
transfer the caller into the default context.
$${domain} is the default domain set from vars.xml but you can set it
to any domain you have setup in your user directory.
-->
<action application="set" data="domain_name=$${domain}"/>
<!-- This example maps the DID 5551212 to ring 1000 in the default context -->
<action application="transfer" data="2004 XML default"/>
</condition>
</extension>
</include> _________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
participants (2)
-
David Villasmil
-
Md,Mehedi Hasan Kabir(Tanim)