mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
some small lua and perl examples.. they look very similar...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8202 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
6
scripts/perl/originate.pl
Normal file
6
scripts/perl/originate.pl
Normal file
@@ -0,0 +1,6 @@
|
||||
# Example Perl script to originate. perlrun
|
||||
freeswitch::console_log("info", "Perl in da house!!!\n");
|
||||
|
||||
$session = new freeswitch::Session("sofia/10.0.1.100/1002") ;
|
||||
$session->execute("playback", "/sr8k.wav");
|
||||
$session->hangup();
|
Reference in New Issue
Block a user