1. do not start tpring
2. make a call to number X with ofono
3. start tpring
4. tpring detects the ongoing calls and creates channels for them
5. try to create a new call to X
a new, separate channel is established to X (and the original call is put on hold)
ERROR:call.c:648:modem_call_set_handler: assertion failed: (success)
oFono version? It should work in 0.37 or never, earlier versions fail.
(In reply to comment #1)
> oFono version? It should work in 0.37 or never, earlier versions fail.
For ofono, git master of today (754be710d53178088e2668902cd3bd3711691d7b). The channels for existing calls are created succesfully, but something goes wrong afterwords.
I can take a look at this later, but I'm currently looking at some many things already, I wanted to file this just so that I don't forget.
The assert gets hit if the object returned from Dial is already associated with a channel.
oFono may emit a CallAdded signal before the Dial method returns.
There is no straightforward way to associated the Dial method call and the subsequent CallAdded signal. It may result from Dial, or then not.
This particular situation seems to be a bug in oFono.