At 03:37 PM 9/2/2006, you wrote:
What can I do to strip these digits from Caller ID before answering the call so CDR and Voice Mail Caller ID announcement show correct number?

I probably mis-typed something here, but something like this should do:

exten => s,n,gotoif($[length(${CALLERID(number)}) = 11]?goodID)
exten => s,n,set(CALLERID(number)=${CALLERID(number):2})
exten => s,n(goodID), noop()
_______________________________________________
--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

Reply via email to