Код: Выделить всё
exten => 1,n,MixMonitor(/var/spool/asterisk/monitor/${CDR(start)}-${DST-NUM}-${IDCALL}-full.wav,m)
exten => 1,n,Dial(SIP/${CUT(OutGW,,1)}/${CUT(DST-NUM,,1)})
Если есть идея посоветуйте.
Код: Выделить всё
exten => 1,n,MixMonitor(/var/spool/asterisk/monitor/${CDR(start)}-${DST-NUM}-${IDCALL}-full.wav,m)
exten => 1,n,Dial(SIP/${CUT(OutGW,,1)}/${CUT(DST-NUM,,1)})
Код: Выделить всё
-- Attempting call on Local/1@call for 5556@call_2:1 (Retry 1)
-- Executing [1@call:1] NoOp("Local/1@call-e341;2", "---- CALL START ----") in new stack
-- Executing [1@call:2] Set("Local/1@call-e341;2", "ID_CALL=1341391741.44736") in new stack
-- Executing [1@call:3] Set("Local/1@call-e341;2", "DST-NUM=123456") in new stack
-- Executing [1@call:4] Set("Local/1@call-e341;2", "Loop=1") in new stack
-- Executing [1@call:5] Set("Local/1@call-e341;2", "Call_VP=SIP/laba/44405") in new stack
-- Executing [1@call:6] Set("Local/1@call-e341;2", "Out_VP=laba") in new stack
-- Executing [1@call:7] Set("Local/1@call-e341;2", "Out_GW=trunk") in new stack
-- Executing [1@call:8] Set("Local/1@call-e341;2", "Phone_id=22") in new stack
-- Executing [1@call:9] Set("Local/1@call-e341;2", "Region_id=0") in new stack
-- Executing [1@call:10] Set("Local/1@call-e341;2", "Num_App=44405") in new stack
-- Executing [1@call:11] Set("Local/1@call-e341;2", "Queue=66666") in new stack
-- Executing [1@call:12] Set("Local/1@call-e341;2", "Context=call") in new stack
-- Executing [1@call:13] MixMonitor("Local/1@call-e341;2", "/var/spool/asterisk/monitor/2012-07-04 12:49:01-123456-1341391741.44736-full.wav,m") in new stack
== Begin MixMonitor Recording Local/1@call-e341;2
-- Executing [1@call:14] Dial("Local/1@call-e341;2", "SIP/trunk/123456") in new stack
== Using SIP RTP CoS mark 5
-- Called SIP/trunk/123456
-- SIP/trunk-0002c16f is making progress passing it to Local/1@call-e341;2
-- SIP/trunk-0002c16f answered Local/1@call-e341;2
> Channel Local/1@call-e341;1 was answered.