I see a lot of modules in freepbx and try to understand how they work without success.
the point I can't understand how they hook a call and when call is made so they called and do they work
for example lets say I write module that print "CALL IS MADE" when call is made and I have install.php and uninstall.php and module.xml and function.inc.php and all the files that need to and I have the next code in Function.inc.php
function callmade(){agi->Verbose("Call is Made");}
now I know i can create dialplan manualy in extension_freepbx.conf (not in extension.conf) that call my php but how to make freepbx auto do it (like all modules)
I sorry for my english thks for helpers