Re: Проблема с DTMF при донаборе
DTMF debug включил.
звоню с софтфона он пишет дебаги:
Apr 9 18:05:18 DTMF[319]: channel.c:2350 ast_write: Zap/1-1 : 2
при звонке с города дебагов нет. лог:
-- Accepting call from '8812ХХХХХХХ' to '3ХХХХХХ' on channel 0/3, span 1
-- Executing Goto("Zap/3-1", "mgmn-pin|s|1") in new stack
-- Goto (mgmn-pin,s,1)
-- Executing Answer("Zap/3-1", "") in new stack
-- Executing Set("Zap/3-1", "COUNT=0") in new stack
-- Executing GotoIf("Zap/3-1", "1?10:20") in new stack
-- Goto (mgmn-pin,s,10)
-- Executing BackGround("Zap/3-1", "/home/customers/common/sounds/enterpin") in new stack
-- Playing '/home/customers/common/sounds/enterpin' (language 'en')
-- Executing Set("Zap/3-1", "COUNT=1") in new stack
-- Executing Read("Zap/3-1", "PIN||8") in new stack
-- Accepting a maximum of 8 digits.
-- User entered '2653253'
-- Executing GotoIf("Zap/3-1", "0?3:30") in new stack
-- Goto (mgmn-pin,s,30)
-- Executing NoOp("Zap/3-1", "PIN: 2653253") in new stack
-- Executing AGI("Zap/3-1", "mgmn_pin_init.agi|2653253") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/mgmn_pin_init.agi
mgmn_pin_init.agi|2653153: >>>> Incoming call, pin: 2653153, clid: 8812ХХХХХХХ
mgmn_pin_init.agi|2653153: >>>> Pin 2653153 is not found at mn_clids
-- AGI Script mgmn_pin_init.agi completed, returning 0
-- Executing BackGround("Zap/3-1", "/home/customers/common/sounds/badpin") in new stack
-- Playing '/home/customers/common/sounds/badpin' (language 'en')
Apr 9 17:45:28 WARNING[32348]: pbx.c:2424 __ast_pbx_run: Invalid extension '4', but no rule 'i' in context 'mgmn-pin'
-- Hungup 'Zap/3-1'
Пин восьмизначный, выпала одна цифра.
ДТМФ дебаг молчит.
|