Displaying 1 result from an estimated 1 matches for "3xxxx".
Did you mean:
xxxx
2011 Aug 15
0
1.4.38 passing a Regular expression containing a pipe character to a macro ?
...exten => s,n,Set(Caller=${CUT(caller1,-,3)})
exten => s,n,GotoIf($[${Caller} =~ "${AllowedUsers}"]?ALLOW:DENY)
exten => s,n(DENY),Congestion(5)
exten => s,n,Hangup
exten => s,n(ALLOW),Playback(tt-monkeys)
exten => s,n,Hangup
Extension that calls the Macro
exten => _*3XXXX,1,Macro(jktest1,ls,1,${EXTEN:2},7131|7110|7125)
Console output follows:
-- Executing [*31743 at ls-intern:1] Macro("SIP/7124ls-00001b4a",
"jktest1|ls|1|1743|7131|7110|7125") in new stack
-- Executing [s at macro-jktest1:1] Set("SIP/7124ls-00001b4a", "Org...