[ previous ] [ next ] [ threads ]
 To :  yate@v...
 From :  palani siva <yespeeyeld@y...>
 Subject :  php outgoing call
 Date :  Fri, 29 Aug 2008 10:22:48 +0530 (IST)
hi,

   i have modifying the code perl to php .compiling  this code show some error .


#!/usr/bin/php

$|=1;

require_once("libyate.php");

$m = new Yate();    //undefine method Yate:listen();

$m->install("call.route",\&routecall);   // parameter Error (libyate.php)

$message->listen();     // undefine method Yate:listen();



sub routecall($)

{

my $message = shift;

#$fwd="sip/ipaddress";

$fwd="sig/sig/;link=link1";



$message->retvalue($fwd);

return("true");

}
  


Thanks 

palanivel S

 






      Add more friends to your messenger and enjoy! Go to http://in.messenger.yahoo.com/invite/


hi,

   i have modifying the code perl to php .compiling  this code show some error .


#!/usr/bin/php
$|=1;
require_once("libyate.php");
$m = new Yate();    //undefine method Yate:listen();
$m->install("call.route",\&routecall);   // parameter Error (libyate.php)
$message->listen();     // undefine method Yate:listen();

sub routecall($)
{
my $message = shift;
#$fwd="sip/ipaddress";
$fwd="sig/sig/;link=link1";

$message->retvalue($fwd);
return("true");
}
 


Thanks

palanivel S

 





Download prohibited? No problem. CHAT from any browser, without download.