<p dir="ltr">As you may have guessed, I'm new to the application. Can you say how I should configure the inbound?</p>
<p dir="ltr">Mike</p>
<div class="gmail_quote">On May 21, 2013 12:43 PM, "Philippe Le Toquin" <<a href="mailto:philippe@ppmt.org">philippe@ppmt.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>For the inbound I didn't comment because I can't understand how your dialplan would link your gateway to your extension<br><br></div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On 21 May 2013 00:50, Mike Hendrie <span dir="ltr"><<a href="mailto:mike@hendrienet.com" target="_blank">mike@hendrienet.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I will take a closer look at the gateways. However, your email looks like it was sent before you completed it. <div><br></div><div>What about the inbound DID? Any ideas?</div></div><div><div>
<div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, May 20, 2013 at 4:49 PM, Philippe Le Toquin <span dir="ltr"><<a href="mailto:philippe@ppmt.org" target="_blank">philippe@ppmt.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#CCCCCC" text="#000000">
I am no expert so I could be wrong but:<br>
<br>
First your outbound is no registered (NOREG) so that is most likely
going to prevent outgoing call<br>
<br>
Also you refer to default_gateway in your dialplan....what value is
it set to? Check vars.xmls<br>
<br>
I normally use directly the name of my gateway instead of using
variable (might not be the best way though )<br>
<br>
<br>
<br>
But you have the <br><div><div>
<div>On 13-05-19 11:39 PM, Mike Hendrie
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div>
<div dir="ltr">Thank you for your response. Per your request here
is the result of the <span style="font-family:arial,sans-serif;font-size:13px">sofia
status command:</span>
<div><br>
</div>
<div>
<div>freeswitch@internal> sofia status</div>
<div> Name Type
Data State</div>
<div>=================================================================================================</div>
<div> 10.1.1.5 alias
internal ALIASED</div>
<div> internal profile <a href="http://sip:mod_sofia@10.1.1.5:5060" target="_blank">sip:mod_sofia@10.1.1.5:5060</a>
RUNNING (0)</div>
<div> external profile <a href="http://sip:mod_sofia@10.1.1.5:5080" target="_blank">sip:mod_sofia@10.1.1.5:5080</a>
RUNNING (0)</div>
<div> external::<a href="http://example.com" target="_blank">example.com</a> gateway
<a href="mailto:sip%3Ajoeuser@example.com" target="_blank">sip:joeuser@example.com</a>
NOREG</div>
<div>external::BatCave-inbound gateway
<a href="mailto:sip:J0k3R!@BacCave.hole.Xom" target="_blank">sip:J0k3R!@BacCave.hole.Xom</a> REGED</div>
<div>external::BatCat-outbound gateway
<a href="mailto:sip:J0k3R!@BacCave.hole.Xom" target="_blank">sip:J0k3R!@BacCave.hole.Xom</a> NOREG</div>
<div> GothamCity.xom alias
internal ALIASED</div>
<div> internal-ipv6 profile
sip:mod_sofia@[::1]:5060 RUNNING (0)</div>
<div>=================================================================================================</div>
<div>3 profiles 2 aliases</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>==========================================<br>
</div>
<div>/usr/local/freeswitch/conf/dialplan/default/GothamCity.xom.xml<br>
</div>
<div><br>
</div>
<div>
<div><!-- <a href="http://wiki.freeswitch.org/wiki/Dialplan_XML" target="_blank">http://wiki.freeswitch.org/wiki/Dialplan_XML</a>
--></div>
<div><include></div>
<div> <context name="GothamCity.xom"></div>
<div> <extension name="vitel-inbound"></div>
<div> <condition field="destination_number"
expression=""></div>
<div> <action application="transfer" data="1000 XML
default"/></div>
<div> </condition></div>
<div> </extension></div>
<div>==========================================</div>
<div>
<div><br>
</div>
<div>
<div> /usr/local/freeswitch/conf/dialplan/default/GothamCity.xom.xml</div>
<div><br>
</div>
</div>
<div><include></div>
<div><br>
</div>
<div> <extension name="<a href="http://local.example.com" target="_blank">local.example.com</a>"></div>
<div> <condition field="${toll_allow}"
expression="local"/></div>
<div> <condition field="destination_number"
expression="^(\d{7})$"></div>
<div> <action application="set"
data="effective_caller_id_number=${outbound_caller_id_number}"/></div>
<div> <action application="set"
data="effective_caller_id_name=${outbound_caller_id_name}"/></div>
<div> <action application="bridge"
data="sofia/gateway/${default_gateway}/1${default_areacode}$1"/></div>
<div> </condition></div>
<div> </extension></div>
<div><br>
</div>
<div> <extension name="<a href="http://domestic.example.com" target="_blank">domestic.example.com</a>"></div>
<div> <condition field="${toll_allow}"
expression="domestic"/></div>
<div> <condition field="destination_number"
expression="^(\d{11})$"></div>
<div> <action application="set"
data="effective_caller_id_number=${outbound_caller_id_number}"/></div>
<div> <action application="set"
data="effective_caller_id_name=${outbound_caller_id_name}"/></div>
<div> <action application="bridge"
data="sofia/gateway/${default_gateway}/$1"/></div>
<div> </condition></div>
<div> </extension></div>
<div><br>
</div>
<div> <extension name="<a href="http://international.example.com" target="_blank">international.example.com</a>"></div>
<div> <condition field="${toll_allow}"
expression="international"/></div>
<div> <condition field="destination_number"
expression="^(011\d+)$"></div>
<div> <action application="set"
data="effective_caller_id_number=${outbound_caller_id_number}"/></div>
<div> <action application="set"
data="effective_caller_id_name=${outbound_caller_id_name}"/></div>
<div> <action application="bridge"
data="sofia/gateway/${default_gateway}/$1"/></div>
<div> </condition></div>
<div> </extension></div>
<div><br>
</div>
<div></include></div>
</div>
<div>
<div><br>
</div>
<div>==========================================</div>
</div>
<div>/usr/local/freeswitch/conf/sip_profiles/external/vitelity.xml<br>
</div>
<div><br>
</div>
<div>
<div><include></div>
<div> <gateway name="BatCave-outbound"></div>
<div> <!--/// account username *required*
///--></div>
<div> <param name="username" value="Joker"/></div>
<div> <!--/// auth realm: *optional* same as
gateway name, if blank ///--></div>
<div> <param name="realm"
value="BatCave-outbound"/></div>
<div> <!--/// account password *required*
///--></div>
<div> <param name="password" value="2F@ce"/></div>
<div> <!--/// extension for inbound calls:
*optional* same as username, if blank ///--></div>
<div> <param name="extension"
value="default"/></div>
<div> <!--/// proxy host: *optional* same as
realm, if blank ///--></div>
<div> <param name="proxy" value="<a href="http://outbound1.BatCave.net" target="_blank">outbound1.BatCave.net</a>"/></div>
<div> <!--/// expire in seconds: *optional*
3600, if blank ///--></div>
<div> <param name="expire-seconds"
value="600"/></div>
<div> <!--/// register: *optional* true, if
blank ///--></div>
<div> <param name="register" value="false"
/></div>
<div> </gateway></div>
<div> </include></div>
<div><br>
</div>
<div><br>
</div>
<div> <include></div>
<div> <gateway name="BatCave-inbound"></div>
<div> <!--/// account username *required*
///--></div>
<div> <param name="username" value="Joker"/></div>
<div> <!--/// auth realm: *optional* same as
gateway name, if blank ///--></div>
<div> <param name="realm"
value="BatCave-inbound"/></div>
<div> <!--/// account password *required* (do
not include allow=all) ///--></div>
<div> <param name="password" value="2F@ce"/></div>
<div> <!--/// extension for inbound calls:
*optional* same as username, if blank ///--></div>
<div> <param name="extension"
value="default"/></div>
<div> <!--/// proxy host: *optional* same as
realm, if blank ///--></div>
<div> <param name="proxy"
value="Yup.Not.REAL.Port"/></div>
<div> <!--/// expire in seconds: *optional*
3600, if blank ///--></div>
<div> <param name="expire-seconds"
value="600"/></div>
<div> <param name="context"
value="inbound"/></div>
<div> <!--/// register: *optional* true, if
blank ///--></div>
<div> <param name="register" value="true" /></div>
<div> </gateway></div>
<div> </include></div>
</div>
<div><br>
</div>
<div>
<div>==========================================</div>
</div>
</div>
<div>/usr/local/freeswitch/conf/directory/GothamCity.xom/1000.xml</div>
<div> </div>
<div>
<div><include></div>
<div> <user id="1000"></div>
<div> <params></div>
<div> <param name="password"
value="$${default_password}"/></div>
<div> <param name="vm-password" value="1000"/></div>
<div> </params></div>
<div> <variables></div>
<div> <variable name="toll_allow"
value="domestic,international,local"/></div>
<div> <variable name="accountcode" value="1000"/></div>
<div> <!-- <variable name="user_context"
value="default"/>--></div>
<div> <variable name="effective_caller_id_name"
value="Extension 1000"/></div>
<div> <variable name="effective_caller_id_number"
value="1000"/></div>
<div> <variable name="outbound_caller_id_name"
value="$${outbound_caller_name}"/></div>
<div>
<variable name="outbound_caller_id_number"
value="$${outbound_caller_id}"/></div>
<div> <variable name="callgroup"
value="techsupport"/></div>
<div> </variables></div>
<div> </user></div>
<div></include></div>
</div>
<div><br>
</div>
<div>
<div>
<div>==========================================</div>
</div>
</div>
<div class="gmail_extra"><br>
<br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><div><pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
</div></blockquote>
<br>
</div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div>