[Freeswitch-users] Question about execute_on_answer

Davide Colombo dcolombo at voismart.it
Mon Jun 14 08:22:00 PDT 2010


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



More information about the FreeSWITCH-users mailing list