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" <sip:[email protected]>

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

Regards,
Henrik

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to