Chris Rienzo
85fbddc655
FS-7150 #resolve #comment [mod_rayo] added param add-variables-to-events which will add channel variables to <offer>, <ringing>, <answered>, and <end> if set to true. Default is false.
2015-01-13 16:01:02 -05:00
Brian West
38d25f151d
FS-7149 #comment Linux part complete.
2015-01-13 13:40:16 -06:00
Anthony Minessale
403d32ce90
FS-7148 #resolve #comment declinatio mortuus obfirmo!
2015-01-12 23:20:39 -06:00
Anthony Minessale
3e6ffbcf06
FS-7144 #resolve
2015-01-12 18:55:32 -06:00
Anthony Minessale
a2b5356dae
FS-7131 #comment please test
2015-01-09 21:47:28 -06:00
Mike Jerris
c70c32d3e2
Merge pull request #146 in FS/freeswitch from ~DDRAGIC/freeswitch:bugfix/FS-7121-switch_events_match-matches-any-substring to master
...
* commit '1c16d5d8b041d0fac3463f5f88eaaa1f60aec24b':
FS-7121 change switch_events_match() to use strcmp
2015-01-09 11:59:16 -06:00
Mike Jerris
eceb399c3d
Merge pull request #154 in FS/freeswitch from ~SPDITNER/freeswitch-fs-7136:master to master
...
* commit '85b8631d621f71a5345bc00627f938eb85ffef03':
Add conference member data to floor event
2015-01-09 11:47:09 -06:00
Seven Du
d199060249
FS-7036 #resolve #comment fixed in master
...
originate takes care of new thread on outgoging calls, extra thread_launch causes race
2015-01-09 08:01:19 +08:00
Mike Jerris
ec827d0e6d
Merge pull request #141 in FS/freeswitch from ~HDIOGENES/freeswitch-fs-7088:master to master
...
* commit 'ece5cd52db59632b861fa3028f6f885fe8e13551':
FS-7088 #resolve Set flag to enable core dump from non-root users.
2015-01-08 10:07:52 -06:00
Seven Du
1ed290e930
follow commit 0bec209a
, we should still allow NULL arg
2015-01-08 11:40:22 +08:00
Michael Jerris
6afc2b5a2e
FS-6688: #resolve fix resubscribe through proxy with record route when the resub does not have a record route and the route has uri params
2015-01-07 17:41:19 -05:00
Anthony Minessale
5187aaed79
FS-7117 #comment revert bf5210bf72
and implement it in ws.c please be sure to learn to use git commit hooks to properly associate commits with jiras
2015-01-07 17:17:28 -06:00
Simon Ditner
85b8631d62
Add conference member data to floor event
...
Between v1.2 and v1.4, member data was factored out. This makes it so
that one can not determine who the originator of a floor change event
is.
With this change, the meta data related to the conference member whom
initiated the floor change event is added to the event.
See FS-7136
2015-01-06 12:43:16 -05:00
Anthony Minessale II
25404c121e
Merge pull request #153 in FS/freeswitch from ~JONHEIER/freeswitch-fs-7137:master to master
...
* commit '165f54216c47a5343ac0c7a6ac62fd6a9de57b5f':
mod_sofia: Set sip_to_tag on ringing indication for inbound channels.
2015-01-06 10:32:21 -06:00
Anthony Minessale
c460c00b55
FS-7134 #resolve
2015-01-06 16:29:38 -06:00
Jon Bergli Heier
165f54216c
mod_sofia: Set sip_to_tag on ringing indication for inbound channels.
...
When bridging a call, the to-tag used in the outgoing 180 Ringing
message for the inbound channel is unavailable until the channel has
been answered. For the outgoing channel this value is already available
through the sip_to_tag variable via the event socket.
This is solved this by setting sip_to_tag to the local leg's tag when
receiving a ringing indication for inbound channels. This will also make
the variable available in the CHANNEL_PROGRESS event through event
socket.
FS-7137 #resolve
2015-01-06 17:20:22 +01:00
Anthony Minessale
f48ec61d54
FS-7132 #resolve
2015-01-06 03:19:16 -06:00
Humberto Diógenes
ece5cd52db
FS-7088 #resolve Set flag to enable core dump from non-root users.
...
When FreeSWITCH is running as a non-privileged user, we need to enable
PR_SET_DUMPABLE for it to be able to generate core dumps.
Instead of a generic __linux__ check, there's a new configure.ac flag
to check directly for prctl.h, which could also be used in other
places in the code.
2015-01-05 21:06:29 -03:00
Dušan Dragić
1c16d5d8b0
FS-7121 change switch_events_match() to use strcmp
...
Use strcmp() in place of strstr() so switch_events_match() matches
only full event subclass name.
2015-01-03 22:56:19 +01:00
Seven Du
0bec209a9b
fix fsapi in verto, the json_api_function expects cmd & arg in the data object
2015-01-03 16:06:35 +08:00
Brian West
1965b3b18d
FS-7106 #resolve Fix concurrency issue
2014-12-30 09:06:32 -06:00
Seven Du
bf5210bf72
retry send when the socket sent less than we want
2014-12-30 13:16:28 +08:00
Seven Du
a961b0e90b
fix type, send returns ssize_t
2014-12-30 13:13:52 +08:00
Michael Jerris
a067a49b39
FS-7046 fix warning introduced from b341ff7
properly
2014-12-29 13:49:42 -05:00
Brian West
65631ed36b
Revert FS-7004 pending updated fixed for that issue from the original author.
2014-12-29 10:02:33 -06:00
Travis Cross
750b1dd807
Allow streaming binary data from mod_memcache
...
Previously data returned from `memcache get` would be truncated at the
first NULL byte.
By using raw_write_function here to stream the returned memcache
value, we allow mod_memcache to be used for audio and other arbitrary
binary data.
Dave has a format module planned that relies on this.
Thanks-to: Dave Olszewski <dolszewski@marchex.com>
FS-7114 #resolve
2014-12-28 00:42:01 +00:00
Seven Du
0a66db6f12
FS-7111 #resolve please review
2014-12-26 13:28:11 +08:00
Travis Cross
bca7216fdd
Run dos2unix on mod_expr HTML files
2014-12-25 10:38:10 +00:00
Travis Cross
65e678ba1d
Fix mod_expr `clamp` function
...
The clamp(v,a,b) function wraps v around the interval [a,b).
However prior to this commit, `clamp` was ignoring the third argument
and using the second argument again in its place. This resulted in a
division by zero. Hence `clamp` didn't work at all.
Even if the arguments were treated correctly, `clamp` incorrectly
multiplied rather than added whenever v < a. This would have produced
bogus results. (Thanks to Shona McNeill for pointing this out.)
Note that as implemented, `clamp` is undefined for b >= a.
These errors are present in the last upstream C version, v2.7.
They've been corrected in the C++ version that upstream now maintains
instead.
Thanks-to: Shona McNeill <prufrax@googlemail.com>
FS-7070 #resolve
2014-12-25 10:18:31 +00:00
Seven Du
763e6aa962
FS-7046 fix warning introduced from b341ff7
2014-12-24 08:08:04 +08:00
Seven Du
7798b2fd40
FS-6984 set some default video rate
2014-12-24 07:53:11 +08:00
Michael Jerris
067cb0f0f2
FS-7100: make buffer for sub contact big enough
2014-12-22 17:19:08 -05:00
Jeff Lenk
af6b23a124
FS-7046 fix some additional warnings
2014-12-22 15:12:22 -06:00
Mike Jerris
85ff3ae3f7
Merge pull request #80 in FS/freeswitch from ~TCSEKE/freeswitch-fs-4930:master to master
...
* commit '83acda04131c17469fd0fbe0cb4597c15466bfe5':
file_string write failover FS-4930
2014-12-22 13:34:59 -06:00
Anthony Minessale
9fabbabe90
disable hard-mute when a session has a media bug attached
2014-12-22 19:06:12 -06:00
Brian West
0200bc1a02
FS-7083: fix divide by zero
2014-12-22 11:30:01 -06:00
William King
0a0b9262b4
Build fix for gcc 4.9 fixing a variable set but not used error
2014-12-20 14:46:21 -08:00
Anthony Minessale
5fcff501b6
FS-7093 %FEATURE #resolve #comment added to master
2014-12-20 18:29:44 -06:00
Anthony Minessale
326289caf9
FS-7083 #resolve #comment this should do it. The problem is linked to side-effects from the read thread being delayed by writing to the file handle. It was so much worse on mp3 because the shout encoder blocks while its churning the data and delays it more. This patch adds a dedicated thread for writing to the file and the channel_variable RECORD_USE_THREAD=false will disable it and sync may still be maintained at the cost of dropping more data from the audio signal.
2014-12-20 00:25:59 -06:00
Anthony Minessale II
dc8c8cc7b8
Merge pull request #142 in FS/freeswitch from ~BORDMI/freeswitch-fs-7098-7099:master to master
...
* commit 'c96d64e7e142d43db1864da17520d69268627aa3':
invalid type cast correction
list_users tipo correction
2014-12-19 02:38:07 -06:00
Dmitriy N. Borisov
c96d64e7e1
invalid type cast correction
2014-12-19 11:13:55 +03:00
Dmitriy N. Borisov
42ecb3390e
list_users tipo correction
2014-12-19 11:04:54 +03:00
Anthony Minessale
e0dcd176f4
FS-7083 #comment patch to change mod_shout to use lame_encode_buffer_interleaved on stereo channels so we don't have to mess with the input data
2014-12-18 16:07:51 -06:00
Anthony Minessale
ba016c2850
FS-7095 #comment please test
2014-12-18 13:08:11 -06:00
Moises Silva
d786490584
Fix timestamps in mod_bert broken by the cpu improvements refactoring
2014-12-18 02:04:05 -05:00
Anthony Minessale
4ce2ce31ca
FS-7092 #resolve #comment resolved in master
2014-12-18 00:45:21 -06:00
Chris Rienzo
d5119a7a77
FS-7091 #resolve #comment [mod_rayo] Removed unnecessary mutex lock inside input component's cleanup function since the input component won't be cleaned up unless all references have been released. This fixes a deadlock when output component is created at the same time an input component completes.
2014-12-17 14:49:01 -05:00
Anthony Minessale
cee8b30c45
set rtp_has_crypto for dtls calls
2014-12-16 10:19:43 -06:00
Moises Silva
17574a88e4
Add bert stats to mod_bert::lost_sync event
...
The following values can be read from the event:
sync_lost_percent - Error percentage within the analysis window
sync_lost_count - How many times sync has been lost
cng_count - Counter of confort noise packets
err_samples - Number of samples that did not match the sequence
2014-12-15 00:21:03 -05:00
Moises Silva
42acb62120
Improve mod_bert cpu efficiency
...
* Use memmem() and memcmp() for pattern checks
* Use a static pre-built buffer for the write frame
2014-12-15 00:21:03 -05:00
Anthony Minessale
6dbb4162e8
FS-7086 FS-6798 #resolve
2014-12-13 00:57:14 -06:00
Anthony Minessale
e268a72603
FS-6994 #resolve
2014-12-12 17:52:02 -06:00
Anthony Minessale
d189e983c8
allow 10ms jb
2014-12-12 17:51:34 -06:00
Anthony Minessale
e783999b51
some changes to webrtc to make it work with iDoubs in rtcweb profile mode
2014-12-12 20:55:40 -06:00
Jeff Lenk
39fa0b9664
trivial fix for last commit
2014-12-12 10:02:03 -06:00
Jeff Lenk
ea149be9d8
windows force datatype conversion on uint64_t to switch_size_t for recent change. maybe we should change the structure to be uint64_t as well?
2014-12-12 09:40:52 -06:00
Marc Olivier Chouinard
e1cb0e8632
Merge pull request #127 in FS/freeswitch from ~ITALOROSSI/freeswitch:mod_callcenter-queue-list-count-by-state to master
...
* commit 'f63f8686bc8da391b3c46b24e10571215c8b377f':
FS-7049 - Documentation for state optional paramenter in callcenter_config queue list and count
fix FS-7049 - Count and list agents based on their state
2014-12-11 21:01:03 -06:00
Anthony Minessale
3d515cf49c
re-mark cur_payload as negotiated when detected as such by parser or the rtp could stop working on session re-invite
2014-12-12 00:54:52 -06:00
Italo Rossi
f63f8686bc
FS-7049 - Documentation for state optional paramenter in callcenter_config queue list and count
2014-12-11 23:43:03 -03:00
Anthony Minessale
922fd81523
FS-7015 #resolve #comment The code was not properly catching the 0.0.0.0 after changing it to work with ICE SDPs because it was looking in the wrong place for the 0.0.0.0
2014-12-11 17:18:24 -06:00
Marc Olivier Chouinard
df6ea843e4
Merge pull request #133 in FS/freeswitch from ~HDIOGENES/freeswitch-fs-7018-2:master to master
...
* commit '1bcdb49bced4be339d73532181fe6fa3938d0bd8':
Fix JIRA (FS-7018): mod_callcenter's longest-idle-agent strategy is unfair
2014-12-11 17:16:47 -06:00
Anthony Minessale
be0e09bd7f
only negotiate codecs that were previously negotiated on re-invites unless its intentional to change codecs
2014-12-11 15:03:53 -06:00
Anthony Minessale
06c241a233
FS-6891 FS-7002 FS-7059 FS-7072 FS-7073 FS-7076 #close #comment All of these bugs are invalidated due to a botched revert -- commit 72c3df5ed3
was supposed to revert commit 1b612fecb6
but it only reverted part of it. commit 158c1f23da
from the other day was erroneously created to work around the result of the botched revert so it is reverted. The result of this commit should be to bring it back to effectively properly revert 1b612fecb6
and now you can test and open new bugs if necessary. This includes the segfault in eavesdrop, and any media bug releated reports. Consider working together and only reporting one new bug if you still encounter any more problems and be sure to include details and make sure the jitter buffer is being used.
2014-12-11 20:57:55 -06:00
Chris Rienzo
a3f630fc2e
FS-7047 #resolve #comment [mod_rayo] arbitrary MRCP headers can now be sent to unimrcp output components
2014-12-10 16:57:02 -05:00
Chris Rienzo
f024ea3c2b
FS-7047 #comment [mod_rayo] arbitrary MRCP headers can now be sent to unimrcp input components
2014-12-10 15:44:10 -05:00
Michael Jerris
5376e82669
FS-6688: don't update the contact when the original had fs_path, the new one doesnt, and the contact didn't change. This will fix the normal case of record route from a proxy without breaking normal changing of a contact
2014-12-10 10:33:43 -05:00
Mike Jerris
fb59217f3e
Merge pull request #137 in FS/freeswitch from bugfix/FS-7061-add-q-header-param-on-300-responses to master
...
* commit '21458f85cc4228e54151350dd89c5c87cc3dfef4':
FS-7062: [mod_sofia] on redirect, when uri are passed in without <> with multiple uris, automatically add the q= header param in decending order. This should make 300 Multiple Choices work well with devices that require the q param. If you would like to specify explicit q-values, please use the syntax of redirect where you specify the entire header using the <>
2014-12-09 11:57:34 -06:00
Anthony Minessale
4bcf1d888a
use cached time to save cpu
2014-12-08 22:57:22 -06:00
Anthony Minessale
5ca609e637
factor channel count into flush len
2014-12-08 20:36:25 -06:00
Anthony Minessale
392c687f27
FS-7055 #resolve
2014-12-08 12:53:28 -06:00
Michael Jerris
21458f85cc
FS-7062: [mod_sofia] on redirect, when uri are passed in without <> with multiple uris, automatically add the q= header param in decending order. This should make 300 Multiple Choices work well with devices that require the q param. If you would like to specify explicit q-values, please use the syntax of redirect where you specify the entire header using the <>
2014-12-08 10:47:47 -05:00
Anthony Minessale
99a5b50780
FS-7063 #resolve
2014-12-08 02:03:17 -06:00
Mike Jerris
8cd6a570ca
Merge pull request #129 in FS/freeswitch from ~FRANCOIS/freeswitch-fs-6766:master to master
...
* commit '35ba6a33b17036cf7ab3693d3e28d224ce68af55':
FS-6766, fix verto caller ringback missing on conference bridge
2014-12-05 13:20:06 -06:00
Anthony Minessale
158c1f23da
FS-7002 #resolve #comment please verify
2014-12-05 19:18:28 -06:00
Paul Arnold
843e4953be
FS-7051: Preserve the annexb=no/yes status
...
As per RFC4856, Annex B mode for G.729 is disabled if the SDP contains a
fmtp parameter annexb=no and enabled if annexb=yes or the annexb parameter
is missing.
When responding to an offer mod_sangoma_codec always returns an answer
without a fmtp parameter. Even in response to a SDP offer which contains
one. This has the effect of responding to a request to disable Annex B
with an answer that only Annex B is supported.
With this change mod_sangoma_codec copies the fmtp parameter from the
offer to the answer fixing the problem.
2014-12-05 09:52:29 +11:00
Humberto Diógenes
1bcdb49bce
Fix JIRA (FS-7018): mod_callcenter's longest-idle-agent strategy is unfair
2014-12-04 16:12:20 -03:00
Brian West
8ed2b0737f
Merge pull request #126 in FS/freeswitch from ~HRISTO/freeswitch:timezone-all-mod_say-modules to master
...
* commit 'a8c5a0c87bf97ad0f84df2ad53d6eef2a951eee9':
add timezone support to mod_say_{de,es,ja,nl,th,zh}
2014-12-04 11:02:25 -06:00
sgutierrez
4be6290375
FS-7052 Moving jb queue swap operation out of the debug block.
...
Fixes a bug where the jitter buffer implementation wasn't discarding
old packets if debug mode was disabled.
2014-12-04 16:10:33 +01:00
Brian West
7ce5171250
FS-7046 follow up on type change
2014-12-03 15:44:27 -06:00
Brian West
170fb1715a
FS-7046: fix some unreachable code warnings
2014-12-03 15:24:37 -06:00
Brian West
b341ff7c1f
FS-7046: fix data types and casting on some vars to silence windows build warnings
2014-12-03 15:07:29 -06:00
Chris Rienzo
e8cf9c7d35
FS-7045 #resolve #comment [mod_rayo] guarantee that dialed call can be joined when answered event is sent.
2014-12-03 16:03:58 -05:00
Dave Kompel
db66cdb56f
Fix mrcp libraries to build right
2014-12-03 12:56:48 -05:00
François
35ba6a33b1
FS-6766, fix verto caller ringback missing on conference bridge
2014-12-03 10:16:22 +01:00
Italo Rossi
80649df65c
fix FS-7049 - Count and list agents based on their state
2014-12-02 22:57:43 -03:00
Chris Rienzo
35558993c9
FS-5816 #resolve #comment re-add completion cause to session record stop event
2014-12-02 15:00:54 -05:00
Brian West
2a7b022733
FS-6980 #resolve don't crash when using native recording on recordstop the redo
2014-12-02 10:51:48 -06:00
Anthony Minessale
72c3df5ed3
FS-6891 FS-6713 #comment revert 1b612fecb6
2014-12-02 16:46:08 -06:00
Hristo Trendev
a8c5a0c87b
add timezone support to mod_say_{de,es,ja,nl,th,zh}
...
This is nothing more than a shameless copy/paste from another mod_say
module, which already had timezone support. It simply checks if the
timezone variable is set and if it contains a valid timezone, then this
timezone will be used when announcing times/dates.
FS-7048 #resolve
2014-12-02 17:08:12 +01:00
Anthony Minessale
bad5dc3022
FS-7037 #resolve
2014-12-01 15:10:00 -06:00
Seven Du
dc9e9042d1
#comment FS-7025 fix compiler warning introduced from e55aee14
2014-12-01 09:40:18 +08:00
Anthony Minessale
e55aee14bb
FS-7025 %FEATURE #comment please test
2014-11-30 16:55:08 -06:00
Anthony Minessale
5bbef7f1e5
FS-7015 #comment please test
2014-11-25 17:02:10 -06:00
Brian West
79de78a0fb
FS-7021 #resolve
2014-11-19 21:51:09 -06:00
Mike Jerris
74f243bc3b
Merge pull request #95 in FS/freeswitch from ~ITALOROSSI/freeswitch:master to master
...
* commit 'f87c335e8a49da7b0a2b6f19b45f285f6355e2e0':
Only waiting for agent channel to hangup.
2014-11-19 15:32:19 -06:00
Michael Jerris
62a2e10e41
remove hack breaking some cross compile builds. if you really need this, you should be using new enough glibc anyways
2014-11-19 16:06:42 -05:00
Anthony Minessale
df423b88d6
improve timerfd implementation to be more accurate
2014-11-18 17:14:04 -06:00
Anthony Minessale
878a04715a
revert
2014-11-18 17:00:44 -06:00
Anthony Minessale
da6043f353
improve timerfd implementation to be more accurate
2014-11-18 16:59:58 -06:00
Chris Rienzo
7b80b6249b
Merge branch 'unimrcp-update-20141117'
2014-11-18 14:28:38 -05:00