Dynamic dial plan
Posted: Mon Jul 09, 2018 1:19 pm
What is the most "proper way" to create a dynamic dial plan?
Here's the scenario:
1. A call comes in, so I know the caller id and the DID dialed.
2. I want to pass caller id and DID to a http page: http://www.example.com/route.asp?caller ... 8002233242
3. route.asp will return a combinaiton of route and parameter, example: {EXTEN, 1223} or {AGENT, jamesbrooks} or {CALLMENU, callmenu1}
4. Based on what route.asp returns, I will transfer the call to that agentdirect agent, or callmenu, or did or extention, etc....
What is the most proper way to accomplish this?
Do I need to create a custom AGI script?
Here's the scenario:
1. A call comes in, so I know the caller id and the DID dialed.
2. I want to pass caller id and DID to a http page: http://www.example.com/route.asp?caller ... 8002233242
3. route.asp will return a combinaiton of route and parameter, example: {EXTEN, 1223} or {AGENT, jamesbrooks} or {CALLMENU, callmenu1}
4. Based on what route.asp returns, I will transfer the call to that agentdirect agent, or callmenu, or did or extention, etc....
What is the most proper way to accomplish this?
Do I need to create a custom AGI script?