FS-5527 --resolve

Conflicts:
	libs/sofia-sip/.update
	libs/sofia-sip/libsofia-sip-ua/nta/nta.c
FS-5527 fix compiler error windows
(cherry picked from commit a52a604fbb561dbb604676b1a17888bd74625101)
fix race condition on device state destroy
fix input event checker pre-empting return value from dtmf checker when both are present
--resolve FS-5566

When you use $12345 in regex substitutions, it isn't obvious
whenever you mean $1-concatenated-2345 or $12-concatenated-345
or any other variation.  In all other languages, in order to
solve this ambiguity, a braces {} are allowed to be used to
separate variable name (or a reference) from surrounding text,
like ${1}2345 or ${12}345.  Use the same for freeswitch too.

While at it, fix a buffer overflow as well: the index[] variable
which is used to copy the "variable" name is 10 chars long, but
it is used in the code without bounds checking, so a reference
which is >9 chars long ($1234567890) will overflow the buffer,
crashing freeswitch.

And another overflow is in the way how size of the "substituted"
variable is handled.  First, in the outer loop, we compare the
wrong variable with the size of `substituted' buffer (amount of
bytes we took from the source instead of amount of bytes we
used in `substituted').  And second, when actual regex match
is being substitured, amount of room in `substituted' variable
is not checked at all.

Patch contributed by Michael Tokarev <mjt@tls.msk.ru>
Bump
partial rollback of ec6754262863475136c6a53b012eb7b0bb62d7ba to fix skinny breakage
FS-5568 --resolve the real problem is that L=-1 is not valid because the L param is about how many times to generate the output while generating the tone so -1 is impossible because it can never end to let you hear it.  The real fix is to not allow -1 loops=-1 is the correct way to do this because that is parsed after the tone is generated and repeats the entire thing.  Doing something like L=100 actually generates the whole slinear audio 100 times into memore where loops=100 only generates the little snippet and repeats it after it was generated.
slight tweak to the spec file
Add mod_rayo to debian packaging
Add mod_ssml to Debian packaging
Tweak such that control-modules.gen matches
Fix uninitialized use of length variable

Bad things must have been happening when this was hit.

This was introduced in commit 7656a075c750f63d4095f6ed9b558c6f18443698
Fix spacing
--resolve FS-3918 using patch that adds conference_moderator_pin channel variable
mod_rayo: move example config so that make config-rayo works
merge upstream