Bug 96599 - Hangup incoming call disconnects bearer services
Summary: Hangup incoming call disconnects bearer services
Status: RESOLVED MOVED
Alias: None
Product: ModemManager
Classification: Unclassified
Component: general (show other bugs)
Version: git master
Hardware: All Linux (All)
: medium normal
Assignee: ModemManager bug user
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-20 14:14 UTC by Ilan
Modified: 2018-06-10 09:00 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Ilan 2016-06-20 14:14:04 UTC
Hello

I've been using the latest code from git in order to use the voice features, the problem is that when I hangup an incoming call, I lose the bearer services.
Using the secondary serial port and sending a manual AT+CHUP command the bearer services never stop working, but when invoking the hangup method from the Voice interface a disconnection happens as can be seen in the following message.

Jun 20 09:35:03 vnd-de411e0c ModemManager[24886]: <debug> [1466415303.064710] [mm-base-bearer.c:874] mm_base_bearer_disconnect(): Disconnecting bearer '/org/freedesktop/ModemManager1/Bearer/1'


---- Log -----
Jun 20 09:34:57 vnd-de411e0c ModemManager[24886]: <debug> [1466415297.034554] [mm-iface-modem.c:1204] update_signal_quality(): Modem /org/freedesktop/ModemManager1/Modem/1: signal quality updated (64)
Jun 20 09:34:57 vnd-de411e0c ModemManager[24886]: <debug> [1466415297.035141] [mm-port-serial-at.c:459] debug_log(): (ttyUSB2): <-- '<CR><LF>^HCSQ: "WCDMA",56,48,49<CR><LF>'
Jun 20 09:35:00 vnd-de411e0c ModemManager[24886]: <debug> [1466415300.778963] [mm-port-serial-at.c:459] debug_log(): (ttyUSB2): <-- '<CR><LF>+CRING: VOICE<CR><LF><CR><LF>+CLIP: "XXXXXXX",129,,,,0<CR><LF>'
Jun 20 09:35:00 vnd-de411e0c ModemManager[24886]: <debug> [1466415300.780099] [mm-broadband-modem.c:6462] cring_received(): Ringing (VOICE)
Jun 20 09:35:00 vnd-de411e0c ModemManager[24886]: <debug> [1466415300.780335] [mm-iface-modem-voice.c:63] mm_iface_modem_voice_create_incoming_call(): Incoming call does not exist; create it
Jun 20 09:35:00 vnd-de411e0c ModemManager[24886]: <debug> [1466415300.788920] [mm-iface-modem-voice.c:74] mm_iface_modem_voice_create_incoming_call(): New call exported to DBus
Jun 20 09:35:00 vnd-de411e0c ModemManager[24886]: <debug> [1466415300.789179] [mm-iface-modem-voice.c:499] call_added(): Added CALL at '/org/freedesktop/ModemManager1/Call/0'
Jun 20 09:35:00 vnd-de411e0c ModemManager[24886]: <debug> [1466415300.808390] [mm-iface-modem-voice.c:77] mm_iface_modem_voice_create_incoming_call(): Call added to the list
Jun 20 09:35:00 vnd-de411e0c ModemManager[24886]: <debug> [1466415300.808824] [mm-broadband-modem.c:6485] clip_received(): Caller ID received: number 'XXXXXXXX', type '129', validity '0'
Jun 20 09:35:00 vnd-de411e0c ModemManager[24886]: <debug> [1466415300.809781] [mm-port-serial-at.c:459] debug_log(): (ttyUSB0): <-- '<CR><LF>+CRING: VOICE<CR><LF><CR><LF>+CLIP: "XXXXXXX",129,,,,0<CR><LF>'
Jun 20 09:35:00 vnd-de411e0c ModemManager[24886]: <debug> [1466415300.810560] [mm-broadband-modem.c:6462] cring_received(): Ringing (VOICE)
Jun 20 09:35:00 vnd-de411e0c ModemManager[24886]: <debug> [1466415300.810985] [mm-broadband-modem.c:6485] clip_received(): Caller ID received: number 'XXXXXXXX', type '129', validity '0'
Jun 20 09:35:00 vnd-de411e0c ModemManager[24886]: <debug> [1466415300.947954] [mm-port-serial.c:1288] mm_port_serial_open(): (ttyUSB0) device open count is 2 (open)
Jun 20 09:35:00 vnd-de411e0c ModemManager[24886]: <debug> [1466415300.953349] [mm-port-serial-at.c:459] debug_log(): (ttyUSB0): --> 'AT+CHUP<CR>'
Jun 20 09:35:00 vnd-de411e0c ModemManager[24886]: <debug> [1466415300.968380] [mm-port-serial-at.c:459] debug_log(): (ttyUSB0): <-- '<CR><LF>OK<CR><LF>'
Jun 20 09:35:00 vnd-de411e0c ModemManager[24886]: <debug> [1466415300.981014] [mm-port-serial.c:1345] _close_internal(): (ttyUSB0) device open count is 1 (close)
Jun 20 09:35:01 vnd-de411e0c ModemManager[24886]: <debug> [1466415301.754567] [mm-port-serial-at.c:459] debug_log(): (ttyUSB2): <-- '<CR><LF>^CEND: 1,0,102,17<CR><LF>'
Jun 20 09:35:01 vnd-de411e0c ModemManager[24886]: <debug> [1466415301.755471] [huawei/mm-broadband-modem-huawei.c:2941] huawei_voice_call_end(): [^CEND] Call '1' terminated with status '102' and cause '17'. Duration of call '0'
Jun 20 09:35:01 vnd-de411e0c ModemManager[24886]: <debug> [1466415301.755804] [mm-iface-modem-voice.c:190] mm_iface_modem_voice_network_hangup(): No call to hangup
Jun 20 09:35:01 vnd-de411e0c ModemManager[24886]: <debug> [1466415301.759296] [mm-port-serial-at.c:459] debug_log(): (ttyUSB0): <-- '<CR><LF>^CEND: 1,0,102,17<CR><LF>'
Jun 20 09:35:01 vnd-de411e0c ModemManager[24886]: <debug> [1466415301.760189] [huawei/mm-broadband-modem-huawei.c:2941] huawei_voice_call_end(): [^CEND] Call '1' terminated with status '102' and cause '17'. Duration of call '0'
Jun 20 09:35:01 vnd-de411e0c ModemManager[24886]: <debug> [1466415301.760464] [mm-iface-modem-voice.c:190] mm_iface_modem_voice_network_hangup(): No call to hangup
Jun 20 09:35:03 vnd-de411e0c ModemManager[24886]: <debug> [1466415303.064710] [mm-base-bearer.c:874] mm_base_bearer_disconnect(): Disconnecting bearer '/org/freedesktop/ModemManager1/Bearer/1'
Jun 20 09:35:03 vnd-de411e0c ModemManager[24886]: <info>  [1466415303.067604] [mm-iface-modem.c:1431] __iface_modem_update_state_internal(): Modem /org/freedesktop/ModemManager1/Modem/1: state changed (connected -> disconnecting)
Jun 20 09:35:03 vnd-de411e0c ModemManager[24886]: <warn>  [1466415303.084946] [huawei/mm-broadband-modem-huawei.c:2199] mm_broadband_modem_huawei_peek_port_at_for_data(): Couldn't find associated cdc-wdm port for 'net/eth1'
Jun 20 09:35:03 vnd-de411e0c ModemManager[24886]: <debug> [1466415303.091546] [mm-port-serial.c:1288] mm_port_serial_open(): (ttyUSB0) device open count is 2 (open)
Jun 20 09:35:03 vnd-de411e0c ModemManager[24886]: <debug> [1466415303.092506] [mm-port-serial-at.c:459] debug_log(): (ttyUSB0): --> 'AT^NDISDUP=1,0<CR>'
Jun 20 09:35:03 vnd-de411e0c ModemManager[24886]: <debug> [1466415303.120181] [mm-port-serial-at.c:459] debug_log(): (ttyUSB0): <-- '<CR><LF>OK<CR><LF>'
Jun 20 09:35:03 vnd-de411e0c ModemManager[24886]: <debug> [1466415303.121103] [mm-port-serial.c:1288] mm_port_serial_open(): (ttyUSB0) device open count is 3 (open)
Comment 1 Ilan 2016-06-20 14:16:14 UTC
ERRATA:
The hangup method is from interface Call and not from interface Voice.
Comment 2 Ilan 2016-08-12 11:13:18 UTC
Hi, 

Just an update: sending the AT command "AT+CHUP" through the Modem.Command method does not disconnect the bearer.
Comment 3 GitLab Migration User 2018-06-10 09:00:50 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mobile-broadband/ModemManager/issues/12.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.