Authentication

Hey all,

I’m trying to modify the Asterix source so that I can authenticate SIP users from a custom MSSQL database. My trouble is I can’t seem to locate anything in the source that looks like it specifies database field names…

auth_exec(struct ast_channel *chan, void *data) looks like the authentication function that I’m after but tracing some of the interesting the calls that it makes (ast_db_get) I can’t find what I’m looking for - that or I’m looking for the wrong things in the wrong place.

Any help would be greatly appreciated.

Ah, it looks like I can do it with a perl extension.

Cheers.