Commit Graph

27997 Commits

Author SHA1 Message Date
Anthony Minessale 789e1481ed FS-6880 #resolve #comment I would think that in real life once the call agreed on a codec it would only offer the negotiated codecs but we can fix this to always filter for good measure. I am not sure what the ramifications are of filtering responses but I think this patch will do so as well. 2014-10-01 13:03:50 -05:00
Brian West 8e408e9abe FS-6865 #resolve add XMPP priority to dingaling 2014-10-01 10:40:57 -05:00
Jeff Lenk a39db86863 FS-6870 #vs2012 and vs2010 make download of openssl dependent 2014-09-30 21:30:48 -05:00
Brian West 644b41f792 FS-6874 #resolve 2014-09-30 17:05:06 -05:00
Anthony Minessale 24084adf77 %FEATURE Add new feature to filter the SDP on bypass_media calls to remove or limit codecs.
VARIABLE: bypass_media_sdp_filter

Can be set globally or per leg on the inbound side of a bypass_media bridge.

VALID FILTERS:

remove(): Removes the specified codec if it exists in the SDP.
only():   Removes all codecs besides the one specified (providing that it exists in the sdp) (will not remove telephone-event))

EXAMPLE 1 (remove everything leaving only g729):

  <action application="set" data="bypass_media_sdp_filter=only(g729)"/>
  <action application="set" data="bypass_media=true"/>
  <action application="bridge" data="sofia/internal/1238@conference.freeswitch.org"/>

EXAMPLE 2 (remove everything leaving only g729 and also remove dtmf):

  <action application="set" data="bypass_media_sdp_filter=only(g729)|remove(telephone-event)"/>
  <action application="set" data="bypass_media=true"/>
  <action application="bridge" data="sofia/internal/1238@conference.freeswitch.org"/>

EXAMPLE 3 (remove alaw and speex):

  <action application="set" data="bypass_media_sdp_filter=remove(pcma)|remove(speex)"/>
  <action application="set" data="bypass_media=true"/>
  <action application="bridge" data="sofia/internal/1238@conference.freeswitch.org"/>
2014-10-01 01:28:10 +05:00
Anthony Minessale 92a66fb1e7 improve adaptive jitter buffer ascending check 2014-09-30 22:54:46 +05:00
Anthony Minessale II 56edfc7062 Merge pull request #76 in FS/freeswitch from ~HRISTO/freeswitch:fix-ptime-on-reinvite-master to master
* commit 'fbe857e6fafabbca6a64584c51316ccc5e6ba96e':
  fix ptime from known broken endpoints on re-invite
2014-09-30 10:53:37 -05:00
Anthony Minessale 0150c862a2 FS-6854 #comment try this patch 2014-09-30 20:35:19 +05:00
Brian West 6ac26fcc3e Update timezones 2014-09-30 09:58:42 -05:00
Mike Jerris f3473fdb58 Merge pull request #71 in FS/freeswitch from ~RTRELEAVEN/freeswitch-fs-4762-1:fs-4762 to master
* commit '139b03204550cd394877da882fec49b08eba08fa':
  improve regular expression to parse Jerusalem timezone files
2014-09-30 09:55:56 -05:00
Mike Jerris 4590220b53 Merge pull request #74 in FS/freeswitch from ~DDRAGIC/freeswitch:gsmopen_completion to master
* commit 'a94fbe807905be714c774f7479936387b31602b2':
  mod_gsmopen: add tab completion for api commands
2014-09-30 09:41:28 -05:00
Brian West 812f9112a5 Fix reference to libressl in makefile on OpenBSD 2014-09-30 09:06:26 -05:00
Hristo Trendev 3695bdd9e4 set conference flags from a dial plan variable or via +flags{ }
This patch allows conference flags to be set dynamically from the
dial plan by either passing them to the conference application in
the +flags{ } string or by setting the "conference_flags" dial plan
variable.

The +flags{ } string is currently used to set *user* flags only.
This patch changes this by allowing the +flags{ } string to contain
conference related flags as well (for example wait_mod). It shouldn't
be a problem to pass both types of flags via +flags{ } as long as
the user and conference flag names are kept unique.

FS-5099 #resolve
2014-09-30 11:31:03 +02:00
Hristo Trendev fbe857e6fa fix ptime from known broken endpoints on re-invite
Freeswitch tries to fix timing issues (wrong ptime) on re-invite the same way
it does for the initial invite. This results in small audio glitches, while it
sends a couple of packets with different ptime, before the timing detection
logic figures out the remote (broken) endpoint true ptime.

