Commit Graph

195 Commits

Author SHA1 Message Date
Armen Babikyan 6ed86abf9f FS-9300: Add support for disabling sofia's 100 Trying via configuration, and sending 100 Trying from dialplan 2017-02-13 14:49:05 -08:00
Sergey Safarov df1ab07ca4 FS-9924: Removed extra space in source files 2017-02-09 23:59:49 -05:00
Anthony Minessale 9b8a5edd3d FS-9638 2016-11-10 12:09:00 -06:00
Anthony Minessale c409499cd9 FS-9576 #resolve [Add Realtime Text] 2016-09-27 16:40:43 -05:00
Anthony Minessale a8a2c32ac3 FS-7499 FS-7500: combat black screen disease 2015-05-28 12:47:28 -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
Kathleen King 1affff9db4 Fixed a clang-3.5 missing-prototype warning and added doxygen
documentation for switch_channel_set_presence_data_vals. #doxygen
2014-07-03 18:51:14 -07:00
Anthony Minessale e47aba1e7e FS-6235 2014-02-23 05:17:07 +05:00
Ken Rice 6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Anthony Minessale 5f239a5bae add channel logical direction 2013-10-31 15:28:33 -05:00
Anthony Minessale 4a172402d2 some refactoring and plumbing for 1.4 2013-10-16 02:24:32 +05:00
Nathan Neulinger 32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
Anthony Minessale 4240526ce3 add some device-state mechinism to FS to allow tracking of device-specific states where they may have more than one call from the same device 2013-06-05 11:20:11 -05:00
Anthony Minessale 6cdb46889c FS-5402 --resolve the problem is ent originate has many channels and many causes to parse so we need to check it against all the causes 2013-05-22 11:01:39 -05:00
Anthony Minessale 7fd28f58f9 FS-5208 --resolve 2013-04-08 12:09:49 -05:00
Anthony Minessale 18c429f66f refactor and cleanup more cid stuff 2013-04-05 15:29:57 -05:00
Anthony Minessale 83fc8ddf3a endless cid fun 2013-04-05 08:29:16 -05:00
Anthony Minessale dd1e61e0d4 part 2 of other cid patch 2013-03-30 15:39:49 -05:00
Anthony Minessale 262aed0ed1 remove debug code 2013-03-29 22:12:54 -05:00
Anthony Minessale aca9257f93 tweaks for caller id in certian uuid_bridge situations 2013-03-28 22:17:28 -05:00
Anthony Minessale 50e7a09eca FS-4709 this is the right way to do this part 2013-02-26 15:32:19 -06:00
Anthony Minessale aa89eab58f FS-4709 --resolve, not adding the change to switch_rtp I want to have that log line there, don't make vanity changes mixed in with code changes 2013-02-26 11:49:17 -06:00
Anthony Minessale ee7dd033fd fix race condition in state thread 2013-02-22 17:46:54 -06:00
Anthony Minessale c7c528cd7c FS-4867 --resolve 2012-11-26 13:52:06 -06:00
Anthony Minessale 6f2976298f FS-4836 ok try this 2012-11-15 13:16:50 -06:00
Anthony Minessale 057861867e FS-4836 not quite 2012-11-15 13:14:08 -06:00
Anthony Minessale 73f022873b FS-4836 try this 2012-11-15 12:54:40 -06:00
Anthony Minessale 17d1ffe45c FS-4748 the change to the header file did not make it into the commit 2012-10-22 11:56:22 -04:00
Anthony Minessale c2893801cb add timestamps for on and off hold times to put in xml cdrs 2012-09-07 18:17:57 -05:00
Anthony Minessale 8bb55ed4bf abstract out originate_signal_bond to a function to avoid confustion and regressions 2012-05-29 13:10:15 -05:00
Ken Rice 7a147e4762 Update a ton of copyright statements to make sure the dates are proper 2012-04-25 17:14:55 -05:00
Anthony Minessale f9b3266720 endless recursion loop protection to go with new recursive variable expansion feature 2012-04-12 07:23:08 -05:00
Anthony Minessale 385a92cec7 add origination_nested_vars=true to allow vars within vars in originate strings e.g. [originate {origination_nested_vars=true,TEST=,var=,recur=W00t}user/1004 3000] will end up as w00t 2012-04-11 15:30:37 -05:00
Anthony Minessale 2ab1605a88 ZRTP passthru mode code for phil 2012-03-29 18:37:15 -05:00
Anthony Minessale 755be33022 add list support for which vars/api to expand in httapi 2012-01-09 12:47:47 -06:00
Anthony Minessale 0bf2a0e975 fix strange race moc experienced in uuid_bridge 2011-12-07 15:14:08 -06:00
Anthony Minessale ee869fe517 FS-3707 2011-11-19 17:22:26 -06:00
Anthony Minessale c285db5473 set DP_REGEX_MATCH_1 .. DP_REGEX_MATCH_N to preserve captures into arrays 2011-11-02 10:58:45 -05:00
Anthony Minessale fba22dc7e9 don't parse signals in the set_running_state function to avoid livelock situation 2011-09-02 16:59:59 -05:00
Anthony Minessale 996b304019 add xferext command to sendmsg parser so you can send a list of instructions to a channel and build and extension and transfer to it from esl 2011-08-31 19:30:58 -05:00
Anthony Minessale 850f2e3cff FS-3510 --resolve make all instances of execute_on_X uniform with api_on_X and support both prefix vars as before and usage of arrays to push several exexute_on or api_on records into one variable 2011-08-18 09:11:45 -05:00
Anthony Minessale 3cbae3fbd8 FS-3413 --resolve 2011-07-12 09:41:02 -05:00
Anthony Minessale 9cf44f3a5e fix campon to play music even on first run and cancel faster 2011-07-06 16:45:36 -05:00
Anthony Minessale 676ef8085b add last_hold_time and hold_accum vars for cdr data 2011-06-27 13:27:52 -05:00
Anthony Minessale b2c3199f65 add scoped channel variables (%[var=val,var2=val2] blocks valid in any app data field and will only last for that one app execution) 2011-06-15 13:03:45 -05:00
Anthony Minessale c1c759526d add arrays to event headers and chanvars 2011-05-25 15:42:36 -05:00
Anthony Minessale bd471fc6a9 add bridged timestamp and hangup_complete_with_xml=true to add xml_cdr to the body of hangup_complete events 2011-04-28 13:46:39 -05:00
Anthony Minessale 27c6d1111c add execute_on function so you can have execute_on_answer_1 execute_on_answer_2 execute_on_answer_3 etc 2011-04-01 17:39:27 -05:00
Anthony Minessale 24a972925b pass header in X-FS headers on attended transfer CID update to indicate specific situation to flip callee/caller id when targeting a 1 legged call 2011-03-11 13:00:55 -06:00
Anthony Minessale 155aafd3f4 FS-3097 regression from 4f93ea25ec 2011-02-24 10:17:33 -06:00