General Category > Yate users hangout place

How to Remove a Caller from a Conference without Hanging Up

<< < (2/2)

marian:
You are passing a very long line.
This can be a yate message or a very long debug message.

jamie:


To remove a channel from a conference it is a simple as issuing the following:

$chan_id = sip/123456

$m = new Yate('chan.masquerade');
$m->SetParam('message','call.execute');
$m->SetParam('callto', 'wave/play/-');
$m->SetParam('id', $chan_id   );
$m->Dispatch();


This is a PHP implementation, but the theory is the same as the important parts are the messages.

Navigation

[0] Message Index

[*] Previous page

Go to full version