Commit Graph

11627 Commits

Author SHA1 Message Date
Jeff Lenk bbbd67ba08 fix small leak in strftime 2011-07-08 22:12:10 -05:00
Marc Olivier Chouinard ee91b6374a mod_protovm: Basic update of caller display with current message cid/name 2011-07-08 22:00:04 -04:00
Jeff Lenk dab274da78 fix compiler error - equivalent 2011-07-08 20:33:58 -05:00
Marc Olivier Chouinard 2703a2cd05 mod_protovm: Add premitive tone playback before recording. Need to make this optional and configurable 2011-07-08 20:47:12 -04:00
Marc Olivier Chouinard c06e8fdf49 mod_voicemail: Add simple mwi update on vm_fsdb_purge api cmd 2011-07-08 20:35:09 -04:00
Marc Olivier Chouinard fae0b7b313 mod_voicemail: Add vm_fsdb_msg_forward api call 2011-07-08 20:15:21 -04:00
Marc Olivier Chouinard b53fd77108 mod_callcenter: More changes to be more friendly/compliant/respectful with loopback channels. Brought to you by François Delawarde 2011-07-08 19:28:30 -04:00
Marc Olivier Chouinard 0537bc18e4 mod_protovm: Add Message Forwarding Capability (Require a mod_voicemail patch that will follow in the near future) 2011-07-08 19:26:43 -04:00
Anthony Minessale 765be8c96f FS-3406 --resolve 2011-07-08 14:54:51 -05:00
Jeff Lenk 6eae79e6ae reswig vs2010 2011-07-08 16:16:04 -05:00
Anthony Minessale f1ee225cb1 push out signal data into its own queue system 2011-07-08 12:52:18 -05:00
Anthony Minessale e420e17f84 FS-3386 Jeff Lenk found this one, Good Catch! 2011-07-08 12:52:18 -05:00
Jeff Lenk ec54acb738 FS-2954 correct windows usage 2011-07-08 09:53:03 -05:00
Travis Cross 8895de1bba let mod_directory use non-XML dialplans 2011-07-08 10:42:31 +00:00
Anthony Minessale 3b5a0ae50d FS-3359 --resolve also added %y to printf macros to replace ' with \' 2011-07-07 15:08:23 -05:00
Moises Silva db14408a41 mod_sangoma_codec: fix ilbc bit rate typo 2011-07-07 11:20:40 -04:00
Anthony Minessale 9cf44f3a5e fix campon to play music even on first run and cancel faster 2011-07-06 16:45:36 -05:00
Brian West 2b9bf0deb2 swigall 2011-07-06 12:42:10 -05:00
Anthony Minessale 1d12519d0b only parse messages from channel_ready when its a session calling channel ready on itself not when another thread calls it 2011-07-05 15:29:18 -05:00
Michael Jerris 81b56a2490 FS-2954: attr packed is not available on sun studio 2011-07-05 15:42:15 -04:00
Anthony Minessale e66051390c add proxy tag to UPDATE packets if it was set by INVITE 2011-07-05 11:52:45 -05:00
Jeff Lenk fba2bbfeb5 FS-3034 --resolve 2011-07-05 11:57:55 -05:00
Anthony Minessale cad68d53f5 don't parse events in channel_ready during hold 2011-07-05 11:05:33 -05:00
Moises Silva c2a1935850 skip initial space in switch console and API execution - resolve issue #778 2011-07-04 15:30:33 -04:00
Stefan Knoblich b6826180f3 mod_ladspa: Set setenv() overwrite flag to replace empty LADSPA_PATH variables.
For complete putenv()-like behaviour.

Further investigation on why putenv() caused EFAULTs on execve() and
segfaults on reload:

putenv(3):

   "The string pointed to by string becomes part of the environment,
    so altering the string changes the environment."

