- Joined
- Feb 13, 2013
- Messages
- 2,874
- Reaction score
- 1,218
I'm going to embarrass myself a little here. Several years ago I was trying to use the divert API and just couldn't get it to work. I found out, after considerable effort, that the documentation was incorrect, and was told by 3CX "just do this" (I don't remember what I was told to do). I made the suggested change and everything worked perfectly. Fast forward to present day, and I can't find the old code, and I can't get it to work again.
I was wondering at what stage in a call can I use the divert? Does it have to be a connected call, or can I redirect a call while in the "dialing" or "ringing" stage?
I want to monitor for outbound calls, and if the call is not permitted (based on some business logic), divert the call to an internal extension. Ideally, I would like to divert the call as early in the call setup process as possible -- preferably in the dialing stage before the call starts ringing.
Any guidance would be appreciated
I was wondering at what stage in a call can I use the divert? Does it have to be a connected call, or can I redirect a call while in the "dialing" or "ringing" stage?
I want to monitor for outbound calls, and if the call is not permitted (based on some business logic), divert the call to an internal extension. Ideally, I would like to divert the call as early in the call setup process as possible -- preferably in the dialing stage before the call starts ringing.
Any guidance would be appreciated