[Freeswitch-docs] Please help finding a wiki page on custom event variables in LUA

Bote Man bote_radio at botecomm.com
Tue Mar 19 18:37:58 UTC 2019

The Confluence search isn’t terrible, but you have to craft the search terms to avoid common words, for sure.


Have you scrolled back in your browser history?


I understand there can be a lot of overlap.


Also, note well that that URL form indicates to me that there is something funky with that particular page. If you go to “Event List” the URL includes that page title. Maybe that has something to do with you being unable to find the desired page? Like it’s restricted viewing or similar?


Hope this helps.





From: Freeswitch-docs <freeswitch-docs-bounces at lists.freeswitch.org> On Behalf Of mario_fs
Sent: Tuesday, 19 March, 2019 14:03
To: freeswitch-docs at lists.freeswitch.org
Subject: [Freeswitch-docs] Please help finding a wiki page on custom event variables in LUA


Sounds crazy, I used a wiki page Saturday and spent 5 hours trying to find it again so I can edit and add to it but I cannot. Since it’s so hard to find I will add links to it in other pages. It may be LUA or SOFIA or ESL related. I found a page that had the names of variables I could get into a LUA program triggered by:

hook event="custom" subclass="sofia::unregister" script=“…..


There was a section for unregistered (and others) that list them like:

username: ….

from_user: ... 

I used them here:

local username  = event:getHeader("username");

local from_user = event:getHeader("from-user");


If anyone knows the page please point me to it. I found an item missing from the page and was going to edit the page and add it (missing user-agent for unregister event). I found this page:


and edited it but that’s not the one I originally saw, the other one had custom and other events for LUA listed. 


Mario G

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-docs/attachments/20190319/6b0ed1ee/attachment.html>

More information about the Freeswitch-docs mailing list