Problem With Caller ID When Receiving Hidden Number In Via DAHDI And Redirecting Out Via SIP

Home » Asterisk Users » Problem With Caller ID When Receiving Hidden Number In Via DAHDI And Redirecting Out Via SIP
Asterisk Users 1 Comment

Hi,

We have a system with both ISDN trunks and SIP. We receive incoming calls on both but always dial out via SIP. When dialing out the caller id is set like this:

exten => _X.,1,Set(CALLERID(num)=${CC_ORIGNUM})
exten => _X.,n,Set(CALLERID(name)=${CC_ORIGNAME})
exten => _X.,n,Dial(${CC_DIALSTRING}, 60, em)

This always works fine on SIP and on ISDN as well when the number is not hidden. But for some reason the setting of the caller id does not work when receiving calls from hidden numbers.

The from address in the outgoing SIP looks like this:

From: “Anonymous”

Does anyone know why this is happening, is there a way to go around it?

Regards, Henrik

One thought on - Problem With Caller ID When Receiving Hidden Number In Via DAHDI And Redirecting Out Via SIP