Callerid format issue

Hello,

In my dialplan I grab the callerid on a specific extension, add it as a queue member.

I have a problem with the callerid format: When I call with a phone which number is 0123456789 (french number format), the callerid is sometimes “0123456789” and other times “123456789”. So when the first 0 is missing, I can’t make this phone ring with the rest of the queue.

CLI extract:
– Called g0/0123456789
outfeatures: No found provider for this number 123456789!

One solution is to add the 0 before $CALLERID(num) when adding the phone but when the 0 is here I’ll have a double 0 which implies also an error.

Any idea?
Thx
Lilian