[Asterisk-Dev] IAX2 / SIP peers in MySQL Database and accountcode

Dmitry Mishchenko arkadia at odessa.net
Tue Apr 20 06:58:10 MST 2004


Hello!

Checking chan_iax2.c sources and `iaxfriends` DB table structure I found that 
there in no "accountcode" support for users. Is there some real reasons for 
this? The same is true for sip channel.

For my tasks I want users to be loaded from mysql DB. At the same time I want 
to assign different account code for each user. As a solution I'm thinking 
about extending `iaxfriends`  table with this field. 
Is it a right way?

Thanks,
Dmitry




More information about the asterisk-dev mailing list