[asterisk-users] CALLERID(ani2) inserting

2015-01-22 Thread CDR
I checked
https://wiki.asterisk.org/wiki/display/AST/Manipulating+Party+ID+Information

But I cannot find a way to insert CALLERID(ani2), which I can read, but
when I try to set it for a new call, I get a runtime error.
This information, known as isup-oli comes embedded in the From header,like
this
sip:9087311878@64.45.157.104:5060;isup-oli=62;tag=sansay1724414rdb124
and it can be read by using
Set(var=${CALLERID(ani2)}
But how do we add that information to the outbound INVITE?  This is
critical in the toll-free industry and call-from-jail industries.
Thanks for your help.
-- 
_
-- 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] CALLERID(ani2) inserting

2015-01-22 Thread Ishfaq Malik
Hi

According to this:

https://wiki.asterisk.org/wiki/display/AST/Asterisk+Standard+Channel+Variables

It is read only.

On 22 January 2015 at 16:22, CDR vene...@gmail.com wrote:

 I checked

 https://wiki.asterisk.org/wiki/display/AST/Manipulating+Party+ID+Information

 But I cannot find a way to insert CALLERID(ani2), which I can read, but
 when I try to set it for a new call, I get a runtime error.
 This information, known as isup-oli comes embedded in the From header,like
 this
 sip:9087311878@64.45.157.104:5060;isup-oli=62;tag=sansay1724414rdb124
 and it can be read by using
 Set(var=${CALLERID(ani2)}
 But how do we add that information to the outbound INVITE?  This is
 critical in the toll-free industry and call-from-jail industries.
 Thanks for your help.


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




-- 

Ishfaq Malik
Department: VOIP Support
Company: Packnet Limited
t: +44 (0)845 004 4994
f: +44 (0)161 660 9825
e: i...@pack-net.co.uk
w: http://www.pack-net.co.uk

Registered Address: PACKNET LIMITED, Duplex 2, Ducie House
37 Ducie Street
Manchester, M1 2JW
COMPANY REG NO. 04920552
-- 
_
-- 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