у вас в одном месте
Код: Выделить всё
exten => _NXXXXX,1,Dial(SIP/kamailio-callback/${EXTEN},60)
Код: Выделить всё
== Using SIP RTP CoS mark 5
> Channel SIP/multifon-0000004e was answered.
-- Executing [s@mera-callback-out2:1] Answer("SIP/multifon-0000004e", "") in new stack
-- Executing [s@mera-callback-out2:2] Set("SIP/multifon-0000004e", "Prohod=0") in new stack
-- Executing [s@mera-callback-out2:3] Wait("SIP/multifon-0000004e", "1") in new stack
-- Executing [s@mera-callback-out2:4] Read("SIP/multifon-0000004e", "EXT,callback/priglash,18,,,5") in new stack
-- Accepting a maximum of 18 digits.
-- <SIP/multifon-0000004e> Playing 'callback/priglash.ulaw' (language 'ru')
-- User entered '74956486810'
-- Executing [s@mera-callback-out2:5] Set("SIP/multifon-0000004e", "Prohod=1.000000") in new stack
-- Executing [s@mera-callback-out2:6] GotoIf("SIP/multifon-0000004e", "0?t,1") in new stack
-- Executing [s@mera-callback-out2:7] GotoIf("SIP/multifon-0000004e", "1?74956486810,1:i,1") in new stack
-- Goto (mera-callback-out2,74956486810,1)
-- Executing [74956486810@mera-callback-out2:1] Dial("SIP/multifon-0000004e", "SIP/74956486810,60") in new stack
[Aug 9 14:32:03] WARNING[3477]: chan_sip.c:5475 create_addr: Purely numeric hostname (74956486810), and not a peer--rejecting!
[Aug 9 14:32:03] WARNING[3477]: app_dial.c:2341 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [74956486810@mera-callback-out2:2] Set("SIP/multifon-0000004e", "CALLBACK_EXTEN=74956486810") in new stack
-- Executing [74956486810@mera-callback-out2:3] NoOp("SIP/multifon-0000004e", "DIALSTATUS: CHANUNAVAIL") in new stack
-- Executing [74956486810@mera-callback-out2:4] Goto("SIP/multifon-0000004e", "s-CHANUNAVAIL,1") in new stack
-- Goto (mera-callback-out2,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@mera-callback-out2:1] Goto("SIP/multifon-0000004e", "hz,1") in new stack
-- Goto (mera-callback-out2,hz,1)
-- Executing [hz@mera-callback-out2:1] Playback("SIP/multifon-0000004e", "callback/chanuval") in new stack
-- <SIP/multifon-0000004e> Playing 'callback/chanuval.ulaw' (language 'ru')
-- Executing [hz@mera-callback-out2:2] Goto("SIP/multifon-0000004e", "mera-callback-menu,s,1") in new stack
-- Goto (mera-callback-menu,s,1)
-- Executing [s@mera-callback-menu:1] BackGround("SIP/multifon-0000004e", "callback/menu") in new stack
-- <SIP/multifon-0000004e> Playing 'callback/menu.ulaw' (language 'ru')
== Spawn extension (mera-callback-menu, s, 1) exited non-zero on 'SIP/multifon-0000004e'
[Aug 9 14:32:08] NOTICE[3477]: pbx_spool.c:373 attempt_thread: Call completed to SIP/multifon/79251891044