In order to avoid unnecessary timing changes, this patch overwrites the
advertised ptime from known broken endpoints with the ptime, which was detected
by freeswitch. It does this by checking if the sip_h_X-Broken-PTIME (1.2.x) or
rtp_h_X-Broken-PTIME (master) variables are set.

FS-6644 #resolve
2014-09-30 11:19:35 +02:00
Ken Rice 310f18982f specfile another spot v2 2014-09-29 14:48:59 -05:00
Ken Rice ce845c4b8a specfile another spot 2014-09-29 12:54:28 -05:00
Ken Rice 46b4a75861 adjustments for config changes 2014-09-29 12:03:32 -05:00
Anthony Minessale da51603a2c FS-6757 FS-6713 FS-6868 FS-6863 FS-6858 #resolve #comment 5 bugs one typo. From commit 1b612fecb6 2014-09-29 19:26:32 +05:00
Anthony Minessale e94af49e1e revert 2014-09-29 19:26:01 +05:00
Anthony Minessale d619017621 FS-6757 FS-6713 FS-6868 FS-6863 FS-6858 5 bugs one typo. From commit 1b612fecb6 2014-09-29 19:21:01 +05:00
Dušan Dragić a94fbe8079 mod_gsmopen: add tab completion for api commands 2014-09-29 13:25:30 +02:00
Michael Jerris dac4afbfdb this was alraedy in there, whoops 2014-09-28 10:40:57 -04:00
Darren Schreiber c1e9b0d414 expose apr socket put 2014-09-27 15:02:41 -07:00
Brian West 4f76b46bb4 Merge pull request #73 in FS/freeswitch from ~RTRELEAVEN/freeswitch-fs-6859:fs-6859 to master
* commit 'e4f77140d2aebef47671dd3b2f028930c7ee1f86':
  make the gateway parameters to make the gateways samples the same
  make vanilla configuration gateways easier to understand for new users
2014-09-26 13:07:56 -05:00
Russell Treleaven e4f77140d2 make the gateway parameters to make the gateways samples the same
It was noticed that the sample gateways were diferent. Brian West
suggest that I merge all the parameters into both examples.
fs-6859
2014-09-26 13:54:52 -04:00
Giovanni Maruzzelli 4ce990504e Merge pull request #52 in FS/freeswitch from ~DDRAGIC/freeswitch:gsmopen_feature_additions to master
* commit 'a9b2e061dcd1d95322d27e169ac2f0016aa628a3':
  mod_gsmopen: clean up "gsm list" output a little
  mod_gsmopen: convert reported RSSI from AT+CSQ to dBm.
  mod_gsmopen: get device manufacturer, model and firmware version info.
  mod_gsmopen: add support for reading own number from ON phonebook using AT+CNUM
  mod_gsmopen: add AT+COPS support to get operator name.
2014-09-26 10:17:14 -05:00
Giovanni Maruzzelli 9e3a375c36 Merge pull request #54 in FS/freeswitch from ~DDRAGIC/freeswitch:bugfix/FS-6820-mod_gsmopen-executing-gsm-reload to master
* commit '9423953e028f8dd319a790ba1e5fdca37ff0cb2f':
  FS-6820 mod_gsmopen: fix total interfaces count when executing gsm reload
2014-09-26 10:14:46 -05:00
Giovanni Maruzzelli 0d538cd7b1 Merge pull request #42 in FS/freeswitch from ~DDRAGIC/freeswitch:FS-6799_fix_msg_index_check to master
* commit '9cf72b541e8184b2911b0bd78f9aee71cd6d44b4':
  FS-6799 fix reading sms in index 0
2014-09-26 10:13:44 -05:00
Brian West 7c89c21153 FS-6860 #resolve this was fixed once but was lost in the last sync 2014-09-26 09:00:09 -05:00
Brian West f5b9bef319 Merge branch 'master' of ssh://stash.freeswitch.org:7999/fs/freeswitch 2014-09-25 15:10:51 -05:00
Brian West 0767191769 FS-6803 try this, less is more 2014-09-25 15:10:11 -05:00
Russell Treleaven 4eb64cb107 make vanilla configuration gateways easier to understand for new users
having the same gateway definition bound to the ipv6 and ipv4 external
profiles caused confusion for some new users. Also having a gateway
bound to the internal profile was a bit confusing.
fs-6859
2014-09-25 14:06:58 -04:00
Russell Treleaven 139b032045 improve regular expression to parse Jerusalem timezone files
The previous regular expression failed to parse 32 timezone files
including Jersusalem. All timezone files are parsed(hopefully correctly)
by this regular expression.
fs-4762 paritally address.
2014-09-25 13:24:21 -04:00
Anthony Minessale f7de058acd FS-6854 #resolve 2014-09-25 21:44:02 +05:00
Ken Rice 221af936d8 bump freeswitch verson in doxygen conf 2014-09-25 08:19:51 -05:00
Travis Cross 13d9e99ae7 Handle gcc quirk with parameter checking
At least some versions of GCC appear to take any -Wno-foo option
without error even if that option is not supported.  But they will
error out if -Wno-error=foo is used.  This sounds like a GCC bug, but
we'll work around it and test for the feature both ways.

