[Asterisk-Dev] Getting caller id

Jacob Tinning tinning at sifira.dk
Wed Nov 16 04:54:24 MST 2005


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




More information about the asterisk-dev mailing list