setenv(3):

   "This function makes copies of the strings pointed to by name and value
    (by contrast with putenv(3))."

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2011-07-04 01:18:51 +02:00
Travis Cross d0db986058 version bump to zeromq-2.1.7 2011-07-03 18:29:13 +00:00
Stefan Knoblich f6dadb587c mod_ladspa: putenv() breaks the process environment variables, use setenv() instead.
Use of putenv() to set LADSPA_PATH broke the proccess environment variables, for some
unknown reason, causing segfaults on "reload mod_ladspa" and restarting
FreeSWITCH (with "fcstl shutdown restart").

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2011-07-03 14:01:08 +02:00
Anthony Minessale 6f62f39139 FS-3386 fix small mem leak in sofia 2011-07-01 12:27:40 -05:00
Anthony Minessale 25c725c292 last commit for --enable-timerfd-wrapper (autoheadache) 2011-06-30 18:30:24 -05:00
Anthony Minessale 5818af11bf tweak q size 2011-06-30 18:12:33 -05:00
Anthony Minessale 95145a1b28 FS-3386 --resolve please try this 2011-06-30 18:59:35 -05:00
Anthony Minessale 9b2893684d add debug 2011-06-30 18:59:35 -05:00
Anthony Minessale 0a21da5aab change commit factor on sql thread 2011-06-30 16:24:41 -05:00
Brian West 7fee1fd157 Fix fifo orbit timeout when not using a chime tested with and without chime 2011-06-30 16:24:09 -05:00
Anthony Minessale 306b332d47 add --enable-timerfd-wrapper to wrap timefd syscalls for platforms with the right kernel and wrong libc 2011-06-30 14:36:52 -05:00
Anthony Minessale 84f8868bf8 FS-3385 --resolve 2011-06-30 11:59:58 -05:00
Anthony Minessale 8592b6d91e FS-3382 --resolve 2011-06-29 18:33:27 -05:00
Anthony Minessale 79e9f19cb9 add execute_on_fax_success, execute_on_fax_failure and execute_on_fax_result channel variables to trigger an app or lua script when a fax result is received 2011-06-29 18:22:57 -05:00
Anthony Minessale f8c029a191 auto populate global origination_caller_id_name/number from effective_caller_id_name/number in enterprise originate 2011-06-29 15:57:59 -05:00
Jeff Lenk 3aaa6209b8 FS-3380 --resolve Bad calling conventions for Windows 2011-06-29 11:30:31 -05:00
Mathieu Parent afd8dad4e7 Skinny: some columns may be null: avoid segfault
See FS-3379
2011-06-29 00:25:32 +02:00
Anthony Minessale 22d8994325 avoid recursion loop in parse_all_events vs channel_ready 2011-06-28 15:06:48 -05:00
Anthony Minessale acd0898e32 support final response in response header passing 2011-06-28 10:30:11 -05:00
Anthony Minessale f12ab59e88 omit file_string:// prefix if input begins with ~ 2011-06-28 08:25:46 -05:00
Anthony Minessale 07a715928b FS-2218 --resolve 2011-06-28 08:05:12 -05:00
Jeff Lenk c50fea15ac resolve trivial compiler warning 2011-06-27 20:23:00 -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 94148095b8 parse events and messages in channel_ready 2011-06-27 11:32:52 -05:00
Anthony Minessale 4962542b40 FS-867 --resolve 2011-06-27 10:15:03 -05:00
Anthony Minessale b6fc1a5f30 FS-3372 --resolve 2011-06-27 10:09:15 -05:00
Anthony Minessale dfc30b2e67 FS-3373 --resolve 2011-06-27 10:01:06 -05:00
Travis Cross 8a8b70b7a4 comment cleanup 2011-06-26 13:30:05 +00:00
Anthony Minessale 7cb095190a FS-3362 check for ports that are 0 in sdp and do not bother patching it for these cases 2011-06-24 18:28:56 -05:00
Anthony Minessale 12c680d38f fix video read frame function to behave like the audio one when waiting for codecs 2011-06-24 14:49:36 -05:00
Anthony Minessale 5db3a9b071 move channel_create event to init state to allow more info to be gathered 2011-06-24 10:52:18 -05:00
Anthony Minessale bc7cb400c0 add sip_liberal_dtmf chanvar and liberal-dtmf profile param to use the maximum methods of DTMF avoiding sticking to the spec which leads to incompatability 2011-06-23 17:57:10 -05:00
Brian West 982b7614b0 fix from diego 2011-06-23 15:46:42 -05:00
Anthony Minessale 8beb10d25b FS-3367 --resolve the start was actually broken in the same way, instead of your exact patch I replaced both original functions to work as your patch suggests 2011-06-23 14:57:46 -05:00
Anthony Minessale 2486306126 FS-3275 try this patch 2011-06-23 11:57:38 -05:00
Anthony Minessale 6eb3ff7af0 FS-3275 try this then 2011-06-22 19:03:33 -05:00
Anthony Minessale e47e52c9d4 revert 2011-06-22 18:59:01 -05:00
Anthony Minessale a49b794317 FS-3275 try this 2011-06-22 15:35:35 -05:00
Anthony Minessale 492db9067d add hup command to conference (kick without the kick sound) 2011-06-22 12:18:09 -05:00
Anthony Minessale 49e52b4ca6 FS-3362 removed the vid refresh thing 2011-06-22 10:51:46 -05:00
Anthony Minessale 4bb768311e flush buffer to avoid lag and enable plc 2011-06-21 11:43:37 -05:00
Jeff Lenk 6f49e6ba9e FS-3361 --resolve mod_portaudio crash on bad init 2011-06-21 09:21:22 -05:00
Anthony Minessale 8decee307b FS-3358 please test and close if it works 2011-06-20 13:21:20 -05:00
Anthony Minessale d4fe85ed24 FS-3275 --resolve 2011-06-20 11:15:24 -05:00
Anthony Minessale a5452174d9 FS-3353 --resolve 2011-06-20 10:32:11 -05:00
Anthony Minessale 3be64cbf62 FS-3354 --resolve 2011-06-20 10:07:01 -05:00
Jeff Lenk f8cda53998 FS-3355 --resolve mod_rtmp for windows 2011-06-20 10:03:56 -05:00
Jeff Lenk e5ce51c439 FS-3356 --resolove fix windows build vs2010 2011-06-20 09:30:45 -05:00
Christopher Rienzo ee1760929b Wait for unimrcp lib to timeout requests 2011-06-20 14:00:21 +00:00
Anthony Minessale 7768808488 only clear scope vars when they were set 2011-06-18 11:52:37 -05:00
Anthony Minessale d4fcba74c8 only clear scope vars when they were set 2011-06-18 10:28:27 -05:00
Anthony Minessale 0128bce4ac missed an = 2011-06-17 15:56:27 -05:00
Anthony Minessale e8ae13a837 fix type 2011-06-17 14:41:31 -05:00
Anthony Minessale 8793c2ed37 fix memory issue in spandsp_tone_detect 2011-06-17 11:51:23 -05:00
Brian West 2357168041 They no longer ship the wsj model in pocketsphinx... and seems the dictionary has moved a bit. 2011-06-17 09:05:05 -05:00
Jeff Lenk 2e1f0b50a8 FS-3350 try this 2011-06-16 17:09:26 -05:00
Anthony Minessale fb68746eed add parallelism to sofia by offsetting sip messages to the concerned sessions and using multiple queue threads for message handling 2011-06-16 14:37:22 -05:00
Anthony Minessale 9df8169d1f add mutex around gateway access on per-profile basis and token based access to global profiles to prevent hanging on to the hash mutex while doing sql stmts which may cause issues/slowdowns 2011-06-16 14:32:14 -05:00
Moises Silva 2a9046fdb8 Merge branch 'master' into smgmaster
Conflicts:
	build/modules.conf.in
