I've notice a problem with some calls that have bad numbers, for some reason leads are created with numbers that won't "fit" any dialing rules, and these leads are not getting their status changed when a call is made, so they stay as "NEW" but the user field is set as "VDAD".
I created a new _X. (bad, bad, bad..) extension like this:
- Code: Select all
exten => _X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _X.,n,Congestion(2)
exten => _X.,n,Hangup
But I'm not feeling good about this, Is this ok ? Should Vicidial have a set of rules to address this situation ?
This rule created the folowing output on console:
- Code: Select all
[Dec 10 16:42:54] -- Executing [002622222222222@default:1] AGI("Local/002622222222222@default-5135,2", "agi://127.0.0.1:4577/call_log") in new stack
[Dec 10 16:42:54] -- Executing [002622222222222@default:2] Congestion("Local/002622222222222@default-5135,2", "2") in new stack
[Dec 10 16:42:54] > Channel Local/002622222222222@default-5135,1 was never answered.
[Dec 10 16:42:54] == Spawn extension (default, 002622222222222, 2) exited non-zero on 'Local/002622222222222@default-5135,2'
[Dec 10 16:42:54] -- Executing [h@default:1] DeadAGI("Local/002622222222222@default-5135,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
I also found this on my extensions.conf but they don't seem to be working because when we dialed a wrong number the output on console was "No such extension/context ", before my _X. rule.
- Code: Select all
; # timeout invalid rules
exten => #,1,Playback(invalid) ; "Thanks for trying the demo"
exten => #,2,Hangup ; Hang them up.
exten => t,1,Goto(#,1) ; If they take too long, give up
exten => i,1,Playback(invalid) ; "That's not valid, try again"
Versions:
VERSION: 2.6-393a BUILD: 130124-1721
ViciBox Redux v.4.0.3 released
Asterisk 1.4.44-vici