[Asterisk-Dev] Something missing in asterisk...

Fernando Romo pop at cofradia.org
Thu Nov 4 20:03:48 MST 2004


Dear developers:

Mayby this is a "Feature request", but i study the CDR of * and whe i 
try to implement a "call authorization" system, I mean, depending of the 
call type (LD, Celular Phone,etc), make asterisk to request a "auth code".

I work with many Avaya, Nortel and Harris PBX, in all models of this 
maufactures, i can easy implement a control by "auth. code". The CDR put 
me the call type and the "Auth Code" of the person making the call. The 
Goal is trace the user independent of the extension or network extension.

I think the "Auth Code" and the implementation, is a required 
information system for the corporate target.

Yes, i know the "userfield" and the "accountcode" can do the job, but 
not. I Think is necesary to make the "account code" policy embeded in 
the core of *.

For example in Mexico we use 13 diferent types and rates of phone calls, 
in the mayor brands of PBX is easy to notice this, and the "account 
code" make a suitable diference.

Right Now i'am working in a product called PBX_Contact, the system take 
the CDR, puts al the data in a Postgres DB and via LAMP aplication show 
the administrative reports. My purpose is release my system GPL. Works 
fine with Avaya (all models), Panasonic, Harris, etc, but when i try to 
integrate to asterisk, i notice something missing.

Maybe i can make this like a "contrib". but sorry if my ignorance is 
big, but a search for third party efforts and i can't find something 
valuable.

My proposal is to make a new config file called "auth.conf" with the 
information of the person and the "personal code" and verification key.

for example:

auth.conf
----------
[context here]
6412 => Fernando Romo, 6666
7834 => wherever, 7654

If in extension.conf a new parameter in the [context] ask for a auth 
code in the call, we use the hash of auth.conf and bring the 
funcionality to *.

Of course reflect in the CDR the new field.

Ok, Commets, Kick in the ass o wherever are welcome.

Best regards..... Fernando Romo
                          pop at cofradia.org




More information about the asterisk-dev mailing list