[Home]

Summary:ASTERISK-13899: Chan_mobile problem with initilizing L6 motorola phone
Reporter:jongerenchaos (jongerenchaos)Labels:
Date Opened:2009-04-05 09:13:09Date Closed:2009-04-08 15:29:23
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Addons/chan_mobile
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) debug1.diff
( 1) errorlog2.txt
( 2) hfp-init2.diff
( 3) log.txt
Description:I get the following message after installing the newest chan_mobile version in combination with the newest asterisk svn and bluez-4.34:

   -- Bluetooth Device gsm2 has connected, initilizing...
   -- Error initializing Bluetooth device gsm2.
   -- Bluetooth Device gsm2 has disconnected.
   -- Bluetooth Device gsm3 has connected, initilizing...
   -- Error initializing Bluetooth device gsm3.
   -- Bluetooth Device gsm3 has disconnected.

I use an L6 motorola phone on it, and this works before this current chan_mobile version always correctly.
Comments:By: Matthew Nicholson (mnicholson) 2009-04-06 07:34:02

Please test with the following patch and debug level 2, then upload the resulting debug log file.  I suspect this is a duplicate of 14781.

Also, would you be willing to test support for multiple devices per adapter?

By: jongerenchaos (jongerenchaos) 2009-04-06 15:35:39

I upload the mobile debug log (log.txt).

By: Matthew Nicholson (mnicholson) 2009-04-06 15:53:44

Ok, this is not a duplicate.  I'll post a patch for you to test shortly.

By: Matthew Nicholson (mnicholson) 2009-04-06 16:09:28

Before I spend time making a patch, please make sure you are connecting to the phone on the correct rfcomm channel.  You can do this by making your phone discoverable and then running 'mobile search' from the asterisk cli.



By: jongerenchaos (jongerenchaos) 2009-04-07 00:19:17

Offcourse the phone is connected correctly to the RFCOMM channel and with your command i can find all the bluetooth devices that are discoverable at this moment.

When i downgrade to a previous version of chan_mobile (and exactly the same version of asterisk) the phone is connected (at don't disconnect anymore).

By: Matthew Nicholson (mnicholson) 2009-04-07 14:05:38

Ok.  I just uploaded hfp-init2.diff.  Try that (with debug1.diff applied) and see if it fixes your issue.

By: jongerenchaos (jongerenchaos) 2009-04-08 14:50:27

It won't work. I add the new debug log as errorlog2.txt

GSM2 and GSM3 give the same error (2x L6 phones with 2x CSR bluecore 4 dongle).



By: Matthew Nicholson (mnicholson) 2009-04-08 15:02:10

Ok.  Try with the latest svn (r856).

By: jongerenchaos (jongerenchaos) 2009-04-08 15:26:43

Thanks problems resolved!

There is only a probem with closing active calls when one of the two persons hangup. It'll take sometimes a long time when the mobile channel is open again for accepting calls. But thats another issue.

I think this bug can close! Thanks!!