Remove number in outgoing calls

Hi,

I’d like to remove some numbers in a phone number when my user make a call.
For example, in belgium, when we want to call French phone number, we need to remove 0 from the zone prefix and to add 0033 and I’d like to remove this prefix and to add the removed 0.
I’d like to do this because I redirect all number beginning by 0033 to one of my french asterisk via iax2 and French operators don’t accept call beginning by 0033…
So, how can I do that ?

Thanks in advance for your help !

To remove the first digit:

Dial(ZAP/1/${EXTEN:1},)

To add 0033 and remove the first 2 digits the user dialed:

Dial(ZAP/1/0033${EXTEN:2})

1 Like

Thank you very much !!!
Everything works perfectly now !