Florian Meister wrote:
Thanks for the info. What are the headers which should
be used for CLI, the not obsolete ones ? ;-)
See Raul's email for the standardized headers. These are often used for
provider interconnect and also supported by recent PSTN gateways.
IIRC there is no explicit support for PAI, PPI in Asterisk, so you would
have to use the SIP_HEADER function and manually parse the headers.
So, as long as you use it only internally, you can use the obsolete RPID
header too, actually you could any header.
For example, internally (between proxies and Asterisk-Gateways) I use a
lot of proprietary headers for signaling for internal data, for example:
X-AU: +436991234567
(user provided CLI)
X-AN: +431234567
(network provided CLI)
X-C: +437201234567
(number which did the forwarding)
X-BID: 00046346
(billing ID (internal customer identity))
X-Hangupafter: 1000
(terminate call after x seconds)
regards
Klaus