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

mario_fs mario_fs at mgtech.com
Tue Mar 19 18:48:14 UTC 2019


Tried many variations of search on google and the wiki and looked at all LUA and event pages I could find since Sunday. You can’t search “from-user” it ignores the dash. No browser history since I use private browsing. Good guesses but I have been this a long time. I always refund a wiki page but this one is buried ike it was deleted. It had a list of all the variables available for the different events/subclasses. Anyway… stance but true, it vanished to me.

> On Mar 19, 2019, at 11:37 AM, Bote Man <bote_radio at botecomm.com> wrote:
> 
> 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.
>  
> Bote
>  
>  
> From: Freeswitch-docs <freeswitch-docs-bounces at lists.freeswitch.org <mailto: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 <mailto: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:
> https://freeswitch.org/confluence/pages/viewpage.action?pageId=15139388 <https://freeswitch.org/confluence/pages/viewpage.action?pageId=15139388>
> and edited it but that’s not the one I originally saw, the other one had custom and other events for LUA listed. 
> Thanks
> Mario G
> _________________________________________________________________________
> Professional FreeSWITCH Services
> sales at freeswitch.com <mailto:sales at freeswitch.com>
> https://freeswitch.com <https://freeswitch.com/>
> 
> Official FreeSWITCH Sites
> https://freeswitch.com/oss <https://freeswitch.com/oss>
> https://freeswitch.org/confluence <https://freeswitch.org/confluence>
> https://cluecon.com <https://cluecon.com/>
> 
> Freeswitch-docs mailing list
> Freeswitch-docs at lists.freeswitch.org <mailto:Freeswitch-docs at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-docs <http://lists.freeswitch.org/mailman/listinfo/freeswitch-docs>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-docs <http://lists.freeswitch.org/mailman/options/freeswitch-docs>
> https://freeswitch.com <https://freeswitch.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-docs/attachments/20190319/977e535b/attachment-0001.html>


More information about the Freeswitch-docs mailing list