originate loopback/question answer
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