Commit Graph

9868 Commits

Author SHA1 Message Date
Rupa Schomaker 612356b7b6 Revert "switch to switch_cache_db_dismiss_db_handle to reduce odbc"
This reverts commit ab3d7d144e.
2010-07-05 11:11:22 -05:00
Rupa Schomaker 9741086975 Revert "mod_lcr: use switch_cache_db_dismiss_db_handle to reduce persistant"
This reverts commit 6449861e02.
2010-07-05 11:11:07 -05:00
Brian West c3d6c648d3 fix configure and compile when using --disable-core-libedit-support 2010-07-05 10:08:30 -05:00
Anthony Minessale 0c826b1fc8 add sched_cancel function to cancel any impending sched_X funcs 2010-07-02 14:06:53 -05:00
Anthony Minessale 23fd8ebb3e add optional exceptions to mod_distributor to list nodes to skip 2010-07-02 13:31:12 -05:00
Anthony Minessale a7d8f866fd fix new util function to actually do what it says it will 2010-07-02 13:00:29 -05:00
Anthony Minessale 6c7970f969 let bypass calls sit in park 2010-07-02 12:04:02 -05:00
Brian West 8c7a976252 swigall 2010-07-02 11:26:42 -05:00
Anthony Minessale b10ea3c0b6 fifo tweaks 2010-07-02 09:27:36 -05:00
Rupa Schomaker 4e1d522198 oops, compile fix 2010-07-02 00:13:44 -05:00
Rupa Schomaker 4294d0a79d if missing db.conf.xml don't fail, just use sqlite 2010-07-02 00:03:13 -05:00
Brian West 6117234549 FSCORE-627 2010-07-01 23:15:37 -05:00
Anthony Minessale 43cbb7eaa7 stupid warning 2010-07-01 22:14:07 -05:00
Brian West 8009ec0b5c FSBUILD-287 2010-07-01 18:16:08 -05:00
Anthony Minessale 182b030f94 fix sql 2010-07-01 16:57:21 -05:00
Anthony Minessale 58b67bc5cc add outbound_per_cycle param to control how many outbound calls are made per cycle and normalized some of the output in fifo status 2010-07-01 15:24:14 -05:00
Anthony Minessale 3a6bb506c0 passing non-null value to generate_xml_cdr now implies its an initalized xml object 2010-07-01 15:22:13 -05:00
Anthony Minessale 21edf395ca de-ass 2010-07-01 15:19:40 -05:00
Anthony Minessale 1fba654845 fix parse err in originate code 2010-07-01 14:21:44 -05:00
Anthony Minessale 7898679b20 tweak 2010-07-01 09:37:49 -05:00
Anthony Minessale b7c5a80a70 comment out vars 2010-07-01 09:33:44 -05:00
Di-Shi Sun dbf93daae8 Merge branch 'master' of ssh://git@git.freeswitch.org/freeswitch 2010-07-01 16:26:20 +08:00
Di-Shi Sun 32dbb191fd Added work mode option and support for outbound proxy. 2010-07-01 16:20:10 +08:00
Anthony Minessale 636283c387 doh2 2010-06-30 22:29:40 -05:00
Anthony Minessale 9db5abefdb doh 2010-06-30 22:20:06 -05:00
Anthony Minessale 34fe9e34c9 tweaks 2010-06-30 22:13:20 -05:00
Anthony Minessale 7f9beb96cc revamp fifo with a ringall strategy so you can see the stupid callers' caller id .... 2010-06-30 21:46:38 -05:00
Anthony Minessale 5b11c81731 fix sql stmt 2010-06-30 21:32:17 -05:00
Anthony Minessale 462e62547e add new util function to parse of vars in parens from strings 2010-06-30 20:41:21 -05:00
Anthony Minessale 9c7fb0d4ca support stacked [] pairs in origiante 2010-06-30 20:09:06 -05:00
Anthony Minessale 09bd04734c prune check 2010-06-30 16:25:19 -05:00
Brian West 53761efdf6 fix logging and missing new line 2010-06-30 11:11:21 -05:00
Anthony Minessale f2ea3ee315 indent run 2010-06-30 10:35:15 -05:00
Anthony Minessale e11560ddf3 share handles when not using sqlite 2010-06-30 09:05:14 -05:00
Mathieu Rene 6bd82d1fb4 Add fsctl shutdown_check to see if we're currently shutting down 2010-06-29 23:03:10 -04:00
Rupa Schomaker c0246b1143 add some docs to the switch_cache_db_* functions 2010-06-29 16:18:44 -05:00
Rupa Schomaker 6449861e02 mod_lcr: use switch_cache_db_dismiss_db_handle to reduce persistant
db connections under heavy load.
2010-06-29 16:04:45 -05:00
Rupa Schomaker ab3d7d144e switch to switch_cache_db_dismiss_db_handle to reduce odbc
usage under heavy switch load
2010-06-29 16:00:44 -05:00
Anthony Minessale 98a436bb27 add switch_cache_db_dismiss_db_handle 2010-06-29 15:50:03 -05:00
Anthony Minessale 51cb9efe9a remove ass 2010-06-29 14:05:44 -05:00
Anthony Minessale d700e69625 . 2010-06-29 13:47:15 -05:00
Michael Jerris d21af530b9 fix mod_celt rebuilds library when not required 2010-06-29 13:03:23 -04:00
Michael Jerris 9c5cd268f7 mod_conference: fix build error for Meftah before he drives me insane with nagging 2010-06-29 13:02:25 -04:00
Anthony Minessale fd5723387e update agc 2010-06-29 09:56:38 -05:00
Jeff Lenk 9361e2ba9d more tweaks for VS2010 2010-06-29 09:55:08 -05:00
Anthony Minessale 911e9182e1 add cid-in-1xx profile param and sip_cid_in_1xx chan var 2010-06-29 09:32:41 -05:00
Anthony Minessale 5ef1e00d3a LBAPR-4 2010-06-29 08:51:39 -05:00
Jeff Lenk da17e2a09e more tweaks for VS2010 2010-06-28 16:32:30 -05:00
Jeff Lenk a87429ac87 Add initial support for VS2010 2010-06-28 15:49:19 -05:00
Anthony Minessale 7626a6c6b4 nm this is bad 2010-06-28 10:25:21 -05:00
Anthony Minessale 013222bba3 wait for state change 2010-06-28 08:49:24 -05:00
Anthony Minessale 46064642ba update 2010-06-28 08:37:11 -05:00
Anthony Minessale 3b1d9f5bef clear flag on destroy 2010-06-28 08:15:55 -05:00
Anthony Minessale 1b3a5df08d update 2010-06-25 21:10:13 -05:00
Andrew Thompson 2adde7d86d mod_conference: Add energy, volume_in and volume_out to xml_list 2010-06-25 19:29:33 -04:00
Anthony Minessale 612f3a36f3 remove initial announcement 2010-06-25 17:10:32 -05:00
Anthony Minessale 77c662687a add (experimental) agc flag 2010-06-25 16:57:01 -05:00
Anthony Minessale ff1a52ab18 add call_uuid 2010-06-25 13:25:13 -05:00
Mathieu Parent 20194286a4 Skinny: correct early media and answer
- SWITCH_MESSAGE_INDICATE_DISPLAY was missing a "break" statement
- handle not responding device (cancels early media or answer)
- don't send messages when listener is not ready (fix rare crashes)
2010-06-25 18:25:12 +02:00
Anthony Minessale 8d0c81103e add call_uuid var 2010-06-24 17:28:20 -05:00
Anthony Minessale 36648cb177 doh 2010-06-24 16:27:11 -05:00
Anthony Minessale df79ecce8e fix rtcp from nat to autoadjust with rtp 2010-06-24 16:01:55 -05:00
Anthony Minessale 5a6461baf5 refactor vars to call time 2010-06-24 15:49:48 -05:00
Brian West 44a90b4798 swigall 2010-06-24 15:33:41 -05:00
Anthony Minessale 464ecd1b18 revert part of 92bd8966fa FSCORE-598 2010-06-24 14:30:37 -05:00
Anthony Minessale 64a71c5798 destroy handle on bad authenticate 2010-06-24 13:19:14 -05:00
Anthony Minessale c58efca29d add some cols to fifo_outbound 2010-06-24 11:52:49 -05:00
Anthony Minessale 3240a6f395 update callstate in sql event handler 2010-06-24 10:32:45 -05:00
Anthony Minessale 10b8cfa18e be more strict about changing callstate based on clearing hold flag 2010-06-24 10:09:39 -05:00
Rupa Schomaker 4869da2370 MODAPP-437 - event backend should be db not sql 2010-06-23 13:52:53 -05:00
Anthony Minessale 0bff1a411b clean up indenting in sofia 2010-06-23 13:22:52 -05:00
Anthony Minessale 39f6c58557 minor refactor 2010-06-23 11:47:39 -05:00
Mathieu Rene 8ac3bdca6e Add redis backend to limit 2010-06-22 00:16:50 -04:00
Rupa Schomaker 8c8d962e3a fix perms 2010-06-21 09:51:57 -05:00
Rupa Schomaker b36f2a23bf timer based nat_map refresh 2010-06-21 09:51:57 -05:00
Rupa Schomaker cb6f978d93 mod_limit is now a backwards compatible shim 2010-06-20 19:03:38 -05:00
Rupa Schomaker ea71a2401e backward compat mod_limit.c 2010-06-20 19:03:38 -05:00
Rupa Schomaker be2bd3c180 fix perms 2010-06-20 19:03:38 -05:00
Rupa Schomaker a040a605e6 add backward compatible shims 2010-06-20 19:03:38 -05:00
Jeff Lenk 4010911db9 sync express to limit changes + add skinny 2010-06-20 12:07:11 -06:00
Jeff Lenk 3de6c7a59c missing mod_hash 2010-06-20 11:03:07 -05:00
Rupa Schomaker d8facbcf71 mod_lcr update. MODAPP-340, MODAPP-355
arbitrary b-leg vars, limit support, lcr/ endpoint
 custom_sql now is field based rather than position based
 NOTE: custom_sql is incompat with prior version
