I let all incoming calls land in an “incoming” context. This context does not include any other contexts for security reasons.
I haev 19 public numbers that I just want to send to the “local-users” context via Goto.
I want the “local-users” context to hold the exten with Dial commands.
The “local-users” includes incoming but if I add a DIAL command for the extensions in incoming I have to add time limits and Voicemail there as well which makes the set up in “local-uusers” unnecessary.
I would also have to include outgoing in the incoming context which is a security risk. (Anyone could call any public no.@my sip domain. My Asterisk would not find the no. and forward it to my PSTN trunk )
So, I’d like to add in incoming:
exten => 1000,1,Goto(local-users,1000,1) but I can’t get the syntax correct.