Hi! What's wrong with this?
exten => s,1,Set(myvar="nothing") exten => s,2,Set(myvar = $["${CALLERID(num)}" : "([a-z]+)"]) exten => s,3,NoOp(${myvar}) The regular expression in priority 2 matches, but the result is not assigned to variable "myvar", on the console, I see this: -- Executing Set("SIP/nnnnn-5d23", "myvar="nothing"") in new stack -- Executing Set("SIP/nnnnn-5d23", "myvar = "abc"") in new stack -- Executing NoOp("SIP/nnnnn-5d23", ""nothing"") in new stack _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users