Bug#704540: asterisk-mobile: can not initialize bluetooth device
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Thu Apr 4 07:25:10 UTC 2013
On Tue, Apr 02, 2013 at 08:59:57PM +0200, Lars Cebulla wrote:
> Package: asterisk-mobile
> Version: 1:1.8.13.1~dfsg-1
> Severity: important
>
> Asterisk can't connect to my mobile phone.
>
> The connection gets lost after a few seconds and he tries to reconnect. But
> that doesn't work, too...
>
> lars-pc*CLI> module load chan_mobile.so
> Loaded chan_mobile.so
> == Parsing '/etc/asterisk/chan_mobile.conf': == Found
Tried to reeproduce it, but in my case it fails here: Asterisk fails to
connect to the adapter in question.
One thing, though,
> == Registered channel type 'Mobile' (Bluetooth Mobile Device Channel Driver)
> == Registered application 'MobileStatus'
> == Registered application 'MobileSendSMS'
> Loaded chan_mobile.so => (Bluetooth Mobile Device Channel Driver)
> -- Bluetooth Device 6310i has connected, initializing...
> -- Error initializing Bluetooth device 6310i.
> -- Bluetooth Device 6310i has disconnected.
> -- Bluetooth Device 6310i has connected, initializing...
> -- Error initializing Bluetooth device 6310i.
> -- Bluetooth Device 6310i has disconnected.
> -- Bluetooth Device 6310i has connected, initializing...
>
> cat /etc/asterisk/chan_mobile.conf:
>
> [general]
> interval=2 ; Number of seconds between trying to connect to
> devices.
>
> [adapter]
> id=bluetooth-adapter
> address=XX:XX:XX:XX:XX:XX ; just hidden for posting
>
> [6310i]
> address=XX:XX:XX:XX:XX:XX ; here the same
The sample config file use different MAC addresses in the adapter and in
the device sections. Not sure what's the second MAC address is supposed
to be.
Also: the module has some messages with debug level 1. Can you please
enable debug logging and set debug level to 1?
> port=13
> context=incoming-mobile
> adapter=bluetooth-adapter
> group=1 ; this phone is in channel group 1 also.
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the Pkg-voip-maintainers
mailing list