mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
unicast framework
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4900 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -208,6 +208,22 @@ sub call_command($$$) {
|
||||
return $self->sendmsg($hash);
|
||||
}
|
||||
|
||||
sub unicast($$$$$$) {
|
||||
my $self = shift;
|
||||
|
||||
my $hash = {
|
||||
'command' => "sendmsg",
|
||||
'call-command' => "unicast",
|
||||
'local_ip' => $_[0],
|
||||
'local_port' => $_[1],
|
||||
'remote_ip' => $_[2],
|
||||
'remote_port' => $_[3],
|
||||
'transport' => $_[4]
|
||||
};
|
||||
|
||||
return $self->sendmsg($hash);
|
||||
}
|
||||
|
||||
sub call_data($) {
|
||||
my $self = shift;
|
||||
|
||||
|
Reference in New Issue
Block a user