Project

General

Profile

Actions

Bug #2240

closed

Bug #2187: ofono: not all modems do what they should

ofono: voice calls are not implemented for any modem

Added by neels almost 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Target version:
-
Start date:
05/05/2017
Due date:
% Done:

100%

Spec Reference:

Description

Apparently we are unable to place any voice calls using ofono, for our choice of modems.
Implement the signalling part of voice calls, do not spend time on analysis of actual voice streams.
So far we'd like to dial a number and see a call established, ignoring RTP and audio.


Files

test-voicecall.tar.gz test-voicecall.tar.gz 95.2 KB pespin, 08/02/2017 04:24 PM
ec20-sierra-voicecall.tar.gz ec20-sierra-voicecall.tar.gz 140 KB pespin, 08/02/2017 04:59 PM

Subtasks 1 (0 open1 closed)

Bug #2471: update sierra 7304 to a voice firmwareClosedlynxis08/30/2017

Actions

Related issues

Related to OsmoGSMTester - Bug #2543: ofono: call removed+added during transition dialing->alertingClosedpespin10/06/2017

Actions
Related to OsmoGSMTester - Bug #2549: ofono: Race condition / failure answering callRejectedpespin10/06/2017

Actions
Blocks OsmoGSMTester - Feature #2194: osmo-gsm-tester: add voice call testResolvedpespin04/26/2017

Actions
Actions #1

Updated by neels almost 7 years ago

sierra and ec20 say:

root@osmo-gsm-tester-rnd:~# mdbus2 -s org.ofono /sierra_1 org.ofono.VoiceCallManager.Dial 1009 disabled
[ERR]: GDBus.Error:org.ofono.Error.NotImplemented: Implementation not provided
root@osmo-gsm-tester-rnd:~# mdbus2 -s org.ofono /gobi_0 org.ofono.VoiceCallManager.Dial 1009 disabled
[ERR]: GDBus.Error:org.ofono.Error.NotImplemented: Implementation not provided

gobi has no such interface:

root@osmo-gsm-tester-rnd:~# mdbus2 -s org.ofono /gobi_3 org.ofono.VoiceCallManager.Dial 1009 enabled
[ERR]: There is no method with name org.ofono.VoiceCallManager.Dial on path /gobi_3!

See also https://git.sysmocom.de/ofono/tree/doc/voicecallmanager-api.txt as doc for the arguments: enabled/disabled refers to hide_callerid.

Actions #2

Updated by neels almost 7 years ago

  • Description updated (diff)
  • Priority changed from Normal to High
Actions #3

Updated by laforge almost 7 years ago

  • Assignee deleted (118)
Actions #4

Updated by laforge almost 7 years ago

  • Assignee set to 55360
Actions #5

Updated by neels almost 7 years ago

  • Assignee changed from 55360 to lynxis
Actions #6

Updated by neels almost 7 years ago

  • Blocks Feature #2194: osmo-gsm-tester: add voice call test added
Actions #7

Updated by pespin over 6 years ago

  • Blocked by Feature #2197: osmo-gsm-tester: use MNCC interface added
Actions #8

Updated by lynxis over 6 years ago

After using a Jolla phone to verify the QMI calls, it looks like the EC20 is rejecting a `Dial Call` request with `Internal Error`.

Actions #9

Updated by neels over 6 years ago

  • Priority changed from High to Urgent
Actions #10

Updated by lynxis over 6 years ago

  • Status changed from New to Feedback
  • Assignee changed from lynxis to pespin

I've pushed my recent state to the branch voicecall on https://git.sysmocom.de/ofono/.

Please don't use anything under lynxis/*, those branches might get rebased and are in an unknown state.

So far I've tested it with a public operator:
- dial out, hangup
- receive call -> hangup
- receive call -> answer -> hangup.

Actions #11

Updated by pespin over 6 years ago

It's failing with SierraW modems. I attach osmo-gsm-tester run output archive with log and pcap, it also contains ofono log for the time of the test as usual.

I start osmo-gsm-tester with -s debug -t interactive, then I select to use 2 modems, then I wait until both are registered, then I use "g" command to see the msisdns and I run manually:

# mdbus2 -s org.ofono /sierra_1  org.ofono.VoiceCallManager.Dial 24756 disabled
[ERR]: GDBus.Error:org.ofono.Error.Failed: Operation failed

Where 24756 is the msisdn of the 2nd MS connected (also a SierraW one).

The ofono log only outputs a few lines when I use the Dial method:

ofonod[4952]: drivers/qmimodem/voicecall.c:all_call_status_ind() Call 1 in state QMI_CALL_STATE_CC_IN_PROG(4)
ofonod[4952]: src/voicecall.c:ofono_voicecall_notify() Got a voicecall event, status: dialing (2), id: 1, number: 24756 called_number: , called_name
ofonod[4952]: src/voicecall.c:ofono_voicecall_notify() Did not find a call with id: 1
ofonod[4952]: drivers/qmimodem/voicecall.c:dial_cb() QMI Error 3
ofonod[4952]: src/voicecall.c:dial_handle_result() Dial callback returned error: Unknown error type

Actions #12

Updated by pespin over 6 years ago

I also tested issuing a call with the same procedure, this time with modems EC20 --calling--> SierraW.

It looks a bit better, the voicecall object is created but it stops after a few fractions of a second. I attach complete output of osmo-gsm-tester+ofono as usual.

Actions #13

Updated by lynxis over 6 years ago

The sierra is rejecting the call with Reason: "Incompatible destination".

The setup messages has the following TLVs:
- Bearer Cap
- Calling Party
- Called Party

I guess it's because of "Called Party" has NPI & TON set to Unknown.
while the "Calling party" has TON unknown, NPI isdn/e.164,

Actions #14

Updated by lynxis over 6 years ago

When trying to create one of the sierra:
- try "ATD12345" => create a data call
- try "ATD12345;" => don't do anything

Actions #15

Updated by lynxis over 6 years ago

It looks that the sierra got the wrong firmware or nvram.

Actions #16

Updated by lynxis over 6 years ago

  • Status changed from Feedback to In Progress

updating the firmware in https://osmocom.org/issues/2471

Actions #17

Updated by lynxis over 6 years ago

  • Status changed from In Progress to Feedback
  • Assignee changed from lynxis to pespin

voicecalls should work on the sierra as well on the ec20. Can you please run the osmo-gsm-tester with those modems?

Actions #18

Updated by pespin over 6 years ago

  • Related to Bug #2543: ofono: call removed+added during transition dialing->alerting added
Actions #19

Updated by pespin over 6 years ago

  • Related to Bug #2549: ofono: Race condition / failure answering call added
Actions #20

Updated by pespin over 6 years ago

I can successfully a voice call between 2 sierra modems, but I need to add a sleep(5) and other small issues as explained in #2543 and #2549

Actions #21

Updated by pespin over 6 years ago

  • Blocked by deleted (Feature #2197: osmo-gsm-tester: use MNCC interface)
Actions #22

Updated by pespin over 6 years ago

  • Status changed from Feedback to Resolved
Actions #23

Updated by laforge about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)