Displaying 1 result from an estimated 1 matches for "specialoutgoing".
2009 Dec 04
0
Get back in dialplan with number-parsing
I'd like to put a phone in a special context, where a test is made on its business hours, then if so, proceed to the normal context to do whatever it does with outgoing and local calls.
I've tried, just to go from one context to the next:
[specialoutgoing]
exten => _X.,1,noop(This is a special content)
exten => _X.,n,gotoiftime(....?forbidden,1)
exten => _X.,n,goto(outgoing,${CALLERID(dnid)},1)
I use _X. to match anything, but if the call is allowed, I want to jump back in the [outgoing] context and restart parsing the dialled number.
ext...