Aha!<br><br>You are trying to do some sort of answer verification, correct? You do know that FS already has this feature, correct? Check it out:<br><a href="http://wiki.freeswitch.org/wiki/Channel_Variables#Answer_confirmation_variables">http://wiki.freeswitch.org/wiki/Channel_Variables#Answer_confirmation_variables</a><br>
<br>Make sure that you aren't duplicating functionality before continuing.<br>-MC<br><br><div class="gmail_quote">On Mon, Jun 14, 2010 at 3:12 PM, Davide Colombo <span dir="ltr"><<a href="mailto:dcolombo@voismart.it">dcolombo@voismart.it</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi,<br>
when 1019 answers, i transfer its channel (called channel party) to an IVR context using "execute_on_answer". In this context the called party (1019 in this case) can listen to a message where he can choose to connect/hang-up the calling party using dtmf tones.<br>
In the meanwhile i need that calling party remains in a ringing state.<br>
<br>
Best regards<br>
<br>
----- Messaggio originale -----<br>
Da: "Michael Collins" <<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>><br>
A: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
Inviato: Luned́, 14 giugno 2010 23:46:42<br>
Oggetto: Re: [Freeswitch-users] Question about execute_on_answer<br>
<div><div></div><div class="h5"><br>
I'm not sure I follow what you're trying to accomplish...<br>
<br>
You call from x1000 to x1019... and what exactly do you want to have<br>
happen when 1019 answers?<br>
<br>
-MC<br>
<br>
<br>
On Mon, Jun 14, 2010 at 8:22 AM, Davide Colombo < <a href="mailto:dcolombo@voismart.it">dcolombo@voismart.it</a> ><br>
wrote:<br>
<br>
<br>
Hi all,<br>
<br>
i'm trying to use "execute_on_answer" channel variable with a transfer<br>
before a bridge:<br>
<br>
<action application="export" data="nolocal:execute_on_answer=transfer<br>
myivrpresentation XML default"/><br>
<action application="bridge" data="user/1019@${domain_name}"/><br>
<br>
When i call 1019 from 1000 and 1019 answers, i have this situation:<br>
<br>
1019 is transfered to myivrpresentation but in console i can see this<br>
error<br>
<br>
2010-06-14 16:57:51.053528 [DEBUG] switch_core_codec.c:146<br>
sofia/internal/ <a href="mailto:1000@fs2-devel.voismart.net">1000@fs2-devel.voismart.net</a> Restore previous codec<br>
PCMU:0. 2010-06-14 16:57:51.053528 [DEBUG] switch_ivr_originate.c:3310<br>
Originate Resulted in Error Cause: 487 [ORIGINATOR_CANCEL]<br>
2010-06-14 16:57:51.053528 [ERR] switch_ivr_originate.c:2491 Cannot<br>
create outgoing channel of type [user] cause: [ORIGINATOR_CANCEL]<br>
2010-06-14 16:57:51.053528 [DEBUG] switch_ivr_originate.c:3310 Originate<br>
Resulted in Error Cause: 487 [ORIGINATOR_CANCEL]<br>
<br>
while 1000 goes to next action after bridge in the same extension.<br>
<br>
Is it possible to transfer called channel (when called party answers) to<br>
a particular extension and leave caller channel in ringing state?<br>
<br>
<br>
Best Regards<br>
<br>
_______________________________________________ FreeSWITCH-users mailing<br>
list <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:<br>
<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>
<br>
</div></div>_______________________________________________ FreeSWITCH-users mailing<br>
<div><div></div><div class="h5">list <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>
_______________________________________________<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>
</div></div></blockquote></div><br>