[Freeswitch-users] Run dialplan tools from event socket

Chris Rienzo cmrienzo at gmail.com
Fri Jan 21 07:18:13 MSK 2011


Why not go with the lame solution if it works?  It seems simple.  



On Jan 20, 2011, at 22:13, Fraser Redmond <fraserredmond at gmail.com> 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