[Freeswitch-users] Writing Custom Verto Events to Websocket

Michael Smeltzer mwsmeltzer at gmail.com
Mon Jun 8 20:48:46 UTC 2020


Hi all,

Was trying to figure out how to send custom verto events to the browser via
websocket and I found this old thread, which pretty much lays out what I
was trying to do - but unfortunately, no responses on this.

https://lists.freeswitch.org/pipermail/freeswitch-users/2015-May/112995.html

Essentially wondering if there was a way to send custom events using
mod_verto's WRITE functionality, similar to below, and if there was any
guidance on how to do this? I tried creating an event and firing it but it
doesn't seem to appear in the websocket and it seems that mod_verto is
writing these events uniquely.

2015-05-12 05:18:04.470641 [ALERT] mod_verto.c:604 WRITE192.168.10.101:48165 [{
        "jsonrpc":      "2.0",
        "id":   8,
        "result":       {
                "message":      "CALL CREATED",
                "callID":       "be3e35a0-ec02-5ca7-cbf8-68a8c1cd2c4c",
                "sessid":       "48a502b3-740a-5b3d-21a4-bf9244bafb90"
        }
}]

Thanks,
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200608/29939995/attachment.html>


More information about the FreeSWITCH-users mailing list