I've setup a feature code to use directed call pickup. the code is 3 digits at present, 784. These are 3 digit extensions.
Am I right in that the feature codelength should be 3?
101 is ringing, I'm trying to dial the feature code from 106, a test extension.
response from CLI:
-- Called 101-Prasad
-- SIP/101-Prasad-09b1efa8 is ringing
-- Executing [784101@from-inside-Prasad:1] Macro("SIP/106-Prasad-b6f0cb78", "tl-set-variables2|from-inside-redir-Prasad|Prasad") in new stack
-- Executing [s@macro-tl-set-variables2:1] Set("SIP/106-Prasad-b6f0cb78", "__tenant=Prasad") in new stack
-- Executing [s@macro-tl-set-variables2:2] Set("SIP/106-Prasad-b6f0cb78", "CDR(userfield)=Prasad") in new stack
-- Executing [s@macro-tl-set-variables2:3] Set("SIP/106-Prasad-b6f0cb78", "__FROM_INSIDE=1") in new stack
-- Executing [s@macro-tl-set-variables2:4] Set("SIP/106-Prasad-b6f0cb78", "__MOH=") in new stack
-- Executing [s@macro-tl-set-variables2:5] GotoIf("SIP/106-Prasad-b6f0cb78", "0 ?setmoh") in new stack
-- Executing [s@macro-tl-set-variables2:6] Set("SIP/106-Prasad-b6f0cb78", "__MOH=default-Prasad") in new stack
-- Executing [s@macro-tl-set-variables2:7] SetMusicOnHold("SIP/106-Prasad-b6f0cb78", "default-Prasad") in new stack
-- Executing [s@macro-tl-set-variables2:8] Goto("SIP/106-Prasad-b6f0cb78", "from-inside-redir-Prasad|784101|1") in new stack
-- Goto (from-inside-redir-Prasad,784101,1)
== Channel 'SIP/106-Prasad-b6f0cb78' jumping out of macro 'tl-set-variables2'
-- Sent into invalid extension '784101' in context 'from-inside-redir-Prasad' on SIP/106-Prasad-b6f0cb78
-- Executing [i@from-inside-redir-Prasad:1] Playback("SIP/106-Prasad-b6f0cb78", "invalid") in new stack
What am i missing here?
Thanks, all.
I'm sorry, what is a pattern?
I'm sorry, what is a pattern? The feature code doesn't ask for that variable
i would say your pattern is probably wrong.. what did you use for a pattern?