On 11/16/05, Jacob Tinning <[EMAIL PROTECTED]> wrote:
> On Wed, 16 Nov 2005, ast guy wrote:
>
> > In ast_channel (channel.h) structure there is ast_callerid variable,
> > but when I use that variable in code it gives error:
> >
> > structure has no member named `cid'
> > How do I get caller id string ?
>
> I think you can read the caller in chan->cid.cid_num and chan->cid.cid_name.
>
> Mvh. Jacob
> --

mentioned
'ast_callerid   cid'
 is in ast_channel structure
but any way found it under ast_channel->callerid but mentioned in docs
ast_channel.ast_callerid.cid_num
_______________________________________________
Asterisk-Dev mailing list
Asterisk-Dev@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

Reply via email to