Some cleaning of the code.
git-svn-id: http://voip.null.ro/svn/yate@59 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
075e0f66fb
commit
4540b642db
|
@ -16,10 +16,8 @@ sub demo($) {
|
||||||
my $message = shift;
|
my $message = shift;
|
||||||
printf STDERR "hello time is %s and binded is %s i'll return undef so the next module gets a chance....\n",
|
printf STDERR "hello time is %s and binded is %s i'll return undef so the next module gets a chance....\n",
|
||||||
$message->param("time"),$message->header("binded");
|
$message->param("time"),$message->header("binded");
|
||||||
return ("true");
|
# return ("true");
|
||||||
# print STDERR $message->reply(false);
|
return undef;
|
||||||
# print $message->reply(false);
|
|
||||||
# return undef;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub demo2($) {
|
sub demo2($) {
|
||||||
|
@ -33,6 +31,3 @@ my $message = new YateMessage();
|
||||||
$message->install("engine.timer",\&demo);
|
$message->install("engine.timer",\&demo);
|
||||||
$message->install("route",\&demo2);
|
$message->install("route",\&demo2);
|
||||||
$message->listen();
|
$message->listen();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue