[asterisk-users] chan_mobile problems

Rob asterisk at private.eklhq.com
Thu Dec 13 15:06:28 CST 2007


Additional info:
hci0:   Type: USB
        BD Address: 00:18:E7:22:XX:XX ACL MTU: 1017:8 SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN
        RX bytes:21770594 acl:2032 sco:423505 events:13465 errors:0
        TX bytes:16184599 acl:1078 sco:315044 commands:6278 errors:0
        Features: 0xff 0xff 0x8d 0xfe 0x9b 0xf9 0x00 0x80
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH HOLD SNIFF PARK
        Link mode: SLAVE ACCEPT
        Name: 'BlueZ (0)'
        Class: 0x3e0100
        Service Classes: Networking, Rendering, Capturing, Object
Transfer, Audio
        Device Class: Computer, Uncategorized
        HCI Ver: 2.0 (0x3) HCI Rev: 0x4020 LMP Ver: 2.0 (0x3) LMP
Subver: 0x430e
        Manufacturer: Broadcom Corporation (15)

bluez-libs-2.25
Linux kernel 2.6.22-gentoo-r9


I see from issue 10719 (http://bugs.digium.com/view.php?id=10719) that a
later version of bluez-libs is recommended.  I'll try that.  (Please add
this recommendation to chan_mobile.txt and whatever other appropriate
documentation...)

Rob


Rob wrote:
> I built asterisk-trunk at 92526 and asterisk-addons-trunk at 496.  I have my
> Bluetooth cell phone connected.  It almost works.
>
>
> In mobile.conf, I have "context=incoming-mobile" for the phone, and that
> looks like:
> context incoming-mobile {
>     _. => {
>         VoiceMail(9999,b);
>         Hangup();
>     };
> }
>
> Calls to the cell phone get directed answered by Asterisk and directed
> to voicemail immediately, as expected.  The outgoing message is heard
> ("The person ... is busy.  Please leave a message <beep>"), then is
> disconnected immediately after the beep.  I see the following in the logs:
>
> channel.c:2992 in set_format: Set channel Mobile/SCP2500-7fc8 to write
> format slin
> rtp.c:1089 in ast_rtcp_read: Got RTCP report of 104 bytes
> app.c:657 in __ast_play_and_record: One waitfor failed, trying another
> app.c:661 in __ast_play_and_record: No audio available on
> Mobile/SCP2500-7fc8??
>
> Calling via any other method to leave voicemail works correctly.
>
>
> Also, when making outgoing calls (eg softphone -> asterisk ->
> bluetoothphone -> pstn), audio from the softphone is heard on the pstn
> phone nearly immediately, but audio from the pstn phone is delayed by
> approximately 1 second before being heard by the softphone.  When using
> the cell phone to call the pstn directly (no asterisk), audio is heard
> nearly immediately both ways.  The 1 second delay causes the
> asterisk+bluetoothphone setup to be nearly unusable.
>
>
> What causes these problems?  What can I do to diagnose them?  Is
> something configured incorrectly?
>
> Rob
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
>   



More information about the asterisk-users mailing list