Commit Graph

621 Commits

Author SHA1 Message Date
Travis Cross 11ca1a2b2e Fix handling of send_silence_when_idle==0 in switch_ivr_sleep
When the channel variable send_silence_when_idle was set to zero,
switch_ivr_sleep was calling SWITCH_IVR_VERIFY_SILENCE_DIVISOR on it
anyway, causing it to be set to 400.  The only way to get the behavior
of not sending silence when idle was to unset the variable completely.

This corrects the behavior such that setting the value to zero has the
same effect as leaving it unset.
2014-03-03 23:21:58 +00:00
Brian West a6deebffb5 FS-5934 force_transfer_context not being honored if you happen to do an attended this patch makes perfect sense. 2014-02-27 14:10:44 -06:00
Ken Rice 6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Anthony Minessale 635fbc4bd3 add loops var durning looped execution 2013-12-18 03:19:33 +05:00
Anthony Minessale 3e00d270d7 FS-6006 --resolve 2013-11-27 12:40:35 -06:00
Anthony Minessale 624189be16 FS-5701 --resolve 2013-08-14 21:00:18 +05:00
Jeff Lenk adf5e2f6ec fix windows compiler warnings 2013-07-20 22:13:27 -05:00
Anthony Minessale a6bffd38cb FS-5498 2013-07-19 12:03:51 -05:00
Anthony Minessale 745ab02e2b render arrays properly in xml_cdr 2013-07-10 10:29:45 -05:00
Anthony Minessale 8bcff4ca4d fix input event checker pre-empting return value from dtmf checker when both are present 2013-07-01 14:31:43 -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 42c6a66e08 FS-5498 add profile-variables section to directory to specify profile variables to be set automatically 2013-06-11 09:38:58 -05:00
Anthony Minessale 8ac3178e45 FS-5242 2013-05-21 10:03:22 -05:00
Anthony Minessale 21c5db871b dress up event fired after parsing a message 2013-05-03 11:42:36 -05:00
Anthony Minessale c0f736c9da FS-5242 2013-03-29 10:54:45 -05:00
Anthony Minessale 8efaea29af FS-5228 --resolve problem was actually in the send_silence code as used from park not uuid_displace but uuid_displace relies on the write stream so thus it was a symptom 2013-03-27 13:40:51 -05:00
Anthony Minessale 3b50675d25 FS-5231 --resolve 2013-03-27 12:41:17 -05:00
Anthony Minessale ee7dd033fd fix race condition in state thread 2013-02-22 17:46:54 -06:00
Anthony Minessale 475c235df4 FS-5053 2013-02-10 17:29:16 -06:00
Jeff Lenk 099d7979b3 FS-4830 --resolve mod_json_cdr misses information 2013-02-10 11:53:29 -06:00
Anthony Minessale 8be9d429fb fix recursion error 2012-12-10 10:56:07 -06:00
Anthony Minessale 924c524197 fix some delay regressions 2012-12-05 13:17:50 -06:00
Anthony Minessale b7e6f4ab82 FS-4853 2012-11-21 09:57:13 -06:00
Anthony Minessale 580e63ecfa check for signalling in sleep app on channels without media 2012-11-13 12:30:25 -06:00
Michael Jerris 1de65cbcd0 handle state update for hangup 2012-10-30 19:02:33 -04:00
Anthony Minessale 2246b84554 fix missing line 2012-10-23 11:06:15 -04:00
Anthony Minessale 4b6db1329c FS-4729 try this patch clean 2012-10-22 13:37:41 -04:00
Anthony Minessale 986fede6b0 make a way to get the jitter buffer down to the codecs 2012-10-18 15:29:00 -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 d528ceee19 regression from a9d72bc35d 2012-09-06 11:32:50 -05:00
Anthony Minessale a9d72bc35d fix small broadcast bug 2012-09-04 19:08:06 -05:00
Anthony Minessale ffb553bef5 FS-4565 --resolve 2012-08-28 12:57:47 -05:00
Anthony Minessale c0626e6801 FS-4487 --resolve 2012-08-07 07:35:41 -05:00
Anthony Minessale 63b6fa5f24 FS-4487 revert 2ed9281d19 2012-08-07 07:30:22 -05:00
Anthony Minessale 2ed9281d19 FS-4487 --resolve 2012-08-06 22:30:34 -05:00
Anthony Minessale 71b64412b9 FS-4470 --resolve 2 for one fix 2012-07-27 10:44:16 -05:00
Anthony Minessale 1dd4bd4926 add core-uuid attr to xml cdr tag 2012-07-26 11:45:06 -05:00
Anthony Minessale 3708c96257 add uuid to event socket apps 2012-07-02 15:12:55 -05:00
Anthony Minessale 1330ad9cf4 FS-4363 try this 2012-06-28 10:21:08 -05:00
Jeff Lenk 20f20c8a5c FS-4248 prevent seg for unsupported say method 2012-06-07 10:06:09 -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
Anthony Minessale 68021e862f send silence on smaller sleeps 2012-05-10 09:51:07 -05:00
Anthony Minessale f106c18f51 tweak to confirm blind transfer patch 2012-05-08 19:33:53 -05:00
Anthony Minessale 024e5fdefd FS-4196 --resolve 2012-05-08 07:41:10 -05:00
Anthony Minessale 29f23c1c67 FS-4185 --resolve 2012-05-04 08:32:32 -05:00
Ken Rice c5554eb939 Copyright date update. 2012-04-18 11:52:02 -05:00
Anthony Minessale ab0736127a FS-4043 --resolve 2012-04-13 12:47:30 -05:00
Anthony Minessale c0b69c415c FS-4096 --resolve 2012-04-10 09:59:56 -05:00
Anthony Minessale df8d2f1ecd FS-4038 --resolve 2012-04-04 17:20:17 -05:00
Anthony Minessale 3505cb47e3 FS-3929 --resolve 2012-02-22 18:16:25 -06:00
Anthony Minessale e6bfa118ec minor presence tweaks 2012-02-09 16:47:32 -06:00
Jeff Lenk 24288832b1 FS-2216 partial with renaming 2012-01-08 14:19:16 -06:00
Anthony Minessale a4320da5a8 fix regression from earlier today 2012-01-05 16:01:27 -06:00
Anthony Minessale e185ff0075 allow dmachine and input callback to co-exist 2012-01-05 09:39:18 -06:00
Anthony Minessale 2e6b55810f put transfer_source in a variable too 2011-12-08 17:33:31 -06:00
Anthony Minessale 712ada3d8d deal with timeout better in rare bind_meta_app misuse 2011-11-11 19:27:02 -06:00
Anthony Minessale f1980b3818 don't tolerate blank proto 2011-10-25 12:07:39 -05:00
Anthony Minessale 3c9551ee90 move code from uuid_kill into core 2011-10-25 11:53:22 -05:00
Michael Jerris ea7f6a1857 add lookup params to presence_map 2011-10-24 09:53:24 -04:00
Anthony Minessale 4ee1722f3e add presence_map 2011-10-22 09:40:59 -05:00
Anthony Minessale 1bf97fa7ba add some more reporting data to logs 2011-10-11 15:13:23 -05:00
Anthony Minessale 216dce139c revert this it might annoy ppl with no transcoding 2011-10-05 12:49:47 -05:00
Anthony Minessale 3317f5d36d delay_echo was double the length in milliseconds from what it should be 2011-09-30 09:45:00 -05:00
Anthony Minessale e25a90a04b always generate frames on sleep 2011-09-29 13:22:05 -05:00
Anthony Minessale 7333d46d5b add new chatplan concept and mod_sms. Apps for chat messages: copy new base freeswitch.xml and chatplan dir if you are upgrading on existing config base 2011-09-21 14:31:18 -05:00
Anthony Minessale bcd1e14711 add callee_id name/number to xml_cdr 2011-09-09 13:01:10 -05:00
Anthony Minessale f2099bf999 FS-3529 please try this revision I suspect its related to some uninitilized memory causing flags to be set that are not in the dtmf structure in certian cases 2011-09-08 08:12:16 -05:00
Anthony Minessale 96ddc51faa split on space not colon 2011-09-06 13:56:44 -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 d43af04e93 fix races in bypass media regarding channel signalling that may cause answer to be skipped 2011-08-19 16:25:32 -05:00
Anthony Minessale f10566af91 FS-3181 --resolve the new code requires accurate timestamps, we were incrementing it by the interval (20) instaead of the samples (160) 2011-08-11 08:49:13 -05:00
Anthony Minessale 2f950634ab fix sip auto_simplify 2011-07-16 02:34:17 -05:00
Anthony Minessale f1ee225cb1 push out signal data into its own queue system 2011-07-08 12:52:18 -05:00
Anthony Minessale 22d8994325 avoid recursion loop in parse_all_events vs channel_ready 2011-06-28 15:06:48 -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 dfc30b2e67 FS-3373 --resolve 2011-06-27 10:01:06 -05:00
Anthony Minessale dc028b3648 FS-3046 --resolve 2011-05-27 20:39:12 -05:00
System Administrator 7eaef23955 Merge remote branch 'fsorig/master'
Conflicts:
	src/mod/applications/mod_commands/mod_commands.c
	src/mod/endpoints/mod_portaudio/mod_portaudio.c
	src/mod/endpoints/mod_portaudio/pablio.c