2011-06-16 13:43:37 -04:00
Anthony Minessale 927fde18c9 FS-3349 --resolve 2011-06-16 12:01:39 -05:00
Christopher Rienzo 17099473a3 Update to latest UniMRCP version. MRCP requests can no timeout if there is no server response. 2011-06-16 16:25:00 +00:00
Jeff Lenk 0555b702db FS-3345 --resolve add more fax event information 2011-06-16 11:11:49 -05:00
Anthony Minessale c6268da50c enable recursion for scoped variables so applications that exec more apps will preserve the scope, the most recent app will mask variables just during the duration of that app 2011-06-16 09:43:32 -05:00
Jeff Lenk 8092a289a0 pocketsphinx changes for 0.7 for windows - only build test so far for vs2010 - more to come 2011-06-15 18:45:02 -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
Brian West 1a39d7fb34 Update PocketSphinx to the latest builds... only had to make two changes 2011-06-15 13:09:00 -05:00
Anthony Minessale 8663278a69 revert 2011-06-15 11:16:04 -05:00
Anthony Minessale 06ec179b44 reapply 2011-06-15 10:29:44 -05:00
Anthony Minessale bf7895278e revert 2011-06-15 10:29:07 -05:00
Anthony Minessale 25604d60d5 FS-3326 revert 68c389d 2011-06-15 10:10:37 -05:00
Anthony Minessale a20a3f3461 FS-3340 revert c5a2275f62 it breaks acking on session timers and initial invite 2011-06-15 10:02:34 -05:00
Anthony Minessale f35a68141e add conference member flag nomoh 2011-06-14 13:41:25 -05:00
Anthony Minessale 5081765575 remove superfluous hangup 2011-06-14 11:40:46 -05:00
Mathieu Rene 36f812d938 CNG frames need to have codec set too 2011-06-14 00:35:18 -04:00
Mathieu Rene 692a5967d1 should be INT32_MAX 2011-06-13 18:25:27 -04:00
Mathieu Rene affcdb0a4f Make all sockets non-blocking 2011-06-13 16:42:18 -04:00
Michael S Collins 2e01654115 Remove duplicate output from rtmp status profile xxx API command 2011-06-13 13:22:38 -07:00
Anthony Minessale 3815d1885e set variables based on input hash 2011-06-13 13:59:34 -05:00
Anthony Minessale 8de62867f5 doh 2011-06-13 13:43:14 -05:00
Moises Silva 5882e06f70 Merge branch 'smgmaster' into releases.3.4
Conflicts:
	libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_out.c
	libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_support.c
