VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
venefax at gmail.com Guest
|
Posted: Thu Jan 22, 2015 11:23 am Post subject: [asterisk-users] CALLERID(ani2) inserting |
|
|
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. |
|
Back to top |
|
|
ish at pack-net.co.uk Guest
|
Posted: Thu Jan 22, 2015 11:36 am Post subject: [asterisk-users] CALLERID(ani2) inserting |
|
|
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 <venefax@gmail.com (venefax@gmail.com)> wrote:
Quote: | 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:[url=tel:9087311878]9087311878[/url]@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
|
--
Quote: | Ishfaq Malik
Department: VOIP Support
Company: Packnet Limited
t: +44 (0)845 004 4994
f: +44 (0)161 660 9825
e: ish@pack-net.co.uk (ish@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
|
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|