[Asterisk-Dev] Asterisk manager api - ANI in inbound call?

Andrew Kohlsmith akohlsmith-asterisk at benshaw.com
Thu Oct 20 06:29:03 MST 2005


On Thursday 20 October 2005 07:37, Pere Sáez Garcia wrote:
> Is the ANI saved in any field of a channel? I need obtain that when a new
> channel is ringing.

From doc/README.variables, which will be in your Asterisk source tarball or 
CVS pull:
${CALLERANI}            * Caller ANI (PRI channels)
${CALLINGANI2}          * Caller ANI2 (PRI channels)
${ANI2}                 * The ANI2 Code provided by the network on the 
incoming call.

-A.



More information about the asterisk-dev mailing list