Michael R Posted September 3 Report Share Posted September 3 Hi, Is there a way to receive an email alert when a SIP Trunk exceeds a set threshold % of concurrent calls in relation to channel capacity? Eg if we have a global trunk for a group of our hosted customers with a capacity of 8 channels, we want to receive an email alert every time there are 6-7 of 8 channels being used. We need to be able to proactively track and adjust our SIP Trunk capacity to respond to customer demand and being alerted when we hit a % of our trunk capacity would greatly help in this manner. If this feature doesn't exist, can this be treated as a feature request or is there another process I need to follow to get this added to the roadmap? Thanks, Michael Quote Link to comment Share on other sites More sharing options...
Vodia Support EU Posted September 3 Report Share Posted September 3 Hello, there is no channel restriction from the PBX side, so we do not offer a notification option in this regard. All other notifications can be set under Admin/Settings/Messaging/Notifications. Quote Link to comment Share on other sites More sharing options...
Michael R Posted September 3 Author Report Share Posted September 3 45 minutes ago, Vodia Support EU said: Hello, there is no channel restriction from the PBX side, so we do not offer a notification option in this regard. All other notifications can be set under Admin/Settings/Messaging/Notifications. Hi, I know there is no channel restriction but that is unrelated to wanting to know channel utilisation... you could set a field in the trunk settings so we can input how many channels the trunk has with the carrier and then use that to alert off. How do I get this into a feature request and on the roadmap? Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted September 3 Report Share Posted September 3 There is a setting for the tenant "threshold for sending trunk call notifications" (reg_domains.htm) that you can use for this. Make sure that the "when the number of trunk calls exceeds the threshold" is enabled (reg_messages.htm) is enabled. Quote Link to comment Share on other sites More sharing options...
Vernon Posted September 3 Report Share Posted September 3 The tenant threshold for sending trunk notification is probably going to be the most reliable way of getting the information you need. Just make sure you have an admin e-mail setup for your system, or alternatively create a separate admin user for that specific Tenant under the same Tenant setting page noted by the PBX Team. If you use this to strictly monitor line usage then create for yourself a new e-mail user that's specifically used to monitor usage/alerts. That way you'll have a reliable history of alerts to go through when charging your customer. Quote Link to comment Share on other sites More sharing options...
Michael R Posted September 3 Author Report Share Posted September 3 11 hours ago, Vodia PBX said: There is a setting for the tenant "threshold for sending trunk call notifications" (reg_domains.htm) that you can use for this. Make sure that the "when the number of trunk calls exceeds the threshold" is enabled (reg_messages.htm) is enabled. Thanks, I will give that a try. When referring to the tenant setting for "Threshold for sending trunk call notifications" - will it only count calls within that tenant where the setting is configured, or any tenant that utilises a (global) trunk that lives in a common tenant? In our case we have a standalone tenant which contains the global trunk and then all the other customer tenants that utilise the global trunk. Not that it is an issue right now, but what if we had multiple global trunks (eg one for in-country and one for international calls), how would we alert based on a threshold for the two individual trunks rather than all trunks within the tenant? Update: I have tried setting the threshold to 1 in our global tenant where the global trunk lives and I have not received any notifications despite having "When the number of trunk calls exceeds the threshold" enabled. It sounds like the "Threshold for sending trunk call notifications" setting is only specific to calls within the tenant, rather than calls in any tenant which use (global) trunks within the tenant where the setting is configured? Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted September 4 Report Share Posted September 4 12 hours ago, Michael R said: When referring to the tenant setting for "Threshold for sending trunk call notifications" - will it only count calls within that tenant where the setting is configured, or any tenant that utilises a (global) trunk that lives in a common tenant? In our case we have a standalone tenant which contains the global trunk and then all the other customer tenants that utilise the global trunk. It will just count how many calls in that tenant are using any trunk, in the tenant or not. The idea is that in a MSP environment the tenant/customer does not care how many other tenants are utilizing a global trunk. If you want to check if a specific trunk gets to capacity, you could set a threshold warning for the global trunk tenant. When using multiple critical trunks, you could create multiple trunk tenants and have it configured there. Quote Link to comment Share on other sites More sharing options...
Michael R Posted September 4 Author Report Share Posted September 4 8 minutes ago, Vodia PBX said: If you want to check if a specific trunk gets to capacity, you could set a threshold warning for the global trunk tenant. When using multiple critical trunks, you could create multiple trunk tenants and have it configured there. As we have one global trunk at the moment, I have tried this configuration and received no alerts even though when monitoring active calls at the system level I could clearly see the number of calls through the trunk exceeding the threshold that I set. In our environment I need to count concurrent call usage in the trunk from all tenants that utilise it. Any ideas? Quote Link to comment Share on other sites More sharing options...
Vodia Support EU Posted September 4 Report Share Posted September 4 Can you please tell me something about your PBX version? Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted September 4 Report Share Posted September 4 3 hours ago, Michael R said: As we have one global trunk at the moment, I have tried this configuration and received no alerts even though when monitoring active calls at the system level I could clearly see the number of calls through the trunk exceeding the threshold that I set. In our environment I need to count concurrent call usage in the trunk from all tenants that utilise it. I believe the problem is that you must set a limit in "maximum number of calls on trunks" before the system considers sending out the warning. For example, you can set it to 1000 to trigger the check. That feature is many years old, should not depend on the PBX version. Quote Link to comment Share on other sites More sharing options...
RichardDCG Posted Wednesday at 10:06 PM Report Share Posted Wednesday at 10:06 PM If you have any SNMP monitoring anywhere you can add the trunk to that and be alerted via that software..? We use Zabbix to monitor network routers and have added the PBX trunks so we can be alerted to overutilization. You can include anything else you can monitor via SNMP .. CPU usage etc... Quote Link to comment Share on other sites More sharing options...
Michael R Posted Wednesday at 11:48 PM Author Report Share Posted Wednesday at 11:48 PM 9 hours ago, Vodia Support EU said: Can you please tell me something about your PBX version? We are currently running 69.2.4 in production and are looking to upgrade to 69.3.2 once we've vetted it in non-production. 7 hours ago, Vodia PBX said: I believe the problem is that you must set a limit in "maximum number of calls on trunks" before the system considers sending out the warning. For example, you can set it to 1000 to trigger the check. That feature is many years old, should not depend on the PBX version. It would be great if these settings are documented in the help page (https://doc.vodia.com/docs/domain-overview#editing-a-domain). I have set "Maximum number of calls on trunks" to 8 and have set "Threshold for sending trunk call notifications" to 1 as a test and have not received any alerts, despite seeing more than one active call in the system active call page for the same trunk. Quote Link to comment Share on other sites More sharing options...
Michael R Posted Thursday at 02:36 AM Author Report Share Posted Thursday at 02:36 AM 4 hours ago, RichardDCG said: If you have any SNMP monitoring anywhere you can add the trunk to that and be alerted via that software..? We use Zabbix to monitor network routers and have added the PBX trunks so we can be alerted to overutilization. You can include anything else you can monitor via SNMP .. CPU usage etc... Thanks Richard, we have considered monitoring via SNMP, however in order to get an accurate picture, we'd need to poll every few seconds which isn't ideal. Ideally Vodia is able to keep track of these things internally and alert us via email as it has a 'real-time' view of what is happening inside the application. Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted Sunday at 05:07 PM Report Share Posted Sunday at 05:07 PM We checked again about this... IMHO if you set a maximum call number (which triggers the counting of calls) it should take a look at the notification setting as well and send out a notification when the threshold has been reached. You can set the maximum to a high number like 1000. We'll send the notification out even if the call limit is not set in future versions to avoid the confusion. Quote Link to comment Share on other sites More sharing options...
Michael R Posted yesterday at 03:37 AM Author Report Share Posted yesterday at 03:37 AM 10 hours ago, Vodia PBX said: We checked again about this... IMHO if you set a maximum call number (which triggers the counting of calls) it should take a look at the notification setting as well and send out a notification when the threshold has been reached. You can set the maximum to a high number like 1000. We'll send the notification out even if the call limit is not set in future versions to avoid the confusion. Thanks for checking. I have tried the configuration in our dev environment and I couldn't get it to work for me. Under Notifications When the number of trunk calls exceeds the threshold: Send email and text The Trunk sits in a tenant called "Global" alongside the Global Dial Plan Maximum number of calls on trunks: 1000 Threshold for sending trunk call notifications: 1 The handset sits in a Lab tenant which uses the global dial plan and thus the global trunk Tried with Maximum number of calls on trunks: 1000 Tried with Maximum number of calls on trunks: Blank Tried with Threshold for sending trunk call notifications: 1 Tried with Threshold for sending trunk call notifications: Blank Action Called the test DID and answered phone, put callee on hold Called the test DID again and answered phone Noted that there are two Active Calls on the system and no notification was provided (2 concurrent calls on trunk > 1 call Threshold for sending trunk call notifications) Hung up both calls I received the system start and trunk ok notification emails so I know the email portion of the config is working. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.