[Home]

Summary:ASTERISK-15380: [patch] Support for SonyEricsson T6x0 and friends is broken
Reporter:Eugene San (eugenesan)Labels:
Date Opened:2009-12-30 08:13:01.000-0600Date Closed:2011-07-27 13:21:50
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Addons/chan_mobile
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) chan_mobile-non_brsf_devices
Description:Module in it's current state (1.6.2.0+) fails to operate SonyEricsson T630 and probably simalar devices.

After solving initialization problem (patch attached) I've found that this device call reporting behavior is differs much from embedded in module.

In past those devices were reported as working, so I assume their support as broken.


****** ADDITIONAL INFORMATION ******

Below are sequences of devices connecting on incoming call:
(non-working device)
====================
*CLI>
[Dec 30 14:51:29] DEBUG[5242]: chan_mobile.c:3437 do_monitor_phone: [homecell] RING
[Dec 30 14:51:29] DEBUG[5242]: chan_mobile.c:3437 do_monitor_phone: [homecell] +CIEV: 6,0
[Dec 30 14:51:29] DEBUG[5242]: chan_mobile.c:1927 hfp_parse_ciev: [homecell] CIEV event state: index(0/6) value(0)
[Dec 30 14:51:29] DEBUG[5242]: chan_mobile.c:3204 handle_response_ciev: [homecell] error parsing CIND: +CIEV: 6,0
[Dec 30 14:51:31] DEBUG[5242]: chan_mobile.c:3437 do_monitor_phone: [homecell] +CIEV: 2,3
[Dec 30 14:51:31] DEBUG[5242]: chan_mobile.c:1927 hfp_parse_ciev: [homecell] CIEV event state: index(0/2) value(3)
[Dec 30 14:51:31] DEBUG[5242]: chan_mobile.c:3204 handle_response_ciev: [homecell] error parsing CIND: +CIEV: 2,3
[Dec 30 14:51:32] DEBUG[5242]: chan_mobile.c:3437 do_monitor_phone: [homecell] RING
[Dec 30 14:51:35] DEBUG[5242]: chan_mobile.c:3437 do_monitor_phone: [homecell] RING
[Dec 30 14:51:37] DEBUG[5242]: chan_mobile.c:3437 do_monitor_phone: [homecell] +CIEV: 2,4
[Dec 30 14:51:37] DEBUG[5242]: chan_mobile.c:1927 hfp_parse_ciev: [homecell] CIEV event state: index(0/2) value(4)
[Dec 30 14:51:37] DEBUG[5242]: chan_mobile.c:3204 handle_response_ciev: [homecell] error parsing CIND: +CIEV: 2,4
[Dec 30 14:51:37] DEBUG[5242]: chan_mobile.c:3437 do_monitor_phone: [homecell] +CIEV: 2,3
[Dec 30 14:51:37] DEBUG[5242]: chan_mobile.c:1927 hfp_parse_ciev: [homecell] CIEV event state: index(0/2) value(3)
[Dec 30 14:51:37] DEBUG[5242]: chan_mobile.c:3204 handle_response_ciev: [homecell] error parsing CIND: +CIEV: 2,3
[Dec 30 14:51:38] DEBUG[5242]: chan_mobile.c:3437 do_monitor_phone: [homecell] RING
[Dec 30 14:51:41] DEBUG[5242]: chan_mobile.c:3437 do_monitor_phone: [homecell] RING

