linux*CLI> linux*CLI> P[ 1] set_channel: bc->channel:0 channel:1 P[ 1] I IND :NEW_CHANNEL oad:3812220372 dad:3812269980 pid:2 state:none P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad: P[ 1] --> info_dad: onumplan:2 dnumplan:2 rnumplan: cpnnumplan:0 P[ 1] --> caps:Audio 3.1k pi:0 keypad: sending_complete:1 P[ 1] Chan not existing at the moment bc->l3id:2000a bc:0x82190c0 event:NEW_CHANNEL port:1 channel:1 P[ 1] NO USERUESRINFO P[ 1] --> found chan (preselected): 1 P[ 1] I IND :SETUP oad:3812220372 dad:3812269980 pid:2 state:none P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad: P[ 1] --> info_dad: onumplan:2 dnumplan:2 rnumplan: cpnnumplan:0 P[ 1] --> caps:Audio 3.1k pi:3 keypad: sending_complete:1 P[ 1] --> Bearer: Audio 3.1k P[ 1] --> Codec: Alaw P[ 1] --> Bearer: Audio 3.1k P[ 1] --> Codec: Alaw P[ 0] --> * NEW CHANNEL dad:3812269980 oad:3812220372 P[ 1] read_config: Getting Config P[ 1] --> CTON: Unknown P[ 1] --> EXPORT_PID: pid:2 P[ 1] --> PRES: Restricted (0) P[ 1] --> SCREEN: Unscreened (0) P[ 1] I SEND:PROCEEDING oad:83812220372 dad:83812269980 pid:2 P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad: P[ 1] --> info_dad: onumplan:2 dnumplan:2 rnumplan: cpnnumplan:0 P[ 1] --> caps:Audio 3.1k pi:3 keypad: sending_complete:1 -- Executing [83812269980@misdn:1] Playback("mISDN/1-u0", "beep") in new stack P[ 1] * ANSWER: P[ 1] --> Connection is without BF encryption P[ 1] --> None P[ 1] --> empty cad using dad P[ 1] I SEND:CONNECT oad:83812220372 dad:83812269980 pid:2 P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:83812269980 P[ 1] --> info_dad: onumplan:2 dnumplan:2 rnumplan: cpnnumplan:0 P[ 1] --> caps:Audio 3.1k pi:3 keypad: sending_complete:1 P[ 1] MGMT: SSTATUS: L2_ESTABLISH P[ 1] --> TRANSPARENT Mode P[ 1] I IND :CONNECT_ACKNOWLEDGE oad:83812220372 dad:83812269980 pid:2 state:CONNECTED P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:83812269980 P[ 1] --> info_dad: onumplan:2 dnumplan:2 rnumplan: cpnnumplan:0 P[ 1] --> caps:Audio 3.1k pi:3 keypad: sending_complete:1 P[ 1] BCHAN: bchan ACT Confirm pid:2 -- Playing 'beep.gsm' (language 'en') P[ 1] * IND : ringing pid:2 P[ 1] --> * IND : ringing pid:2 but Connected, so just send TONE_ALERTING without state changes -- Executing [83812269980@misdn:2] Ringing("mISDN/1-u0", "") in new stack -- Executing [83812269980@misdn:3] Set("mISDN/1-u0", "CALLERID(number)=83812220372") in new stack -- Executing [83812269980@misdn:4] GotoIf("mISDN/1-u0", "0?6:5") in new stack -- Goto (misdn,83812269980,5) -- Executing [83812269980@misdn:5] Goto("mISDN/1-u0", "incoming,83812269980,1") in new stack -- Goto (incoming,83812269980,1) -- Executing [83812269980@incoming:1] AGI("mISDN/1-u0", "pbx/incoming.php,83812220372,83812269980") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/pbx/incoming.php -- AGI Script pbx/incoming.php completed, returning 0 -- Executing [83812269980@incoming:2] Macro("mISDN/1-u0", "debug,0") in new stack -- Executing [s@macro-debug:1] GotoIf("mISDN/1-u0", "0?2:100") in new stack -- Goto (macro-debug,s,100) -- Executing [83812269980@incoming:3] Set("mISDN/1-u0", "CALLERID(number)=220372") in new stack -- Executing [83812269980@incoming:4] Goto("mISDN/1-u0", "office-calls,101*4,1") in new stack -- Goto (office-calls,101*4,1) -- Executing [101*4@office-calls:1] NoOp("mISDN/1-u0", "") in new stack -- Executing [101*4@office-calls:2] Set("mISDN/1-u0", "ALERT_INFO=Bellcore-dr3") in new stack -- Executing [101*4@office-calls:3] Dial("mISDN/1-u0", "SIP/101,30,tTm") in new stack == Using TOS bits 40 == Using CoS mark 6 == Using TOS bits 136 == Using CoS mark 5 == Using TOS bits 40 == Using CoS mark 6 P[ 1] --> * IND : progress pid:2 P[ 1] I SEND:PROGRESS oad:83812220372 dad:83812269980 pid:2 P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:83812269980 P[ 1] --> info_dad: onumplan:2 dnumplan:2 rnumplan: cpnnumplan:0 P[ 1] --> caps:Audio 3.1k pi:3 keypad: sending_complete:1 -- Called 101 -- Started music on hold, class 'default', on mISDN/1-u0 P[ 1] I IND :STATUS oad:83812220372 dad:83812269980 pid:2 state:CONNECTED P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:83812269980 P[ 1] --> info_dad: onumplan:2 dnumplan:2 rnumplan: cpnnumplan:0 P[ 1] --> caps:Audio 3.1k pi:3 keypad: sending_complete:1 -- SIP/101-082e9b48 is ringing --- set_address_from_contact host '192.168.32.125' -- SIP/101-082e9b48 answered mISDN/1-u0 -- Stopped music on hold on mISDN/1-u0 P[ 1] * IND : HANGUP pid:2 ctx:office-calls dad:h oad:220372 State:CONNECTED P[ 1] --> l3id:2000a P[ 1] --> cause:16 P[ 1] --> out_cause:16 P[ 1] --> state:CONNECTED P[ 1] I SEND:DISCONNECT oad:83812220372 dad:83812269980 pid:2 P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:83812269980 P[ 1] --> info_dad: onumplan:2 dnumplan:2 rnumplan: cpnnumplan:0 P[ 1] --> caps:Audio 3.1k pi:3 keypad: sending_complete:1 == Spawn extension (office-calls, 101*4, 3) exited non-zero on 'mISDN/1-u0' -- Executing [h@office-calls:1] Hangup("mISDN/1-u0", "") in new stack == Spawn extension (office-calls, h, 1) exited non-zero on 'mISDN/1-u0' P[ 1] --> Channel: mISDN/1-u0 hanguped new state:CLEANING P[ 1] I IND :RELEASE oad:83812220372 dad:83812269980 pid:2 state:CLEANING P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:83812269980 P[ 1] --> info_dad: onumplan:2 dnumplan:2 rnumplan: cpnnumplan:0 P[ 1] --> caps:Audio 3.1k pi:3 keypad: sending_complete:1 P[ 1] ast_hangup already called, so we have no ast ptr anymore in event(RELEASE) P[ 1] --> No need to queue hangup P[ 1] Cannot hangup chan, no ast P[ 1] I SEND:RELEASE_COMPLETE oad:83812220372 dad:83812269980 pid:2 P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:83812269980 P[ 1] --> info_dad: onumplan:2 dnumplan:2 rnumplan: cpnnumplan:0 P[ 1] --> caps:Audio 3.1k pi:3 keypad: sending_complete:1 P[ 1] $$$ CLEANUP CALLED pid:2 P[ 1] $$$ Cleaning up bc with stid :10010100 pid:2 P[ 1] Sending Control ECHOCAN_OFF P[ 1] $$$ CLEANUP CALLED pid:2 P[ 1] BCHAN: MGR_DELLAYER|CNF pid:2 linux*CLI> linux*CLI>