Hi, I have read many pages and tried many things, but without any success. I have paired my ERICCSON T68 with the Asterisk PC. The Asterisk version is ?Asterisk CVS-v1-0-11/19/05-14:52:52?. The chan_bluetooth is the last release, downloaded from ?http://www.crazygreek.co.uk/data/pages/chan_bluetooth/latest.tar.gz?. It is all OK. I can dial from the Asterisk a number. The T68 dials it, but when the called party picks the phone and the call goes connected there is no any audio! Neither from or to the Asterisk. Here are a short logs: This is the initial log, when I start the Asterisk and it connects the T68. It seems OK: ---cut--- Asterisk Ready. *CLI> Nov 19 15:15:45 NOTICE[11068]: /usr/src/asterisk/chan_bluetooth/chan_bluetooth.c:2041 try_connect: Initialised bluetooth link to device T68 [AG] T68 < AT+BRSF=23 [AG] T68 > ERROR [AG] T68 < AT+CIND=? [AG] T68 > +CIND: ("battchg",(0-5)),("signal",(0-5)),("batterywarning",(0-1)),("chargerconnected",(0-1)),("service",(0-1)),("sounder",(0-1)),("message",(0-1)),("call",(0-1)),("roam",(0-1)),("smsfull",(0-1)) [AG] T68 > OK [AG] T68 < AT+CIND? Nov 19 15:15:46 NOTICE[11068]: /usr/src/asterisk/chan_bluetooth/chan_bluetooth.c:417 set_cind: Audio Gateway T68 got signal [AG] T68 > +CIND: 5,5,0,1,1,0,0,0,0,0 [AG] T68 > OK [AG] T68 < AT+CMER=3,0,0,1 [AG] T68 > OK [AG] T68 < AT+CLIP=1 [AG] T68 > OK [AG] T68 < AT+CGMI=? [AG] T68 > OK [AG] T68 < AT+CGMI [AG] T68 > ERICSSON [AG] T68 > OK ---cut--- This is when I dial a number. It seems OK too, but no audio when connects: ---cut--- -- Executing Dial("SIP/2222222-3885", "BLT/T68/123|60") in new stack [AG] T68 < ATD123; -- Called T68 [AG] T68 > OK [AG] T68 > +CIEV: 8,1 -- BLT/T68 answered SIP/2222222-3885 [AG] T68 > +CIEV: 2,4 [AG] T68 > +CIEV: 2,5 ---cut--- And this is when I interrupt the dialed call: ---cut--- [AG] T68 < AT+CHUP == Spawn extension (default, 2002, 1) exited non-zero on 'SIP/2222222-3885' [AG] T68 > OK Nov 19 15:18:06 NOTICE[11068]: /usr/src/asterisk/chan_bluetooth/chan_bluetooth.c:2493 rd_close: Device T68 disconnected, scheduled reconnect in 5 seconds: Connection reset by peer (errno 104) Nov 19 15:18:11 NOTICE[11068]: /usr/src/asterisk/chan_bluetooth/chan_bluetooth.c:2041 try_connect: Initialised bluetooth link to device T68 [AG] T68 < AT+BRSF=23 [AG] T68 > ERROR [AG] T68 < AT+CIND=? [AG] T68 > +CIND: ("battchg",(0-5)),("signal",(0-5)),("batterywarning",(0-1)),("chargerconnected",(0-1)),("service",(0-1)),("sounder",(0-1)),("message",(0-1)),("call",(0-1)),("roam",(0-1)),("smsfull",(0-1)) [AG] T68 > OK [AG] T68 < AT+CIND? [AG] T68 > +CIND: 5,5,0,1,1,0,0,0,0,0 [AG] T68 > OK [AG] T68 < AT+CMER=3,0,0,1 [AG] T68 > OK [AG] T68 < AT+CLIP=1 [AG] T68 > OK [AG] T68 < AT+CGMI=? [AG] T68 > OK [AG] T68 < AT+CGMI [AG] T68 > ERICSSON [AG] T68 > OK ---cut--- Please someone to help me :) Thank you in advance!
David Woodhouse
2005-Nov-19 12:09 UTC
[Asterisk-Users] chan_bluetooth and Ericcson T68 problem
On Sat, 2005-11-19 at 16:05 +0200, Enky wrote:> Hi, > > I have read many pages and tried many things, but without any success.Read the archives of this list. The answer is there, within the last week or so. -- dwmw2
Hi... I'm trying to compile chan_bluetooth after downloading from crazygreek. (latest.tar.gz) In following up with the user Enky: He has CVS head as of 11/19, and I have just checked out the latest I'm getting the following errors: /usr/src/chan_bluetooth/chan_bluetooth.c:99:34: asterisk/channel_pvt.h: No such file or directory /usr/src/chan_bluetooth/chan_bluetooth.c: In function `blt_write': /usr/src/chan_bluetooth/chan_bluetooth.c:713: error: structure has no member named `pvt' /usr/src/chan_bluetooth/chan_bluetooth.c: In function `blt_read': /usr/src/chan_bluetooth/chan_bluetooth.c:742: error: structure has no member named `pvt' /usr/src/chan_bluetooth/chan_bluetooth.c: In function `ring_hs': /usr/src/chan_bluetooth/chan_bluetooth.c:829: error: structure has no member named `callerid' /usr/src/chan_bluetooth/chan_bluetooth.c:832: error: structure has no member named `callerid' /usr/src/chan_bluetooth/chan_bluetooth.c: In function `blt_call': /usr/src/chan_bluetooth/chan_bluetooth.c:875: error: structure has no member named `pvt' /usr/src/chan_bluetooth/chan_bluetooth.c: In function `blt_hangup': /usr/src/chan_bluetooth/chan_bluetooth.c:930: error: structure has no member named `pvt' /usr/src/chan_bluetooth/chan_bluetooth.c:934: error: structure has no member named `pvt' /usr/src/chan_bluetooth/chan_bluetooth.c:979: error: structure has no member named `pvt' /usr/src/chan_bluetooth/chan_bluetooth.c: In function `blt_answer': /usr/src/chan_bluetooth/chan_bluetooth.c:1006: error: structure has no member named `pvt' /usr/src/chan_bluetooth/chan_bluetooth.c: In function `blt_new': /usr/src/chan_bluetooth/chan_bluetooth.c:1044: error: structure has no member named `pvt' /usr/src/chan_bluetooth/chan_bluetooth.c:1045: error: structure has no member named `pvt' /usr/src/chan_bluetooth/chan_bluetooth.c:1053: error: structure has no member named `pvt' /usr/src/chan_bluetooth/chan_bluetooth.c:1055: error: structure has no member named `pvt' /usr/src/chan_bluetooth/chan_bluetooth.c:1056: error: structure has no member named `pvt' /usr/src/chan_bluetooth/chan_bluetooth.c:1057: error: structure has no member named `pvt' /usr/src/chan_bluetooth/chan_bluetooth.c:1058: error: structure has no member named `pvt' /usr/src/chan_bluetooth/chan_bluetooth.c:1059: error: structure has no member named `pvt' /usr/src/chan_bluetooth/chan_bluetooth.c:1060: error: structure has no member named `pvt' /usr/src/chan_bluetooth/chan_bluetooth.c: In function `blt_parse_config': /usr/src/chan_bluetooth/chan_bluetooth.c:2699: warning: implicit declaration of function `ast_load' /usr/src/chan_bluetooth/chan_bluetooth.c:2699: warning: assignment makes pointer from integer without a cast /usr/src/chan_bluetooth/chan_bluetooth.c: In function `__unload_module': /usr/src/chan_bluetooth/chan_bluetooth.c:2982: warning: passing arg 1 of `ast_channel_unregister' from incompatible pointer type /usr/src/chan_bluetooth/chan_bluetooth.c: In function `load_module': /usr/src/chan_bluetooth/chan_bluetooth.c:3080: warning: passing arg 1 of `ast_channel_register' from incompatible pointer type /usr/src/chan_bluetooth/chan_bluetooth.c:3080: error: too many arguments to function `ast_channel_register' make[1]: *** [/usr/src/chan_bluetooth/.tmp/chan_bluetooth.o] Error 1 make[1]: Leaving directory `/usr/src/asterisk/channels' make: *** [subdirs] Error 1 There is no channel_pvt.h - so how do you compile against head? Thanks...
Vlasis Hatzistavrou - asterisk mailing list account
2005-Nov-21 03:32 UTC
[Asterisk-Users] chan_bluetooth and Ericcson T68 problem
Hello Enky, We have encountered similar problems with various Ericsson & Nokia phones. We couldn't get the channel driver to work 100%. However, we cannot actually tell whether it was our mistake or whether there was a problem with the channel driver. We tried to contact the driver's maintainer/creator but no luck... If you manage to find a solution for this problem we'd also be interested to know about it. Best regards, Vlasis. Enky wrote:>Hi, > >I have read many pages and tried many things, but without any success. I >have paired my ERICCSON T68 with the Asterisk PC. The Asterisk version is >?Asterisk CVS-v1-0-11/19/05-14:52:52?. The chan_bluetooth is the last >release, downloaded from >?http://www.crazygreek.co.uk/data/pages/chan_bluetooth/latest.tar.gz?. It >is all OK. I can dial from the Asterisk a number. The T68 dials it, but >when the called party picks the phone and the call goes connected there is >no any audio! Neither from or to the Asterisk. Here are a short logs: > >This is the initial log, when I start the Asterisk and it connects the >T68. It seems OK: >---cut--- >Asterisk Ready. >*CLI> Nov 19 15:15:45 NOTICE[11068]: >/usr/src/asterisk/chan_bluetooth/chan_bluetooth.c:2041 try_connect: >Initialised bluetooth link to device T68 > [AG] T68 < AT+BRSF=23 > [AG] T68 > ERROR > [AG] T68 < AT+CIND=? > [AG] T68 > +CIND: >("battchg",(0-5)),("signal",(0-5)),("batterywarning",(0-1)),("chargerconnected",(0-1)),("service",(0-1)),("sounder",(0-1)),("message",(0-1)),("call",(0-1)),("roam",(0-1)),("smsfull",(0-1)) > [AG] T68 > OK > [AG] T68 < AT+CIND? >Nov 19 15:15:46 NOTICE[11068]: >/usr/src/asterisk/chan_bluetooth/chan_bluetooth.c:417 set_cind: Audio >Gateway T68 got signal > [AG] T68 > +CIND: 5,5,0,1,1,0,0,0,0,0 > [AG] T68 > OK > [AG] T68 < AT+CMER=3,0,0,1 > [AG] T68 > OK > [AG] T68 < AT+CLIP=1 > [AG] T68 > OK > [AG] T68 < AT+CGMI=? > [AG] T68 > OK > [AG] T68 < AT+CGMI > [AG] T68 > ERICSSON > [AG] T68 > OK >---cut--- > >This is when I dial a number. It seems OK too, but no audio when connects: >---cut--- > -- Executing Dial("SIP/2222222-3885", "BLT/T68/123|60") in new stack > [AG] T68 < ATD123; > -- Called T68 > [AG] T68 > OK > [AG] T68 > +CIEV: 8,1 > -- BLT/T68 answered SIP/2222222-3885 > [AG] T68 > +CIEV: 2,4 > [AG] T68 > +CIEV: 2,5 >---cut--- > >And this is when I interrupt the dialed call: >---cut--- > [AG] T68 < AT+CHUP > == Spawn extension (default, 2002, 1) exited non-zero on 'SIP/2222222-3885' > [AG] T68 > OK >Nov 19 15:18:06 NOTICE[11068]: >/usr/src/asterisk/chan_bluetooth/chan_bluetooth.c:2493 rd_close: Device >T68 disconnected, scheduled reconnect in 5 seconds: Connection reset by >peer (errno 104) >Nov 19 15:18:11 NOTICE[11068]: >/usr/src/asterisk/chan_bluetooth/chan_bluetooth.c:2041 try_connect: >Initialised bluetooth link to device T68 > [AG] T68 < AT+BRSF=23 > [AG] T68 > ERROR > [AG] T68 < AT+CIND=? > [AG] T68 > +CIND: >("battchg",(0-5)),("signal",(0-5)),("batterywarning",(0-1)),("chargerconnected",(0-1)),("service",(0-1)),("sounder",(0-1)),("message",(0-1)),("call",(0-1)),("roam",(0-1)),("smsfull",(0-1)) > [AG] T68 > OK > [AG] T68 < AT+CIND? > [AG] T68 > +CIND: 5,5,0,1,1,0,0,0,0,0 > [AG] T68 > OK > [AG] T68 < AT+CMER=3,0,0,1 > [AG] T68 > OK > [AG] T68 < AT+CLIP=1 > [AG] T68 > OK > [AG] T68 < AT+CGMI=? > [AG] T68 > OK > [AG] T68 < AT+CGMI > [AG] T68 > ERICSSON > [AG] T68 > OK >---cut--- > >Please someone to help me :) Thank you in advance! > > >_______________________________________________ >--Bandwidth and Colocation sponsored by Easynews.com -- > >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > >