temporary fix for Asterisk 13 pause QueueMemberPause

This commit is contained in:
Herman van den Berg 2016-09-21 15:53:17 +02:00
parent e5df1f7195
commit 121bac20d4

View file

@ -754,6 +754,10 @@ namespace AsterNET
int hash, hashEvent;
eventType = attributes["event"].ToLower(CultureInfo);
if (eventType == "queuememberpause") //temporary fix for Asterisk 13 pause QueueMemberPause
{
eventType = "queuememberpaused";
}
// Remove Event tail from event name (ex. JabberEvent)
if (eventType.EndsWith("event"))
eventType = eventType.Substring(0, eventType.Length - 5);