Somebody help me understand the 'features' set up please :-)
Ok, I've gotten the Freeswitch to register to my VoIP provider. I've gotten my phones to register to Freeswitch, and I can receive and make calls, all very nice. I've gotten a Sipura SPA901 and a Siemens Gigaset S68IP registered to the Freeswitch. When I receive a call, I would like to be able to transfer the call to another phone, or change the call to a conference call with two local phones. So I've been looking at the examples in the wiki, and I can't make them work, not as I understand them anyways. Especially the att_xfer seems to be able to do what I need. http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_att_xfer As I understand Example1, I should answer the call, and then press *3 during the call, and either transfer it or change it to a threeway call. I get the first part, create an extension in the dialplan called att_xfer. But what is meant by the second par 'then bind this feature to DTMF 3', how do I enter that, and where? I hope somebody can help me with this (again)? Best regards Fribse /Running Freeswitch on pfSense running on a VMWare ESXi 4.0
Look at bind_meta_app in the default dialplan. It binds the dtmf to the features context. On Sun, Jan 31, 2010 at 5:38 PM, mailinglist <mailinglist@fribert.dk> wrote:
Ok, I've gotten the Freeswitch to register to my VoIP provider. I've gotten my phones to register to Freeswitch, and I can receive and make calls, all very nice.
I've gotten a Sipura SPA901 and a Siemens Gigaset S68IP registered to the Freeswitch.
When I receive a call, I would like to be able to transfer the call to another phone, or change the call to a conference call with two local phones.
So I've been looking at the examples in the wiki, and I can't make them work, not as I understand them anyways. Especially the att_xfer seems to be able to do what I need.
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_att_xfer
As I understand Example1, I should answer the call, and then press *3 during the call, and either transfer it or change it to a threeway call.
I get the first part, create an extension in the dialplan called att_xfer. But what is meant by the second par 'then bind this feature to DTMF 3', how do I enter that, and where?
I hope somebody can help me with this (again)?
Best regards Fribse
/Running Freeswitch on pfSense running on a VMWare ESXi 4.0 _______________________________________________ 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
-- -Rupa
Hi Rupa Ahh, I see. Looking at example 2, and http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bind_meta_app I still need to get where I enter this. Is it in the call handling in the dialplan? So I've gotten my current entry to handle incoming call from the outside: <extension name="PrivateIn"> <condition field="destination_number" expression="^(8202)$"> <action application="set" data="call_timeout=45"/> <action application="set" data="domain_name=10.11.12.25"/> <action application="set" data="continue_on_fail=true"/> <action application="set" data="hangup_after_bridge=true"/> <action application="set" data="transfer_ringback=$${hold_music}"/> <action application="bridge" data="group/private@${domain_name}"/ ( 'mailto:group/private@$domain_name"/' )> <action application="answer" data=""/> <action application="sleep" data="1000"/> <action application="voicemail" data="default 10.11.12.25 45"/> </condition> </extension> Do I stick in there, or do I enter it in features.xml, or? Best regards Fribse /Running Freeswitch on pfSense running on a VMWare ESXi 4.0
01-02-2010 kl. 01:45 skrev Rupa Schomaker <rupa@rupa.com> i meddelelsen <b39273531001311645u618ea87am8a3d84ee6b1bcfcb@mail.gmail.com>:
Look at bind_meta_app in the default dialplan. It binds the dtmf to the features context. On Sun, Jan 31, 2010 at 5:38 PM, mailinglist <mailinglist@fribert.dk> wrote:
Ok, I've gotten the Freeswitch to register to my VoIP provider. I've gotten my phones to register to Freeswitch, and I can receive and make calls, all very nice.
I've gotten a Sipura SPA901 and a Siemens Gigaset S68IP registered to the Freeswitch.
When I receive a call, I would like to be able to transfer the call to another phone, or change the call to a conference call with two local phones.
So I've been looking at the examples in the wiki, and I can't make them work, not as I understand them anyways. Especially the att_xfer seems to be able to do what I need.
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_att_xfer
As I understand Example1, I should answer the call, and then press *3 during the call, and either transfer it or change it to a threeway call.
I get the first part, create an extension in the dialplan called att_xfer. But what is meant by the second par 'then bind this feature to DTMF 3', how do I enter that, and where?
I hope somebody can help me with this (again)?
Best regards Fribse
/Running Freeswitch on pfSense running on a VMWare ESXi 4.0 _______________________________________________ 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
-- -Rupa _______________________________________________ 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
Sorry, I think I'm being unclear here. I should add <extension name="att_xfer"> <condition field="destination_number" expression="^att_xfer$"> <action application="read" data="3 4 sounds/getdigits.wav attxfer_callthis 30000 #"/> <action application="att_xfer" data="sofia/default/${attxfer_callthis}"/> </condition> </extension> to the features.xml Then add <action application="bind_meta_app" data="3 a a execute_extension::att_xfer XML features"/> To the handling of the incoming call, right? Something like <extension name="PrivateIn"> <condition field="destination_number" expression="^(8202)$"> <action application="set" data="call_timeout=45"/> <action application="set" data="domain_name=10.11.12.25"/> <action application="set" data="continue_on_fail=true"/> <action application="set" data="hangup_after_bridge=true"/> <action application="set" data="transfer_ringback=$${hold_music}"/> <action application="bind_meta_app" data="3 a a execute_extension::att_xfer XML features"/> <action application="bridge" data="group/private@${domain_name}"/ ( mailto:group/private@$%7Bdomain_name%7D%22/ )> <action application="answer" data=""/> <action application="sleep" data="1000"/> <action application="voicemail" data="default 10.11.12.25 45"/> </condition> </extension> or? Best regards Fribse /Running Freeswitch on pfSense running on a VMWare ESXi 4.0
01-02-2010 kl. 09:28 skrev "mailinglist" <mailinglist@fribert.dk> i meddelelsen <4B669ED3020000E100000447@mail.fribert.dk>:
Hi Rupa Ahh, I see. Looking at example 2, and http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bind_meta_app I still need to get where I enter this. Is it in the call handling in the dialplan? So I've gotten my current entry to handle incoming call from the outside: <extension name="PrivateIn"> <condition field="destination_number" expression="^(8202)$"> <action application="set" data="call_timeout=45"/> <action application="set" data="domain_name=10.11.12.25"/> <action application="set" data="continue_on_fail=true"/> <action application="set" data="hangup_after_bridge=true"/> <action application="set" data="transfer_ringback=$${hold_music}"/> <action application="bridge" data="group/private@${domain_name}"/ ( 'mailto:group/private@$domain_name"/' )> <action application="answer" data=""/> <action application="sleep" data="1000"/> <action application="voicemail" data="default 10.11.12.25 45"/> </condition> </extension> Do I stick in there, or do I enter it in features.xml, or? Best regards Fribse /Running Freeswitch on pfSense running on a VMWare ESXi 4.0
01-02-2010 kl. 01:45 skrev Rupa Schomaker <rupa@rupa.com> i meddelelsen <b39273531001311645u618ea87am8a3d84ee6b1bcfcb@mail.gmail.com>:
Look at bind_meta_app in the default dialplan. It binds the dtmf to the features context. On Sun, Jan 31, 2010 at 5:38 PM, mailinglist <mailinglist@fribert.dk> wrote:
Ok, I've gotten the Freeswitch to register to my VoIP provider. I've gotten my phones to register to Freeswitch, and I can receive and make calls, all very nice.
I've gotten a Sipura SPA901 and a Siemens Gigaset S68IP registered to the Freeswitch.
When I receive a call, I would like to be able to transfer the call to another phone, or change the call to a conference call with two local phones.
So I've been looking at the examples in the wiki, and I can't make them work, not as I understand them anyways. Especially the att_xfer seems to be able to do what I need.
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_att_xfer
As I understand Example1, I should answer the call, and then press *3 during the call, and either transfer it or change it to a threeway call.
I get the first part, create an extension in the dialplan called att_xfer. But what is meant by the second par 'then bind this feature to DTMF 3', how do I enter that, and where?
I hope somebody can help me with this (again)?
Best regards Fribse
/Running Freeswitch on pfSense running on a VMWare ESXi 4.0 _______________________________________________ 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
-- -Rupa _______________________________________________ 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
Look at line 758 in the default dialplan. It shows how it is used. On Mon, Feb 1, 2010 at 2:28 AM, mailinglist <mailinglist@fribert.dk> wrote:
Hi Rupa
Ahh, I see. Looking at example 2, and http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bind_meta_app I still need to get where I enter this. Is it in the call handling in the dialplan? So I've gotten my current entry to handle incoming call from the outside:
<extension name="PrivateIn"> <condition field="destination_number" expression="^(8202)$"> <action application="set" data="call_timeout=45"/> <action application="set" data="domain_name=10.11.12.25"/> <action application="set" data="continue_on_fail=true"/> <action application="set" data="hangup_after_bridge=true"/> <action application="set" data="transfer_ringback=$${hold_music}"/> <action application="bridge" data="group/private@${domain_name}"/<group/private@$%7Bdomain_name%7D%22/>
<action application="answer" data=""/> <action application="sleep" data="1000"/> <action application="voicemail" data="default 10.11.12.25 45"/> </condition> </extension> Do I stick in there, or do I enter it in features.xml, or?
Best regards Fribse
/Running Freeswitch on pfSense running on a VMWare ESXi 4.0
01-02-2010 kl. 01:45 skrev Rupa Schomaker <rupa@rupa.com> i meddelelsen <b39273531001311645u618ea87am8a3d84ee6b1bcfcb@mail.gmail.com>: Look at bind_meta_app in the default dialplan. It binds the dtmf to the features context.
On Sun, Jan 31, 2010 at 5:38 PM, mailinglist <mailinglist@fribert.dk> wrote:
Ok, I've gotten the Freeswitch to register to my VoIP provider. I've gotten my phones to register to Freeswitch, and I can receive and make calls, all very nice.
I've gotten a Sipura SPA901 and a Siemens Gigaset S68IP registered to the Freeswitch.
When I receive a call, I would like to be able to transfer the call to another phone, or change the call to a conference call with two local phones.
So I've been looking at the examples in the wiki, and I can't make them work, not as I understand them anyways. Especially the att_xfer seems to be able to do what I need.
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_att_xfer
As I understand Example1, I should answer the call, and then press *3 during the call, and either transfer it or change it to a threeway call.
I get the first part, create an extension in the dialplan called att_xfer. But what is meant by the second par 'then bind this feature to DTMF 3', how do I enter that, and where?
I hope somebody can help me with this (again)?
Best regards Fribse
/Running Freeswitch on pfSense running on a VMWare ESXi 4.0
_______________________________________________ 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
-- -Rupa
_______________________________________________ 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
_______________________________________________ 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
-- -Rupa
Hmm, I've just downloaded the default.xml under conf/dialplan from the SVN just to be on the safe side. Line 758 is the last </include>, but I did find some examples on line 249-251. So I've changed my dialplan entry handling calls from the outside to this: <extension name="PrivateIn"> <condition field="destination_number" expression="^(8202)$"> <action application="bind_meta_app" data="1 b s execute_extension::att_xfer XML features"/> <action application="bind_meta_app" data="2 b s record_session::$${recordings_dir}/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/> <action application="set" data="call_timeout=45"/> <action application="set" data="domain_name=10.11.12.25"/> <action application="set" data="continue_on_fail=true"/> <action application="set" data="hangup_after_bridge=true"/> <action application="set" data="transfer_ringback=$${hold_music}"/> <action application="bridge" data="group/private@${domain_name}"/ ( 'mailto:group/private@$domain_name"/' )> <action application="answer" data=""/> <action application="sleep" data="1000"/> <action application="voicemail" data="default 10.11.12.25 45"/> </condition> </extension> As I understand the bind_meta_app it listens for *1 and then it runs the att_xfer, *2 to record the call. I've included the att_xfer in the XML features. Question is, will it work at all when I bridge to a group? Nothing happens when I press *1 and an extension. Best regards Fribse /Running Freeswitch on pfSense running on a VMWare ESXi 4.0
01-02-2010 kl. 12:03 skrev Rupa Schomaker <rupa@rupa.com> i meddelelsen <b39273531002010303h6e66baf7tf77be8d67449122b@mail.gmail.com>:
Look at line 758 in the default dialplan. It shows how it is used. On Mon, Feb 1, 2010 at 2:28 AM, mailinglist <mailinglist@fribert.dk> wrote: Hi Rupa Ahh, I see. Looking at example 2, and http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_bind_meta_app I still need to get where I enter this. Is it in the call handling in the dialplan? So I've gotten my current entry to handle incoming call from the outside: <extension name="PrivateIn"> <condition field="destination_number" expression="^(8202)$"> <action application="set" data="call_timeout=45"/> <action application="set" data="domain_name=10.11.12.25"/> <action application="set" data="continue_on_fail=true"/> <action application="set" data="hangup_after_bridge=true"/> <action application="set" data="transfer_ringback=$${hold_music}"/> <action application="bridge" data="group/private@${domain_name}"/ ( mailto:group/private@$%7Bdomain_name%7D%22/ )> <action application="answer" data=""/> <action application="sleep" data="1000"/> <action application="voicemail" data="default 10.11.12.25 45"/> </condition> </extension> Do I stick in there, or do I enter it in features.xml, or? Best regards Fribse /Running Freeswitch on pfSense running on a VMWare ESXi 4.0
01-02-2010 kl. 01:45 skrev Rupa Schomaker <rupa@rupa.com> i meddelelsen <b39273531001311645u618ea87am8a3d84ee6b1bcfcb@mail.gmail.com>:
Look at bind_meta_app in the default dialplan. It binds the dtmf to the features context. On Sun, Jan 31, 2010 at 5:38 PM, mailinglist <mailinglist@fribert.dk> wrote:
Ok, I've gotten the Freeswitch to register to my VoIP provider. I've gotten my phones to register to Freeswitch, and I can receive and make calls, all very nice.
I've gotten a Sipura SPA901 and a Siemens Gigaset S68IP registered to the Freeswitch.
When I receive a call, I would like to be able to transfer the call to another phone, or change the call to a conference call with two local phones.
So I've been looking at the examples in the wiki, and I can't make them work, not as I understand them anyways. Especially the att_xfer seems to be able to do what I need.
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_att_xfer
As I understand Example1, I should answer the call, and then press *3 during the call, and either transfer it or change it to a threeway call.
I get the first part, create an extension in the dialplan called att_xfer. But what is meant by the second par 'then bind this feature to DTMF 3', how do I enter that, and where?
I hope somebody can help me with this (again)?
Best regards Fribse
/Running Freeswitch on pfSense running on a VMWare ESXi 4.0 _______________________________________________ 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
-- -Rupa _______________________________________________ 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 _______________________________________________ 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 -- -Rupa
On Mon, Feb 1, 2010 at 5:37 AM, mailinglist <mailinglist@fribert.dk> wrote:
Hmm, I've just downloaded the default.xml under conf/dialplan from the SVN just to be on the safe side. Line 758 is the last </include>, but I did find some examples on line 249-251.
So I've changed my dialplan entry handling calls from the outside to this:
<extension name="PrivateIn"> <condition field="destination_number" expression="^(8202)$"> <action application="bind_meta_app" data="1 b s execute_extension::att_xfer XML features"/> <action application="bind_meta_app" data="2 b s record_session::$${recordings_dir}/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/>
<action application="set" data="call_timeout=45"/> <action application="set" data="domain_name=10.11.12.25"/> <action application="set" data="continue_on_fail=true"/> <action application="set" data="hangup_after_bridge=true"/> <action application="set" data="transfer_ringback=$${hold_music}"/> <action application="bridge" data="group/private@${domain_name}"/<group/private@$%7Bdomain_name%7D%22/>
<action application="answer" data=""/> <action application="sleep" data="1000"/> <action application="voicemail" data="default 10.11.12.25 45"/> </condition> </extension> As I understand the bind_meta_app it listens for *1 and then it runs the att_xfer, *2 to record the call. I've included the att_xfer in the XML features.
Question is, will it work at all when I bridge to a group?
Nothing happens when I press *1 and an extension.
Fribse, I think your confusion might be from the purpose of the bind_meta_app application. The *1 or *2, etc. must be dialed after the call has been established. In other words, bind_meta_app sits there on an existing call, listening for *1 or *2 (etc.) and if the person on the appropriate call leg dials it then the application in bind_meta_app gets executed. Example: <action application="bind_meta_app" data="2 b s record_session::$${recordings_ dir}/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/> The "2 b s" part of that means: Listen for *2 on the b leg and execute the app on the s leg. So, the b leg could dial *2 and it would initiate call recording. Let's take a step back... are you sure you need bind_meta_app? What exactly is your use case here? In general terms, what are you trying to accomplish with your dialplan extension? -MC
Hi Michael I'm trying to get the possibility of transfering an incoming call from one extension to another, and give the possibility of turning it into a conference. I don't have a 'transfer' button. I do have an 'R' button on the Siemens handsets, and a 'Flash' button on the Sipura. The 'Flash' button gives me a new dialtone, gives the caller MOH, and then I can dial the new extension, and transfer the call, but not create a conference. But the Siemens handset does not have a 'flash', and pressing the R doesn't do anything. It might be two different features 'transfer' and 'conference'... But I thought that using the bind_meta_app would accomplish both. It's on an incoming call from the outside. So the situation: The Public folder has an entry that matches the dialed number, and does a transfer to 8202. Then the dialplan matches the 8202 with a group, and the phone rings. Somebody picks it up, finds out that it needs to be transferred to another extension, or transferred to a conference with a second extension. Best regards Fribse /Running Freeswitch on pfSense running on a VMWare ESXi 4.0
02-02-2010 kl. 01:47 skrev Michael Collins <msc@freeswitch.org> i meddelelsen <87f2f3b91002011647k792d2fdbyf4eaa7c2a41d9ab5@mail.gmail.com>:
On Mon, Feb 1, 2010 at 5:37 AM, mailinglist <mailinglist@fribert.dk> wrote: Hmm, I've just downloaded the default.xml under conf/dialplan from the SVN just to be on the safe side. Line 758 is the last </include>, but I did find some examples on line 249-251. So I've changed my dialplan entry handling calls from the outside to this: <extension name="PrivateIn"> <condition field="destination_number" expression="^(8202)$"> <action application="bind_meta_app" data="1 b s execute_extension::att_xfer XML features"/> <action application="bind_meta_app" data="2 b s record_session::$${recordings_dir}/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/> <action application="set" data="call_timeout=45"/> <action application="set" data="domain_name=10.11.12.25"/> <action application="set" data="continue_on_fail=true"/> <action application="set" data="hangup_after_bridge=true"/> <action application="set" data="transfer_ringback=$${hold_music}"/> <action application="bridge" data="group/private@${domain_name}"/ ( mailto:group/private@$%7Bdomain_name%7D%22/ )> <action application="answer" data=""/> <action application="sleep" data="1000"/> <action application="voicemail" data="default 10.11.12.25 45"/> </condition> </extension> As I understand the bind_meta_app it listens for *1 and then it runs the att_xfer, *2 to record the call. I've included the att_xfer in the XML features. Question is, will it work at all when I bridge to a group? Nothing happens when I press *1 and an extension. Fribse, I think your confusion might be from the purpose of the bind_meta_app application. The *1 or *2, etc. must be dialed after the call has been established. In other words, bind_meta_app sits there on an existing call, listening for *1 or *2 (etc.) and if the person on the appropriate call leg dials it then the application in bind_meta_app gets executed. Example: <action application="bind_meta_app" data="2 b s record_session::$${recordings_ dir}/${caller_id_number}.${strftime(%Y-%m-%d-%H-%M-%S)}.wav"/> The "2 b s" part of that means: Listen for *2 on the b leg and execute the app on the s leg. So, the b leg could dial *2 and it would initiate call recording. Let's take a step back... are you sure you need bind_meta_app? What exactly is your use case here? In general terms, what are you trying to accomplish with your dialplan extension? -MC
participants (3)
-
mailinglist
-
Michael Collins
-
Rupa Schomaker