[Asterisk-Users] Re: chan_bluetooth

Victor Alvarez victor at sentidocomun.es
Fri Nov 18 03:57:20 MST 2005


>Can you try this again with a CLI open on * with a high verbose level.
>This is what I get when asterisk drops out of the chain.
> chan_bluetooth.c:701 sco_thread: SCO connection error: Connection
>refused (errno 111)

This is the trace asterisk is giving me:

----------------------------------------------------------------------------
-----
show version
Asterisk CVS-Nv1-0-9-11/14/05-15:26:22 built by root at voip2 on a i686 running
Linux
sip show peers
Name/username    Host            Dyn Nat ACL Mask             Port
Status
02/02            (Unspecified)    D          255.255.255.255  0
Unmonitored
01/01            192.168.129.237  D          255.255.255.255  5060
Unmonitored
*CLI> bluetooth show peers
BDAddr            Name       Role Status      A/C SCOCon/Fd/Th Sig
----------------- ---------- ---- ----------- --- ------------ ---
00:0E:6D:7A:B1:FA N7600      AG   Ready       Yes -1/-1/0      Yes
00:12:62:E1:E5:45 Nokia      AG   Ready       Yes -1/-1/0      Yes
*CLI> Nov 18 10:30:45 DEBUG[18269]: chan_sip.c:5456 check_user_full: Setting
NAT on RTP to 0
Nov 18 10:30:45 DEBUG[18269]: chan_sip.c:841 __c
'CD2A2727-D9EC-400B-A83A-EFB443FF2776 at 192.168.129.237' of Response 34150:
Found
Nov 18 10:30:45 DEBUG[18269]: chan_sip.c:5456 check_user_full: Setting NAT
on RTP to 0
Nov 18 10:30:45 DEBUG[18269]: chan_sip.c:7354 handle_request: Check for res
for 01
Nov 18 10:30:45 DEBUG[18269]: chan_sip.c:1623 update_user_counter: Call from
user '01' is 1 out of 0
Nov 18 10:30:45 DEBUG[18269]: chan_sip.c:4643 build_route: build_route:
Contact hop: <sip:01 at 192.168.129.237:5060>
    -- 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 'CD2A2727-D9EC-400B-A83A-EFB443FF2776 at 192.168.129.237' 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
----------------------------------------------------------------------------
-----
 ast_channel_bridge stops bridging channels SIP and BLT?

 Kind Regards,
  Victor.




More information about the asterisk-users mailing list