2010-06-19 20:08:06 -05:00
Rupa Schomaker d5ad29b585 typo 2010-06-19 20:07:39 -05:00
Rupa Schomaker 1c17da93ef rationalize some logging 2010-06-19 19:06:27 -05:00
Rupa Schomaker 9b5778f8e1 dup -ERR so we can free it later 2010-06-19 14:49:15 -05:00
Rupa Schomaker f76f836b0e rename sql to db for limit backend to make consistent 2010-06-19 10:58:58 -05:00
Rupa Schomaker 6f0d7a7bcf remove WTF 2010-06-19 08:12:00 -05:00
Rupa Schomaker 415b4589ac revert mod_lcr changes 2010-06-19 08:08:42 -05:00
Rupa Schomaker ab2165c56b fix tab 2010-06-19 07:49:34 -05:00
Rupa Schomaker 3f4ca2d3ac MODAPP-407 2010-06-19 07:49:34 -05:00
Rupa Schomaker 0e8a26f840 sync changes in branch rupa_limit 2010-06-19 07:49:34 -05:00
Rupa Schomaker f6eda2c23b fix check for NANPA 2010-06-19 07:48:48 -05:00
Anthony Minessale dac1243900 add playback_timeout_sec to core and make it useful in valet_parking 2010-06-18 18:07:31 -05:00
Anthony Minessale 6f41b446cb add replace func 2010-06-18 17:46:07 -05:00
Anthony Minessale d1492c0da4 remove log 2010-06-18 17:39:44 -05:00
Anthony Minessale fabaa4a28e MODSOFIA-77 2010-06-18 17:09:26 -05:00
Anthony Minessale 2ff5af80fa skip invalid uuids on eavesdrop runs 2010-06-18 17:00:29 -05:00
Anthony Minessale a0c641aeb7 MODSOFIA-59 (part 2) 2010-06-18 16:53:02 -05:00
Joao Mesquita e8f5bbae28 Add a var with the contact count 2010-06-18 18:39:17 -03:00
Joao Mesquita 41b7cae35c Add timeout support as config option 2010-06-18 18:30:05 -03:00
Anthony Minessale beae21d729 MODSOFIA-59 2010-06-18 15:42:28 -05:00
Jeff Lenk 61f50f6c90 move output dll to common folder 2010-06-18 15:21:45 -05:00
Anthony Minessale 92bd8966fa FSCORE-598 2010-06-18 13:40:10 -05:00
Anthony Minessale d942d9f4c2 make eavesdrop indicate display of who you are listening to 2010-06-18 09:08:51 -05:00
Jeff Lenk c2bcc926c5 fix line endings 2010-06-17 23:13:32 -05:00
Anthony Minessale b670b624ad mod_fax should go away 2010-06-17 15:14:09 -05:00
Anthony Minessale 3d5350045d send display of caller who left message during vm playback 2010-06-17 15:04:09 -05:00
Anthony Minessale 8b4a8cc3ef format refactor 2010-06-17 14:36:31 -05:00
Anthony Minessale cc346c21d5 build fix 2010-06-17 14:36:31 -05:00
Jeff Lenk 4ae090ffd9 oops fix this the right way - json malloc and free 2010-06-17 14:17:15 -05:00
Jeff Lenk 091952cab7 fix trivial compile errors under windows 2010-06-17 12:52:20 -05:00
Anthony Minessale c5086b1517 jsonification into the core and ESL 2010-06-17 11:43:09 -05:00
Anthony Minessale 3026e639fe MODENDP-312 2010-06-17 10:24:36 -05:00
Mathieu Parent 5017869399 Skinny: handle early media
See MODSKINNY-8 (switch_core_io.c:121
SKINNY/internal/SEP002699438FB6:0/1 has no read codec when using early
media)
2010-06-17 07:44:33 +02:00
Mathieu Parent df92a3ca07 Skinny: Remove unused flags 2010-06-17 07:05:28 +02:00
Mathieu Parent 2629a570c7 Skinny: MWI improvement: allow domain name <> profile name 2010-06-16 22:42:15 +02:00
Mathieu Parent 1d7d014612 Skinny: Basic MWI
With following limitations:
- only first line is handled
- only works well when domain name = profile name
2010-06-16 22:42:15 +02:00
Anthony Minessale fc0f16246a add t38_gateway_rx_fillin 2010-06-16 11:49:13 -05:00
Anthony Minessale 51aa05715d MODAPP-435 2010-06-16 11:21:25 -05:00
Anthony Minessale f4324eb3d4 add queued arg to ring_ready app to send 182 2010-06-15 16:14:39 -05:00
Anthony Minessale 3c688a95f8 MODENDP-310 2010-06-15 15:48:12 -05:00
Anthony Minessale bc2b4795c1 add callee fields to channels table 2010-06-15 11:44:48 -05:00
Anthony Minessale 2b2f921442 caller/callee id flipping for blind xfer 2010-06-14 18:37:53 -05:00
Moises Silva beca1423d5 mod_sangoma_codec: Accept Comfort Noise IANA
Default to silence suppression turned off
                   Check for root user
