<div dir="ltr"><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px">Hi</p><p class="gmail-m_2428462287429129596gmail-p2" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px;min-height:14px"><br></p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px">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? </p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px"><br></p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px">Please find my Gateway Configuration and Dialplan for Inbound call below. </p><p class="gmail-m_2428462287429129596gmail-p2" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px;min-height:14px"><br></p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px">Gateway Configuration</p><p class="gmail-m_2428462287429129596gmail-p2" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px;min-height:14px"><br></p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px">Path:/usr/local/freeswitch/conf/sip_profiles/external/flowroute.xml</p><p class="gmail-m_2428462287429129596gmail-p2" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px;min-height:14px"><br></p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px"><include></p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px"><span class="gmail-m_2428462287429129596gmail-Apple-converted-space">  </span><gateway name="flowroute"></p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px"><span class="gmail-m_2428462287429129596gmail-Apple-converted-space">  </span><param name="username" value=“my_username”/></p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px"><span class="gmail-m_2428462287429129596gmail-Apple-converted-space">  </span><param name="password" value=“my_password”/></p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px"><span class="gmail-m_2428462287429129596gmail-Apple-converted-space">  </span><param name="proxy" value="<a href="http://sip.flowroute.com/" target="_blank">sip.flowroute.com</a>"/></p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px"><span class="gmail-m_2428462287429129596gmail-Apple-converted-space">  </span><param name="expire-seconds" value="60"/></p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px"><span class="gmail-m_2428462287429129596gmail-Apple-converted-space">  </span><param name="register" value="true"/></p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px"><span class="gmail-m_2428462287429129596gmail-Apple-converted-space">  </span><param name="register-transport" value="udp"/></p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px"><span class="gmail-m_2428462287429129596gmail-Apple-converted-space">  </span><param name="retry-seconds" value="30"/></p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px"><span class="gmail-m_2428462287429129596gmail-Apple-converted-space">  </span><param name="caller-id-in-from" value="false"/></p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px"><span class="gmail-m_2428462287429129596gmail-Apple-converted-space">  </span><param name="extension-in-contact" value="true"/></p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px"><span class="gmail-m_2428462287429129596gmail-Apple-converted-space">  </span><!-- <param name="ping" value="25"/> --></p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px"><span class="gmail-m_2428462287429129596gmail-Apple-converted-space">  </span></gateway></p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px"></include></p><p class="gmail-m_2428462287429129596gmail-p2" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px;min-height:14px"><br></p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px">Dialplan for Inbound call</p><p class="gmail-m_2428462287429129596gmail-p2" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px;min-height:14px"><br></p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px">Path:/usr/local/freeswitch/conf/dialplan/public/00_inbound_did.xml</p><p class="gmail-m_2428462287429129596gmail-p2" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px;min-height:14px"><br></p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px"><include></p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px"><span class="gmail-m_2428462287429129596gmail-Apple-converted-space">  </span><extension name="public_did"></p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px"><span class="gmail-m_2428462287429129596gmail-Apple-converted-space">    </span><condition field="destination_number" expression="^(12408446009)$"></p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px"><span class="gmail-m_2428462287429129596gmail-Apple-converted-space">      </span><!--</p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px">  <span class="gmail-m_2428462287429129596gmail-Apple-converted-space">  </span>If you're hosting multiple domains you will want to set the</p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px">  <span class="gmail-m_2428462287429129596gmail-Apple-converted-space">  </span>target_domain on these calls so they hit the proper domain after you</p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px">  <span class="gmail-m_2428462287429129596gmail-Apple-converted-space">  </span>transfer the caller into the default context.</p><p class="gmail-m_2428462287429129596gmail-p2" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px;min-height:14px"><br></p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px">  <span class="gmail-m_2428462287429129596gmail-Apple-converted-space">  </span>$${domain} is the default domain set from vars.xml but you can set it</p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px">  <span class="gmail-m_2428462287429129596gmail-Apple-converted-space">  </span>to any domain you have setup in your user directory.</p><p class="gmail-m_2428462287429129596gmail-p2" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px;min-height:14px"><br></p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px"><span class="gmail-m_2428462287429129596gmail-Apple-converted-space">      </span>--></p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px"><span class="gmail-m_2428462287429129596gmail-Apple-converted-space">      </span><action application="set" data="domain_name=$${domain}"/></p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px"><span class="gmail-m_2428462287429129596gmail-Apple-converted-space">      </span><!-- This example maps the DID 5551212 to ring 1000 in the default context --></p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px"><span class="gmail-m_2428462287429129596gmail-Apple-converted-space">      </span><action application="transfer" data="2004 XML default"/></p><p class="gmail-m_2428462287429129596gmail-p2" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px;min-height:14px"><span class="gmail-m_2428462287429129596gmail-Apple-converted-space">      </span></p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px"><span class="gmail-m_2428462287429129596gmail-Apple-converted-space">    </span></condition></p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px"><span class="gmail-m_2428462287429129596gmail-Apple-converted-space">  </span></extension></p><p class="gmail-m_2428462287429129596gmail-p1" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";margin:0px"></include></p></div>