[Freeswitch-users] RTMP subclass rtmp::unregister event variable missing

vaad.fabi at gmail.com vaad.fabi at gmail.com
Tue Aug 7 18:53:52 MSD 2012


  Hi all,

I am try to realize simple lua event socket script to check rtmp mod 
events. But found some issue according to rtmp events -  for subclass  
rtmp::register we can get 'USER' variable, but for  subclass 
rtmp::unregister  there is no variable USER and some others.
Please explain how to get user name on rtmp::unregister event.  Dumps 
for all subclases are below.



Event-Name: CUSTOM
Core-UUID: 211bfd74-e09c-11e1-b583-492137a6e73f
FreeSWITCH-Hostname: fs-flashphone.XXX.net
FreeSWITCH-Switchname: fs-flashphone.XXX.net
FreeSWITCH-IPv4: 193.158.000.104
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2012-08-07%2018%3A40%3A56
Event-Date-GMT: Tue,%2007%20Aug%202012%2014%3A40%3A56%20GMT
Event-Date-Timestamp: 1344350456515761
Event-Calling-File: mod_rtmp.c
Event-Calling-Function: rtmp_add_registration
Event-Calling-Line-Number: 1045
RTMP-Session-ID: 235bae22-e09c-11e1-b587-492137a6e73f
RTMP-Flash-Version: WIN%2011,3,300,268
RTMP-SWF-URL: http%3A//193.158.000.104/flash/freeswitch.swf
RTMP-TC-URL: rtmp%3A//193.158.000.104
RTMP-Page-URL: http%3A//193.158.000.104/flash/freeswitch.html
RTMP-Profile: default
Network-Port: 3896
Network-IP: 92.116.000.140
RTMP-Profile: default
User: test04
Domain: 193.158.000.104




Event-Name: CUSTOM
Core-UUID: 211bfd74-e09c-11e1-b583-492137a6e73f
FreeSWITCH-Hostname: fs-flashphone.XXX.net
FreeSWITCH-Switchname: fs-flashphone.XXX.net
FreeSWITCH-IPv4: 193.158.000.104
FreeSWITCH-IPv6: %3A%3A1
Event-Date-Local: 2012-08-07%2018%3A41%3A24
Event-Date-GMT: Tue,%2007%20Aug%202012%2014%3A41%3A24%20GMT
Event-Date-Timestamp: 1344350484383919
Event-Calling-File: mod_rtmp.c
Event-Calling-Function: rtmp_clear_reg_auth
Event-Calling-Line-Number: 1076
RTMP-Session-ID: 235bae22-e09c-11e1-b587-492137a6e73f
RTMP-Flash-Version: WIN%2011,3,300,268
RTMP-SWF-URL: http%3A//193.158.000.104/flash/freeswitch.swf
RTMP-TC-URL: rtmp%3A//193.158.000.104
RTMP-Page-URL: http%3A//193.158.000.104/flash/freeswitch.html
RTMP-Profile: default
Network-Port: 3896
Network-IP: 92.116.000.140
RTMP-Profile: default

-- 
Best Regards,
Vadim F.




Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list