2005-11-21 09:39:29

by Khaled

[permalink] [raw]
Subject: [Bluez-users] asterisk, chan_bluetooth and bluez success, but...

Hi all,

Some more information on my previous message (below)...
A bridging issue? Am I doing something wrong?
Please could someone reply; I would very much appreciate it if any of you
guys could help or make suggestions seeing as you guys are much more
experienced than I...

-- Executing Dial("SIP/01-1724", "BLT/N7600/XXXXXXXXXXX") in new stack
Nov 18 10:30:45 DEBUG[18312]:
/usr/src/chan_bluetooth/chan_bluetooth.c:1112
blt_request: Dialing 'XXXXXXXXXXX' via 'N7600'
Nov 18 10:30:46 DEBUG[18312]: /usr/src/chan_bluetooth/chan_bluetooth.c:882
blt_call: Calling N7600 on BLT/N7600 [t: 0]
[AG] N7600 < ATDXXXXXXXXXXX;
-- Called N7600
[AG] N7600 > ATDXXXXXXXXXXX;
[AG] N7600 > OK
Nov 18 10:30:47 DEBUG[18281]:
/usr/src/chan_bluetooth/chan_bluetooth.c:1578
ag_unknown_response: Got UNKN response: OK
Nov 18 10:30:47 DEBUG[18281]: /usr/src/chan_bluetooth/chan_bluetooth.c:386
set_cind: CIND 3 set to 2
[AG] N7600 > +CIEV: 3,2
Nov 18 10:30:47 DEBUG[18281]: /usr/src/chan_bluetooth/chan_bluetooth.c:386
set_cind: CIND 4 set to 2
[AG] N7600 > +CIEV: 4,2
Nov 18 10:30:50 DEBUG[18281]: /usr/src/chan_bluetooth/chan_bluetooth.c:386
set_cind: CIND 3 set to 3
[AG] N7600 > +CIEV: 3,3
Nov 18 10:30:50 DEBUG[18281]: /usr/src/chan_bluetooth/chan_bluetooth.c:386
set_cind: CIND 4 set to 3
[AG] N7600 > +CIEV: 4,3
-- BLT/N7600 is ringing
Nov 18 10:30:52 DEBUG[18281]: /usr/src/chan_bluetooth/chan_bluetooth.c:386
set_cind: CIND 1 set to 1
[AG] N7600 > +CIEV: 1,1
-- BLT/N7600 answered SIP/01-1724
Nov 18 10:30:52 DEBUG[18281]: /usr/src/chan_bluetooth/chan_bluetooth.c:386
set_cind: CIND 3 set to 0
[AG] N7600 > +CIEV: 3,0
Nov 18 10:30:52 DEBUG[18281]: /usr/src/chan_bluetooth/chan_bluetooth.c:386
set_cind: CIND 4 set to 0
[AG] N7600 > +CIEV: 4,0
Nov 18 10:30:52 DEBUG[18269]: chan_sip.c:841 __sip_ack: Stopping
retransmission on '[email protected]'
of
Response 34151: Found
Nov 18 10:30:57 DEBUG[18312]: channel.c:2675 ast_channel_bridge: Didn't
get
a frame from channel: SIP/01-1724
Nov 18 10:30:57 DEBUG[18312]: channel.c:2746 ast_channel_bridge: Bridge
stops bridging channels SIP/01-1724 and BLT/N7600
Nov 18 10:30:57 DEBUG[18312]: /usr/src/chan_bluetooth/chan_bluetooth.c:932
blt_hangup: blt_hangup(BLT/N7600)
[AG] N7600 < AT+CHUP
Nov 18 10:30:57 DEBUG[18312]: app_dial.c:1054 dial_exec: Exiting with
DIALSTATUS=ANSWER.
== Spawn extension (default, 04, 1) exited non-zero on 'SIP/01-1724'
Nov 18 10:30:57 DEBUG[18312]: chan_sip.c:1726 sip_hangup:
update_user_counter(01) - decrement inUse counter
[AG] N7600 > AT+CHUP
[AG] N7600 > OK
Nov 18 10:30:57 DEBUG[18281]:
/usr/src/chan_bluetooth/chan_bluetooth.c:1578
ag_unknown_response: Got UNKN response: OK
Nov 18 10:30:57 DEBUG[18281]: /usr/src/chan_bluetooth/chan_bluetooth.c:386
set_cind: CIND 1 set to 0
[AG] N7600 > +CIEV: 1,0
--------------------------------------------------------------------------

Also, for those of you that want to know how I got this far, the attached
file is a record of what I did.

Many many many thanks in advance.

Khaled


-----Original Message-----
From: Khaled [mailto:[email protected]]
Sent: 17 November 2005 14:03
To: Bluez-Users@Lists. Sourceforge. Net
Subject: asterisk, chan_bluetooth and bluez success, but...


Hello List,

I have managed to successfully get chan_bluetooth and asterisk working with
the bluez stack and am, inconsequence, able to invoke a call from the
bluetooth connected phone out to another phone over the mobile network.
However, I cannot here nor speak through the SIP phone after the call is
made, I have to talk into the mobile connected via bluetooth.
This does defy the point of this project, since it only enables me to 'dial'
another mobile as opposed to physically dialling at the mobile phone itself.
I am sure the point is so that communication is achieved from the SIP phone
witht the mobile phone connected with bluetooth having the sole purpose of a
'router'.

Has anyone any idea, why this is happening and how my aim can be achieved?
I can give much more info as requested.

In anticipation of a quick response,

Khaled


Attachments:
VoIPgsm.doc (25.50 kB)