Missing 0 on incoming calls

Hello everyone,

I have installed FreePBX 16, Asterisk 18

At the moment I’m able to receive incoming calls. Unfortunately a incoming call from my mobile phone is displayed as 3950xxxxx instead of 03950xxxxx. I’m missing the leading 0.
How can I add this?

What I’ve tried:

  • Add a context “context=add-zero” in connectivity → trunks → sip settings → outgoing
  • Added to the extensions_custom.conf:

[add-zero]
exten => _X.,1,NOOP(“Entered [add-null]”)
exten => _X.,n,Set(CALLERID(number)=0${CALLERID(number)})
exten => _X.,n,Set(CALLERID(name)=${CALLERID(number)})
exten => _X.,n,Goto(from-trunk,${EXTEN},1)

But it’s not working.

Don’t conflate CallerIDs with DIDs

How have you defined your ‘inbound routes’ ? The CallerID would normally be ‘any’ for most DIDs

Logs will always help.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.