[Freeswitch-users] Run dialplan tools from event socket

Fraser Redmond fraserredmond at gmail.com
Fri Jan 21 06:13:08 MSK 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110120/1a7c0977/attachment.html 


More information about the FreeSWITCH-users mailing list