Commit Graph
4 Commits
Author SHA1 Message Date
Mark Lipscombe 3293baa336 FS-8559: mod_shout should have "mpga" in it's list of supported extensions
Add mpga to the list of supported formats for mod_shout so that
files retrieved using mod_http_cache with a mime type of audio/mpeg
are able to be played using mod_shout.
2015-11-19 20:54:06 +11:00
Mark Lipscombe 4e9977507d FS-8537: Passing nil to various lua functions causes segfault
Various functions exposed via lua do not check their parameters for null
causing freeswitch to segfault.

This change adds checking for null parameters and returns an error
instead of segfaulting.
2015-11-15 10:43:09 +11:00
Mark Lipscombe 6288af5ef1 FS-8413: Segfault calling session:getVariable(nil) in lua script
script calling session:getVariable() with a null variable
name will cause FreeSWITCH to segfault.

This change checks whether varname parameter to
switch_channel_get_variable_dup is non-NULL.
2015-11-04 17:33:11 +11:00
Mark Lipscombe 97394bd679 FS-7778 Fix ALTER TABLE statement to use single quotes.
sofia_glue.c tries to issue an SQL "ALTER TABLE" statement to add the
ping_status column to sip_registrations, but fails because the default
is incorrectly quoted (double quotes vs single quotes).
2015-07-06 12:10:08 -03:00