вот сделал простой dialplan поведение такое же.
Код: Выделить всё
 == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [1000@from-internal:1] NoOp("SIP/102-0000002c", "CallingFXO501") in new stack
    -- Executing [1000@from-internal:2] Dial("SIP/102-0000002c", "DAHDI/g0/222") in new stack
    -- Called DAHDI/g0/222
    -- DAHDI/1-1 answered SIP/102-0000002c
    -- Channel DAHDI/1-1 joined 'simple_bridge' basic-bridge <1b023212-70e1-49fd-af69-8dbbf4aa9e5e>
    -- Channel SIP/102-0000002c joined 'simple_bridge' basic-bridge <1b023212-70e1-49fd-af69-8dbbf4aa9e5e>
       > 0x7f7394021b70 -- Probation passed - setting RTP source address to xx.xx.xx.xx:40024
    -- Channel DAHDI/1-1 left 'simple_bridge' basic-bridge <1b023212-70e1-49fd-af69-8dbbf4aa9e5e>
    -- Channel SIP/102-0000002c left 'simple_bridge' basic-bridge <1b023212-70e1-49fd-af69-8dbbf4aa9e5e>
  == Spawn extension (from-internal, 1000, 2) exited non-zero on 'SIP/102-0000002c'
    -- Executing [h@from-internal:1] Macro("SIP/102-0000002c", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/102-0000002c", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [s@macro-hangupcall:3] ExecIf("SIP/102-0000002c", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [s@macro-hangupcall:4] Hangup("SIP/102-0000002c", "") in new stack
  == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/102-0000002c' in macro 'hangupcall'
  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/102-0000002c'
    -- Hanging up on 'DAHDI/1-1'
    -- Hungup 'DAHDI/1-1'

