[Asterisk-Users] Re: libbluetooth

José Luis Gómez jgomez at qualis.com.ar
Fri Nov 11 05:16:38 MST 2005


Hi.
I`m using asterisk 1.0.9 and it works fine.
I didn`t patch the asterisk, only I followed the README of
chan_bluetooth.
Regards,
   José Luis

El vie, 11-11-2005 a las 14:58 +0000, Victor Alvarez escribió:
> 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.
>  
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
> 
> Asterisk-Users mailing list
> Asterisk-Users at 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
-- 

José Luis Gómez
Qualis Information Technology
Av. Rivadavia 2553, PB Of. 43 EP
0342-4565684 int 102
Bs. As. 011-51990896
www.qualis.com.ar
Soporte 0810-8880022
Santa Fe - Argentina




More information about the asterisk-users mailing list