[Asterisk-Dev] callerid in channel.h

m. smadi smadim2 at grads.ece.mcmaster.ca
Tue Jan 4 12:35:21 MST 2005


hi;

I am compiling and a software that has an error at the following statement
ast_exists_extension(chan, chan->context, chan->exten, (chan->priority) 
+ 101 , chan->callerid)

that says "structure has no member named `callerid'"

now, i looked at the structure ast_channel in the channel.h and it seems 
that the ast_channel structure has been modified such that `callerid' 
variable is not a member of this structure anymore and it is replaced by 
another structure which is called ast_callerid.

Now my question is which member of the ast_callerid structure is 
equivilant to the old `callerid'?

Similarily the same problem is happening with a variable that is called 
`ani' which i think is no more a member of the ast_channel structure but 
has been moved to the new ast_callerid structure. Can someone confirm to 
me which member of the new ast_callerid structure is equivilant to the 
old `ani' in the ast_channel structure?


your help is highly appreciated

moe smadi



More information about the asterisk-dev mailing list