[Asterisk-Dev] chan_bluetooth

Richard lists at keep-trying.com
Fri Apr 29 13:43:08 MST 2005


Thanks for information. Altered the bluetooth.c as follows:

   } else if (dev->role == BLT_ROLE_AG) {

     send_atcmd(dev, "AT+CMEE=1; D%s;", dev->dnid);

   } else {

Recompiled, restarted Asterisk and made a call.
This time dialed out and call was made. Conversation
went without problem and quality was fine (no echo,etc)

However once one call has been made it is no longer
possible to make any more calls. Asterisk sends the start
dial command but that is it. (see log below). It is necessary
to restart it before you can continue. Is this the race problem
which has been mentioned before?

  [AG] Nokia6310i > OK
     -- Executing Dial("SIP/handy-286-6a21", 
"BLT/Nokia6310i/0163746736|60|tr") in new stack
  [AG] Nokia6310i < AT+CMEE=1; D0134692636;
     -- Called Nokia6310i
  [AG] Nokia6310i > OK
  [AG] Nokia6310i > +CIEV: 3,2
  [AG] Nokia6310i > +CIEV: 3,3
  [AG] Nokia6310i > +CIEV: 1,1
     -- BLT/Nokia6310i answered SIP/handy-286-6a21
  [AG] Nokia6310i > +CIEV: 3,0
  [AG] Nokia6310i < AT+CHUP
   == Spawn extension (home, 6012342343, 1) exited non-zero on 
'SIP/handy-286-6a21'
Apr 29 21:17:49 NOTICE[28019]:
/usr/src/asterisk.blue/channels/chan_bluetooth/chan_bluetooth.c2530 
rd_close: Device Nokia6310i disconnected, scheduled reconnect in 5 seconds: 
Connection reset by peer (errno 104)

-- Executing Dial("SIP/handy-286-86c4", 
"BLT/Nokia6310i/084513423492|60|tr") in new stack




More information about the asterisk-dev mailing list