originate loopback/question answer<br><br><div class="gmail_quote">On Mon, Jun 13, 2011 at 12:08 PM, Yungwei Chen <span dir="ltr"><<a href="mailto:yungwei@resolvity.com">yungwei@resolvity.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">I don't mean registered users. I mean extensions defined in conf/dialplan/default/my_exten.xml as shown below. </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">In this case, I can do: originate sofia/internal/answer question?</span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal">
<span style="font-size:11.0pt;color:#1F497D"> <extension name="question"></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> <condition field="destination_number" expression="^questiony$"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> <action application="answer" /></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> <action application="playback" data="/usr/local/freeswitch/sounds/question.wav" /></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </condition></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </extension></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> <extension name="answer"></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> <condition field="destination_number" expression="^answer$"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> <action application="answer" /></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> <action application="playback" data="/usr/local/freeswitch/sounds/answer.wav" /></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </condition></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </extension></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On Behalf Of </b>Michael Collins<br>
<b>Sent:</b> Monday, June 13, 2011 1:37 PM<br><b>To:</b> FreeSWITCH Users Help<br><b>Subject:</b> Re: [Freeswitch-users] originate a call to an extension and then connect to another extension</span></p></div><div class="im">
<p class="MsoNormal"> </p><p class="MsoNormal">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:</p><div><p class="MsoNormal">
</p></div><div><p class="MsoNormal">originate user/1000 1001</p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">If you want to call 1001 first then do this:</p></div><div><p class="MsoNormal"> </p></div>
<div><p class="MsoNormal">originate user/1001 1000</p></div><div><p class="MsoNormal"> </p></div></div><div><p class="MsoNormal" style="margin-bottom:12.0pt">-MC</p><div class="im"><div><p class="MsoNormal">On Mon, Jun 13, 2011 at 10:49 AM, Yungwei Chen wrote:</p>
<p class="MsoNormal">Hi,<br><br>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.<br><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></p>
</div><p class="MsoNormal"> </p></div></div></div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>