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

Jacob Tinning tinning at sifira.dk
Thu Oct 20 06:58:56 MST 2005


On Thu, 20 Oct 2005, 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.

Look at the 'struct ast_callerid' in channels.h
Useually the ANI is stored in "chan->cid.cid_num" or "chan->cid.cid_ani"

Mvh. Jacob

-- 
Jacob Tinning                                                  SIFIRA
System Developer                              One World - One Mailbox



More information about the asterisk-dev mailing list