CALLERID(ani2) Inserting

Home » Asterisk Users » CALLERID(ani2) Inserting
Asterisk Users 1 Comment

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

One thought on - CALLERID(ani2) Inserting