2011-05-26 00:13:12 -04:00
System Administrator 294a57fbcb allow -1 as silence generation divisor to specify only zeroes silence 2011-05-25 23:16:24 -04:00
Anthony Minessale c1c759526d add arrays to event headers and chanvars 2011-05-25 15:42:36 -05:00
Mathieu Rene 5dc67c88d3 fix warning 2011-05-16 16:46:09 -04:00
Anthony Minessale 9c17effb15 add time stamp to app_log 2011-05-16 13:41:52 -05:00
Anthony Minessale 8764a046c6 allow creation of arbitrary profile vars 2011-05-13 15:29:40 -05:00
Anthony Minessale 837a6cac02 FS-3294 --resolve This is probably fine 2011-05-13 07:29:26 -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 73279f01bf FS-3166 --resolve 2011-04-22 16:43:29 -05:00
Marc Olivier Chouinard 4137b360cf switch_ivr/xml: Change the structure of the phrases/language system. Previously it was fxml->phrases->macros->language->macro. Changed it so fxml->languages->language->phrases->macros->macro
You can have sub macros <macros name="voicemail"><macro ...> and allow you to call it login@voicemail.
Change the sound-path to sound-prefix to make it constistant with the rest of freeswitch.
Also allow to set a sound-prefix to a macros, so you can override it for a specific file set.
You can set say-modules="en" or whatever in the <language section to define that say module to use.
2011-04-20 13:09:03 -04:00
Anthony Minessale 44304f4962 the intent for having the module and lang separate is for things where the same module can use different sets of sounds like en module and en-male or en-female lang (sound dirs) there was indeed a disconnect in the dialplan version of this app. Originally say was only available in phrase macros so I change the syntax of the say app so you can specify both the module and the lang absolte from the dp with something like he:he as the module name. BTW: Going forward can you attach the patch or give me instructions on how to get it in raw format or merge it to our local git, I don't really have the time to figure it out just to pull in a patch...... 2011-03-31 19:44:29 -05:00
Anthony Minessale d5ef86d778 introduce new say_string method of doing say and use it in mod_say_en as an example. try: eval ${say_string en.gsm en current_date_time pronounced ${strepoch()}} from the cli with this patch. We can do more to centralize the say things and go back and apply it to other langs, using this method you can set the desired file ext as well which I think is a bounty.... 2011-03-29 19:55:35 -05:00
Anthony Minessale d59d41d7b4 add param to jb to try to recapture latency (disabled by default) 2011-02-25 11:59:45 -06:00
Anthony Minessale 976859bb45 fix unreachable condition with a null args to make any key stop playback/record etc without dequing and remove hard-coded flush digits in play_and_get_digits be sure to flush it yourself before using 2011-01-24 14:04:26 -06:00
Anthony Minessale b262f44ce2 add temp_hold_music var that is only valid until you transfer the call and finishing touches on bind meta to A-D 2011-01-05 18:58:56 -06:00
Brian West 3734f4cd44 bump copyright date and fix some email and typos from diego. 2011-01-05 10:09:04 -06:00
Anthony Minessale 751e0291ee prevent race on execute_on_answer called from the B-leg of a call 2010-12-22 19:10:30 -06:00
Anthony Minessale a3b01c195b rtp adjustments when using jitterbuffer 2010-12-21 15:35:43 -06:00
Anthony Minessale 8f452bc519 cid logic changes for calle[re] 2010-12-17 14:35:53 -06:00
Anthony Minessale 93cc3dc556 normalize tests for outbound channels to use switch_channel_direction instead of testing for CF_OUTBOUND 2010-12-15 20:59:42 -06:00
Anthony Minessale e9958c5b0c more jb work, add debug command and logging (sorry jlenk if this breaks win32) 2010-12-14 23:46:26 -06:00
Anthony Minessale d547096164 dramatic jitterbuffer changes 2010-12-10 17:47:46 -06:00