From: "Khaled" <khaled@ipbill.com>
To: <bluez-users@lists.sourceforge.net>
Subject: RE: [Bluez-users] bluez and asterisk - new problem
Date: Fri, 11 Nov 2005 11:26:03 -0000 [thread overview]
Message-ID: <HCEOIFALKKLBLJPENPNOEEEMCAAA.khaled@ipbill.com> (raw)
In-Reply-To: <1131643489.25312.40.camel@blade>
Hi Marcel (and list),
Unfortunately my hcidump is still not showing anything - but I have got my
mobile to connect to the computer (via rfcomm connect), pin is entered and
recognised on both sides, and I get:
Connected /dev/rfcomm0 to XX:XX:XX:XX:XX:XX on channel 3
Press CTRL-C for hang-up
Also, having tried to connect from Asterisk, the phone is connected
successfully also. The output at the asterisk console is:
*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
Though I'm not too sure about the warning at the top...
When I execute 'bluetooth show peers', the output is positive:
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
But when trying to dial from asterisk (via a soft sip phone), I get a
segmentation fault:
-- Executing Dial("SIP/01-25d3", "BLT/Nokia") in new stack
Segmentation fault
Note the Dial trying to be executed; I am wery about this since I didnt
fully understand Theo's documentation
(http://crazygreek.co.uk/content/chan_bluetooth), in whcih he states:
'Send a call out by using Dial(BLT/DevName/0123456). Call a HS with
Dial(BLT/DevName)'
Because I am dialing an AG, I am to use the Dial(BLT/DevName/0123456)
command, but what are the digits after /DevName/? Is this the phone number
of the mobile phone? Perhaps this is why I cannot dial from asterisk?
Any help/hint/reply/best wishes is helpful - its kind of lonely when no-one
replies (thanks to Marcel for all the help, perhaps a *little* more if
you're up for it? plz?)
Kindest Regards
Khaled
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next prev parent reply other threads:[~2005-11-11 11:26 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-09 14:09 [Bluez-users] bluez and asterisk Khaled
2005-11-09 15:35 ` Marcel Holtmann
2005-11-09 16:06 ` Khaled
2005-11-09 22:58 ` Marcel Holtmann
2005-11-10 13:07 ` Khaled
2005-11-10 13:55 ` Marcel Holtmann
2005-11-10 14:30 ` Khaled
2005-11-10 14:41 ` Marcel Holtmann
2005-11-10 14:45 ` Khaled
2005-11-10 14:56 ` Marcel Holtmann
2005-11-10 16:58 ` Khaled
2005-11-10 17:24 ` Marcel Holtmann
2005-11-11 11:26 ` Khaled [this message]
2005-11-11 11:31 ` [Bluez-users] bluez and asterisk - new problem Khaled
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=HCEOIFALKKLBLJPENPNOEEEMCAAA.khaled@ipbill.com \
--to=khaled@ipbill.com \
--cc=bluez-users@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).