2011-06-13 14:18:23 -04:00
Anthony Minessale 0933a34369 RTMP as easy as A.B.C. Avant-Garde Solutions Inc. -- Barracuda Networks Inc. -- ClueCon! http://www.cluecon.com 2011-06-13 12:52:16 -05:00
Moises Silva d19d4b96ab use -base directory as the cwd for the process 2011-06-13 13:36:17 -04:00
Mathieu Rene 52ad8b44a3 FS-3342 --resolve 2011-06-12 12:01:58 -04:00
Moises Silva c4a2faf234 mod_sangoma_codec: nevermind, 50 is our limit for now due to L16 requirement 2011-06-10 14:36:35 -04:00
Anthony Minessale ba496a110a FS-3336 --resolve 2011-06-10 09:44:38 -05:00
Anthony Minessale c5a2275f62 FS-3340 2011-06-10 09:41:30 -05:00
Anthony Minessale f4916c44b7 add func 2011-06-09 15:42:09 -05:00
Anthony Minessale b1cf5bee30 wait for thread to start in mod conference to avoid one in a million race on heavy traffic 2011-06-09 15:31:18 -05:00
Anthony Minessale 7e6b59ffe1 add some various api util 2011-06-09 12:17:32 -05:00
Anthony Minessale 7d2e2ce071 FS-3214 forgot 1 important line 2011-06-09 10:57:04 -05:00
Anthony Minessale b14340a5da dig into the database to figure out what profile to send mwi on when they are not willing to alais the domain to the profile =/ 2011-06-09 10:45:28 -05:00
Anthony Minessale 7200408062 revert e2ed8c08ef 2011-06-09 10:36:35 -05:00
Anthony Minessale 7330a06f99 FS-3214 try this patch too 2011-06-09 10:22:40 -05:00
Anthony Minessale e2ed8c08ef pop ::<profile_name> off the domain name in mwi events to hint at the profile 2011-06-08 19:32:18 -05:00
Anthony Minessale 07a797522a FS-3214 try this patch 2011-06-08 18:50:21 -05:00
Anthony Minessale e8962d5687 move muted/unmuted indications to main thread via flags 2011-06-08 15:08:41 -05:00
Anthony Minessale 079f48458e add check_sync to sofia cli (like flush_inbound_reg without the unreg) 2011-06-08 11:09:03 -05:00
Daniel Swarbrick 8d8e5a23a6 Mask remote party identity in SIP presence if channel var presence_privacy=true 2011-06-07 13:58:12 +02:00
Jeff Lenk 0675b59beb FS-3321 release rwlock on error 2011-06-06 21:28:14 -05:00
Travis Cross ef8b793c38 resolve FS-3309; zeromq moves around upstream sources
Since zeromq doesn't maintain a single canonical URL for a given
version, we try both possible locations before giving up.
2011-06-06 19:17:10 +00:00
Travis Cross f25085e06b lower log-level of failed ivr_originate
ivr_originate can fail due to causes such as NO_ANSWER and
ATTENDED_TRANSFER.  It seems excessive to log these normal events
with LOG_ERROR.  Lowering to LOG_NOTICE.
2011-06-06 17:54:17 +00:00
Christopher Rienzo 5099d3b8e3 fix mod_unimrcp reloadxml issue 2011-06-03 20:41:09 +00:00
Christopher Rienzo 94e9957e51 FS-3311 fire SWITCH_EVENT_RECORD_STOP after closing file 2011-06-03 18:48:02 +00:00
Anthony Minessale 68c389df46 FS-3326 --resolve ok thx 2011-06-03 09:45:07 -05:00
Jeff Lenk 5923f71a84 more code analysis mostly trivial except string formating changes 2011-06-01 22:36:19 -05:00
Anthony Minessale 37c2b1ff7b fix race 2011-06-01 17:40:56 -05:00
Anthony Minessale 51c215809f only accept info dtmf when its configured to 2011-06-01 13:19:28 -05:00
Anthony Minessale 64f8ad3f84 FS-3324 --resolve I think this is a misconfiguration where you have nat detected and no external ip configured 2011-06-01 10:59:38 -05:00
Jeff Lenk 3b81d1fcdd vs2010 reswig 2011-06-01 10:50:15 -05:00
Jeff Lenk 14ef54cd4e FS-3315 Fix this differently convert to cdecl so SWIG likes 2011-06-01 10:48:42 -05:00
Anthony Minessale 7bbbb9ccc5 add vars: flip_record_on_hold to make the recording flip to the other leg on hold, record_check_bridge to make recording the same file on the opposite leg of a bridge considered a duplicate attempt and record_toggle_on_repeat to make repeat recording the same file toggle the recording off 2011-05-31 22:22:18 -05:00
Moises Silva 74532a8b7b Merge branch 'releases.3.3' into smgmaster
Conflicts:
	build/modules.conf.in
	libs/freetdm/mod_freetdm/mod_freetdm.c
