1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-04-11 15:07:07 +00:00

28586 Commits

Author SHA1 Message Date
Travis Cross
0aca2c714d Use systemd RuntimeDirectory for /run/freeswitch
This changes how we create the temporary directory /run/freeswitch
when starting FS with systemd.  The /run directory starts empty after
a system reboot, so we need to ensure this directory is present.

As part of systemd.exec(5), systemd provides a mechanism to
automatically manage these directories under /run and to bind their
lifetime to the lifetime of the process.

This commit moves to using the RuntimeDirectory= mechanism and removes
the obsolete ExecStartPre/mkdir code.

FS-7130
2015-09-22 05:50:41 +00:00
Michael Jerris
cd4ebc67c4 FS-8042, FS-8182: add ping time (in ms) to sip_registrations table, displays as part of the show commands that show registration details, add force_ping=true user var to force options ping on individual registered endpoints 2015-09-21 17:46:35 -05:00
Michael Jerris
7dda9d01ea FS-8185: [core] Allow xml preprocessor to expand variables where the resulting value is much longer than the original size 2015-09-21 17:46:27 -05:00
Anthony Minessale
9936846e01 FS-8167 [mod_lua] Fixed a segfault caused by using api:execute or session:execute and not quoting the first argument like api:execute(log, “Second argument”) instead of api:execute(“log”, “Second argument”) 2015-09-21 17:46:13 -05:00
Anthony Minessale
5844c10fdd FS-8169 Fixed uuid_displace on stereo channels can lead to memory corruption causing a crash 2015-09-21 17:45:59 -05:00
Anthony Minessale
739ec596f0 FS-8175 #resolve [Add continue_on_answer_timeout variable to allow channel to proceed from a tripped answer timeout] 2015-09-16 18:14:42 -05:00
Michael Jerris
f4ed3a27ff FS-8149: fix mod_xml_cdr curl dependency in makefile v1.4.22 2015-09-15 12:24:20 -04:00
Tamas Cseke
a4e1d4c00a FS-8147: [mod_erlang_event] Fix process spawing segfault
Don't delete spawn reply because it can cause segfault in strncmp, check the flag instead
2015-09-15 12:23:10 -04:00
Artur Zaprzała
5257ee6521 FS-8140: [mod_sofia] Fix user_name typo in sofia_handle_sip_i_invite 2015-09-15 12:22:59 -04:00
Natanael Copa
8a8c8e943a FS-8131: [mod_voicemail] fix disallowed empty password set
Prevent users to change password to an empty password when
allow-empty-password-auth is set to true.
2015-09-15 12:21:34 -04:00
Natanael Copa
d0010f6d83 FS-1772: [mod_voicemail] fix reset of voicemail greeting to default to allow entering 0 to restore the default greeting. 2015-09-15 12:20:25 -04:00
Michael Jerris
3c57190b79 FS-8160: properly handle malformed json when parsing json with \u at the end of a json string 2015-09-14 17:57:44 -04:00
Chris Rienzo
12b2880b06 FS-8143 #resolve #comment [mod_rayo] Fix crash caused by client disconnecting from mod_rayo while a message is being delivered to that client.
This is caused by the XMPP context's JID -> XMPP stream mapping not being cleaned up on XMPP stream destruction.
2015-09-09 17:05:58 -04:00
Anthony Minessale
fab435479a FS-8127 #resolve [update codec when detecting rate change in mod_conference more often] 2015-09-09 14:12:46 -05:00
Peter Wu
02cc5bcd14 Restore LUA dialplan ACTIONS functionality
Since using SWIG 2.0 to generate the code, two new items have been
pushed on the stack. Use relative stack indices to avoid breakage.

FS-8099 #resolve
2015-09-09 14:00:10 -05:00
Anthony Minessale
6f503bdc98 FS-7486 #resolve update sofia 2015-09-09 12:38:00 -05:00
Anthony Minessale II
e05a5c2cdf Merge pull request in FS/freeswitch from ~ARTURZ/freeswitch:FS-7486-broken-sofia-request-queue to master
* commit '074b07f5458d8584c153a5810bfa2e4011def20c':
  FS-7486: Fix handling of queued requests in Sofia-SIP
2015-09-09 12:38:00 -05:00
Anthony Minessale
1613f145d6 FS-8142 minor formatting mod 2015-09-09 12:38:00 -05:00
Anthony Minessale II
b72c89cd2c Merge pull request in FS/freeswitch from ~ARTURZ/freeswitch:FS-8142-switch_core_session-thread-cache-races to master
* commit 'cd4c3188e4f715ff129dc4eea1a4ba50140c2a42':
  FS-8142 Fix a thread cache thread-safety and caching
2015-09-09 12:37:52 -05:00
Anthony Minessale II
4892f95216 Merge pull request in FS/freeswitch from ~ARTURZ/freeswitch:FS-8141-add-apr_queue_term to master
* commit '9e29ea01b59280845f481f5b7b3743251c77dd50':
  FS-8141 Add support for apr_queue_term() to switch_apr.c
