Commit Graph

16176 Commits

Author SHA1 Message Date
Travis Cross 52fb53cba4 Allow reincarnation from mod_sofia's shutdown-on-fail
mod_sofia's parameter shutdown-on-fail now accepts the value
"reincarnate-now".  This will cause the switch to exit immediately
with a non-zero exit code so that the supervisor can recover the
switch.  For this to work you have to pass in -reincarnate or
-reincarnate-reexec to freeswitch.
2014-06-27 22:18:39 +00:00
Travis Cross 80ed14ab3e Ensure mod_sofia params can be unset or reset
This is the result of auditing each mod_sofia profile parameter to
ensure that it can be unset or reset after being set.  One use-case
for this being done correctly is so a later parameter in a
configuration file can reliably override an earlier one, which is
useful for setups with layered include files.
2014-06-26 09:04:56 +00:00
Travis Cross 75feed68fc Avoid leaking memory on sofia profile reload
We were leaking the string values of apply-candidate-acl parameters.
2014-06-26 08:39:55 +00:00
Travis Cross 63351a1061 Terminate format_cdr json files with newline
In UNIX, text files by definition end with a newline.
2014-06-25 23:30:54 +00:00
Travis Cross d5fa28417e Allow setting format of log filename in format_cdr
This commit allows you to set a `log-file` string parameter in a
format_cdr profile.  This string is a template that may (and should!)
contain variables.  This template will be expanded and used as the
file name of the CDR to be written.  This parameter should contain
only the template for the file name itself; the path is relative to
the `log-dir`.
2014-06-25 23:22:34 +00:00
Travis Cross f7b4ec617a Allow SIP UPDATE messages without display updates
Previously if send-display-update was set to false we would also
remove UPDATE from our Allow: headers.  This is unnecessary.  The
UPDATE message is useful in SIP transactions even if we're not sending
display updates.

With this commit, we add a new boolean profile flag, allow-update.  If
set to true we'll send Allow: UPDATE.  If set to false, we will not.
If there is a conflict with another setting that requires UPDATE
support, the allow-update parameter will win and a warning will be
printed.

