[asterisk-dev] chan_bluetooth with nokia 6230i

Roel Cuppen cuppie at XS4All.nl
Sat Oct 21 05:39:58 MST 2006


Hi,

I've got chan_bluetooth working with a nokia 6310i.

But i can't get it working with a nokia 6230i.
With outgoing calls (sipdevice -> asterisk -> nokia 6230i -> destination)
adio stays on the nokia 6230i.
It seems SCO is set up correctly.
Maybe it has someting to do with "Unhandled unsolicited: +BRSF: 47"
Call setup is working

This is when is start asterisk , and enter the pin on the nokia 6230i


Asterisk Ready.
*CLI> Oct 21 12:25:09 NOTICE[8425]:
/astlinux/build_i586/usr/src/asterisk-test/b
luetooth/chan_bluetooth/c:2226 try_connect: Initialised bluetooth link to
device
 nokia
 [AG]      nokia < AT+BRSF=23
Oct 21 12:25:09 WARNING[8425]:
/astlinux/build_i586/usr/src/asterisk-test/blueto
oth/chan_bluetooth/c:2584 handle_rd_data: Device nokia: Unhandled
unsolicited: +BRSF: 47
 [AG]      nokia > +BRSF: 47
 [AG]      nokia > OK
 [AG]      nokia < AT+CIND=?
 [AG]      nokia > +CIND:
("call",(0,1)),("service",(0,1)),("call_setup",(0-3)),
("callsetup",(0-3))
 [AG]      nokia > OK
 [AG]      nokia < AT+CIND?
Oct 21 12:25:09 NOTICE[8425]:
/astlinux/build_i586/usr/src/asterisk-test/bluetoo
th/chan_bluetooth/c:509 set_cind: Audio Gateway nokia got signal
 [AG]      nokia > +CIND: 0,1,0,0
 [AG]      nokia > OK
 [AG]      nokia < AT+CMER=3,0,0,1
 [AG]      nokia > OK
 [AG]      nokia < AT+CLIP=1
 [AG]      nokia > OK
 [AG]      nokia < AT+CGMI=?
 [AG]      nokia > OK
 [AG]      nokia < AT+CGMI
 [AG]      nokia > Nokia
 [AG]      nokia > OK


This is when i dial a number on the sip device which is going out via the
nokia


*CLI>
    -- Executing NoOp("SIP/pap2-1-0814de90", "") in new stack
    -- Executing NoOp("SIP/pap2-1-0814de90", "") in new stack
    -- Executing NoOp("SIP/pap2-1-0814de90", "") in new stack
    -- Executing Dial("SIP/pap2-1-0814de90", "BLT/nokia/<number>") in new
stac
k
 [AG]      nokia < ATD<number>;
    -- Called nokia
 [AG]      nokia > OK
 [AG]      nokia > +CIEV: 3,2
 [AG]      nokia > +CIEV: 4,2
 [AG]      nokia > +CIEV: 1,1
    -- BLT/nokia answered SIP/pap2-1-0814de90
Oct 21 12:29:51 WARNING[8444]:
/astlinux/build_i586/usr/src/asterisk-test/blueto
oth/chan_bluetooth/c:621 sco_thread: SCO thread started on fd 29, pid 8444
 [AG]      nokia > +CIEV: 3,0
 [AG]      nokia > +CIEV: 4,0

*CLI>

At this time the audio is on the nokia 6230i.
On the sip device there is no audio.

When i hang up the call (on the sip device):

*CLI>
 [AG]      nokia < ATH
 [AG]      nokhci_scodata_packet: hci0 SCO packet for unknown connection
handle
42
ia < AT+CHUP
ci_scodata_packet: hci0 SCO packet for unknown connection handle 42
[1;30;40m ci_scodata_packet: hci0 SCO packet for unknown connection handle 42
;40m[AG]      nokia > OK
 [AG]      nokia > OK
 [AG]      nokia > +CIEV: 1,0

*CLI>



Currently í use channel 13 (same as on the 6310i)
I've tried other channels without success.

I've also tried to start SCO a bit faster by doing a minor change in the
code.
The source code i use is the lastest from infradead.

I've also tried other nokias (6111 etc) which have exactly the same issue.
Is the 6310i the only working nokia ?

Please can someone help me ?

Kind regards
Roel Cuppen




More information about the asterisk-dev mailing list