2015-09-09 12:27:24 -05:00
Mike Jerris
a223dd0236 FS-7135: [mod_sofia] fix response to re-invite with duplicate sdp (such as we get from seesion refresh) when soa is disabled to include an sdp. Fixes t.38 fax failure on session refresh 2015-09-01 15:26:22 -05:00
Anthony Minessale
d3d1a058ab FS-7903 #resolve [proxy_media gives Codec PROXY Exists but not at the desired implementation. 0hz 0ms 1ch] 2015-09-01 15:26:02 -05:00
Michael Jerris
bad2250044 FS-8056: [mod_voicemail] fix segfault on vm_inject, regression from FS-7968 2015-09-01 15:23:03 -05:00
Joshua Gigg
f9f5348bfa FS-7968: [mod_voicemail] fix verbose events
- Fix record-name event missing VM-Name-Path
 - Fix verbose events for mod_voicemail 'folder-summary'
 - Send change-password event in mod_voicemail
 - Fix verbose events for mod_voicemail 'leave-message'
2015-09-01 15:22:50 -05:00
Michael Jerris
15c5e01f6a FS-8055: [build] add confdir variable to freeswitch.pc 2015-09-01 15:20:36 -05:00
Mike Jerris
3acabb8e3c Merge pull request in FS/freeswitch from bugfix/FS-7911-v1.4 to v1.4
* commit 'd5d451734047a7dd6f847f6bd875f4a73c0d011d':
  FS-7912: [mod_conference] fix for v1.4 branch to not allocate for conference cdr if conference cdr is disabled
2015-09-01 13:06:25 -05:00
Chris Rienzo
19233e4690 FS-8110 #resolve #comment [mod_rayo] prompt IQ error reply was being deleted after being sent for delivery. This is incorrect since message delivery thread will clean up the message. 2015-09-01 13:43:30 -04:00
Chris Rienzo
c74264b942 FS-8082 #resolve #comment [mod_rayo] do not remove items from hash while iterating 2015-09-01 12:50:02 -04:00
Chris Rienzo
1b8814430e FS-8103 #resolve #comment [mod_rayo] handle <prompt> where <output> finishes unexpectedly before start event is received 2015-09-01 11:00:54 -04:00
Chris Rienzo
09a1c47548 FS-7752 [mod_rayo] increase maximum number of <tag> elements from 30 to 1024. This allows adhearsion to create large grammars to navigate IVR menus. 2015-08-31 09:46:55 -04:00
Anthony Minessale
d9ea0f56d2 FS-8091 backport to 1.4 2015-08-28 14:48:52 -05:00
Michael Jerris
d5d4517340 FS-7912: [mod_conference] fix for v1.4 branch to not allocate for conference cdr if conference cdr is disabled 2015-08-28 14:43:35 -05:00
Ken Rice
87a059bafc bump version numbers v1.4.21 2015-08-26 09:57:59 -05:00
Chris Rienzo
c93ae16de2 FS-8054 #resolve #comment [mod_rayo] fix warning when building on Debian. 2015-08-26 10:53:14 -04:00
Michael Jerris
781959230b FS-8047: [build] fix build errors in mod_oreka, and mod_sangoma_codec due to using __FUNCTION__ on newer compilers 2015-08-26 09:32:27 -04:00
Michael Jerris
0d3c4870f3 FS-8047: [build] fix build error in mod_basic due to using __FUNCTION__ on newer compilers 2015-08-25 21:48:22 -04:00
Michael Jerris
bdeadadc88 FS-8047: [build] fix build error in mod_basic due to using __FUNCTION__ on newer compilers 2015-08-25 17:36:46 -04:00
Anton Farygin
b59ff25c71 FS-7043: [build] fixed apr1 unresolved symbols in libfreeswitch.so.1.0.0 2015-08-25 14:52:25 -05:00
Anthony Minessale
da6997d771 FS-7985: [mod_voicemail] fails to compile on 32-bit PPC platform 2015-08-25 14:52:09 -05:00
Michael Jerris
5a8a37c955 rename debug trace 2015-08-25 14:52:05 -05:00
Moises Silva
e105fc8450 OPENZAP-237: [freetdm] Use __FTDM_FUNC__ instead of __FUNCTION__ to comply with c99 in gcc 5.1 2015-08-25 14:51:34 -05:00
Moises Silva
4703bba8e5 OPENZAP-238: [freetdm] Fix gsm call id management hangup race, and some compilation errors 2015-08-25 14:50:27 -05:00
Anthony Minessale
defab5ac22 FS-7962: [core] Invite/replaces fails about half the time when between 2 freeswitch servers 2015-08-25 14:49:49 -05:00
Anthony Minessale
d7f3c5a721 FS-7969: Freeswitch segfaults due to pthread_setschedparam() on a thread that has exited] #comment please test this fix which was verified working 2015-08-25 14:49:26 -05:00
Joshua Gigg
23fbdcabfa FS-7975: [mod_voicemail] Fix record-greeting event missing VM-Greeting-Path 2015-08-25 14:49:05 -05:00
Michael Jerris
bfa3128724 FS-7955: [mod_sofia] fix crash caused by invalid contact when using event to send a notify message 2015-08-25 14:48:58 -05:00
Brian West
30ffe287da FS-7917: [mod_sofia] Fixed default config, we really shouldn’t be setting ext-*-ip settings for ipv6 profiles 2015-08-25 14:48:42 -05:00
Michael Jerris
0fb2cbcece FS-7839: [webrtc] Fix interop with firefox > 38 to work with new EC dtls requirements 2015-08-25 14:47:59 -05:00
Anthony Minessale
447ae4634a FS-7891: [mod_spandsp] Allow spandsp dtmf detector to work on rates other than 8k 2015-08-25 14:47:40 -05:00
Anthony Minessale
8934b1cced FS-7891: [mod_spandsp] Allow spandsp dtmf detector to work on rates other than 8k 2015-08-25 14:47:15 -05:00