Condition for adding a leading zero in Incoming Caller ID

Hey everyone …

I have a problem.

I want the asterisk to append a leading ‘0’ if there is no leading zero in the Caller ID. Also, dont append a leading ‘0’ if there is already a ‘0’ in the Caller iD. What should i do or what command does this ?
Please advice.

Thanks

ExecIf, amongst several options.

hey david,
thank you for your quick response.

Actually i am new in asterisk and dont know what Excelf does ?
Can you please elaborate?

Thank you.

core show application ExecIf

You should, in any case, read Asterisk: The Future of Telephony asteriskdocs.org

Yes sure …

Infact, I have searched it on google and found what is required.

Thank you very much for your help.
See ya.