Thanks-to: Matteo Brancaleoni <mbrancaleoni@voismart.it>

FS-6850 #resolve
2014-09-25 13:22:16 +00:00
Travis Cross 051772e4ae Add fs_cli option to disable use of history file
With this commit, passing -Q to fs_cli will cause fs_cli to not load
or save the command history file (~/.fs_cli_history).  This can be
useful e.g. on read-only systems.

This can also be set in the fs_cli configuration file with the option
`no-history-file`.
2014-09-25 11:07:49 +00:00
Travis Cross cd67dfc630 Add mod_cluechoo back to debian/control-modules
The debian/control-modules file is a comprehensive list of modules,
not a list of modules which are built.  Our build tools verify the
file is comprehensive, so modules can't be removed from here unless
we're taking them out of tree.

Partially revert "don't package mod_cluechoo and don't build/load by default"
This partially reverts commit e02e41a5c1.
2014-09-24 19:26:41 +00:00
Anthony Minessale c018c28738 FS-6851 #resolve 2014-09-24 20:40:27 +05:00
Daniel Weber a0d6b642ff Fix ManagedEsl.2012.csproj: There is no file 'ESLconnection.2010.cs'. 2014-09-24 10:16:35 +02:00
Michael Jerris e02e41a5c1 don't package mod_cluechoo and don't build/load by default 2014-09-23 18:10:01 -04:00
Chris Rienzo 7d7223e931 FS-6842 #resolve mod_graylog2: added send-uncompressed-header param- set to true for logstash support 2014-09-23 16:40:46 -04:00
Anthony Minessale 9e72c8477f fix possible buffer overrun in websocket uri and sync the ws.c between sofia and verto (missing code from last commit) 2014-09-24 01:09:44 +05:00
Anthony Minessale e8d6866899 use the more reliable offset_pos counter in file position parsing for seek in scripts 2014-09-23 21:01:25 +05:00
Anthony Minessale 59e71341db fix possible buffer overrun in websocket uri and sync the ws.c between sofia and verto 2014-09-23 20:17:20 +05:00
Stefano Picerno 4c9d9301b0 Workaround for Windows limit in su_wait
Windows has a 64 descriptor limit in WSAWaitForMultipleEvents system call.
Implemented some custom login in su_wait to work around this limitation.
Changed SU_WAIT_MAX from 64 to 0x7fffffff, like on other plaftorms.
2014-09-23 13:09:57 +02:00
Travis Cross 0cc7bc8db6 Add missing CURLOPT_NOSIGNAL options
To work correctly in a multi-threaded environment, curl needs to be
used with CURLOPT_NOSIGNAL set to 1.  If it's left at zero, the
default, then curl will use signals to deal with timeouts which will
often result in a crash.

ref: http://curl.haxx.se/libcurl/c/libcurl-tutorial.html#Multi-threading
ref: http://curl.haxx.se/libcurl/c/CURLOPT_NOSIGNAL.html
ref: http://stackoverflow.com/questions/9191668/error-longjmp-causes-uninitialized-stack-frame
ref: https://bugzilla.redhat.com/show_bug.cgi?id=539809
ref: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570436
2014-09-23 00:04:21 +00:00
Anthony Minessale 1bb0b8e16d fix leak in lua when script does not execute properly in xml_binding handler 2014-09-23 03:57:04 +05:00
Dušan Dragić a9b2e061dc mod_gsmopen: clean up "gsm list" output a little
Replace tabs with spaces and add two columns, operator and imei.
2014-09-21 20:14:13 +02:00
Dušan Dragić 4aa7c98d5a mod_gsmopen: convert reported RSSI from AT+CSQ to dBm.
Add to gsmopen_dump and events.
2014-09-21 20:14:12 +02:00