Closed eschmidbauer closed 7 years ago
noticed it was impossible to send an event via this lib so I added a new function i've tested this patch and it works well, here is example usage:
var event []string event = append(event, "SWITCH_EVENT_MESSAGE_QUERY") event = append(event, fmt.Sprintf("VM-sub-call-id: %s", n.CallID)) event = append(event, fmt.Sprintf("message-account: %s", n.Mailbox)) err := c.SendEvent(event)
noticed it was impossible to send an event via this lib so I added a new function i've tested this patch and it works well, here is example usage: