Then use authenticate and set a flag in the database that to make a call must be 1 if its not get the user to authenticate and set it
Thanks Ian (Astmaster) That sounds great, except i’m not sure how i would go about it. Is this something i’d do in my extensions_custom.conf or through the an AGI script (of which i wouldnt know how to hook it into asterisk so it would be called on asterisk reload)
If you could give me some basic direction i’d really appreciate it.
Setup is users dial “0” to get a dialtone for outbound calls - and “0” is just a queue that will connect to the first available FX0 port (Grandstream GWX41004/8 /w 2 stage dialing)
Setup is where users just dial the number they want (unaltered) and the oubound routes have rules that match local, cellphone, and internation numbers - all these go through at “FreePBX” trunk (GWX41004/8 /w 1 stage dialing) or through some SIP trunks I have with Broadvoice etc…
I would like for both scenarios to need authentication for outbound calls, by logging in to an extension & logging out - its the users responsability to lock/unlock their phone.