On Wednesday 22 February 2006 20:53, Vadim Lebedev wrote:
> Hello,
>
> I've just commited code implementing 3 way conf calls into
> wengophone-ng/wifo/phapi.
>
> Please test this stuff.
> In order to create a 3 way conf call following sequnce of phApi calls
> should be executed
>
>
> cid1 = phLinePlaceCall(lineid, "sip:target1", 0, 0)
>
> # when the connaction established:
>
> phHoldCall(cid1)
>
> # then
>
> cid2 = phLinePlaceCall(lineid, "sip:target2", 0, 0)
>
> # when the connection established
>
> phMakeConf(cid2, cid1)
>
>
>
> There is still a bug which i'm trying to track down:
> if, when in conf call we do phClose(cid2) --  on Linux we get a segfault
> when PortAudio frees input
> buffer....
> Apparently when in conf call i'm screwing something when doing audio
> mixing....
> I'd be thankful if somebody glanced down on the code with a new eye and
> maybe saw something
> obviously wrong...
>
>
>
>
> Thanks
> Vadim
>
>
>
>
> _______________________________________________
> Wengophone-devel mailing list
> [email protected]
> http://dev.openwengo.com/mailman/listinfo/wengophone-devel

The correct sequence of phApi calls is:
 - cid1 = phLinePlaceCall(lineid, "sip:target1", 0, 0)
 - phHoldCall(cid1)
 - cid2 = phLinePlaceCall(lineid, "sip:target2", 0, 0)
 - phConf(cid2, cid1)
 - phResumeCall(cid1)

The segfault on phClose() is fixed.
--
mstute
_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to