Summary:ASTERISK-01716: Type of Number
Reporter:segamza (segamza)Labels:
Date Opened:2004-05-28 05:44:02Date Closed:2011-06-07 14:05:22
Versions:Frequency of
Description:Transmit TON transparently.
Comments:By: Mark Spencer (markster) 2004-05-28 10:53:10

Can you please use complete sentences in your bug report and flesh out more completely your thinking?

By: Brian West (bkw918) 2004-05-29 22:57:28

I must agree we need more info and maybe a link to the specs.


By: segamza (segamza) 2004-05-31 06:17:03

We have several options for pridialplan (Type of Number)

; PRI Dialplan:  Only RARELY used for PRI.
; unknown:        Unknown
; private:        Private ISDN
; local:          Local ISDN
; national:       National ISDN
; international:  International ISDN

In case we use * as PRI switch we need to transfer Type of Number asreceived.

By: Mark Spencer (markster) 2004-05-31 11:14:41

I think caller*id handling within asterisk leaves a lot to be desired.  Caller*ID should
generally be handled with a structure I think, something like:

struct ast_callerid {
 char *number;
 char *name;
 char *ani;
 int dialplan;
 int presentation;
Then it could be more easily populated around, but that's gonna take some time I think to put together.

By: Steve Hanselman (shanselman) 2004-06-27 14:55:35

Is there any chance of moving the TON to a channel variable or maybe a dialstring character (or maybe a setting in setcallerid)?

edited on: 06-28-04 00:57

By: Rob Gagnon (rgagnon) 2004-07-03 12:45:27

It appears as though in this conversation that people are confusing Caller ID (CID), and Calling Party Number (CPN), which are two different things.

CID is made up of some data that you choose to send to someone else's CID capable receiving device, and can be arbitrary, and have nothing to do with the CPN.

CPN however is more important and more reliable data, and does have a flag for National, Local, Private, etc.

CPN cannot be blocked by a Caller when making a call.  CID can be blocked (normally by dialling *67)

As an example, you can dial *67, then call a 1-800 number of some kind, and the receiver of the 1-800 call from you does get your phone number for identification.

By: Olle Johansson (oej) 2004-07-23 17:25:56

Check bug ASTERISK-2087 where Corydon adds a "int callerton;" to the channel structure for incoming calls.

By: Olle Johansson (oej) 2004-08-14 12:16:14

We have possible solutions in other bug reports.