[Asterisk-Users] Re: libbluetooth
Victor Alvarez
victor at sentidocomun.es
Fri Nov 11 07:58:43 MST 2005
Hi,
Thanks Dave, gracias Jose Luis ;-).
Once everything is configured, the mobile phone connected via bluetooth.. I've got a segmentation fault when trying to dial from sip to bluetooth:
CLI> Nov 11 16:53:34 NOTICE[2222]: /usr/src/chan_bluetooth/chan_bluetooth.c:2041 try_connect: Initialised bluetooth link to device Nokia
[AG] Nokia < AT+BRSF=23
[AG] Nokia > AT+BRSF=23
Nov 11 16:53:34 WARNING[2222]: /usr/src/chan_bluetooth/chan_bluetooth.c:2399 handle_rd_data: Device Nokia: Unhandled Unsolicited: +BRSF: 47
[AG] Nokia > +BRSF: 47
[AG] Nokia > OK
[AG] Nokia < AT+CIND=?
[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?
[AG] Nokia > AT+CIND?
Nov 11 16:53:34 NOTICE[2222]: /usr/src/chan_bluetooth/chan_bluetooth.c:417 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 > AT+CMER=3,0,0,1
[AG] Nokia > OK
[AG] Nokia < AT+CLIP=1
[AG] Nokia > AT+CLIP=1
[AG] Nokia > OK
[AG] Nokia < AT+CGMI=?
[AG] Nokia > AT+CGMI=?
[AG] Nokia > OK
[AG] Nokia < AT+CGMI
[AG] Nokia > AT+CGMI
[AG] Nokia > Nokia
[AG] Nokia > OK
bluetooth show peers
BDAddr Name Role Status A/C SCOCon/Fd/Th Sig
----------------- ---------- ---- ----------- --- ------------ ---
00:12:62:E1:E5:45 Nokia AG Ready Yes -1/-1/0 Yes
-- Executing Dial("SIP/01-25d3", "BLT/Nokia") in new stack
Segmentation fault
Version of asterisk: CVS-v1-0-01/08/05-16:05:25 . There is something here I don't quite grasp. If I use the command cvs checkout -r v1-0 zaptel libpri asterisk asterisk-addons with the purpose of download the last stable version, why do I get a version dated january 2005?? (because that's an american date format 8th January 2005, right?).
If I try last CVS HEAD the result is even worse. Can't start up asterisk:
[chan_bluetooth.so]Nov 11 20:43:28 WARNING[15987]: loader.c:325 __load_resource: /usr/lib/asterisk/modules/chan_bluetooth.so: undefined symbol: ast_pthread_create
Nov 11 20:43:28 WARNING[15987]: loader.c:554 load_modules: Loading module chan_bluetooth.so failed!
line 654 of chan_bluetooth.c: if (ast_pthread_create(&(dev->sco_thread), NULL, sco_thread, dev) < 0) {
I wonder if there is any patch or any other explanation for that segmentation fault. In any case, thanks for your attention and support.
Victor.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051111/e2f7a639/attachment.htm
More information about the asterisk-users
mailing list