You probably need to run application start_dtmf http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_start_dtmf <http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_start_dtmf>to detect the inband sounds from the recording. -Avi Marcus On Tue, Jul 5, 2011 at 9:08 PM, Yungwei Chen <yungwei@resolvity.com> wrote:
Thanks for your feedback. Using originate along with loopback works.****
However, DTMF input in /usr/local/freeswitch/sounds/answer.wav is always ignored.****
Note /usr/local/freeswitch/sounds/answer.wav is an empty recording file with several DTMF input.****
** **
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Michael Collins *Sent:* Monday, June 13, 2011 3:59 PM *To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] originate a call to an extension and then connect to another extension****
** **
originate loopback/question answer****
On Mon, Jun 13, 2011 at 12:08 PM, Yungwei Chen wrote:****
I don't mean registered users. I mean extensions defined in conf/dialplan/default/my_exten.xml as shown below. ****
In this case, I can do: originate sofia/internal/answer question?****
****
<extension name="question">****
<condition field="destination_number" expression="^questiony$">****
<action application="answer" />****
<action application="playback" data="/usr/local/freeswitch/sounds/question.wav" />****
</condition>****
</extension>****
****
<extension name="answer">****
<condition field="destination_number" expression="^answer$">****
<action application="answer" />****
<action application="playback" data="/usr/local/freeswitch/sounds/answer.wav" />****
</condition>****
</extension>****
****
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Michael Collins *Sent:* Monday, June 13, 2011 1:37 PM *To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] originate a call to an extension and then connect to another extension****
****
If you mean you want to call x1000 and then when it answers, immediately dial x1001? If so it's just this, assuming these are registered users:****
****
originate user/1000 1001****
****
If you want to call 1001 first then do this:****
****
originate user/1001 1000****
****
-MC****
On Mon, Jun 13, 2011 at 10:49 AM, Yungwei Chen wrote:****
Hi,
I am wondering if it's possible to originate a call to an extension and then connect to another extension. If so, how does the the dialstring look like? Thanks.
_______________________________________________ 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****
** **
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
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