[asterisk-users] showing sip number insted of pri number

Eric Klein eric.klein at greenfieldtech.net
Mon Aug 3 04:58:01 CDT 2015


>
>
> Date: Sat, 1 Aug 2015 19:09:21 +0200
> From: jg <webaccounts173 at jgoettgens.de>
> To: Asterisk Users Mailing List - Non-Commercial Discussion
>         <asterisk-users at lists.digium.com>
> Subject: Re: [asterisk-users] showing sip number insted of pri number
> Message-ID: <55BCFD41.9000107 at jgoettgens.de>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
>
> > Thank you for your reply. Can you please  guide me how to spoof the
> number
> > in outbound call. To number in my chose.
> >
>   I don't know any telco or national law that would allow setting
> arbitrary numbers. You might
> have been assigned a certain number rage, and you could pick any from that
> range. If you set a
> number that does not belong to your range, the telco will typically
> substitute it with a
> standard number. Let's say you've got 100 numbers, e.g. 1234-0 to 1234-99,
> then anything out of
> that range, e.g. 77777777, is likely to show up as 1234-0 on the callee's
> phone.
>
> Having said that you also need to coordinate your efforts with your telco.
> You need to check
> several transmitting and switching facilities, like CLIP, CLIR, COLP,
> COLR, possibly CNIP. CLIP
> and COLP comes with different flavors. I'd say that the details are
> outside of what can be
> handled here.
>
> jg
>

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.

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.

Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150803/1acfd98c/attachment.html>


More information about the asterisk-users mailing list