mod_freetdm incoming dialplan
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="analog" > <condition field="context" expression="public"/> <condition field="destination_number" expression="^(\d+)$"/> <condition field="chan_name" expression="FreeTDM/1/[1-4]"> <action application="set" data="domain_name=$${domain}"/> <action application="set" data="transfer_ringback=$${us-ring}"/> <action application="answer"/> <action application="transfer" data="800 XML default"/> </condition> </extension>
I would just use the freetdm condition and see if that works. William Alianto <william@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="analog" > <condition field="context" expression="public"/> <condition field="destination_number" expression="^(\d+)$"/> <condition field="chan_name" expression="FreeTDM/1/[1-4]"> <action application="set" data="domain_name=$${domain}"/> <action application="set" data="transfer_ringback=$${us-ring}"/> <action application="answer"/> <action application="transfer" data="800 XML default"/> </condition> </extension>
FreeSWITCH-users mailing list FreeSWITCH-users@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@ccs.covici.com
Hi, I'm working with the Sangoma's U100. I found on Internet that you must use: <condition field=source expression=mod_freetdm/> My experience is that with the U100 you can put context="public" 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@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="analog" > <condition field="context" expression="public"/> <condition field="destination_number" expression="^(\d+)$"/> <condition field="chan_name" expression="FreeTDM/1/[1-4]"> <action application="set" data="domain_name=$${domain}"/> <action application="set" data="transfer_ringback=$${us-ring}"/> <action application="answer"/> <action application="transfer" data="800 XML default"/> </condition> </extension>
FreeSWITCH-users mailing list FreeSWITCH-users@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@ccs.covici.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Ok, I have put my dialplan on default, and change it to : <extension name="analog" > <condition field="source" expression="mod_freetdm" > <action application="set" data="domain_name=$${domain}" /> <action application="set" data="transfer_ringback=$${us-ring}" /> <action application="answer" <action application="transfer" 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@ecogizmos.com wrote:
Hi,
I'm working with the Sangoma's U100.
I found on Internet that you must use:
<condition field=”source” expression=”mod_freetdm”/>
My experience is that with the U100 you can put context="public" 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@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="analog"> <condition field="context" expression="public"/> <condition field="destination_number" expression="^(\d+)$"/> <condition field="chan_name" expression="FreeTDM/1/[1-4]"> <action application="set" data="domain_name=$${domain}"/> <action application="set" data="transfer_ringback=$${us-ring}"/> <action application="answer"/> <action application="transfer" data="800 XML default"/> </condition> </extension>
FreeSWITCH-users mailing list FreeSWITCH-users@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@ccs.covici.com
FreeSWITCH-users mailing list FreeSWITCH-users@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.
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@xofap.com> wrote:
Ok, I have put my dialplan on default, and change it to :
<extension name="analog" > <condition field="source" expression="mod_freetdm" > <action application="set" data="domain_name=$${domain}" /> <action application="set" data="transfer_ringback=$${us-ring}" /> <action application="answer" <action application="transfer" 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@ecogizmos.com wrote:
Hi,
I'm working with the Sangoma's U100.
I found on Internet that you must use:
<condition field=”source” expression=”mod_freetdm”/>
My experience is that with the U100 you can put context="public" 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@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="analog"> <condition field="context" expression="public"/> <condition field="destination_number" expression="^(\d+)$"/> <condition field="chan_name" expression="FreeTDM/1/[1-4]"> <action application="set" data="domain_name=$${domain}"/> <action application="set" data="transfer_ringback=$${us-ring}"/> <action application="answer"/> <action application="transfer" data="800 XML default"/> </condition> </extension>
FreeSWITCH-users mailing list FreeSWITCH-users@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@ccs.covici.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@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@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@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@ccs.covici.com
FreeSWITCH-users mailing list FreeSWITCH-users@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@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@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@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@ccs.covici.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
-- Regards,
William CV.XOFAP.COM Engineering Dept.
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
participants (4)
-
covici@ccs.covici.com
-
guru singh
-
rsaavedra@ecogizmos.com
-
William Alianto