1 Feb 2005 17:58
Re: dettaching/reattaching channels
Hello Maciek, The answer for all questions is yes. I got back to write docs on standard messages, but it takes time :( Anyway you have a nice demo in leavemail.php or voicemail.php. Diana > Is it possible to dettach/reattach channels in Yate? > > For example: > 1. lets say sip channel A is attached to some other sip channel B > 2. then A and B are dettached but not disconnected > 2. then channel B is put on hold (probably it means that it is attached > to some "hold channel") while ch A is attached to chan C > 3. then channels A and B are reattached > Is it possible? > > Maciej Kaminski > > P.S.: Probably, If the description of standard messages was ready I > would be able to answer this questions by myself.>
>
However I'm having some troubles with the PHP too. I want to make
vmail.php working in order to better understand YATE protocol.
I'm running everything on Fedora Core 3 with php 4.3.10. When I
start the script, I get a lot of warnings like this one:
PHP Warning: Call-time pass-by-reference has been deprecated -
argument passed by value; If you would like to pass it by
reference, modify the declaration of array_walk(). If you would
like to enable call-time pass-by-reference, you can set
allow_call_time_pass_reference to true in your INI file.
However, future versions may not support this any longer. in
/home/files/yate/yate/scripts/libyate.php on line 220
However the scripts starts anyway. But it cannot play the greeing
message (which I set to welcome.wav). Below is the log from YATE:
<10> WaveSource::WaveSource("",0x8552650) [0x85525c0]
<2> Opening '': error 2: No such file or directory
%%>message:13339098024201fe9dcbdff5.79060184:1107426973:chan.attach::source=/usr/local/lib/yate/scripts/welcome.wav
PHP bug: attempt to acknowledge message type: acknowledged
PHP Installed: chan.dtmf
PHP Installed: chan.notify
PHP Answered: call.answered id: 19474431444201fe9dcab087.94755893
RSS Feed