All pastes #952377 Raw Edit

Something

public text v1 · immutable
#952377 ·published 2008-03-22 02:48 UTC
rendered paste body
Bluetooth enabled on the phone and instantly:


    -- Bluetooth Device SPHA640 has connected.
]2008-03-21 19:45:18] DEBUG[30641]: chan_mobile.c:980 rfcomm_write: rfcomm_write() (SPHA640) [AT+BRSF=4
[2008-03-21 19:45:18] DEBUG[30641]: chan_mobile.c:1304 do_monitor_phone: rfcomm_read() (SPHA640) [+BRSF:37]
[2008-03-21 19:45:18] DEBUG[30642]: chan_mobile.c:1812 do_sco_listen: About to accept() socket.
[2008-03-21 19:45:18] DEBUG[30641]: chan_mobile.c:1304 do_monitor_phone: rfcomm_read() (SPHA640) [OK]
]2008-03-21 19:45:18] DEBUG[30641]: chan_mobile.c:980 rfcomm_write: rfcomm_write() (SPHA640) [AT+CIND=?
[2008-03-21 19:45:18] DEBUG[30641]: chan_mobile.c:1304 do_monitor_phone: rfcomm_read() (SPHA640) [+CIND: ("service",(0,1)),("call",(0,1)),("callsetup",(0,3))]
[2008-03-21 19:45:18] DEBUG[30641]: chan_mobile.c:1345 do_monitor_phone: CIEV_CALL=2 CIEV_CALLSETUP=3
[2008-03-21 19:45:18] DEBUG[30641]: chan_mobile.c:1304 do_monitor_phone: rfcomm_read() (SPHA640) [OK]
]2008-03-21 19:45:18] DEBUG[30641]: chan_mobile.c:980 rfcomm_write: rfcomm_write() (SPHA640) [AT+CIND?
    -- Bluetooth Device SPHA640 has disconnected, reason (104).
    -- Bluetooth Device SPHA640 has connected.
]2008-03-21 19:45:24] DEBUG[30646]: chan_mobile.c:980 rfcomm_write: rfcomm_write() (SPHA640) [AT+BRSF=4
[2008-03-21 19:45:24] DEBUG[30647]: chan_mobile.c:1812 do_sco_listen: About to accept() socket.
[2008-03-21 19:45:24] DEBUG[30646]: chan_mobile.c:1304 do_monitor_phone: rfcomm_read() (SPHA640) [+BRSF:37]
[2008-03-21 19:45:24] DEBUG[30646]: chan_mobile.c:1304 do_monitor_phone: rfcomm_read() (SPHA640) [OK]
]2008-03-21 19:45:24] DEBUG[30646]: chan_mobile.c:980 rfcomm_write: rfcomm_write() (SPHA640) [AT+CIND=?
    -- Bluetooth Device SPHA640 has disconnected, reason (104).

I have NEVER seen this before:

    -- Bluetooth Device SPHA640 has connected.
]2008-03-21 19:45:30] DEBUG[30648]: chan_mobile.c:980 rfcomm_write: rfcomm_write() (SPHA640) [AT+BRSF=4
[2008-03-21 19:45:30] DEBUG[30649]: chan_mobile.c:1812 do_sco_listen: About to accept() socket.
[2008-03-21 19:45:30] DEBUG[30648]: chan_mobile.c:1304 do_monitor_phone: rfcomm_read() (SPHA640) [+BRSF:37]
[2008-03-21 19:45:30] DEBUG[30648]: chan_mobile.c:1304 do_monitor_phone: rfcomm_read() (SPHA640) [OK]
]2008-03-21 19:45:30] DEBUG[30648]: chan_mobile.c:980 rfcomm_write: rfcomm_write() (SPHA640) [AT+CIND=?
[2008-03-21 19:45:30] DEBUG[30648]: chan_mobile.c:1304 do_monitor_phone: rfcomm_read() (SPHA640) [+CIND: ("service",(0,1)),("call",(0,1)),("callsetup",(0,3))]
[2008-03-21 19:45:30] DEBUG[30648]: chan_mobile.c:1345 do_monitor_phone: CIEV_CALL=2 CIEV_CALLSETUP=3
[2008-03-21 19:45:30] DEBUG[30648]: chan_mobile.c:1304 do_monitor_phone: rfcomm_read() (SPHA640) [OK]
]2008-03-21 19:45:30] DEBUG[30648]: chan_mobile.c:980 rfcomm_write: rfcomm_write() (SPHA640) [AT+CIND?
]2008-03-21 19:45:31] DEBUG[30648]: chan_mobile.c:980 rfcomm_write: rfcomm_write() (SPHA640) [AT+CMER=3,0,0,1
All Bluetooth adapters are in use at this time.
asterisk*CLI> mobile show devices
ID              Address           Group Adapter         Connected State SMS
SPHA640         00:17:E3:18:67:A2 1     dongle          Yes       Init  No
    -- Bluetooth Device SPHA640 has disconnected, reason (110).

But what the fuck, disconnects after like 10 seconds?

    -- Bluetooth Device SPHA640 has connected.
]2008-03-21 19:45:57] DEBUG[30650]: chan_mobile.c:980 rfcomm_write: rfcomm_write() (SPHA640) [AT+BRSF=4
[2008-03-21 19:45:57] DEBUG[30651]: chan_mobile.c:1812 do_sco_listen: About to accept() socket.
[2008-03-21 19:45:57] DEBUG[30650]: chan_mobile.c:1304 do_monitor_phone: rfcomm_read() (SPHA640) [+BRSF:37]
[2008-03-21 19:45:57] DEBUG[30650]: chan_mobile.c:1304 do_monitor_phone: rfcomm_read() (SPHA640) [OK]
]2008-03-21 19:45:57] DEBUG[30650]: chan_mobile.c:980 rfcomm_write: rfcomm_write() (SPHA640) [AT+CIND=?
    -- Bluetooth Device SPHA640 has disconnected, reason (104).
    -- Bluetooth Device SPHA640 has connected.
]2008-03-21 19:46:03] DEBUG[30652]: chan_mobile.c:980 rfcomm_write: rfcomm_write() (SPHA640) [AT+BRSF=4
[2008-03-21 19:46:03] DEBUG[30653]: chan_mobile.c:1812 do_sco_listen: About to accept() socket.
[2008-03-21 19:46:03] DEBUG[30652]: chan_mobile.c:1304 do_monitor_phone: rfcomm_read() (SPHA640) [+BRSF:37]
[2008-03-21 19:46:03] DEBUG[30652]: chan_mobile.c:1304 do_monitor_phone: rfcomm_read() (SPHA640) [OK]
]2008-03-21 19:46:03] DEBUG[30652]: chan_mobile.c:980 rfcomm_write: rfcomm_write() (SPHA640) [AT+CIND=?
    -- Bluetooth Device SPHA640 has disconnected, reason (104).
    -- Bluetooth Device SPHA640 has connected.
]2008-03-21 19:46:09] DEBUG[30655]: chan_mobile.c:980 rfcomm_write: rfcomm_write() (SPHA640) [AT+BRSF=4
[2008-03-21 19:46:09] DEBUG[30656]: chan_mobile.c:1812 do_sco_listen: About to accept() socket.
[2008-03-21 19:46:10] DEBUG[30655]: chan_mobile.c:1304 do_monitor_phone: rfcomm_read() (SPHA640) [+BRSF:37]
[2008-03-21 19:46:10] DEBUG[30655]: chan_mobile.c:1304 do_monitor_phone: rfcomm_read() (SPHA640) [OK]
]2008-03-21 19:46:10] DEBUG[30655]: chan_mobile.c:980 rfcomm_write: rfcomm_write() (SPHA640) [AT+CIND=?
[2008-03-21 19:46:10] DEBUG[30655]: chan_mobile.c:1304 do_monitor_phone: rfcomm_read() (SPHA640) [+CIND: ("service",(0,1)),("call",(0,1)),("callsetup",(0,3))]
[2008-03-21 19:46:10] DEBUG[30655]: chan_mobile.c:1345 do_monitor_phone: CIEV_CALL=2 CIEV_CALLSETUP=3
    -- Bluetooth Device SPHA640 has disconnected, reason (104).
    -- Bluetooth Device SPHA640 has connected.
]2008-03-21 19:46:17] DEBUG[30657]: chan_mobile.c:980 rfcomm_write: rfcomm_write() (SPHA640) [AT+BRSF=4
[2008-03-21 19:46:17] DEBUG[30658]: chan_mobile.c:1812 do_sco_listen: About to accept() socket.
[2008-03-21 19:46:17] DEBUG[30657]: chan_mobile.c:1304 do_monitor_phone: rfcomm_read() (SPHA640) [+BRSF:37]
[2008-03-21 19:46:17] DEBUG[30657]: chan_mobile.c:1304 do_monitor_phone: rfcomm_read() (SPHA640) [OK]
]2008-03-21 19:46:17] DEBUG[30657]: chan_mobile.c:980 rfcomm_write: rfcomm_write() (SPHA640) [AT+CIND=?
    -- Bluetooth Device SPHA640 has disconnected, reason (104).
asterisk*CLI>