Hi all, I'm trying to incorporate using the i extension in my callplan to determine if someone enters an invalid extension. My internal extensions are all 3 digits (100-104). The problem is, the callplan doesn't see that say, extension 600 is invalid, it just goes back to the beginning of the callplan and repeats. If I enter a single digit, it works perfectly. Anyone have any ideas? Here's the incoming callplan. [voicepulse-in] exten => _XX.,1,Answer exten => _XX.,n,Set(TIMEOUT(digit)=5) ; Set Digit Timeout to 5 seconds exten => _XX.,n,Set(TIMEOUT(response)=10) ; Set Response Timeout to 10 seconds exten => _XX.,n,Background(thank-you-for-calling) exten => _XX.,n(restart),Background(enter-ext-of-person) exten => _XX.,n,WaitExten exten => 100,1,Macro(stdexten,100,Sip/100) exten => 100,100,Hangup() exten => 101,1,Macro(stdexten,101,Sip/101) exten => 101,100,Hangup() exten => 102,1,Macro(stdexten,102,Sip/102) exten => 102,100,Hangup() exten => 103,1,Macro(stdexten,103,Sip/103) exten => 103,100,Hangup() exten => 104,1,Macro(stdexten,104,Sip/104) exten => 104,100,Hangup() exten => 105,1,Macro(stdexten,105,Sip/105) exten => 105,100,Hangup() exten => i,1,Playback(invalid) exten => i,2,Goto(_XX.,restart) exten => t,1,Playback(vm-goodbye) exten => t,2,Hangup() Thanks, Phil -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061222/634b238f/attachment.htm
Phil Finkler wrote:> > Hi all, > > I?m trying to incorporate using the i extension in my callplan to > determine if someone enters an invalid extension. My internal > extensions are all 3 digits (100-104). The problem is, the callplan > doesn?t see that say, extension 600 is invalid, it just goes back to > the beginning of the callplan and repeats. If I enter a single digit, > it works perfectly. Anyone have any ideas? Here?s the incoming callplan. >It's because 600 will match _XX. Why don't you just use the 's' extension, instead of '_XX.'? Leo
I used _XX. Since it was used in the examples I got from voicepulse. Maybe I can modify it so it's standardized by using 's'. Any idea why they'd use something like that for incoming calls? Are you sure 600 would match _XX.? I thought _XX. Was just two digits. Thanks for the help, Phil Phil Finkler wrote:> > Hi all, > > I'm trying to incorporate using the i extension in my callplan to > determine if someone enters an invalid extension. My internal > extensions are all 3 digits (100-104). The problem is, the callplan > doesn't see that say, extension 600 is invalid, it just goes back to > the beginning of the callplan and repeats. If I enter a single digit, > it works perfectly. Anyone have any ideas? Here's the incomingcallplan.>It's because 600 will match _XX. Why don't you just use the 's' extension, instead of '_XX.'? Leo -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061223/b82b39aa/attachment.htm