>>>>> "AMH" == Anselm Martin Hoffmeister <[EMAIL PROTECTED]> writes:
AMH> Well, perhaps the IF hinders evaluation from happening....? It is
AMH> by far not as elegant, but you could try
AMH> exten=>123456,1,GotoIf($[${REGEX("^0......)} = 1]?2:3)
AMH> exten=>123456,2,Set(CALLERID(num)=44${CALLERID(num):1})
AMH> exten=>123456,3,ContinueYourDialplanHere
How about simply:
exten => 123456/0XXXXXXXXXX,1,Set(CALLERID(num)=44${CALLERID(num):1})
exten => 123456,1,NoOp()
exten => 123456,2,ContinueYourDialplanHere
/Benny
_______________________________________________
--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