Quantcast
Channel: General Help - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 12672

Deactivate Trunk or outgoing route after x minutes of outgoing call

$
0
0

@Autourdupc wrote:

Hi all.

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 ?

Regards,
Laurent.

Posts: 16

Participants: 6

Read full topic


Viewing all articles
Browse latest Browse all 12672

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>