[Freeswitch-users] Run dialplan tools from event socket

Raul Fragoso raul at etellicom.com
Fri Jan 21 17:52:33 MSK 2011


Be lame :) That's what I use as well, along with bind_meta_app to
execute an intermediary extension just to att_xfer the call, and then
use uuid_recv_dtmf (not uuid_send_dtmf) to initiate a consultation
transfer from event socket. I do that only for 2-legged calls though,
otherwise, for parked or other 1-legged calls, I simply use
uuid_transfer to send the call to another intermediary extension in the
dial plan which performs a consultation transfer with apps other than
att_xfer.

Regards,

Raul

On Thu, 2011-01-20 at 22:13 -0500, Fraser Redmond wrote:
> Is there any way to run a dialplan tool from the event socket?
> 
> I have a dialplan that uses a dtmf to set up and perform an attended
> transfer, like so:
> <action application="bind_meta_app" data="8 a s
> execute_extension::TransferCall XML transfer_call"/>
> 
> But I can't see any way to run the same thing from the event socket. I
> thought doing an  "api uuid_transfer"  might do it, but that hangs up
> one of the legs (no good for attended transfer.)
> 
> api uuid_transfer Uuid -bleg TransferCall XML transfer_call
> 
> As far as I can see, the closest thing is "sendmsg execute", but it
> looks like you have to park a call/channel first to use that, so I'm
> not sure that that is much use for attended transfer either.
> 
> Or should I be lame and do "api uuid_send_dtmf" to send * 8.
> 
> Cheers,
> Fraser
> 
> 
> _______________________________________________
> 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