When We dial the number 211024067, we’ve three options:
- Pressing 1 - The cal will be recorded - It’s working
- Pressing 2 - The call won’t be recorded - It’s working
- Pressing nothing - It’s supposed to hve the call disconnected, but the call is forwarded to extension 24067 and we don’t know why…
The version of our asterisk is 1.2.29
See the configuration below:
exten => 211024067,1,Answer()
exten => 211024067,2,Set(nmarcado=${EXTEN:4})
exten => 211024067,3,Background(autgrava)
exten => 211024067,4,Waitexten(2)
exten => 211024067,5,Hangup()
exten => h,1,Playback(invalideslig)
exten => h,2,Hangup()
exten => i,1,Playback(invalideslig)
exten => i,2,Hangup()
exten => t,1,Playback(invalideslig)
exten => t,2,Hangup()
exten => 1,1,Playback(vaigravar)
exten => 1,2,Monitor(wav,${CALLFILENAMENOCout},m)
exten => 1,3,Goto(incoming-pstn-provisorio,211024067,6)
exten => 2,1,Playback(naovaigravar)
exten => 2,2,Goto(incoming-pstn-provisorio,211024067,6)
28 16:26:01 ERROR[11160]: pbx.c:1437 ast_func_write: Function not registered
-- Executing System("SIP/10.192.207.55-9f5967f0", "/root/referdb/cdrnoc/efectuadas/16122/cdrnocsaida.exp 211024061 211024067") in new stack
-- Executing Dial("SIP/10.192.207.55-9f5967f0", "SIP/24067|40|fM(cdrnocdialedatendida16122^)") in new stack
-- Called 24067
Could you help me, please?