[asterisk-users] Operate on registrations

yusuf yusuf at ecntelecoms.com
Tue Jan 23 02:42:38 MST 2007


Hi,

I have a bunch of SIP phones(behind NAT) registering on my * box.  I want to find out when they 
register and de-register.  I also want to operate on it, so when they register/de-register, I want 
to insert calldate into a mysql DB, etc.....
Maybe this will help me when, for instance a user tries to register but has the wrong username/password.

Now I am aware of regcontext, but it only creates a 1,NoOP for that user, I want it to execute that, 
so I can have this maybe:

exten => 666,2,AGI(Registraion.agi)

so when my users register 666,1,NoOp will be created and execution can start there.

Any Ideas on how I can get something like this?
-- 
thanks,
Yusuf

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the asterisk-users mailing list