<div dir="ltr">Hi Henrik.<div><br></div><div>You might want to read</div><div><br></div><div><a href="http://www.voip-info.org/wiki/view/P-Asserted-Identity+and+Remote-Party-ID+header">http://www.voip-info.org/wiki/view/P-Asserted-Identity+and+Remote-Party-ID+header</a><br>
</div><div><br></div><div>and </div><div><br></div><div><a href="http://www.voip-info.org/wiki/view/Asterisk+func+callerid">http://www.voip-info.org/wiki/view/Asterisk+func+callerid</a><br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Oct 28, 2013 at 11:04 AM, Henrik Westerberg <span dir="ltr"><<a href="mailto:henrik.westerberg@ain.se" target="_blank">henrik.westerberg@ain.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="font-size:14px;word-wrap:break-word">
<div>Hi,</div>
<div><br>
</div>
<div>We have a system with both ISDN trunks and SIP. We receive incoming calls on both but always dial out via SIP.</div>
<div>When dialing out the caller id is set like this:</div>
<div><br>
</div>
<div>
<div>exten => _X.,1,Set(CALLERID(num)=${CC_ORIGNUM})</div>
<div>exten => _X.,n,Set(CALLERID(name)=${CC_ORIGNAME})</div>
<div>exten => _X.,n,Dial(${CC_DIALSTRING}, 60, em)</div>
</div>
<div><br>
</div>
<div>This always works fine on SIP and on ISDN as well when the number is not hidden. </div>
<div>But for some reason the setting of the caller id does not work when receiving calls from hidden numbers.</div>
<div><br>
</div>
<div>The from address in the outgoing SIP looks like this:</div>
<div><br>
</div>
<div><span style="line-height:20px;color:rgb(51,51,51)">From: "Anonymous" <sip:anonymous@anonymous.invalid></span></div>
<div>
<div style="font-size:medium"><br>
</div>
<div style="font-size:medium">Does anyone know why this is happening, is there a way to go around it?</div>
<div style="font-size:medium"><br>
</div>
<div style="font-size:medium">Regards,</div>
<div style="font-size:medium">Henrik</div>
<div style="font-family:Consolas;font-size:medium"><br>
</div>
<div style="font-family:Consolas;font-size:medium">
<div style="font-family:Calibri,sans-serif;font-size:14px">
<div style="font-family:Consolas;font-size:medium"></div>
</div>
</div>
</div>
</div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div>