[Freeswitch-users] Inbound Call Issue

Md,Mehedi Hasan Kabir(Tanim) tanim at surroundapps.com
Tue Aug 27 05:48:16 UTC 2019


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

Please find my Gateway Configuration and Dialplan for Inbound call below.

Gateway Configuration



  <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"/> -->



Dialplan for Inbound call



  <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"/>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190827/16e2e9a0/attachment.html>

More information about the FreeSWITCH-users mailing list