5240 Commits

Author SHA1 Message Date
Patrice Fournier
21ae587063 Disabling Require timer for T.38 re-Invites cause problems
Disabling Require timer for T.38 re-Invites tells the remote side it
doesn't need to refresh the session but FreeSwitch will still terminate
the call if the remote session doesn't refresh.
2014-07-08 01:00:52 -04:00
François
e3b0d7219e Fix BLF confusion when dealing with the same extension in multiple domains 2014-07-06 16:57:50 +02:00
Kathleen King
85699480b3 Fixed trucation of value warning.
There was a parameter mismatch between abs(), which expects an int,
and atol() which returns a long. Since max_drift is defined as an int,
there is no need to pars q as a long rather than an int.
2014-07-03 14:41:24 -07:00
Anthony Minessale
2423fc7d0f FS-6540 This should proxy all refers now, the param has changed to proxy-refer 2014-06-30 12:53:22 -05:00
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
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
062b7c6e3d duh, the code to parse the codec params from the config file wasn't there 2014-06-25 21:19:07 +05:00
Brian West
058ef6923b FS-6617 fix compile error 2014-06-21 11:04:53 -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
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
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
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
9108a08a47 fix build 2014-06-13 23:15:41 +05:00
Anthony Minessale
c375e336bc add debugging 2014-06-13 06:06:14 -04:00
Anthony Minessale
33541dcfd9 add logging 2014-06-13 03:02:09 -04:00
Anthony Minessale
4ffbf23ffa stereo refactoring 2014-06-13 01:49:16 -04:00
Michael Jerris
b333714906 fix coverity warnings 2014-06-11 17:11:47 -05:00
Michael Jerris
bfaf20c2f3 fix install 2014-06-11 15:20:38 -05:00
Michael Jerris
1ffb1ee0d0 WIP 2014-06-11 12:48:46 -05:00
Nathan Neulinger
148c21c6b2 FS-477 mod_skinny fix leaked lock 2014-06-09 12:34:52 -05:00
Nathan Neulinger
2974734479 FS-477 mod_skinny: re-add ability to set digit timeout in patterns, update example configs 2014-06-09 12:29:47 -05:00
Nathan Neulinger
8b6fd66f34 FS-477 default to 10 seconds to avoid noticeable impact on current users until variable timeout support re-added 2014-06-09 10:56:52 -05:00
Simon Wunderlich
31a181a4b5 mod_skinny: implement digit timeout for dialing
For numbers with variable length, there should be a timeout to wait for
further digits before routing the number. This has been prepared with
the skinny-wait target, which waited forever. This patch implements the
digit timeout which routes the call after the timeout has elapsed. The
timeout can be configured in the mod_skinny XML settings
("digit-timeout") and defaults to 2 seconds.

This implementation has been requested and sponsored by Blackned GmbH.

Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Nathan Neulinger <nneul@neulinger.org>
2014-06-09 10:55:36 -05:00
Anthony Minessale
49ee6781a5 FS-6540 please test 2014-06-05 23:49:50 +05:00
Anthony Minessale
3ab1044d6e FS-6562 --resolve 2014-06-03 15:16:45 -04:00
Brian West
6722e3dfea fix regression from regression 2014-06-02 19:25:04 -05:00
Brian West
f358c35b67 remove debug line 2014-06-02 19:21:02 -05:00
Anthony Minessale
a7b9329a08 FS-6446 regression fixed 2014-06-02 19:09:48 -05:00
Anthony Minessale
956da6d689 Modify sofia profile to attempt to bind to the interface up to 3 tries with a 5 second wait between attempts.
Add new profile params bind-attempts and bind-attempt-interval to modify default behavior.
--NEEDSDOCS
2014-06-02 22:47:26 +05:00
Michael Jerris
6092524f17 CID:1174726 Dereference before null check, CID:1214199 Dereference null return value; refactor channel_outgoing_channel to have failure conditions first to reduce indenting level 2014-05-29 21:59:26 +00:00