Exactly what I was looking for. Thanks! On Wed, Jul 20, 2011 at 1:21 AM, Steven Ayre <steveayre@gmail.com> wrote:
Kurtis,
*Any* api can be run from the dialplan. It's just a slightly different syntax - the link Francois gave you will show you how.
Steve on iPhone
On 20 Jul 2011, at 09:14, François Delawarde <fdelawarde@wirelessmundi.com> wrote:
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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org