[Freeswitch-users] originate a call to an extension and then connect to another extension

Michael Collins msc at freeswitch.org
Tue Jun 14 00:59:21 MSD 2011


originate loopback/question answer

On Mon, Jun 13, 2011 at 12:08 PM, Yungwei Chen <yungwei at resolvity.com>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 at lists.freeswitch.org [mailto:
> freeswitch-users-bounces at 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 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
>
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110613/56950c58/attachment.html 


More information about the FreeSWITCH-users mailing list