I have a POTS line connected to Asterisk and I would like to call a python function which sends the callerid information when this line is ringing. Can anyone tell me how to go about doing this? I have the python function which can send its input to Pushover, I need some help with intercepting the callerid and calling the function from Asterisk.
Use Shell() or System() function and the ${CALLERID(num)} variable , make sure to specify the full path of your script on the dial plan and add the execution permision is case Astersk is not running as root user
1 Like
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.