(working device)
================
*CLI>
[Dec 30 14:54:00] DEBUG[5287]: chan_mobile.c:3437 do_monitor_phone: [homecell] +CIEV: 1,1
[Dec 30 14:54:00] DEBUG[5287]: chan_mobile.c:1927 hfp_parse_ciev: [homecell] CIEV event state: index(1/1) value(1)
[Dec 30 14:54:07] DEBUG[5287]: chan_mobile.c:3437 do_monitor_phone: [homecell] +CIEV: 3,1
[Dec 30 14:54:07] DEBUG[5287]: chan_mobile.c:1927 hfp_parse_ciev: [homecell] CIEV event state: index(3/3) value(1)
[Dec 30 14:54:07] DEBUG[5287]: chan_mobile.c:3183 handle_response_ciev: [homecell] incoming call, waiting for caller id
[Dec 30 14:54:07] DEBUG[5287]: chan_mobile.c:3437 do_monitor_phone: [homecell] RING
[Dec 30 14:54:07] DEBUG[5287]: chan_mobile.c:3262 handle_response_ring: [homecell] got ring while waiting for caller id
[Dec 30 14:54:07] DEBUG[5287]: chan_mobile.c:3437 do_monitor_phone: [homecell] +CLIP: "0548031000",129,,,"Eugene"
[Dec 30 14:54:07] DEBUG[5290]: pbx.c:3689 pbx_extension_helper: Launching 'Answer'
   -- Executing [s@mobilefx:1] Answer("Mobile/homecell-e7ea", "") in new stack
]Dec 30 14:54:07] DEBUG[5290]: chan_mobile.c:1346 rfcomm_write_full: rfcomm_write() (23) [ATA
[Dec 30 14:54:07] DEBUG[5253]: devicestate.c:342 _ast_device_state: No provider found, checking channel drivers for Mobile - homecell
[Dec 30 14:54:07] DEBUG[5253]: chan_mobile.c:1127 mbl_devicestate: Checking device state for device homecell
[Dec 30 14:54:07] DEBUG[5253]: devicestate.c:460 do_state_change: Changing state for Mobile/homecell - state 2 (In use)
[Dec 30 14:54:07] DEBUG[5253]: devicestate.c:440 devstate_event: device 'Mobile/homecell' state '2'
[Dec 30 14:54:07] DEBUG[5257]: app_queue.c:1084 handle_statechange: Device 'Mobile/homecell' changed to state '2' (In use) but we don't care because they're not a member of any queue.
[Dec 30 14:54:07] DEBUG[5287]: chan_mobile.c:3437 do_monitor_phone: [homecell] OK
[Dec 30 14:54:07] DEBUG[5287]: chan_mobile.c:2975 handle_response_ok: [homecell] answer sent successfully
[Dec 30 14:54:07] DEBUG[5287]: chan_mobile.c:3437 do_monitor_phone: [homecell] +CIEV: 2,1
[Dec 30 14:54:07] DEBUG[5287]: chan_mobile.c:1927 hfp_parse_ciev: [homecell] CIEV event state: index(2/2) value(1)
[Dec 30 14:54:07] DEBUG[5287]: chan_mobile.c:3437 do_monitor_phone: [homecell] +CIEV: 3,0
[Dec 30 14:54:07] DEBUG[5287]: chan_mobile.c:1927 hfp_parse_ciev: [homecell] CIEV event state: index(3/3) value(0)
[Dec 30 14:54:07] DEBUG[5290]: channel.c:1861 __ast_answer: Didn't receive a media frame from Mobile/homecell-e7ea within 500 ms of answering. Continuing anyway
[Dec 30 14:54:07] DEBUG[5290]: pbx.c:3689 pbx_extension_helper: Launching 'Playback'
   -- Executing [s@mobilefx:2] Playback("Mobile/homecell-e7ea", "demo-congrats") in new stack
[Dec 30 14:54:07] DEBUG[5290]: channel.c:3695 set_format: Set channel Mobile/homecell-e7ea to write format gsm
Comments:By: snuffy (snuffy) 2009-12-31 14:45:59.000-0600

Note, all code needs a license.
It should also not be posted in the issues description.

Thanks

By: Eugene San (eugenesan) 2010-01-01 13:45:02.000-0600

I see.
License confirmed. Should I re-upload the patch?



By: snuffy (snuffy) 2010-01-01 21:53:01.000-0600

eugenesan, I marked your current file upload as 'code'
It will show as soon as your license is approved. It is currently 'pending'.

By: Russell Bryant (russell) 2011-07-27 13:21:45.815-0500

Per the Asterisk maintenance timeline page at http://www.asterisk.org/asterisk-versions maintenance (bug) support for the 1.4 and 1.6.x branches has ended. For continued maintenance support please move to the 1.8 branch which is a long term support (LTS) branch. For more information about branch support, please see https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions

If this is still an issue, please open a new issue so it can be re-triaged appropriately. Thanks!