[Feb 5 04:15:00] DEBUG[9069]: config.c:851 config_text_file_load: Parsing /etc/asterisk/cellphone.conf [Feb 5 04:15:00] DEBUG[9069]: chan_cellphone.c:1184 cel_load_config: Loading device CellA. [Feb 5 04:15:00] DEBUG[9069]: channel.c:421 ast_channel_register: Registered handler for 'CELL' (Bluetooth Cellphone Driver) chan_cellphone.so => (Bluetooth Cellphone Driver) Asterisk Ready. ]Feb 5 04:15:00] DEBUG[9069]: chan_cellphone.c:651 rfcomm_write: rfcomm_write() (20) [AT+CIND=? ]Feb 5 04:15:01] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ [Feb 5 04:15:01] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [+CIND: ("battchg",(0-5)),("signal",(0-5)),("batterywarning",(0-1)),("chargerconnected",(0-1)),("service",(0-1)),("sounder",(0-1)),("message",(0-1)),("call",(0-1)),("r]am",(0-1)),("smsfull",(0-1)) ]Feb 5 04:15:01] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:15:01] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [OK ]Feb 5 04:15:01] DEBUG[9069]: chan_cellphone.c:651 rfcomm_write: rfcomm_write() (20) [AT+CIND=? ]Feb 5 04:15:01] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ [Feb 5 04:15:01] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [+CIND: ("battchg",(0-5)),("signal",(0-5)),("batterywarning",(0-1)),("chargerconnected",(0-1)),("service",(0-1)),("sounder",(0-1)),("message",(0-1)),("call",(0-1)),("r]am",(0-1)),("smsfull",(0-1)) [Feb 5 04:15:01] DEBUG[9069]: chan_cellphone.c:863 do_monitor: CIEV_CALL=8 CIEV_CALLSETUP=0 ]Feb 5 04:15:01] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:15:01] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [OK ]Feb 5 04:15:01] DEBUG[9069]: chan_cellphone.c:651 rfcomm_write: rfcomm_write() (20) [AT+CIND? ]Feb 5 04:15:01] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:15:01] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [+CIND: 4,5,0,0,1,1,0,0,0,0 ]Feb 5 04:15:01] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:15:01] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [OK ]Feb 5 04:15:01] DEBUG[9069]: chan_cellphone.c:651 rfcomm_write: rfcomm_write() (20) [AT+CMER=3,0,0,1 ]Feb 5 04:15:01] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:15:01] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [OK ]Feb 5 04:15:01] DEBUG[9069]: chan_cellphone.c:651 rfcomm_write: rfcomm_write() (20) [AT+CLIP=1 ]Feb 5 04:15:02] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:15:02] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [OK ]Feb 5 04:15:02] DEBUG[9069]: chan_cellphone.c:651 rfcomm_write: rfcomm_write() (20) [AT+VGS=7 ]Feb 5 04:15:02] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:15:02] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [OK [Feb 5 04:15:02] DEBUG[9069]: chan_cellphone.c:895 do_monitor: Device CellA online and ready. ]Feb 5 04:15:12] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:15:12] DEBUG[9069]: chan_cellphone.c:900 do_monitor: Device 00:0F:DE:2A:C1:4C CellA [ ]Feb 5 04:15:12] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [+CIEV: 6,0 ]Feb 5 04:15:12] DEBUG[9069]: chan_cellphone.c:900 do_monitor: Device 00:0F:DE:2A:C1:4C CellA [+CIEV: 6,0 ]Feb 5 04:15:13] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:15:13] DEBUG[9069]: chan_cellphone.c:900 do_monitor: Device 00:0F:DE:2A:C1:4C CellA [ ]Feb 5 04:15:13] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [RING ]Feb 5 04:15:13] DEBUG[9069]: chan_cellphone.c:900 do_monitor: Device 00:0F:DE:2A:C1:4C CellA [RING ]Feb 5 04:15:13] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:15:13] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [+CLIP: "12345678",161,,,"" ]Feb 5 04:15:16] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:15:16] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [RING [Feb 5 04:15:16] DEBUG[9069]: pbx.c:1693 pbx_extension_helper: Launching 'Wait' ]Feb 5 04:15:16] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:15:16] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [+CLIP: "12345678",161,,,"" [Feb 5 04:15:17] DEBUG[9069]: pbx.c:1693 pbx_extension_helper: Launching 'Answer' ]Feb 5 04:15:17] DEBUG[9069]: chan_cellphone.c:651 rfcomm_write: rfcomm_write() (20) [ATA [Feb 5 04:15:17] DEBUG[9069]: pbx.c:1693 pbx_extension_helper: Launching 'Set' [Feb 5 04:15:17] DEBUG[9069]: pbx.c:1693 pbx_extension_helper: Launching 'Set' [Feb 5 04:15:17] DEBUG[9069]: pbx.c:1693 pbx_extension_helper: Launching 'BackGround' [Feb 5 04:15:17] DEBUG[9069]: channel.c:2755 set_format: Set channel CELL/CellA-c192 to write format gsm [Feb 5 04:15:17] DEBUG[9069]: chan_cellphone.c:595 cel_devicestate: Checking device state for device CellA [Feb 5 04:15:17] DEBUG[9069]: app_queue.c:568 changethread: Device 'CELL/CellA' changed to state '2' (In use) but we don't care because they're not a member of any queue. [Feb 5 04:15:17] DEBUG[9069]: sched.c:205 sched_settime: Request to schedule in the past?!?! [Feb 5 04:15:17] DEBUG[9069]: sched.c:205 sched_settime: Request to schedule in the past?!?! ]Feb 5 04:15:17] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:15:17] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [OK [Feb 5 04:15:17] DEBUG[9069]: chan_cellphone.c:1134 do_sco_listen: Incoming Audio Connection from device 00:0F:DE:2A:C1:4C [Feb 5 04:15:17] DEBUG[9069]: chan_cellphone.c:1149 do_sco_listen: Set Audio Connection fd OK. ]Feb 5 04:15:18] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:15:18] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [+CIEV: 6,1 ]Feb 5 04:15:18] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:15:18] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [+CIEV: 8,1 ]Feb 5 04:15:45] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:15:45] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [+CIEV: 2,4 [Feb 5 04:15:45] DEBUG[9069]: channel.c:2755 set_format: Set channel CELL/CellA-c192 to write format slin [Feb 5 04:15:45] DEBUG[9069]: pbx.c:1693 pbx_extension_helper: Launching 'BackGround' [Feb 5 04:15:45] DEBUG[9069]: channel.c:2755 set_format: Set channel CELL/CellA-c192 to write format gsm ]Feb 5 04:15:51] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:15:51] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [+CIEV: 2,5 ]Feb 5 04:15:51] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:15:51] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [+CIEV: 2,4 ]Feb 5 04:15:52] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:15:52] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [+CIEV: 2,5 ]Feb 5 04:15:52] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:15:52] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [+CIEV: 2,4 ]Feb 5 04:15:53] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:15:53] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [+CIEV: 2,5 ]Feb 5 04:16:06] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:16:06] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [+CIEV: 2,4 ]Feb 5 04:16:06] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:16:06] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [+CIEV: 2,5 ]Feb 5 04:16:22] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:16:22] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [+CIEV: 2,4 ]Feb 5 04:16:22] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:16:22] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [+CIEV: 2,5 ]Feb 5 04:16:24] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:16:24] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [+CIEV: 2,4 ]Feb 5 04:16:25] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:16:25] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [+CIEV: 2,5 ]Feb 5 04:16:27] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:16:27] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [+CIEV: 2,4 ]Feb 5 04:16:28] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:16:28] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [+CIEV: 2,5 [Feb 5 04:16:32] DEBUG[9069]: sched.c:205 sched_settime: Request to schedule in the past?!?! ]Feb 5 04:16:32] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:16:32] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [+CIEV: 8,0 [Feb 5 04:16:32] DEBUG[9069]: channel.c:2755 set_format: Set channel CELL/CellA-c192 to write format slin [Feb 5 04:16:32] DEBUG[9069]: pbx.c:2289 __ast_pbx_run: Spawn extension (default,s,6) exited non-zero on 'CELL/CellA-c192' [Feb 5 04:16:32] DEBUG[9069]: pbx.c:1543 pbx_substitute_variables_helper_full: Function result is '"CellA" <12345678",161,,,">' [Feb 5 04:16:32] DEBUG[9069]: pbx.c:1543 pbx_substitute_variables_helper_full: Function result is '12345678",161,,,"' [Feb 5 04:16:32] DEBUG[9069]: pbx.c:1543 pbx_substitute_variables_helper_full: Function result is 's' [Feb 5 04:16:32] DEBUG[9069]: pbx.c:1543 pbx_substitute_variables_helper_full: Function result is 'default' [Feb 5 04:16:32] DEBUG[9069]: pbx.c:1543 pbx_substitute_variables_helper_full: Function result is 'CELL/CellA-c192' [Feb 5 04:16:32] DEBUG[9069]: pbx.c:1543 pbx_substitute_variables_helper_full: Function result is '' [Feb 5 04:16:32] DEBUG[9069]: pbx.c:1543 pbx_substitute_variables_helper_full: Function result is 'BackGround' [Feb 5 04:16:32] DEBUG[9069]: pbx.c:1543 pbx_substitute_variables_helper_full: Function result is 'demo-instruct' [Feb 5 04:16:32] DEBUG[9069]: pbx.c:1543 pbx_substitute_variables_helper_full: Function result is '2007-02-05 04:15:16' [Feb 5 04:16:32] DEBUG[9069]: pbx.c:1543 pbx_substitute_variables_helper_full: Function result is '2007-02-05 04:15:17' [Feb 5 04:16:32] DEBUG[9069]: pbx.c:1543 pbx_substitute_variables_helper_full: Function result is '2007-02-05 04:16:32' [Feb 5 04:16:32] DEBUG[9069]: pbx.c:1543 pbx_substitute_variables_helper_full: Function result is '76' [Feb 5 04:16:32] DEBUG[9069]: pbx.c:1543 pbx_substitute_variables_helper_full: Function result is '75' [Feb 5 04:16:32] DEBUG[9069]: pbx.c:1543 pbx_substitute_variables_helper_full: Function result is 'ANSWERED' [Feb 5 04:16:32] DEBUG[9069]: pbx.c:1543 pbx_substitute_variables_helper_full: Function result is 'DOCUMENTATION' [Feb 5 04:16:32] DEBUG[9069]: pbx.c:1543 pbx_substitute_variables_helper_full: Function result is '' [Feb 5 04:16:32] DEBUG[9069]: pbx.c:1543 pbx_substitute_variables_helper_full: Function result is '1170645316.0' [Feb 5 04:16:32] DEBUG[9069]: pbx.c:1543 pbx_substitute_variables_helper_full: Function result is '' [Feb 5 04:16:32] DEBUG[9069]: channel.c:1589 ast_hangup: Hanging up channel 'CELL/CellA-c192' [Feb 5 04:16:32] DEBUG[9069]: chan_cellphone.c:402 cel_hangup: Hanging up device CellA. ]Feb 5 04:16:32] DEBUG[9069]: chan_cellphone.c:651 rfcomm_write: rfcomm_write() (20) [AT+CHUP [Feb 5 04:16:32] DEBUG[9069]: chan_cellphone.c:595 cel_devicestate: Checking device state for device CellA [Feb 5 04:16:32] DEBUG[9069]: chan_cellphone.c:595 cel_devicestate: Checking device state for device CellA [Feb 5 04:16:32] DEBUG[9069]: app_queue.c:568 changethread: Device 'CELL/CellA' changed to state '1' (Not in use) but we don't care because they're not a member of any queue. [Feb 5 04:16:32] DEBUG[9069]: app_queue.c:568 changethread: Device 'CELL/CellA' changed to state '1' (Not in use) but we don't care because they're not a member of any queue. ]Feb 5 04:16:33] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:16:33] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [OK ]Feb 5 04:16:33] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:16:33] DEBUG[9069]: chan_cellphone.c:900 do_monitor: Device 00:0F:DE:2A:C1:4C CellA [ ]Feb 5 04:16:33] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [+CIEV: 2,4 ]Feb 5 04:16:33] DEBUG[9069]: chan_cellphone.c:900 do_monitor: Device 00:0F:DE:2A:C1:4C CellA [+CIEV: 2,4 ]Feb 5 04:16:35] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [ ]Feb 5 04:16:35] DEBUG[9069]: chan_cellphone.c:900 do_monitor: Device 00:0F:DE:2A:C1:4C CellA [ ]Feb 5 04:16:35] DEBUG[9069]: chan_cellphone.c:826 do_monitor: rfcomm_read() (20) [+CIEV: 2,5 ]Feb 5 04:16:35] DEBUG[9069]: chan_cellphone.c:900 do_monitor: Device 00:0F:DE:2A:C1:4C CellA [+CIEV: 2,5