<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br>
Date: Sat, 1 Aug 2015 19:09:21 +0200<br>
From: jg <<a href="mailto:webaccounts173@jgoettgens.de">webaccounts173@jgoettgens.de</a>><br>
To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
  Â  Â  Â  <<a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a>><br>
Subject: Re: [asterisk-users] showing sip number insted of pri number<br>
Message-ID: <<a href="mailto:55BCFD41.9000107@jgoettgens.de">55BCFD41.9000107@jgoettgens.de</a>><br>
Content-Type: text/plain; charset=utf-8; format=flowed<br>
<br>
<br>
> Thank you for your reply. Can you please  guide me how to spoof the number<br>
> in outbound call. To number in my chose.<br>
><br>
  I don't know any telco or national law that would allow setting arbitrary numbers. You might<br>
have been assigned a certain number rage, and you could pick any from that range. If you set a<br>
number that does not belong to your range, the telco will typically substitute it with a<br>
standard number. Let's say you've got 100 numbers, e.g. 1234-0 to 1234-99, then anything out of<br>
that range, e.g. 77777777, is likely to show up as 1234-0 on the callee's phone.<br>
<br>
Having said that you also need to coordinate your efforts with your telco. You need to check<br>
several transmitting and switching facilities, like CLIP, CLIR, COLP, COLR, possibly CNIP. CLIP<br>
and COLP comes with different flavors. I'd say that the details are outside of what can be<br>
handled here.<br>
<br>
jg<br></blockquote><div><br></div><div>As JG mentioned there are several legal and technical reasons why this question would be a problem. Legally many countries have mandated that you can not spoof or assign an incorrect CLID. </div><div><br></div><div>On the other hand, I have run into several carriers that will block calls that are not from the assigned block of DIDs. So using JG's example Â if you send anything but one of the assigned numbers from the range of 1234-0 to 1234-99 they will block the call. This can be because it is the wrong length, format, or not in your assigned range. </div><div><br></div><div>Eric</div></div>
</div></div>