Наконец добрался до диалплана.
Что-то здесь явно не работает. После отзвона, цикл ограничивающий кол-во попыток "криворуких" быстро пробегает... и все. Со звуковыми файлами разберусь позже, не думаю что это зависит от него
Код: Выделить всё
== Using SIP RTP CoS mark 5
> Channel SIP/multifon-00000007 was answered.
-- Executing [s@mera-callback-out2:1] Answer("SIP/multifon-00000007", "") in new stack
-- Executing [s@mera-callback-out2:2] Set("SIP/multifon-00000007", "Prohod=0") in new stack
-- Executing [s@mera-callback-out2:3] Wait("SIP/multifon-00000007", "1") in new stack
-- Executing [s@mera-callback-out2:4] Read("SIP/multifon-00000007", "EXT,callback/priglash,18,,,5") in new stack
-- Accepting a maximum of 18 digits.
[Aug 8 12:28:33] WARNING[1601]: file.c:663 ast_openstream_full: File callback/priglash does not exist in any format
[Aug 8 12:28:33] WARNING[1601]: file.c:958 ast_streamfile: Unable to open callback/priglash (format 0x4 (ulaw)): No such file or directory
-- User disconnected
-- Executing [s@mera-callback-out2:5] Set("SIP/multifon-00000007", "Prohod=1.000000") in new stack
-- Executing [s@mera-callback-out2:6] GotoIf("SIP/multifon-00000007", "0?t,1") in new stack
-- Executing [s@mera-callback-out2:7] GotoIf("SIP/multifon-00000007", "0?,1:i,1") in new stack
-- Goto (mera-callback-out2,i,1)
-- Executing [i@mera-callback-out2:1] Playback("SIP/multifon-00000007", "bad_nom") in new stack
[Aug 8 12:28:33] WARNING[1601]: file.c:663 ast_openstream_full: File bad_nom does not exist in any format
[Aug 8 12:28:33] WARNING[1601]: file.c:958 ast_streamfile: Unable to open bad_nom (format 0x4 (ulaw)): No such file or directory
[Aug 8 12:28:33] WARNING[1601]: app_playback.c:475 playback_exec: ast_streamfile failed on SIP/multifon-00000007 for bad_nom
-- Executing [i@mera-callback-out2:2] Goto("SIP/multifon-00000007", "mera-callback-out2,s,nach") in new stack
-- Goto (mera-callback-out2,s,4)
-- Executing [s@mera-callback-out2:4] Read("SIP/multifon-00000007", "EXT,callback/priglash,18,,,5") in new stack
-- Accepting a maximum of 18 digits.
[Aug 8 12:28:33] WARNING[1601]: file.c:663 ast_openstream_full: File callback/priglash does not exist in any format
[Aug 8 12:28:33] WARNING[1601]: file.c:958 ast_streamfile: Unable to open callback/priglash (format 0x4 (ulaw)): No such file or directory
-- User disconnected
-- Executing [s@mera-callback-out2:5] Set("SIP/multifon-00000007", "Prohod=2.000000") in new stack
-- Executing [s@mera-callback-out2:6] GotoIf("SIP/multifon-00000007", "0?t,1") in new stack
-- Executing [s@mera-callback-out2:7] GotoIf("SIP/multifon-00000007", "0?,1:i,1") in new stack
-- Goto (mera-callback-out2,i,1)
-- Executing [i@mera-callback-out2:1] Playback("SIP/multifon-00000007", "bad_nom") in new stack
[Aug 8 12:28:33] WARNING[1601]: file.c:663 ast_openstream_full: File bad_nom does not exist in any format
[Aug 8 12:28:33] WARNING[1601]: file.c:958 ast_streamfile: Unable to open bad_nom (format 0x4 (ulaw)): No such file or directory
[Aug 8 12:28:33] WARNING[1601]: app_playback.c:475 playback_exec: ast_streamfile failed on SIP/multifon-00000007 for bad_nom
-- Executing [i@mera-callback-out2:2] Goto("SIP/multifon-00000007", "mera-callback-out2,s,nach") in new stack
-- Goto (mera-callback-out2,s,4)
-- Executing [s@mera-callback-out2:4] Read("SIP/multifon-00000007", "EXT,callback/priglash,18,,,5") in new stack
-- Accepting a maximum of 18 digits.
[Aug 8 12:28:33] WARNING[1601]: file.c:663 ast_openstream_full: File callback/priglash does not exist in any format
[Aug 8 12:28:33] WARNING[1601]: file.c:958 ast_streamfile: Unable to open callback/priglash (format 0x4 (ulaw)): No such file or directory
-- User disconnected
-- Executing [s@mera-callback-out2:5] Set("SIP/multifon-00000007", "Prohod=3.000000") in new stack
-- Executing [s@mera-callback-out2:6] GotoIf("SIP/multifon-00000007", "0?t,1") in new stack
-- Executing [s@mera-callback-out2:7] GotoIf("SIP/multifon-00000007", "0?,1:i,1") in new stack
-- Goto (mera-callback-out2,i,1)
-- Executing [i@mera-callback-out2:1] Playback("SIP/multifon-00000007", "bad_nom") in new stack
[Aug 8 12:28:33] WARNING[1601]: file.c:663 ast_openstream_full: File bad_nom does not exist in any format
[Aug 8 12:28:33] WARNING[1601]: file.c:958 ast_streamfile: Unable to open bad_nom (format 0x4 (ulaw)): No such file or directory
[Aug 8 12:28:33] WARNING[1601]: app_playback.c:475 playback_exec: ast_streamfile failed on SIP/multifon-00000007 for bad_nom
-- Executing [i@mera-callback-out2:2] Goto("SIP/multifon-00000007", "mera-callback-out2,s,nach") in new stack
-- Goto (mera-callback-out2,s,4)
-- Executing [s@mera-callback-out2:4] Read("SIP/multifon-00000007", "EXT,callback/priglash,18,,,5") in new stack
-- Accepting a maximum of 18 digits.
[Aug 8 12:28:33] WARNING[1601]: file.c:663 ast_openstream_full: File callback/priglash does not exist in any format
[Aug 8 12:28:33] WARNING[1601]: file.c:958 ast_streamfile: Unable to open callback/priglash (format 0x4 (ulaw)): No such file or directory
-- User disconnected
-- Executing [s@mera-callback-out2:5] Set("SIP/multifon-00000007", "Prohod=4.000000") in new stack
-- Executing [s@mera-callback-out2:6] GotoIf("SIP/multifon-00000007", "0?t,1") in new stack
-- Executing [s@mera-callback-out2:7] GotoIf("SIP/multifon-00000007", "0?,1:i,1") in new stack
-- Goto (mera-callback-out2,i,1)
-- Executing [i@mera-callback-out2:1] Playback("SIP/multifon-00000007", "bad_nom") in new stack
[Aug 8 12:28:33] WARNING[1601]: file.c:663 ast_openstream_full: File bad_nom does not exist in any format
[Aug 8 12:28:33] WARNING[1601]: file.c:958 ast_streamfile: Unable to open bad_nom (format 0x4 (ulaw)): No such file or directory
[Aug 8 12:28:33] WARNING[1601]: app_playback.c:475 playback_exec: ast_streamfile failed on SIP/multifon-00000007 for bad_nom
-- Executing [i@mera-callback-out2:2] Goto("SIP/multifon-00000007", "mera-callback-out2,s,nach") in new stack
-- Goto (mera-callback-out2,s,4)
-- Executing [s@mera-callback-out2:4] Read("SIP/multifon-00000007", "EXT,callback/priglash,18,,,5") in new stack
-- Accepting a maximum of 18 digits.
[Aug 8 12:28:33] WARNING[1601]: file.c:663 ast_openstream_full: File callback/priglash does not exist in any format
[Aug 8 12:28:33] WARNING[1601]: file.c:958 ast_streamfile: Unable to open callback/priglash (format 0x4 (ulaw)): No such file or directory
-- User disconnected
-- Executing [s@mera-callback-out2:5] Set("SIP/multifon-00000007", "Prohod=5.000000") in new stack
-- Executing [s@mera-callback-out2:6] GotoIf("SIP/multifon-00000007", "0?t,1") in new stack
-- Executing [s@mera-callback-out2:7] GotoIf("SIP/multifon-00000007", "0?,1:i,1") in new stack
-- Goto (mera-callback-out2,i,1)
-- Executing [i@mera-callback-out2:1] Playback("SIP/multifon-00000007", "bad_nom") in new stack
[Aug 8 12:28:33] WARNING[1601]: file.c:663 ast_openstream_full: File bad_nom does not exist in any format
[Aug 8 12:28:33] WARNING[1601]: file.c:958 ast_streamfile: Unable to open bad_nom (format 0x4 (ulaw)): No such file or directory
[Aug 8 12:28:33] WARNING[1601]: app_playback.c:475 playback_exec: ast_streamfile failed on SIP/multifon-00000007 for bad_nom
-- Executing [i@mera-callback-out2:2] Goto("SIP/multifon-00000007", "mera-callback-out2,s,nach") in new stack
-- Goto (mera-callback-out2,s,4)
-- Executing [s@mera-callback-out2:4] Read("SIP/multifon-00000007", "EXT,callback/priglash,18,,,5") in new stack
-- Accepting a maximum of 18 digits.
[Aug 8 12:28:33] WARNING[1601]: file.c:663 ast_openstream_full: File callback/priglash does not exist in any format
[Aug 8 12:28:33] WARNING[1601]: file.c:958 ast_streamfile: Unable to open callback/priglash (format 0x4 (ulaw)): No such file or directory
-- User disconnected
-- Executing [s@mera-callback-out2:5] Set("SIP/multifon-00000007", "Prohod=6.000000") in new stack
-- Executing [s@mera-callback-out2:6] GotoIf("SIP/multifon-00000007", "1?t,1") in new stack
-- Goto (mera-callback-out2,t,1)
-- Executing [t@mera-callback-out2:1] Playback("SIP/multifon-00000007", "timeout") in new stack
[Aug 8 12:28:33] WARNING[1601]: file.c:663 ast_openstream_full: File timeout does not exist in any format
[Aug 8 12:28:33] WARNING[1601]: file.c:958 ast_streamfile: Unable to open timeout (format 0x4 (ulaw)): No such file or directory
[Aug 8 12:28:33] WARNING[1601]: app_playback.c:475 playback_exec: ast_streamfile failed on SIP/multifon-00000007 for timeout
-- Executing [t@mera-callback-out2:2] Hangup("SIP/multifon-00000007", "") in new stack
== Spawn extension (mera-callback-out2, t, 2) exited non-zero on 'SIP/multifon-00000007'
[Aug 8 12:28:33] NOTICE[1601]: pbx_spool.c:366 attempt_thread: Call completed to SIP/multifon/79251891044
i-peak*CLI>