I would like to know if there is a possibility to deactivate a trunk or an outgoing route after a counter of time of outgoing call, and enable it again after a specific reccuring date.
I have a SIM card that permits only 2 hours of free outgoing calls, then after this 2 hours, calls are extra invoiced.
I would like to be able to stop using the SIM card (GSM gateway with chan-dongle) after 2 hours of outgoing calls, then enable it again next month at anniversary date.
Maybe this can be an external script that stop dongle service and restart it after a period.
Any idea how to get the outgoing time counter on a specific trunk ?