Empty Callerd ID

Hi everyone!
I’m here again with another problem…
I have an asterisk server that works fine, but i want to change my caller id on the outbound calls with dahdi

This is my extensions.conf file

exten => _X.,1,Set(CALLERID(num)=031303030) ***fakenumber
exten => _X.,n,NoOp(${CALLERID})
exten => _X.,n,Dial(dahdi/2/${EXTEN})

But this is the ouuput that i receive

Executing [numberthati’mcalling@linea2:1] Set(“SIP/contabilita-00000006”, “CALLERID(num)=031303030”) in new stack
Executing [numberthati’mcalling@linea2:2] NoOp(“SIP/contabilita-00000006”, “”) in new stack
– Executing [numberthati’mcalling@linea2:3] Dial(“SIP/contabilita-00000006”, “dahdi/2/numberthati’mcalling”) in new stack
– Called dahdi/2/numberthati’mcalling
– Hanging up on ‘DAHDI/2-1’
– Hungup ‘DAHDI/2-1’

As you can see, the caller id is empty.
I’m calling from italy, telecom provider
Can anyone help me?
Thank you

Ale

You should have ${CALLERID(num)} and not ${CALLERID} in your NoOP()
Further, Your carrier might not allow you to set any random number on outbound call unless you own them. Did you confirm with your carrier?

–Satish

1 Like

Yes i confirmed with my carrier…
But it doesn’t work

Ale

Is the DAHDI channel a channel from a PRI?

I changed and i tryed e Voip provider (cheapvoip) but same results
With this Voip account how can i do?

With voip provider, I would say you talk to them on why they are not sending callerid.
You might need to send callerid information using P-Asserted-Identity header in sip INVITE

–Satish