temporary fix for Asterisk 13 pause QueueMemberPause
This commit is contained in:
parent
e5df1f7195
commit
121bac20d4
|
@ -754,6 +754,10 @@ namespace AsterNET
|
||||||
int hash, hashEvent;
|
int hash, hashEvent;
|
||||||
|
|
||||||
eventType = attributes["event"].ToLower(CultureInfo);
|
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)
|
// Remove Event tail from event name (ex. JabberEvent)
|
||||||
if (eventType.EndsWith("event"))
|
if (eventType.EndsWith("event"))
|
||||||
eventType = eventType.Substring(0, eventType.Length - 5);
|
eventType = eventType.Substring(0, eventType.Length - 5);
|
||||||
|
|
Loading…
Reference in a new issue