Commit Graph

469 Commits

Author SHA1 Message Date
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 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 c269a58ac5 FS-3045 --resolve 2011-08-17 19:30:15 -05:00
Anthony Minessale f2b66d3d85 update log 2011-08-17 17:25:56 -05:00
Anthony Minessale e2a4fb11ab FS-3396 --resolve 2011-08-10 07:59:03 -05:00
Anthony Minessale 885203a461 add event header 2011-08-04 22:32:06 -05:00
Anthony Minessale 3e2c662a88 clean up originator/ee profile so the right one is prevelant in events 2011-08-04 17:20:02 -05:00
Anthony Minessale b946ee94b2 update call_uuid stuff 2011-08-04 01:04:21 -05:00
Anthony Minessale c16c74d9c0 update show calls to show both 1 legged calls and bridged calls, also show bridged_calls for previous behaviour of show calls 2011-08-01 14:43:03 -05:00
Anthony Minessale 0fc8050cbc display update 2011-07-31 22:14:06 -05:00
Anthony Minessale 0521886de8 use rwlock for global vars to reduce contention 2011-07-12 20:36:42 -05:00
Anthony Minessale 3cbae3fbd8 FS-3413 --resolve 2011-07-12 09:41:02 -05:00
Marc Olivier Chouinard b0e0dd2280 switch_channel: When in a dialplan hunt and we have a custom caller_profile, ${destination_number} and other variable kept the previous value of the original dialplan parsing. This correct this so it take the custom created caller_profile for that hunt 2011-07-08 23:57:54 -04:00
Anthony Minessale f1ee225cb1 push out signal data into its own queue system 2011-07-08 12:52:18 -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 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
Anthony Minessale cad68d53f5 don't parse events in channel_ready during hold 2011-07-05 11:05:33 -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 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 8decee307b FS-3358 please test and close if it works 2011-06-20 13:21:20 -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
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
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 5923f71a84 more code analysis mostly trivial except string formating changes 2011-06-01 22:36:19 -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
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
Anthony Minessale c1c759526d add arrays to event headers and chanvars 2011-05-25 15:42:36 -05:00
Anthony Minessale 8764a046c6 allow creation of arbitrary profile vars 2011-05-13 15:29:40 -05:00
Anthony Minessale 7d7e09a92c FS-3296 --resolve there is not much contention on this but it probably could use a mutex 2011-05-13 08:43:45 -05:00
Anthony Minessale a13064101f 3280 --resolve missed a spot 2011-05-02 10:37:05 -05:00
Anthony Minessale 81ec7555f8 FS-3280 --resolve doh 2011-04-29 12:37: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 f8835a817b FS-3271 --resolve 2011-04-27 09:48:28 -05:00
Anthony Minessale bf107c6f0f FS-3269 --resolve 2011-04-26 09:43:22 -05:00
Anthony Minessale 73279f01bf FS-3166 --resolve 2011-04-22 16:43:29 -05:00
Anthony Minessale a4ed829db8 fix race in sla 2011-04-15 14:22:53 -05:00
Anthony Minessale 6a70fa4c4d fix another regression from 27c6d1111c this probably broke the mad boss extension 2011-04-04 17:43:05 -05:00
Anthony Minessale b42fdd1cf3 fix regression from 27c6d1111c 2011-04-04 16:51:30 -05:00
Anthony Minessale ef17574193 do this slightly safer so we don't have the mutex locked when we exec the app 2011-04-01 19:46:54 -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 3ad4ae0a54 fix null printf 2011-03-30 15:10:45 -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 88a6ac2ff4 FS-3170 this was specific to the user channel which is not a real channel in every sense of the word as it has no running thread or any usable state changes so this new line of code in 233d3164be to wait for the state machine to stabalize before returning from originate caused an issue with user/ channels 2011-03-21 12:01:51 -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 59f6654e96 send another presence event on calls that were cancelled from LOSE_RACE to fix winnable race in Broadsoft SCA 2011-03-10 22:02:45 -06:00
Anthony Minessale 8758d2f71d FS-3141 2011-03-10 10:47:26 -06:00
Anthony Minessale f33e9c6ede FS-2966 I already fixed this in the wait_for_state, so i copied the same fix to wait_for_state_timeout, the lua one needed a similar call to wait for the state to change to avoid a race, both of you should be fixed with this patch 2011-03-02 20:50:33 -06:00
Anthony Minessale bc397ab600 FS-2971 2011-02-25 10:55:47 -06:00
Marc Olivier Chouinard 3fd7b8f267 switch_channel: Add CS_NONE and correct variable name 2011-02-13 18:04:17 -05:00