2011-05-31 20:06:41 -04:00
Jeff Lenk 332a5805a1 trivial compiler warning 2011-05-31 14:10:21 -05:00
Anthony Minessale 17e2cbb380 followup 2 2011-05-31 13:18:35 -05:00
Anthony Minessale bb614c5a08 followup 1 2011-05-31 13:10:37 -05:00
Anthony Minessale e2da3bea0c add code to pass recording bugs on to other legs when executing an attended transfer, needs testing and possible follup commits before using 2011-05-31 13:01:28 -05:00
Anthony Minessale 0419c4e0f3 add append flag to mod_shout 2011-05-31 10:40:34 -05:00
Anthony Minessale 37064511e4 fix bug from the *cough* FRICKING MAILING LIST WHERE IT SHOULD NOT HAVE BEEN REPORTED FROM *cough* 2011-05-31 09:53:39 -05:00
Moises Silva cbb82ad640 modified switch.c to not create PID file until all modules are loaded
this help init scripts to check when everything is really loaded.
Also return 1 when loading modules fails, do not return 255 which can
be confused with a segmentation fault or some other more violent code
2011-05-30 18:53:24 -04:00
Moises Silva 7db91251c8 modified switch.c to not create PID file until all modules are loaded
this help init scripts to check when everything is really loaded.
Also return 1 when loading modules fails, do not return 255 which can
be confused with a segmentation fault or some other more violent code
2011-05-30 18:49:15 -04:00
Moises Silva 43a5af7df6 mod_sangoma_codec: Update max ms loop limit 2011-05-30 12:27:01 -04:00
Jeff Lenk d193789a2c fix several problems discovered with code analysis 2011-05-30 00:07:32 -05:00
Jeff Lenk 6a38dce2b8 trivial compiler warnings 2011-05-29 09:46:02 -05:00
Jeff Lenk 4480abc911 fix compiler warning 2011-05-27 21:46:28 -05:00
Anthony Minessale 9e12983f3e FS-3100 --resolve 2011-05-27 20:41:31 -05:00
Anthony Minessale dc028b3648 FS-3046 --resolve 2011-05-27 20:39:12 -05:00