unicast framework

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4900 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2007-04-09 18:38:47 +00:00
parent a1c4a22e90
commit 4b9afa2b36
5 changed files with 329 additions and 5 deletions

View File

@@ -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;