mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 22:54:18 +00:00
update script langs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8249 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
540a2fecf8
commit
aa47e3e5fd
13 files changed
+1343
-212
No files matched your search
@@ -56,6 +56,45 @@ package freeswitch;
|
||||
*hanguphook = *freeswitchc::hanguphook;
|
||||
*dtmf_callback = *freeswitchc::dtmf_callback;
|
||||
|
||||
############# Class : freeswitch::IVRMenu ##############
|
||||
|
||||
package freeswitch::IVRMenu;
|
||||
use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
|
||||
@ISA = qw( freeswitch );
|
||||
%OWNER = ();
|
||||
%ITERATORS = ();
|
||||
sub new {
|
||||
my $pkg = shift;
|
||||
my $self = freeswitchc::new_IVRMenu(@_);
|
||||
bless $self, $pkg if defined($self);
|
||||
}
|
||||
|
||||
sub DESTROY {
|
||||
return unless $_[0]->isa('HASH');
|
||||
my $self = tied(%{$_[0]});
|
||||
return unless defined $self;
|
||||
delete $ITERATORS{$self};
|
||||
if (exists $OWNER{$self}) {
|
||||
freeswitchc::delete_IVRMenu($self);
|
||||
delete $OWNER{$self};
|
||||
}
|
||||
}
|
||||
|
||||
*bindAction = *freeswitchc::IVRMenu_bindAction;
|
||||
*execute = *freeswitchc::IVRMenu_execute;
|
||||
sub DISOWN {
|
||||
my $self = shift;
|
||||
my $ptr = tied(%$self);
|
||||
delete $OWNER{$ptr};
|
||||
}
|
||||
|
||||
sub ACQUIRE {
|
||||
my $self = shift;
|
||||
my $ptr = tied(%$self);
|
||||
$OWNER{$ptr} = 1;
|
||||
}
|
||||
|
||||
|
||||
############# Class : freeswitch::API ##############
|
||||
|
||||
package freeswitch::API;
|
||||
|
||||
Reference in new issue
Block a user