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

2015-08-03 Thread Eric Klein


 Date: Sat, 1 Aug 2015 19:09:21 +0200
 From: jg webaccounts...@jgoettgens.de
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 asterisk-users@lists.digium.com
 Subject: Re: [asterisk-users] showing sip number insted of pri number
 Message-ID: 55bcfd41.9000...@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. , 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
-- 
_
-- 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

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

2015-08-01 Thread jg



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. , 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

--
_
-- 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


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

2015-08-01 Thread hadi
Don,

My sip number from my local ippbx system. Not from the carrier.

Regards

-Hadi.Salem

 -Original Message-
 From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-
 boun...@lists.digium.com] On Behalf Of d...@donkelly.biz
 Sent: Friday, July 31, 2015 9:11 PM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: Re: [asterisk-users] showing sip number insted of pri number
 
 It is possible.
 
 Are your SIP numbers from the same carrier as your PRI trunks? Some
 carriers will not let you present a calling number that's not on your
account
 (to prevent spoofing).
 
   --Don
 
 
 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of hadi
 Sent: Friday, July 31, 2015 11:11 AM
 To: asterisk-users@lists.digium.com
 Subject: [asterisk-users] showing sip number insted of pri number
 
 Hi,
 
 
 I have asterisk installed on centos with phpagi. Also I have PRI card
connect
 to it. it's possible to show the sip number when calling from sip number
to
 external number thru the PRI, instead of showing the PRI number show the
 sip number ?
 
 
 Regards
 
 -Hadi.Salem
 
 
 
 --
 __
 ___
 -- 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
 
 
 --
 __
 ___
 -- 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


-- 
_
-- 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


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

2015-08-01 Thread hadi
Thank you for your reply. Can you please  guide me how to spoof the number
in outbound call. To number in my chose.

Regards

-Hadi.Salem


 -Original Message-
 From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-
 boun...@lists.digium.com] On Behalf Of Ryan, Travis
 Sent: Saturday, August 01, 2015 4:50 AM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [asterisk-users] showing sip number insted of pri number
 
 I¹m not quite sure I understand everything you typed, but I¹ll say the
 following.
 
 You can spoof any phone number on any call outbound through your PRI,
 except any toll free numbers, etc. Basically if someone else is paying for
the
 phone call, like a toll free number is, then the payer (called party)
needs to
 know who the number is calling them that they are paying for.
 
 Other than that, I¹ve spoofed all zeros when I¹m trying to do caller ID
blocking
 to a regular number and it works too, as long as it¹s a typical long
distance or
 local call.
 
 On 7/31/15, 12:10 PM, asterisk-users-boun...@lists.digium.com on behalf
 of hadi asterisk-users-boun...@lists.digium.com on behalf of
 almarzuki2...@hotmail.com wrote:
 
 Hi,
 
 
 I have asterisk installed on centos with phpagi. Also I have PRI card
 connect to it. it's possible to show the sip number when calling from
 sip number to external number thru the PRI, instead of showing the PRI
 number show the sip number ?
 
 
 Regards
 
 -Hadi.Salem
 
 
 
 --
 _
 
 -- 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
 
 
 
 --
 __
 ___
 -- 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


-- 
_
-- 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

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

2015-07-31 Thread Ryan, Travis
I¹m not quite sure I understand everything you typed, but I¹ll say the
following.

You can spoof any phone number on any call outbound through your PRI,
except any toll free numbers, etc. Basically if someone else is paying for
the phone call, like a toll free number is, then the payer (called party)
needs to know who the number is calling them that they are paying for.

Other than that, I¹ve spoofed all zeros when I¹m trying to do caller ID
blocking to a regular number and it works too, as long as it¹s a typical
long distance or local call.

On 7/31/15, 12:10 PM, asterisk-users-boun...@lists.digium.com on behalf
of hadi asterisk-users-boun...@lists.digium.com on behalf of
almarzuki2...@hotmail.com wrote:

Hi,


I have asterisk installed on centos with phpagi. Also I have PRI card
connect to it. it's possible to show the sip number when calling from sip
number to external number thru the PRI, instead of showing the PRI number
show the sip number ?

 
Regards

-Hadi.Salem



-- 
_
-- 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



-- 
_
-- 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


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

2015-07-31 Thread hadi
Hi,


I have asterisk installed on centos with phpagi. Also I have PRI card
connect to it. it's possible to show the sip number when calling from sip
number to external number thru the PRI, instead of showing the PRI number
show the sip number ?

 
Regards

-Hadi.Salem



-- 
_
-- 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


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

2015-07-31 Thread dk
It is possible.

Are your SIP numbers from the same carrier as your PRI trunks? Some carriers
will not let you present a calling number that's not on your account (to
prevent spoofing).

  --Don


-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of hadi
Sent: Friday, July 31, 2015 11:11 AM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] showing sip number insted of pri number

Hi,


I have asterisk installed on centos with phpagi. Also I have PRI card
connect to it. it's possible to show the sip number when calling from sip
number to external number thru the PRI, instead of showing the PRI number
show the sip number ?

 
Regards

-Hadi.Salem



--
_
-- 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


-- 
_
-- 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