|
|
|
@ -48,6 +48,7 @@ class Visio extends Base |
|
|
|
$this->registerEvent('jingleaccept', 'onAccept'); |
|
|
|
$this->registerEvent('jingleretract', 'onRetract'); |
|
|
|
$this->registerEvent('jinglereject', 'onReject'); |
|
|
|
$this->registerEvent('jinglefinish', 'onFinish'); |
|
|
|
|
|
|
|
$this->registerEvent('jingle_sessioninitiate', 'onInitiateSDP'); |
|
|
|
//$this->registerEvent('jingle_sessioninitiate_erroritemnotfound', 'onNotFound');
|
|
|
|
@ -209,6 +210,11 @@ class Visio extends Base |
|
|
|
$this->onTerminate($packet); |
|
|
|
} |
|
|
|
|
|
|
|
public function onFinish(Packet $packet) |
|
|
|
{ |
|
|
|
$this->onTerminate($packet); |
|
|
|
} |
|
|
|
|
|
|
|
/*public function onNotFound(Packet $packet) |
|
|
|
{ |
|
|
|
(CurrentCall::getInstance())->stop(\baseJid($packet->from), $packet->content); |
|
|
|
|