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…
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.