Comment 4 for bug 1287628

Revision history for this message
Martin Pitt (pitti) wrote : Re: invoke_incoming_call() doesn't seem to work, result is not checked, yet test_incoming test passes (?!)

Ah, apparently the UnknownMethod is because ofono-phonesim-autostart didn't actually set up the enulated modem any more:

$ sudo /usr/share/ofono/scripts/list-modems
[ /phonesim ]
    Type = hardware
    Online = 0
    Powered = 0
    Features =
    Lockdown = 0
    Emergency = 0
    Interfaces =

That was from testing in a container.

I tried "/usr/share/ofono/scripts/dial-number 1234" on today's phone build (with a real SIM card) and that works (and so does hangup-call etc.). When I install ofono-phonesim-autostart on the phone, list-modems, dial-numer 122 also works and actually dials the number. Please note that when you call "199" that will cause an "operation failed" exception, as this will cause the simulator to reject the outgoing call and synthesize an incoming call instead.

So I'm afraid I need some more information what fails for you with dial-number?