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>