[Freeswitch-users] Cannot ring extension from DID

Michael Collins msc at freeswitch.org
Wed May 22 10:39:39 MSD 2013


Post a FreeSWITCH debug log of the incoming call. Use
pastebin.freeswitch.org and select "FreeSWITCH Log" as the syntax
highlighting. Paste the URL in this email thread and we'll take a look.
-MC


On Tue, May 21, 2013 at 9:35 PM, Mike Hendrie <mike at hendrienet.com> wrote:

> Correction:
> I had a second dialplan in the public folder that was causing confusion.
> Below is the dialplan I am using.
> If I change the extension in the dialplan from 1000 to 1001 I get
> the appropriate voice mail extension, however, the phones never ring.
>
> I have the fs configured as a multi-tenant solution.
>
> Could the dialplan be using the default extensions (1000 and 1001) under
> /conf/directory/default and not reference the
> /conf/directory/GothamCity.xom domain? That would explain why I get to the
> voicemail for the correct extension when the phone never rings.
>
> Thanks
>
> =====
>  /usr/local/freeswitch/conf/dialplan/public/GothamCity.xom.xml
>
> <include>
>
>   <extension name="GothamCity.xom 1001">
>     <condition field="destination_number" expression="^1?(2624481175)$">
>        <action application="set" data="domain_name=GothamCity.xom"/>
>        <action application="transfer" data="1001 XML default"/>
>     </condition>
>   </extension>
>
> </include>
>
> =====
> /conf/directory/GothamCity.xom.xml
>
>
>   <domain name="GothamCity.xom">
>     <params>
>       <param name="dial-string"
> value="{^^:sip_invite_domain=${dialed_domain}:presence_id=${dialed_user}@
> ${dialed_domain}}${sofia_contact(*/${dialed_user}@${dialed_domain})}"/>
>     </params>
>
>     <variables>
>       <variable name="record_stereo" value="true"/>
>       <variable name="user_context" value="default"/>
>       <variable name="default_gateway" value="$${default_provider}"/>
>       <variable name="default_areacode" value="$${default_areacode}"/>
>       <variable name="transfer_fallback_extension" value="operator"/>
>     </variables>
>
>     <groups>
>       <group name="GothamCity.xom">
>         <users>
>           <X-PRE-PROCESS cmd="include" data="GothamCity.xom/*.xml"/>
>         </users>
>       </group>
>
>       <group name="sales">
>         <users>
>           <!--
>               type="pointer" is a pointer so you can have the
>               same user in multiple groups.  It basically means
>               to keep searching for the user in the directory.
>           -->
>           <user id="1000" type="pointer"/>
>           <user id="1001" type="pointer"/>
>           <user id="1002" type="pointer"/>
>           <user id="1003" type="pointer"/>
>           <user id="1004" type="pointer"/>
>         </users>
>       </group>
> =====
>
>
>
>
> On Tue, May 21, 2013 at 9:27 PM, Mike Hendrie <mike at hendrienet.com> wrote:
>
>> Thank you for your assistance. I made the suggested modification below,
>> however, when calling the number it goes directly to voicemail.
>>
>>   /usr/local/freeswitch/conf/dialplan/public/GothamCity.xom.xml
>>
>> <include>
>>
>>   <extension name="vitel-inbound">
>>     <condition field="destination_number" expression="^1?(262xxxxxxx)$">
>>         <action application="transfer" data="1000 XML default"/>
>>     </condition>
>>   </extension>
>>
>> </include>
>>
>> <snip>
-- 
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130521/0a2a069c/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list