dect
/
asterisk
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
asterisk/apps
murf cfcfce0e16 Merged revisions 139347 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r139347 | murf | 2008-08-21 17:03:50 -0600 (Thu, 21 Aug 2008) | 47 lines


(closes issue #13251)
Reported by: sergee
Tested by: murf



THis is a bold move for a static release fix, but I wouldn't have
made it if I didn't feel confident (at least a *bit* confident)
that it wouldn't mess everyone up.

The reasoning goes something like this:

1. We simply cannot do anything with CDR's at the current point
(in pbx.c, after the __ast_pbx_run loop). It's way too late to
have any affect on the CDRs. The CDR is already posted and gone,
and the remnants have been cleared.

2. I was very much afraid that moving the running of the 'h'
extension down into the bridge code (where it would be now
practical to do it), would result in a lot more calls to the
'h' exten, so I implemented it as another exten under another
name, but found, to my pleasant surprise, that there was a 
1:1 correspondence to the running of the 'h' exten in the
pbx_run loop, and the new spot at the end of the bridge.
So, I ifdef'd out the current 'h' loop, and moved it into
the bridge code. The only difference I can see is the stuff
about the AST_PBX_KEEPALIVE, and hopefully, if this 
is still an important decision point, I can replicate it
if there are complaints. To be perfectly honest,
the KEEPALIVE situation is not totally clear to me,
and how it relates to a post-bridge situation is less
clear. I suspect the users will point out everything
in total clarity if this steps on anyone's toes!

3. I temporarily swap the bridge_cdr into the channel
before running the 'h' exten, which makes it possible
for users to edit the cdr before it goes out the door.
And, of course, with the endbeforehexten config var set,
the users can also get at the billsec/duration vals.
After the h exten finishes, the cdr is swapped back
and processing continues as normal.

Please, all who deal with CDR's, please test this version
of Asterisk, and file bug reports as appropriate!


........

I also made a little fix to the app_dial's 'e' option,
that is related to my updates.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@139627 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-22 22:03:13 +00:00
..
Makefile Merged revisions 127892,127895 via svnmerge from 2008-07-03 22:23:04 +00:00
app_adsiprog.c More RSW merges. Everything from apps/ except for the big offenders 2008-08-10 14:45:25 +00:00
app_alarmreceiver.c - revert change to ast_queue_hangup and create ast_queue_hangup_with_cause 2008-05-22 16:29:54 +00:00
app_amd.c Create a centralized configuration option for silencethreshold 2008-03-05 16:23:44 +00:00
app_authenticate.c This removes an invalid warning message for an incorrectly entered pin, but more importantly removes an inapplicable check. If the first argument passed to app_authenticate does not contain a '/', the argument should be treated as the sole fixed "password" to match against and that is all. (Previous behavior was attempting to open a file based on the pin.) 2008-04-21 15:34:37 +00:00
app_cdr.c whitespace fixes only. 2008-02-09 11:27:10 +00:00
app_chanisavail.c Goodbye Zaptel, hello DAHDI. Removes Zaptel driver support with DAHDI. Configuration file and dialplan backwards compatability has been put in place where appropiate. Release announcement to follow. 2008-06-12 17:27:55 +00:00
app_channelredirect.c Use proper return values for a few application modules 2008-06-03 19:48:37 +00:00
app_chanspy.c Merged revisions 139213 via svnmerge from 2008-08-20 22:16:36 +00:00
app_controlplayback.c whitespace fixes only. 2008-02-09 11:27:10 +00:00
app_dahdibarge.c More RSW merges. Everything from apps/ except for the big offenders 2008-08-10 14:45:25 +00:00
app_dahdiras.c build against the now-typedef-free dahdi/user.h, and remove some #ifdefs for features that will always be present in DAHDI 2008-07-29 22:22:13 +00:00
app_dahdiscan.c More RSW merges. Everything from apps/ except for the big offenders 2008-08-10 14:45:25 +00:00
app_db.c whitespace fixes only. 2008-02-09 11:27:10 +00:00
app_dial.c Merged revisions 139347 via svnmerge from 2008-08-22 22:03:13 +00:00
app_dictate.c whitespace fixes only. 2008-02-09 11:27:10 +00:00
app_directed_pickup.c Merge app_pickupchan with app_directed_pickup, for AST-27. 2008-04-25 18:32:22 +00:00
app_directory.c More RSW merges. Everything from apps/ except for the big offenders 2008-08-10 14:45:25 +00:00
app_disa.c More RSW merges. Everything from apps/ except for the big offenders 2008-08-10 14:45:25 +00:00
app_dumpchan.c Modify TIMEOUT() to be accurate down to the millisecond. 2008-05-01 23:06:23 +00:00
app_echo.c whitespace fixes only. 2008-02-09 11:27:10 +00:00
app_exec.c For the purpose of making the changed syntax to ExecIf easier to transition, 2008-06-06 17:34:21 +00:00
app_externalivr.c Missing comma 2008-06-19 15:52:17 +00:00
app_fax.c Add FAXMODE variable with what fax transport was used. 2008-08-13 20:05:50 +00:00
app_festival.c More RSW merges. Everything from apps/ except for the big offenders 2008-08-10 14:45:25 +00:00
app_flash.c Merged revisions 125132 via svnmerge from 2008-06-25 23:05:28 +00:00
app_followme.c - revert change to ast_queue_hangup and create ast_queue_hangup_with_cause 2008-05-22 16:29:54 +00:00
app_forkcdr.c More RSW merges. Everything from apps/ except for the big offenders 2008-08-10 14:45:25 +00:00
app_getcpeid.c Goodbye Zaptel, hello DAHDI. Removes Zaptel driver support with DAHDI. Configuration file and dialplan backwards compatability has been put in place where appropiate. Release announcement to follow. 2008-06-12 17:27:55 +00:00
app_ices.c Merged revisions 135058 via svnmerge from 2008-08-01 11:47:34 +00:00
app_image.c Change SendImage() to output a more consistent status variable. 2008-07-28 16:49:29 +00:00
app_ivrdemo.c include "logger.h" and errno.h from asterisk.h - usage shows that they 2007-11-19 18:52:04 +00:00
app_jack.c stop using deprecated API call 2008-08-07 17:26:23 +00:00
app_macro.c More RSW merges. Everything from apps/ except for the big offenders 2008-08-10 14:45:25 +00:00
app_meetme.c More RSW merges. Everything from apps/ except for the big offenders 2008-08-10 14:45:25 +00:00
app_milliwatt.c Janitor patch to change uses of sizeof to ARRAY_LEN 2008-07-11 18:09:35 +00:00
app_minivm.c More RSW merges. Everything from apps/ except for the big offenders 2008-08-10 14:45:25 +00:00
app_mixmonitor.c Merged revisions 108083 via svnmerge from 2008-03-12 18:29:33 +00:00
app_morsecode.c Lock around variables retrieved, and copy the values, if they stay persistent, 2008-04-30 19:21:04 +00:00
app_mp3.c - revert change to ast_queue_hangup and create ast_queue_hangup_with_cause 2008-05-22 16:29:54 +00:00
app_nbscat.c - revert change to ast_queue_hangup and create ast_queue_hangup_with_cause 2008-05-22 16:29:54 +00:00
app_osplookup.c More RSW merges. Everything from apps/ except for the big offenders 2008-08-10 14:45:25 +00:00
app_page.c Goodbye Zaptel, hello DAHDI. Removes Zaptel driver support with DAHDI. Configuration file and dialplan backwards compatability has been put in place where appropiate. Release announcement to follow. 2008-06-12 17:27:55 +00:00
app_parkandannounce.c remove remaining Zaptel references in various places 2008-07-28 16:42:00 +00:00
app_playback.c More RSW merges. Everything from apps/ except for the big offenders 2008-08-10 14:45:25 +00:00
app_privacy.c add a new argument to PrivacyManager to specify a context 2008-06-08 11:40:44 +00:00
app_queue.c Change the queue timeout priority logic into less ugly 2008-08-18 20:23:11 +00:00
app_read.c Modify TIMEOUT() to be accurate down to the millisecond. 2008-05-01 23:06:23 +00:00
app_readexten.c Modify TIMEOUT() to be accurate down to the millisecond. 2008-05-01 23:06:23 +00:00
app_readfile.c remove another set of redundant #include "asterisk/options.h" 2007-11-21 23:24:55 +00:00
app_record.c More RSW merges. Everything from apps/ except for the big offenders 2008-08-10 14:45:25 +00:00
app_rpt.c More RSW merges. Everything from apps/ except for the big offenders 2008-08-10 14:45:25 +00:00
app_sayunixtime.c remove another set of redundant #include "asterisk/options.h" 2007-11-21 23:24:55 +00:00
app_senddtmf.c Document that the duration of dtmf may be passed to 2008-07-17 21:26:41 +00:00
app_sendtext.c Fix a bug where SENDTEXTSTATUS isn't set properly when it isn't 2008-07-21 20:54:09 +00:00
app_setcallerid.c Merged revisions 114242 via svnmerge from 2008-04-18 06:53:47 +00:00
app_skel.c Re-introduce proper error handling that was removed in recent commits. 2008-05-13 17:42:17 +00:00
app_sms.c More RSW merges. Everything from apps/ except for the big offenders 2008-08-10 14:45:25 +00:00
app_softhangup.c include "logger.h" and errno.h from asterisk.h - usage shows that they 2007-11-19 18:52:04 +00:00
app_speech_utils.c make datastore creation and destruction a generic API since it is not really channel related, and add the ability to add/find/remove datastores to manager sessions 2008-08-05 16:56:11 +00:00
app_stack.c make datastore creation and destruction a generic API since it is not really channel related, and add the ability to add/find/remove datastores to manager sessions 2008-08-05 16:56:11 +00:00
app_system.c shuffle a little bit the content of header files to reduce dependencies. 2007-11-22 03:50:04 +00:00
app_talkdetect.c Add an option, specifying maximum analysis time for talk detection. 2008-06-17 21:42:42 +00:00
app_test.c - revert change to ast_queue_hangup and create ast_queue_hangup_with_cause 2008-05-22 16:29:54 +00:00
app_transfer.c shuffle a little bit the content of header files to reduce dependencies. 2007-11-22 03:50:04 +00:00
app_url.c shuffle a little bit the content of header files to reduce dependencies. 2007-11-22 03:50:04 +00:00
app_userevent.c remove redundant headers 2007-11-22 01:39:06 +00:00
app_verbose.c more header removal 2007-11-22 04:37:08 +00:00
app_voicemail.c Another batch of files from RSW. The remaining apps and a few more 2008-08-10 20:23:50 +00:00
app_waitforring.c Whitespace changes only 2008-04-25 20:20:10 +00:00
app_waitforsilence.c Create a centralized configuration option for silencethreshold 2008-03-05 16:23:44 +00:00
app_waituntil.c More RSW merges. Everything from apps/ except for the big offenders 2008-08-10 14:45:25 +00:00
app_while.c More RSW merges. Everything from apps/ except for the big offenders 2008-08-10 14:45:25 +00:00
app_zapateller.c Use defined return values in load_module in more places. 2007-12-26 20:02:27 +00:00
enter.h git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:24:39 +00:00
leave.h git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:24:39 +00:00
rpt_flow.pdf git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:24:39 +00:00