Hi Folks,<br><br>I'm
trying to use my mobile as a trunk via bluetooth - calls done in a
softphone go thru GSM network and calls destinated to my mobile are
answered at the softphone.<br><br>I have asterisk configured to do so but I'm facing an issue - <font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;">Audio is audible but
it’s not intelligible. I feel like the audio is breaking.</span></font><br>Below is the asterisk log. I also get lots of <font color="navy" face="Arial" size="2"><span style="font-size: 10pt; color: navy; font-family: Arial;">“hci_scodata_packet: hci0 SCO packet for unknown connection handle
XXXXX” and "btusb_isoc_complete: hci0 corrupted SCO packet" entries in kernel
logs.</span></font><br><br>Can anybody please help?<br>Tks<br>++++++<div><br>13:37:17 chan_sip.c: Allocating new SIP dialog for <a href="mailto:42eb60ff04309999607e7eb97cc86c69@192.168.0.204">42eb60ff04309999607e7eb97cc86c69@192.168.0.204</a> - OPTIONS (No RTP)<br>
13:37:17 acl.c: Found IP address for this socket<br>13:37:17 chan_sip.c: Initializing initreq for method OPTIONS - callid <a href="mailto:5bae8a561541036e45990a137366cb14@192.168.0.204">5bae8a561541036e45990a137366cb14@192.168.0.204</a><br>
13:37:17 chan_sip.c: Trying to put 'OPTIONS si' onto UDP socket destined for <a href="http://192.168.0.84:27928">192.168.0.84:27928</a><br>13:37:17 chan_sip.c: Stopping retransmission on '<a href="mailto:5bae8a561541036e45990a137366cb14@192.168.0.204">5bae8a561541036e45990a137366cb14@192.168.0.204</a>' of Request 102: Match Found<br>
13:37:17 chan_sip.c: Destroying SIP dialog <a href="mailto:5bae8a561541036e45990a137366cb14@192.168.0.204">5bae8a561541036e45990a137366cb14@192.168.0.204</a><br>13:37:40 acl.c: Found IP address for this socket<br>13:37:40 netsock.c: == Using SIP RTP CoS mark 5<br>
13:37:40 chan_sip.c: Setting NAT on RTP to Off<br>13:37:40 chan_sip.c: Allocating new SIP dialog for N2ExYWUwNGJkODAzZGMyYjBmYzQwMTY1YzgwMGQ5MWM. - INVITE (With RTP)<br>13:37:40 chan_sip.c: **** Received INVITE (5) - Command in SIP INVITE<br>
13:37:40 chan_sip.c: Setting NAT on RTP to Off<br>13:37:40 chan_sip.c: Trying to put 'SIP/2.0 40' onto UDP socket destined for <a href="http://192.168.0.84:27928">192.168.0.84:27928</a><br>13:37:40 chan_sip.c: **** Received ACK (6) - Command in SIP ACK<br>
13:37:40 chan_sip.c: Stopping retransmission on 'N2ExYWUwNGJkODAzZGMyYjBmYzQwMTY1YzgwMGQ5MWM.' of Response 1: Match Found<br>13:37:40 chan_sip.c: **** Received INVITE (5) - Command in SIP INVITE<br>13:37:40 chan_sip.c: Setting NAT on RTP to Off<br>
13:37:40 chan_sip.c: We're settling with these formats: 0xc (ulaw|alaw)<br>13:37:40 chan_sip.c: Checking SIP call limits for device 1000<br>13:37:40 chan_sip.c: Updating call counter for incoming call<br>13:37:40 devicestate.c: No provider found, checking channel drivers for SIP - 1000<br>
13:37:40 chan_sip.c: Checking device state for peer 1000<br>13:37:40 devicestate.c: Changing state for SIP/1000 - state 2 (In use)<br>13:37:40 devicestate.c: device 'SIP/1000' state '2'<br>13:37:40 app_queue.c: Device 'SIP/1000' changed to state '2' (In use) but we don't care because they're not a member of any queue.<br>
13:37:40 chan_sip.c: *** Our native formats are 0x4 (ulaw) <br>13:37:40 chan_sip.c: *** Joint capabilities are 0xc (ulaw|alaw) <br>13:37:40 chan_sip.c: *** Our capabilities are 0xe (gsm|ulaw|alaw) <br>13:37:40 chan_sip.c: *** AST_CODEC_CHOOSE formats are 0x4 (ulaw) <br>
13:37:40 chan_sip.c: This channel will not be able to handle video.<br>13:37:40 chan_sip.c: build_route: Contact hop: <<a href="http://sip:1000@192.168.0.84:27928">sip:1000@192.168.0.84:27928</a>><br>13:37:40 chan_sip.c: SIP/1000-0021a568: New call is still down.... Trying... <br>
13:37:40 chan_sip.c: Trying to put 'SIP/2.0 10' onto UDP socket destined for <a href="http://192.168.0.84:27928">192.168.0.84:27928</a><br>13:37:40 devicestate.c: No provider found, checking channel drivers for SIP - 1000<br>
13:37:40 chan_sip.c: Checking device state for peer 1000<br>13:37:40 devicestate.c: Changing state for SIP/1000 - state 2 (In use)<br>13:37:40 devicestate.c: device 'SIP/1000' state '2'<br>13:37:40 app_queue.c: Device 'SIP/1000' changed to state '2' (In use) but we don't care because they're not a member of any queue.<br>
13:37:40 pbx.c: Launching 'Answer'<br>13:37:40 ] pbx.c: -- Executing [1234@from-internal:1] Answer("SIP/1000-0021a568", "") in new stack<br>13:37:40 devicestate.c: No provider found, checking channel drivers for SIP - 1000<br>
13:37:40 chan_sip.c: Checking device state for peer 1000<br>13:37:40 devicestate.c: Changing state for SIP/1000 - state 2 (In use)<br>13:37:40 devicestate.c: device 'SIP/1000' state '2'<br>13:37:40 app_queue.c: Device 'SIP/1000' changed to state '2' (In use) but we don't care because they're not a member of any queue.<br>
13:37:40 chan_sip.c: SIP answering channel: SIP/1000-0021a568<br>13:37:40 chan_sip.c: Setting framing from config on incoming call<br>13:37:40 chan_sip.c: ** Our capability: 0xc (ulaw|alaw) Video flag: True Text flag: True<br>
13:37:40 chan_sip.c: ** Our prefcodec: 0x0 (nothing) <br>13:37:40 chan_sip.c: -- Done with adding codecs to SDP<br>13:37:40 channel.c: Internal timing is disabled (option_internal_timing=0 chan->timingfd=28)<br>13:37:40 chan_sip.c: Done building SDP. Settling with this capability: 0xc (ulaw|alaw)<br>
13:37:40 chan_sip.c: Trying to put 'SIP/2.0 20' onto UDP socket destined for <a href="http://192.168.0.84:27928">192.168.0.84:27928</a><br>13:37:40 rtp.c: Got RTCP report of 132 bytes<br>13:37:40 pbx.c: Launching 'Dial'<br>
13:37:40 ] pbx.c: -- Executing [1234@from-internal:2] Dial("SIP/1000-0021a568", "Mobile/Carlos/909037079681") in new stack<br>13:37:40 rtp.c: Channel 'Mobile/Carlos-0213' has no RTP, not doing anything<br>
13:37:40 channel.c: Not copying variable DIALEDTIME.<br>13:37:40 channel.c: Not copying variable ANSWEREDTIME.<br>13:37:40 channel.c: Not copying variable DIALEDPEERNAME.<br>13:37:40 channel.c: Not copying variable DIALEDPEERNUMBER.<br>
13:37:40 channel.c: Not copying variable DIALSTATUS.<br>13:37:40 channel.c: Not copying variable SIPCALLID.<br>13:37:40 channel.c: Not copying variable SIPDOMAIN.<br>13:37:40 channel.c: Not copying variable SIPURI.<br>13:37:40 chan_mobile.c: Calling Carlos/909037079681 on Mobile/Carlos-0213<br>
13:37:40 ] app_dial.c: -- Called Carlos/909037079681<br>13:37:40 channel.c: Set channel Mobile/Carlos-0213 to read format ulaw<br>13:37:40 channel.c: Set channel SIP/1000-0021a568 to read format slin<br>13:37:40 chan_mobile.c: *** mbl_write<br>
13:37:40 chan_mobile.c: sco_write() not ready<br>13:37:40 chan_sip.c: **** Received ACK (6) - Command in SIP ACK<br>13:37:40 chan_sip.c: Stopping retransmission on 'N2ExYWUwNGJkODAzZGMyYjBmYzQwMTY1YzgwMGQ5MWM.' of Response 2: Match Found<br>
13:37:40 chan_mobile.c: *** mbl_write<br>13:37:40 chan_mobile.c: sco_write() not ready<br>13:37:40 chan_mobile.c: sco_read() not ready<br>13:37:40 chan_mobile.c: rfcomm_write() (Carlos) [ATD909037079681;<br>13:37:41 chan_mobile.c: sco_write() not ready<br>
13:37:41 chan_mobile.c: sco_read() not ready<br>13:37:41 chan_mobile.c: rfcomm_read() (Carlos) [OK]<br>13:37:41 devicestate.c: No provider found, checking channel drivers for Mobile - Carlos<br>13:37:41 chan_mobile.c: Checking device state for device Carlos<br>
13:37:41 devicestate.c: Changing state for Mobile/Carlos - state 2 (In use)<br>13:37:41 devicestate.c: device 'Mobile/Carlos' state '2'<br>13:37:41 app_queue.c: Device 'Mobile/Carlos' changed to state '2' (In use) <br>
13:37:41 chan_mobile.c: rfcomm_read() (Carlos) [+CIEV: 2,2]<br>13:37:41 chan_mobile.c: *** mbl_write<br>13:37:41 chan_mobile.c: sco_write() not ready<br>13:37:41 chan_mobile.c: sco_read() not ready<br>13:37:41 chan_mobile.c: accept()ed socket.<br>
13:37:41 chan_mobile.c: Incoming Audio Connection from device 00:21:FB:B4:45:07 MTU is 48<br>13:37:41 chan_mobile.c: About to accept() socket.<br>13:37:41 chan_mobile.c: *** mbl_write<br>13:37:45 chan_mobile.c: sco_write()<br>
13:37:45 chan_mobile.c: sco_read()<br>13:37:45 chan_mobile.c: rfcomm_read() (Carlos) [+CIEV: 2,3]<br>13:37:47 chan_mobile.c: sco_write()<br>13:37:47 chan_mobile.c: sco_read()<br>13:37:47 ] app_dial.c: -- Mobile/Carlos-0213 is ringing<br>
13:37:47 channel.c: Driver for channel 'SIP/1000-0021a568' does not support indication 3, emulating it<br>13:37:47 channel.c: Set channel SIP/1000-0021a568 to write format slin<br>13:37:47 channel.c: Scheduling timer at (50 requested / 50 actual) timer ticks per second<br>
13:37:47 channel.c: Internal timing is disabled (option_internal_timing=0 chan->timingfd=28)<br>13:37:47 channel.c: Generator got voice, switching to phase locked mode<br>13:37:47 channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second<br>
13:37:47 rtp.c: Ooh, format changed from unknown to ulaw<br>13:37:47 rtp.c: Created smoother: format: 4 ms: 20 len: 160<br>13:37:47 chan_mobile.c: *** mbl_write<br>13:37:47 chan_mobile.c: sco_write()<br>13:37:47 chan_mobile.c: sco_read()<br>
13:37:58 chan_mobile.c: rfcomm_read() (Carlos) [+CIEV: 2,0]<br>13:37:58 devicestate.c: No provider found, checking channel drivers for Mobile - Carlos<br>13:37:58 chan_mobile.c: Checking device state for device Carlos<br>
13:37:58 devicestate.c: Changing state for Mobile/Carlos - state 2 (In use)<br>13:37:58 devicestate.c: device 'Mobile/Carlos' state '2'<br>13:37:58 app_queue.c: Device 'Mobile/Carlos' changed to state '2' <br>
13:37:58 ] app_dial.c: -- Mobile/Carlos-0213 answered SIP/1000-0021a568<br>13:37:58 channel.c: Set channel SIP/1000-0021a568 to write format ulaw<br>13:37:58 channel.c: Scheduling timer at (0 requested / 0 actual) timer ticks per second<br>
13:37:58 features.c: bridge answer set, chan answer set<br>13:37:58 chan_mobile.c: *** mbl_write<br>13:37:58 chan_mobile.c: sco_write()<br>13:37:58 chan_mobile.c: sco_read()<br>13:38:17 chan_mobile.c: *** mbl_read()<br>13:38:17 chan_mobile.c: *** mbl_write<br>
13:38:17 chan_mobile.c: sco_write()<br>13:38:17 chan_mobile.c: sco_read()<br>13:38:17 chan_sip.c: Allocating new SIP dialog for <a href="mailto:722c10b0225c5f792e6a6782773f69c1@192.168.0.204">722c10b0225c5f792e6a6782773f69c1@192.168.0.204</a> - OPTIONS (No RTP)<br>
13:38:17 acl.c: Found IP address for this socket<br>13:38:17 chan_sip.c: Initializing initreq for method OPTIONS - callid <a href="mailto:2017d8501354b495687908065564fd2b@192.168.0.204">2017d8501354b495687908065564fd2b@192.168.0.204</a><br>
13:38:17 chan_sip.c: Trying to put 'OPTIONS si' onto UDP socket destined for <a href="http://192.168.0.84:27928">192.168.0.84:27928</a><br>13:38:17 chan_sip.c: Stopping retransmission on '<a href="mailto:2017d8501354b495687908065564fd2b@192.168.0.204">2017d8501354b495687908065564fd2b@192.168.0.204</a>' of Request 102: Match Found<br>
13:38:17 chan_sip.c: Destroying SIP dialog <a href="mailto:2017d8501354b495687908065564fd2b@192.168.0.204">2017d8501354b495687908065564fd2b@192.168.0.204</a><br>13:38:40 chan_mobile.c: sco_write()<br>13:38:40 chan_mobile.c: sco_read()<br>
13:38:40 chan_mobile.c: rfcomm_read() (Carlos) [+CIEV: 1,0]<br>13:38:40 chan_mobile.c: sco_read() error 104<br>13:38:40 chan_mobile.c: sco_write()<br>13:38:40 chan_mobile.c: sco write error 107<br>13:38:40 chan_mobile.c: sco_read()<br>
13:38:40 chan_mobile.c: sco_read() error 107<br>13:38:40 chan_mobile.c: sco_write()<br>13:38:40 chan_mobile.c: sco write error 107<br>13:38:40 chan_mobile.c: sco_read()<br>13:38:40 chan_mobile.c: sco_write()<br>13:38:40 chan_mobile.c: sco write error 107<br>
13:38:40 chan_mobile.c: sco_read()<br>13:38:40 chan_mobile.c: sco_read() error 107<br>13:38:40 channel.c: Didn't get a frame from channel: Mobile/Carlos-0213<br>13:38:40 channel.c: Bridge stops bridging channels SIP/1000-0021a568 and Mobile/Carlos-0213<br>
13:38:40 channel.c: Hanging up channel 'Mobile/Carlos-0213'<br>13:38:40 chan_mobile.c: Hanging up device Carlos.<br>13:38:40 rtp.c: Channel '<unspecified>' has no RTP, not doing anything<br>13:38:40 app_dial.c: Exiting with DIALSTATUS=ANSWER.<br>
13:38:40 pbx.c: Spawn extension (from-internal,1234,2) exited non-zero on 'SIP/1000-0021a568'<br>13:38:40 ] pbx.c: == Spawn extension (from-internal, 1234, 2) exited non-zero on 'SIP/1000-0021a568'<br>13:38:40 channel.c: Soft-Hanging up channel 'SIP/1000-0021a568'<br>
13:38:40 channel.c: Hanging up channel 'SIP/1000-0021a568'<br>13:38:40 chan_sip.c: Hangup call SIP/1000-0021a568, SIP callid N2ExYWUwNGJkODAzZGMyYjBmYzQwMTY1YzgwMGQ5MWM.<br>13:38:40 chan_sip.c: Updating call counter for incoming call<br>
13:38:40 chan_sip.c: Trying to put 'BYE sip:10' onto UDP socket destined for <a href="http://192.168.0.84:27928">192.168.0.84:27928</a><br>13:38:40 devicestate.c: No provider found, checking channel drivers for Mobile - Carlos<br>
13:38:40 chan_mobile.c: Checking device state for device Carlos<br>13:38:40 devicestate.c: Changing state for Mobile/Carlos - state 1 (Not in use)<br>13:38:40 devicestate.c: device 'Mobile/Carlos' state '1'<br>
13:38:40 devicestate.c: No provider found, checking channel drivers for Mobile - Carlos<br>13:38:40 chan_mobile.c: Checking device state for device Carlos<br>13:38:40 devicestate.c: Changing state for Mobile/Carlos - state 1 (Not in use)<br>
13:38:40 devicestate.c: device 'Mobile/Carlos' state '1'<br>13:38:40 devicestate.c: No provider found, checking channel drivers for SIP - 1000<br>13:38:40 chan_sip.c: Checking device state for peer 1000<br>
13:38:40 devicestate.c: Changing state for SIP/1000 - state 1 (Not in use)<br>13:38:40 devicestate.c: device 'SIP/1000' state '1'<br>13:38:40 devicestate.c: No provider found, checking channel drivers for SIP - 1000<br>
13:38:40 chan_sip.c: Checking device state for peer 1000<br>13:38:40 devicestate.c: Changing state for SIP/1000 - state 1 (Not in use)<br>13:38:40 devicestate.c: device 'SIP/1000' state '1'<br>13:38:40 app_queue.c: Device 'Mobile/Carlos' changed to state '1' (Not in use) but we don't care because they're not a member of any queue.<br>
13:38:40 app_queue.c: Device 'Mobile/Carlos' changed to state '1' (Not in use) but we don't care because they're not a member of any queue.<br>13:38:40 app_queue.c: Device 'SIP/1000' changed to state '1' (Not in use) but we don't care because they're not a member of any queue.<br>
13:38:40 app_queue.c: Device 'SIP/1000' changed to state '1' (Not in use) but we don't care because they're not a member of any queue.<br>13:38:41 chan_sip.c: Stopping retransmission on 'N2ExYWUwNGJkODAzZGMyYjBmYzQwMTY1YzgwMGQ5MWM.' of Request 102: Match Found<br>
13:38:41 chan_sip.c: Destroying SIP dialog N2ExYWUwNGJkODAzZGMyYjBmYzQwMTY1YzgwMGQ5MWM.<br>13:39:17 chan_sip.c: Allocating new SIP dialog for <a href="mailto:6525582122c4dee623105dae29c8f54e@192.168.0.204">6525582122c4dee623105dae29c8f54e@192.168.0.204</a> - OPTIONS (No RTP)<br>
13:39:17 acl.c: Found IP address for this socket<br>13:39:17 chan_sip.c: Initializing initreq for method OPTIONS - callid <a href="mailto:21e561fe62326fbb3606dc972e9140c9@192.168.0.204">21e561fe62326fbb3606dc972e9140c9@192.168.0.204</a><br>
13:39:17 chan_sip.c: Trying to put 'OPTIONS si' onto UDP socket destined for <a href="http://192.168.0.84:27928">192.168.0.84:27928</a><br>13:39:17 chan_sip.c: Stopping retransmission on '<a href="mailto:21e561fe62326fbb3606dc972e9140c9@192.168.0.204">21e561fe62326fbb3606dc972e9140c9@192.168.0.204</a>' of Request 102: Match Found<br>
13:39:17 chan_sip.c: Destroying SIP dialog <a href="mailto:21e561fe62326fbb3606dc972e9140c9@192.168.0.204">21e561fe62326fbb3606dc972e9140c9@192.168.0.204</a><br>13:40:17 chan_sip.c: Allocating new SIP dialog for <a href="mailto:3a36fd06486a2c264101bf60396aa03d@192.168.0.204">3a36fd06486a2c264101bf60396aa03d@192.168.0.204</a> - OPTIONS (No RTP)<br>
</div>