Inbound Calls to Inactive Server in Cluster
Posted: Thu May 12, 2022 9:03 pm
First, let me say that I am (still) running Version 2.14-670a (2.14b0.5), SVN 2973 (on all servers), DB Schema 1542, build 180424-1521, 6 of my telephony servers are running asterisk v11.22.0-vici, 1 is running 11.21.2-vici and 2 are running 13.27.0-vici, and my system was installed from the vicibox v8.1 ISO.
So - here is my issue - I had an issue with one of my servers yesterday, so, I set Active, Active Asterisk Server, and Active Agent Server all to N, plus I set the Max Trunks to 1. I do this so that the calls, if any will fall off - and no new agents can login - and then I can reboot it - which usually resolved the issue. In this case, it was a little more complicated - I had to offload a bunch of call recordings first, which took a while - and I didn't get back to the server until early this afternoon. The problem is - this server happens to be my primary inbound server / IP - and this entire time, Active/Asterisk/Agent were all set to N - and, even though I had those set to N - the inbound calls were still trying to be delivered to reps. Our inbound carrier is configured to fail-over to a secondary server if/when this primary server isn't available - which is what I thought would occur - but - the server still accepted the calls - sort of - all it was delivering to the reps was a "dead air" call - every inbound call - (until I got into the office and someone reported the issue to me) had no one there - and beyond that - no calls ever failed over to the secondary server.
So...what should the behavior have been? Is this what I should have expected? Is there any way to have a server still powered on, connected to the internet and running asterisk that you want to ignore any inbound calls? Or should I have shut down the asterisk service on that server until I was ready to use it again to force the carrier to roll those calls over to our secondary server?
I hope that what I am describing is clear enough for you to get what I'm asking...
Thanks for any feedback - as always I appreciate it!
David
So - here is my issue - I had an issue with one of my servers yesterday, so, I set Active, Active Asterisk Server, and Active Agent Server all to N, plus I set the Max Trunks to 1. I do this so that the calls, if any will fall off - and no new agents can login - and then I can reboot it - which usually resolved the issue. In this case, it was a little more complicated - I had to offload a bunch of call recordings first, which took a while - and I didn't get back to the server until early this afternoon. The problem is - this server happens to be my primary inbound server / IP - and this entire time, Active/Asterisk/Agent were all set to N - and, even though I had those set to N - the inbound calls were still trying to be delivered to reps. Our inbound carrier is configured to fail-over to a secondary server if/when this primary server isn't available - which is what I thought would occur - but - the server still accepted the calls - sort of - all it was delivering to the reps was a "dead air" call - every inbound call - (until I got into the office and someone reported the issue to me) had no one there - and beyond that - no calls ever failed over to the secondary server.
So...what should the behavior have been? Is this what I should have expected? Is there any way to have a server still powered on, connected to the internet and running asterisk that you want to ignore any inbound calls? Or should I have shut down the asterisk service on that server until I was ready to use it again to force the carrier to roll those calls over to our secondary server?
I hope that what I am describing is clear enough for you to get what I'm asking...
Thanks for any feedback - as always I appreciate it!
David