[Freeswitch-users] Question about execute_on_answer

Davide Colombo dcolombo at voismart.it
Mon Jun 14 15:12:01 PDT 2010


Hi, 
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.
In the meanwhile i need that calling party remains in a ringing state.

Best regards

----- Messaggio originale -----
Da: "Michael Collins" <msc at freeswitch.org>
A: freeswitch-users at lists.freeswitch.org
Inviato: Lunedì, 14 giugno 2010 23:46:42
Oggetto: Re: [Freeswitch-users] Question about execute_on_answer

I'm not sure I follow what you're trying to accomplish...

You call from x1000 to x1019... and what exactly do you want to have
happen when 1019 answers?

-MC


On Mon, Jun 14, 2010 at 8:22 AM, Davide Colombo < dcolombo at voismart.it >
wrote:


Hi all,

i'm trying to use "execute_on_answer" channel variable with a transfer
before a bridge:

<action application="export" data="nolocal:execute_on_answer=transfer
myivrpresentation XML default"/>
<action application="bridge" data="user/1019@${domain_name}"/>

When i call 1019 from 1000 and 1019 answers, i have this situation:

1019 is transfered to myivrpresentation but in console i can see this
error

2010-06-14 16:57:51.053528 [DEBUG] switch_core_codec.c:146
sofia/internal/ 1000 at fs2-devel.voismart.net Restore previous codec
PCMU:0. 2010-06-14 16:57:51.053528 [DEBUG] switch_ivr_originate.c:3310
Originate Resulted in Error Cause: 487 [ORIGINATOR_CANCEL]
2010-06-14 16:57:51.053528 [ERR] switch_ivr_originate.c:2491 Cannot
create outgoing channel of type [user] cause: [ORIGINATOR_CANCEL]
2010-06-14 16:57:51.053528 [DEBUG] switch_ivr_originate.c:3310 Originate
Resulted in Error Cause: 487 [ORIGINATOR_CANCEL]

while 1000 goes to next action after bridge in the same extension.

Is it possible to transfer called channel (when called party answers) to
a particular extension and leave caller channel in ringing state?


Best Regards

_______________________________________________ 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



More information about the FreeSWITCH-users mailing list