How to remove +1 from caller ID

i have a2billing based on asterisk. One DID provider sends me caller ID with +1 in the front and another provider sends without. I put this code but inbound calls are still coming in with +1 in the front. Please help.

exten => _X.,1,GotoIf($["${CALLERID(num):0:1}" != “+”]?noplusatstart)
exten => _X.,n,Set(CALLERID(num)=${CALLERID(num):1})
exten => _X.,n(noplusatstart),Goto(a2billing,${EXTEN},1)

Show the CLI log for a call when callerid is with + and a call without +. Also add a NoOp application to print CallerID

exten => _X.,1,NoOp(CALLERID(num)=${CALLERID(num)})
exten => _X.,n,GotoIf($["${CALLERID(num):0:1}" != “+”]?noplusatstart)
exten => _X.,n,Set(CALLERID(num)=${CALLERID(num):1})
exten => _X.,n(noplusatstart),Goto(a2billing,${EXTEN},1)

You will probably have to use ResetCDR to enable the CDR to be re-initiatlised with an NANP, rather than an international, number.