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

Pere Sáez Garcia peresaezgarcia at hotmail.com
Thu Oct 20 08:50:16 MST 2005


Hello,
When an inbound call is ringing in a channel there isn't any value for ANI 
in that structure. Is necessary do something previously in the dial plan?

Thank you

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
_______________________________________________
Asterisk-Dev mailing list
Asterisk-Dev at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

_________________________________________________________________
Horóscopo, tarot, numerología... Escucha lo que te dicen los astros. 
http://astrocentro.msn.es/




More information about the asterisk-dev mailing list