How asterisk store peer information

Hi all,

I’m developing a C code and i would like to know how asterisk store peer information.
Where can i find information about it?I can’t find anything with search engine.


See the source code of chan_sip.c and chan_iax2.c. The structures will be different for the different channel types and the are not exposed, except through AMI and CLI interfaces.

There may be variants stored in a database if you use the realtime option, but I think you will still need to go to those source files for the details. The overview documentation for realtime is in doc/tex/realtime.tex.

ok, thank