[Freeswitch-users] mod_freetdm incoming dialplan

William Alianto william at xofap.com
Fri Oct 21 14:43:07 MSD 2011


Hi Everyone,

I've successfully done the incoming from freetdm. This is my dialplan :

transfer to Single Extension :

<extension name="analog" >
<condition field="source" expression="mod_freetdm" >
<action application="set" data="context=inbound" />
<action application="set" data="domain_name=$${domain}" />
<action application="set" data="transfer_ringback=$${us-ring}" />
<action application="bridge" data="user/201@$${domain}" />
</condition>
</extension>

transfer to Hunt Group :

<extension name="analog" >
<condition field="source" expression="mod_freetdm" >
<action application="set" data="context=inbound" />
<action application="set" data="domain_name=$${domain}" />
<action application="set" data="transfer_ringback=$${us-ring}" />
<action application="lua" data="v_huntgroup_192.168.1.3_800.lua" />
</condition>
</extension>

the lua script is generated for huntgroup creation using fusionpbx.

If somebody has better dialplan, please tell me.

Regards,

William

On 2:59, William Alianto wrote:
> Hi Guru Singh,
>
> extension 800 is actually a hunt group for my reception phones.
> And here is the log you requested : http://pastebin.freeswitch.com/17567
>
> Regards,
>
> William
>
> On 2:59, guru singh wrote:
>> Hi William,
>>
>> What phone do you expect it to ring?
>> Do you have an extension in your default dialplan for destination 
>> number 800?
>> You should pastebin your freeswitch logs, so we can see whats going on.
>>
>> Regards,
>> guru
>>
>> On Thu, Oct 20, 2011 at 10:28 AM, William Alianto<william at xofap.com> 
>> wrote:
>>> Ok, I have put my dialplan on default, and change it to :
>>>
>>> <extension name=nalog">
>>> <condition field=ource" expression="mod_freetdm">
>>> <action application=et" data="domain_name=$${domain}" />
>>> <action application=et" data="transfer_ringback=$${us-ring}" />
>>> <action application=nswer"
>>> <action application=ransfer" data="800 XML default" />
>>> </condition>
>>> </extension>
>>>
>>> The FS finally able to pass the dialplan, but it still not ringing 
>>> on my
>>> phone. Any idea how?
>>>
>>> Regards,
>>>
>>> William
>>>
>>> On 2:59, rsaavedra at ecogizmos.com wrote:
>>>> Hi,
>>>>
>>>> I'm working with the Sangoma's U100.
>>>>
>>>> I found on Internet that you must use:
>>>>
>>>> <condition field=ource” expression=”mod_freetdm”/>
>>>>
>>>> My experience is that with the U100 you can put context=ublic" but the
>>>> calls always have the context in default, so I put all the 
>>>> instrucctions
>>>> in the file 00_inbound_did.xml in:
>>>> /usr/local/freeswitch/conf/dialplan/default and everything now is 
>>>> working.
>>>>
>>>> Best regards,
>>>>
>>>> Ricardo Saavedra
>>>>
>>>>> I would just use the freetdm condition and see if that works.
>>>>>
>>>>> William Alianto<william at xofap.com> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Has anybody got a sample of dialplan for incoming from freetdm?
>>>>>>
>>>>>> I've been working to get the incoming from my A400P card working, 
>>>>>> but
>>>>>> still fail to do so.
>>>>>>
>>>>>> Following is my current incoming dialplan :
>>>>>>
>>>>>> <extension name=nalog">
>>>>>> <condition field=ontext" expression="public"/>
>>>>>> <condition field=estination_number" expression="^(\d+)$"/>
>>>>>> <condition field=han_name" expression="FreeTDM/1/[1-4]">
>>>>>> <action application=et" data="domain_name=$${domain}"/>
>>>>>> <action application=et" data="transfer_ringback=$${us-ring}"/>
>>>>>> <action application=nswer"/>
>>>>>> <action application=ransfer" data="800 XML default"/>
>>>>>> </condition>
>>>>>> </extension>
>>>>>>
>>>>>>
>>>>>>
>>>>>> FreeSWITCH-users mailing list
>>>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users 
>>>>>>
>>>>>> http://www.freeswitch.org
>>>>> -- 
>>>>> Your life is like a penny. You're going to lose it. The question is:
>>>>> How do
>>>>> you spend it?
>>>>>
>>>>> John Covici
>>>>> covici at ccs.covici.com
>>>>>
>>>>>
>>>>> FreeSWITCH-users mailing list
>>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users 
>>>>>
>>>>> http://www.freeswitch.org
>>>>>
>>>>
>>>>
>>>
>>> -- 
>>> Regards,
>>>
>>> William
>>> CV.XOFAP.COM
>>> Engineering Dept.
>>>
>>>
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users 
>>>
>>> http://www.freeswitch.org
>>>
>>
>
>
>




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