[Freeswitch-users] conference dialplan with perl scripting
deniro
ayhkor at gmail.com
Mon Mar 21 06:44:58 MSK 2011
Hi All,
I'd like to run perl script in dialplan by passing PIN to it
<action application="perl" data="/path/to/your/script.pl $PIN" />
this script is assumed to compare the PIN with the values in database and if
there is a match , let go to the conference room
(with the perl script I am able to compare database values and determine if
there is match for the PIN by manually running it, and I'd like to run this
through dialplan )
so, In the dial plan
1--Where exactly I call this perl script after reading PIN with
"play_and_get_digits"
2-- what should I return from the perl script if there is match or there is
no match for the PIN and pass it to dialplan
3-- if there is a match, how should I proceed to conference
4-- if there is no match how should I terminate(exit) from dial plan
Any guidance, links, documents well appreciated
thans
deniro--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110320/5252b36d/attachment.html
More information about the FreeSWITCH-users
mailing list