[asterisk-dev] discover realtime family sql table schema
Sergey Tamkovich
serg at voipsolutions.ru
Tue Feb 26 02:10:09 CST 2008
lumen wrote:
> Hi guys:
>
>
> I'm looking for the best way to discover wich is the best way to discover
> the necessary schema for each family that supports realtime.
>
> I know that initials table schemas can be found in voip-info or this list,
> but how that tables were contructed? What if in the asterisk version I use
> the schema has changed?
>
> I have build it sourcing the code? Or I can create a column for each
> configurable parameter that exist in the equivalent configuration file?
>
The best way to get a list of parameters (columns) is to refer source
code. You can also check data types and field lengths there.
for example, take a look at:
static int handle_common_options(struct ast_flags *flags, struct
ast_flags *mask, struct ast_variable *v)
in channels/chan_sip.c
>
> thanks.
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
More information about the asterisk-dev
mailing list