Hi, all,
we all know that Avaya does not allow you to track number of trunks in use, so in a multisite environment with limited number of lines connecting two sites, if you use URS, there is always a chance that you will try to route a call to another site even though there is no trunk available, thus effectively dropping the call.
I do not know how to avoid this, so if someone knows a simple way to have Avaya NOT drop the call and instead route it somewhere else, please tell me!
I was thinking about if there is some programmatic way of keeping track of trunks in use.
I was hoping to use VQ for this purposes. The idea was to increase a count in VQ whenever call passes through it. Since Genesys dequeues a call before sending it to the agent, I was thinking about using SendEvent[EventQueued] to increase the count in some arbitrary VQ.
So it would be something like this:
1. When calls passes routing point A, I generate event SendEvent[EventQueued, thisqueue=VQ_Test] and route the call to its destination.
2. When call is released, StatServer would delete this call from it memory.
I was able to get URS to increment the count of calls in queue in VQ_Test and have it remain so after routing the call to the agent. But unfortunately, the count was never decreased, even after call is released!!!
Why? I thought that release call would force StatServer to remove that ConnID from VQ, since it is no longer valid, but this did not happen!
How can I decrease the count of VQ on Release without modifying all the softphones? Is there a simpler way of doing it?
One way I thought of getting it to work would be to create a simple TLib application which would register for all DNs and when EventRelease happens, inarbitrary issue EventAbandoned for VQ_Test, thus effectively removing it from the queue...
It may not be pretty, but it seems to be pretty simple...
Of course, later, it would also monitor the original routing point and issue EventQueued and EventDiverted by itself, right?
But before that, what do you think?
Vic