Ok so lets say I have a user who has a username and password to use my asterisk server.
For this example Lets say the IP address says the person is in Melbourne Australia.
But in our dial plan we have melbourne as
So what I really need is away to find out where the original call is coming from.
I understand that we can call
System() to run a system command like say
Which would give me the users information of what state his IP address was currently in.
But question 1) how do a get System to return a response that Asterisk can read and then use a
gotoif function that lets me choice where it goes from there.
If anyone can help that would be great