ref: RFC 3311
2014-06-25 20:43:29 +00:00
Anthony Minessale ba784f2548 skip update on member channels with no json 2014-06-25 13:40:50 -05:00
Anthony Minessale b9a51bbf91 FS-6632 Trying to actually use opus in stereo broke pretending to use it in stereo 2014-06-25 21:19:07 +05:00
Anthony Minessale 062b7c6e3d duh, the code to parse the codec params from the config file wasn't there 2014-06-25 21:19:07 +05:00
Anthony Minessale c71f89a39b FS-6627 2014-06-24 15:42:07 -05:00
Brian West 1a58f05891 FS-6621 2014-06-24 14:13:10 -05:00
Seven Du 6540068faa fix compiler warning 2014-06-24 09:10:34 +08:00
Anthony Minessale 25c0f7d00c FS-6440 regression from this patch on single CPU or VM machines causes startup race 2014-06-23 23:55:52 +05:00
Eliot Gable b21f34bffc Clarify error message. 2014-06-21 19:16:50 +00:00
Brian West 058ef6923b FS-6617 fix compile error 2014-06-21 11:04:53 -05:00
Anthony Minessale 011e069652 fix recording in stereo conferences 2014-06-20 23:53:22 +05:00
Brian West 8f47f403fd FS-6612: Don't use rport in tcp or tls 2014-06-20 10:23:05 -05:00
Anthony Minessale ffa09cd1e7 various verto cleanups and fix a race in double event delivery thread creation 2014-06-20 19:21:56 +05:00
Anthony Minessale faeb00368e verto bug fixing in codec negotiation and some stereo codec stuff 2014-06-20 01:41:28 +05:00
Anthony Minessale f7c6c90749 fix null strcmp 2014-06-19 23:37:39 +05:00
Nathan Neulinger d886cc12fa mod_skinny: profile digit timeout is integer not string 2014-06-18 17:11:19 -05:00
Nathan Neulinger 65e190ce26 mod_skinny: add easy access to set blocking/non-blocking mode for skinny socket on a per-profile basis 2014-06-18 17:06:54 -05:00
Nathan Neulinger 8dabf51945 mod_skinny: socket timeout should be set in all cases, not just for blocking 2014-06-18 16:41:38 -05:00
Nathan Neulinger 06b87b83c5 mod_skinny: no warning if there is a matching entry, but no version listed 2014-06-18 12:06:27 -05:00
Nathan Neulinger 296c489143 mod_skinny: add stub for media resource notification message sent by VG224 2014-06-18 11:54:49 -05:00
Nathan Neulinger 840f7e69dd mod_skinny: always return a response to version message, since that's what CCM does 2014-06-18 11:44:25 -05:00
Nathan Neulinger 4eabd3ab95 mod_skinny: handle additional escaping in log messages to reduce screen/console issues 2014-06-18 10:19:42 -05:00
Nathan Neulinger e279ae8203 FS-6605 add support for automatic dialing when off-hook/ringdown --resolve 2014-06-18 08:40:28 -05:00
Nathan Neulinger 723ea00855 FS-6607 add further not from wiki page about IPv6 support 2014-06-17 19:53:45 -05:00
Nathan Neulinger 1e249d61c3 FS-6607 add notice of IPv6 support for mod_skinny 2014-06-17 19:36:55 -05:00
Michael Jerris 412abaddde no one seems to be okay with actually installing perl modules because it might require the permissions to acutally do so, instead, let the users figure out how to install them themselves so they can figure out how to have permissions and where they acutally go by themselves with no direction from us 2014-06-17 20:19:22 -04:00
Anthony Minessale b077217d44 FS-6337 2014-06-18 01:19:14 +05:00
Anthony Minessale 3c08104874 remove unused code 2014-06-18 01:17:35 +05:00
Nathan Neulinger d5856a4197 FS-477 fix inappropriate firing of timeout after call proceeds --resolve 2014-06-17 14:56:21 -05:00
Michael Jerris c76c132692 FS-6604: needs DESTDIR 2014-06-17 11:53:10 -05:00
Michael Jerris 6e05bfba13 FS-6604: install to archlib not sitelibexp 2014-06-17 11:19:02 -05:00
Michael Jerris 82dbc5d2b9 FS-6604: install to archlib not sitelibexp 2014-06-17 10:35:17 -05:00
Chris Rienzo 3c7c167581 mod_rayo: improved idle detection- call is idle only if no active components and not joined 2014-06-16 14:39:17 -04:00
Brian West 10719e58c8 work around macro definition of fileno breaking our c++ code 2014-06-16 11:14:42 -05:00
Brian West 23259812ac FS-6593 --resolve this isn't used, I've tested. 2014-06-16 10:42:58 -05:00
Travis Cross 13e02278a1 Use portable version of strerror_r()
FS-6596 --resolve
2014-06-16 13:45:39 +00:00
Jeff Lenk 9e600ec938 FS-6591 --resolve If you are still using spidermonkey you should migrate to v8 2014-06-13 22:49:01 -05:00
Jeff Lenk dc2f5cc491 vs2010 reswig 2014-06-13 22:41:37 -05:00
Anthony Minessale c0e7e7b88c add reset function to clear some state data in the rtp session 2014-06-14 07:05:00 +05:00
Anthony Minessale 280e816a90 FS-6590 --resolve 2014-06-14 04:56:55 +05:00
Anthony Minessale 9108a08a47 fix build 2014-06-13 23:15:41 +05:00
Chris Rienzo 633dfe2a56 FS-6535 mod_rayo: close recognizer when input component is complete 2014-06-13 12:34:19 -04:00
Chris Rienzo 1511fe3ee8 mod_rayo: rework component inheritance- component now inherits parent call/mixer mutex and parent reference counting moved to base class 2014-06-13 12:16:26 -04:00
Chris Rienzo 730d2f88ba mod_rayo: rename reference counting functions to something more sensible 2014-06-13 11:33:33 -04:00
Chris Rienzo 9aa5102142 FS-6535 mod_rayo: compile error 2014-06-13 10:08:49 -04:00