[Freeswitch-users] Using chat command in a dialplan

François Delawarde fdelawarde at wirelessmundi.com
Wed Jul 20 12:14:40 MSD 2011


Hi,

Take a look at:
http://wiki.freeswitch.org/wiki/Mod_commands#From_the_Dialplan


François.

On Tue, 2011-07-19 at 23:00 -0700, Kurtis Heimerl wrote: 
> I feel somewhat embarrassed, but I can't figure out how to cause a
> chat event to go off from the dialplan. I've tried:
> 
> <action application="chat"
> data="sip|${username}|${destination_number}@${domain_name}|${msg_body}"/>
> 
> and
> 
> <action application="eval" data="chat
> sip|${username}|${destination_number}@${domain_name}|${msg_body}"/>
> 
> and neither worked. The wiki says it's part of the API
> (http://wiki.freeswitch.org/wiki/Mod_dptools) but I'm pretty sure
> that's just a command-line API. Is there a way to run a command-line
> call from the dialplan?
> 
> Any direction would be appreciated.
> 
> _______________________________________________
> Join us at ClueCon 2011, Aug 9-11, Chicago
> http://www.cluecon.com 877-7-4ACLUE
> 
> 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