2010-06-14 19:24:57 -04:00
Brian West e0f7c2e320 FSMOD-60 2010-06-14 14:12:14 -05:00
Anthony Minessale c2cfe1b202 FSMOD-61 2010-06-14 14:10:15 -05:00
Anthony Minessale de001cb65a FSMOD-61 2010-06-14 13:43:51 -05:00
Anthony Minessale 64aaf4e9d8 FSMOD-61 2010-06-14 13:42:06 -05:00
Brian West 520bc29d94 THEORA Passthru Video Codec 2010-06-14 09:38:26 -05:00
Brian West a95fa59e87 MODSOFIA-78 2010-06-13 19:17:52 -05:00
Brian West 67217f0c9b SFSIP-214 don't override with a possible NULL value for tech_pvt->cid_type because its already defaulted to the profile setting at the top of sofia_glue_do_invite 2010-06-13 19:07:11 -05:00
Anthony Minessale 3fbd9e2150 MODAPP-433 2010-06-11 11:08:51 -05:00
Anthony Minessale 22569d4ac5 add multiple rtp-ip support to sofia profiles
add extra rtp-ip params to a profile to add more ip which will be used round-robin as new calls progress.
2010-06-10 17:10:03 -05:00
Brian West 2e347c9326 Adding subject to SEND_MESSAGE 2010-06-10 15:48:29 -05:00
Mathieu Parent 2fc09235b7 Skinny: split event handlers 2010-06-10 08:35:05 +02:00
Anthony Minessale 57fc899842 add missing rwunlock 2010-06-09 11:15:07 -05:00
Christopher Rienzo 2cf81f9dfc Skip whitespace for grammars 2010-06-09 12:48:30 +00:00
Anthony Minessale 01c0c6948f fix event names name mismatch 2010-06-08 16:22:21 -05:00
Jeff Lenk ecddf7a880 trivial windows build fix 2010-06-08 10:02:13 -05:00
Michael Jerris d9eb01974f add block_dtmf and unblock_dtmf apps 2010-06-07 21:14:47 -04:00
Anthony Minessale c752e71afe more work on callstate events 2010-06-07 18:01:02 -05:00
Anthony Minessale bc6334a610 FSCORE-617 2010-06-07 16:47:35 -05:00
Anthony Minessale 4d928be3e3 update to last patch 2010-06-07 15:28:32 -05:00
Anthony Minessale d5ba2f3e3b add RTP_BUG_IGNORE_MARK_BIT to list of bug tolerances 2010-06-07 14:06:41 -05:00
Anthony Minessale 23b1fc6175 add log api command 2010-06-07 13:53:03 -05:00
Anthony Minessale 2492c2899a FSCORE-567 2010-06-07 09:34:44 -05:00
Moises Silva 73d9d56f6f mod_sangoma_codec: silence suppression 2010-06-07 10:27:13 -04:00
Brian West 5ffc57e5dc FSMOD-54 2010-06-07 09:20:45 -05:00
Mathieu Rene 114731215d Assert the size of EVENT_NAMES at initialization 2010-06-07 08:49:04 -04:00
Brian West 5cd066df39 fix issue reported on mailing list along with segfault. 2010-06-06 23:26:09 -05:00
Anthony Minessale 0152706fa9 BOUNTY-19 2010-06-04 19:37:04 -05:00
Anthony Minessale 0f133eae2d add new callstate field to channels table 2010-06-04 19:03:36 -05:00
Anthony Minessale 3b8887ba07 put correct sample value in the fillin call 2010-06-04 19:03:11 -05:00
Anthony Minessale e886e990aa fix build 2010-06-04 16:45:35 -05:00
Moises Silva ae298182c2 switch rtp: check for the channel too 2010-06-04 08:16:51 -04:00
Anthony Minessale eba05c3c01 allow uuid_break to interrupt one or all in a delimited string of files the same as several individual files 2010-06-04 10:15:04 -05:00
Anthony Minessale 8f4e63928a add some error checking 2010-06-03 12:34:38 -05:00
Anthony Minessale 4a4670a71e FSCORE-615 2010-06-03 10:17:00 -05:00
Anthony Minessale 2cc59f1ed4 FSCORE-615 2010-06-02 21:57:30 -05:00
Di-Shi Sun 4d9135500c Merge branch 'master' of ssh://git@git.freeswitch.org/freeswitch 2010-06-03 10:01:36 +08:00
Di-Shi Sun d05b08e2be Fixed a bug on 64bit platform. 2010-06-03 09:52:24 +08:00
Anthony Minessale 4c20b020fc allow monitor_early_media and ignore_early_media to work for hmmhesays 2010-06-02 17:31:55 -05:00
Brian West a0c78de27d don't use operator key when no operator ext is configured 2010-06-02 15:17:12 -05:00
Anthony Minessale 64f58f2d67 only execute app once in app mode 2010-06-02 15:17:12 -05:00
Brian West e80befba17 fix log messages on spandsp.conf loading or processing failure 2010-06-02 11:52:27 -05:00
Brian West 22ebaaf8e2 don't fail load of mod_spandsp just because we don't have tones in the conf file 2010-06-02 11:39:36 -05:00
Anthony Minessale 43dedcac1f add tab completion rule 2010-06-02 11:17:43 -05:00
Jeff Lenk 52f14165f8 Fix windows build 2010-06-01 20:12:33 -05:00
Mathieu Parent 3f7cafd709 Rename sofia_glue_get_user_host to switch_split_user_domain
and move to switch_utils. To allow use by other modules.
2010-06-02 01:09:54 +02:00
Anthony Minessale a291af5768 add sip_copy_multipart to work like sip_copy_custom_headers 2010-06-01 17:22:45 -05:00
Anthony Minessale c17eefb2a4 first crack at multipart content in invites 2010-06-01 17:13:32 -05:00
Brian West ccdaabd634 typo 2010-06-01 17:25:25 -05:00
Brian West 187c3b90f2 picky picky 2010-06-01 16:14:42 -05:00
Anthony Minessale 6360264fb2 add sip_force_audio_fmtp 2010-06-01 14:04:55 -05:00
Anthony Minessale f41fbbc05b fix typo that generated null video codecs in inherit_codec 2010-06-01 12:10:50 -05:00
Jeff Lenk a5f07a8066 MODLANG-165 Added wrapper for switch_event_bind for .net 2010-06-01 10:23:04 -05:00
Jeff Lenk 4fa8be625a add mod_spandsp to windows build 2010-05-31 22:05:54 -05:00
Michael Jerris 7961c2266d handle EINTER case on write 2010-05-31 16:40:48 -04:00
Michael Jerris 1339e2185f mod_java: Allow user defined java methods to be called at startup and shutdown of JVM (MODLANG-117) 2010-05-31 10:15:35 -04:00
Michael Jerris e4450044d7 indent 2010-05-31 10:14:59 -04:00
Michael Jerris 52cd8cdd64 mod_sofia: use rfc recommended default session timeout of 30 min according to RFC 4028 4.2 (MODSOFIA-76) 2010-05-31 09:39:36 -04:00
Michael Jerris 19253d8354 mod_xml_cdr: fix minor memory leaks and config bug (MODEVENT-62) 2010-05-31 09:30:57 -04:00
Michael Jerris be92e5df08 mod_sofia: allow video negotiation on re-invite (SFSIP-211) 2010-05-31 09:14:53 -04:00
Michael Jerris f029ce07b7 mod_conference: fix relate nohear (MODAPP-428) 2010-05-31 08:41:08 -04:00
Michael Jerris a6e6514799 mod_spandsp: add start_tone_detect/stop_tone_detect app and api commands for tone and cadence detection (MODAPP-378) 2010-05-31 08:41:07 -04:00
root e098d8757e Merge branch 'master' of ssh://git@git.freeswitch.org/freeswitch 2010-05-31 15:57:05 +04:00
root 51b79d7a37 add dtmfinband conf parameter.
add endpoint-name conf parameter represents endpoint name.
fix GK registration retrying in case of registration reject.
fix double DTMF hadling for examle in case dtmf-relay h245-signal h245-alphanumeric on cisco dial-peer.
fix crash on module unloading.
2010-05-31 15:44:51 +04:00
Michael Jerris eab4f24632 mod_spandsp: improve duplicate digit detection and add 'min_dup_digit_spacing_ms' channel variable for use with the dtmf detector (FSMOD-45) 2010-05-31 07:34:23 -04:00
Michael Jerris a66654de7d mod_cid_lookup: honor skipcitystate when using whitepages (FSMOD-53) 2010-05-31 07:25:49 -04:00
Michael Jerris 6bed19b2d6 mod_say_es: fix grammar when saying dates and time (MODAPP-429) 2010-05-31 06:13:02 -04:00
Michael Jerris 65400642f7 rework of new mod_spandsp to have functions broken up into different c files 2010-05-31 06:04:12 -04:00
Jeff Lenk 9637b89e35 FSCORE-613 Crash when using tab completion on uuid_ commands 2010-05-28 10:48:20 -05:00
Travis Cross 9b80aa18a4 Updates to .gitignore. 2010-05-28 02:16:42 +00:00
Anthony Minessale e2e9765c2c fix timeout feature 2010-05-27 16:55:20 -05:00
Brian West f17bd746e8 swigall 2010-05-27 16:39:19 -05:00
Mathieu Parent 48c7bb320e Skinny: correct define_time_date
The 'day' field is the month day (and not year day).

Fix MODSKINNY-4 and MODSKINNY-7
2010-05-27 11:55:09 +02:00
Di-Shi Sun d140b11caf Changed osp_route_N string variables. 2010-05-27 14:48:46 +08:00
Rupa Schomaker 095815f83b mod_cidlookup: null xml is bad 2010-05-26 20:58:16 -05:00
Anthony Minessale c82afd4336 wtf 2010-05-26 20:13:46 -05:00
Anthony Minessale ccf74d5b41 negotiable t38 passthru 2010-05-26 20:13:07 -05:00