[Home]

Summary:ASTERISK-06071: [patch] Fix for answer & hangup on polarity reversal when both [answer/hangup]onpolarityswitch=yes
Reporter:reformed (reformed)Labels:
Date Opened:2006-01-13 03:24:58.000-0600Date Closed:2011-06-07 14:10:35
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_zap
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) hangup-pol-reversal.patch
Description:When both answeronpolarityswitch and hanguponpolarityswitch are set to yes calls do not hangup on with polarity reversal.

This is due to the fact that when we answer the channel in the answer if(){} we never update the time in p->polaritydelaytv.

Also there is a need for additional break; statement to finish the current case statment so the the following hangup if(){} is not evaluated.

It is possible to leave out the break; in the patch and just rely on if(ast_tvdiff_ms(ast_tvnow(), p->polaritydelaytv) > p->polarityonanswerdelay) to  calculate the difference and finish the handling of the polarity switch event but why would we want evaluate hangup if(){} if we just answered the line and the switch was handled.

Its a 4 line patch (3 if you leave out the brackets) so i dont think it needs a disclaimer.

This should work for 1.2 as well.
Comments:By: reformed (reformed) 2006-01-13 03:32:16.000-0600

Even though it appears to be almost a duplicate of http://bugs.digium.com/view.php?id=3874 this patch handles it more gracefully and in one "spot" and it does not change the reset of polarity on ring behaviour as it is needed for installations that have reverse polarity to begin with.

By: Matthew Fredrickson (mattf) 2006-01-17 16:13:58.000-0600

Put in trunk

By: reformed (reformed) 2006-01-23 04:29:57.000-0600

mattf:  Can you please backport the fixes to 1.2 branches?

By: Matthew Fredrickson (mattf) 2006-01-24 13:37:45.000-0600

Ok, it's in 1.2 and will be fixed in the next release.

By: Digium Subversion (svnbot) 2008-01-15 16:16:55.000-0600

Repository: asterisk
Revision: 8155

U   trunk/channels/chan_zap.c

------------------------------------------------------------------------
r8155 | mattf | 2008-01-15 16:16:55 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix answeronpolarityswitch and hanguponpolarityswitch when both are yes (ASTERISK-6071)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=8155

By: Digium Subversion (svnbot) 2008-01-15 16:17:29.000-0600

Repository: asterisk
Revision: 8192

_U  team/oej/multiparking/
U   team/oej/multiparking/Makefile
U   team/oej/multiparking/apps/app_dial.c
U   team/oej/multiparking/apps/app_festival.c
U   team/oej/multiparking/apps/app_queue.c
U   team/oej/multiparking/asterisk.c
U   team/oej/multiparking/channel.c
U   team/oej/multiparking/channels/chan_local.c
U   team/oej/multiparking/channels/chan_misdn.c
U   team/oej/multiparking/channels/chan_sip.c
U   team/oej/multiparking/channels/chan_vpb.c
U   team/oej/multiparking/channels/chan_zap.c
U   team/oej/multiparking/cli.c
U   team/oej/multiparking/dsp.c
U   team/oej/multiparking/include/asterisk/cli.h
U   team/oej/multiparking/include/asterisk/doxyref.h
U   team/oej/multiparking/include/asterisk/module.h
U   team/oej/multiparking/loader.c
U   team/oej/multiparking/logger.c
U   team/oej/multiparking/manager.c
U   team/oej/multiparking/pbx/pbx_dundi.c
U   team/oej/multiparking/pbx.c
U   team/oej/multiparking/res/Makefile
A   team/oej/multiparking/res/res_clioriginate.c
U   team/oej/multiparking/res/res_features.c
U   team/oej/multiparking/rtp.c

------------------------------------------------------------------------
r8192 | oej | 2008-01-15 16:17:28 -0600 (Tue, 15 Jan 2008) | 161 lines

Merged revisions 8118,8120,8123,8125,8127,8133,8135-8138,8141,8148,8150,8152-8153,8155-8157,8161,8163,8179,8186,8190 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r8118 | oej | 2006-01-17 04:05:43 +0100 (Tue, 17 Jan 2006) | 2 lines

Doxygen update

................
r8120 | kpfleming | 2006-01-17 06:15:33 +0100 (Tue, 17 Jan 2006) | 2 lines

don't generate any message for native bridge attempts unless all the basic checks have passed and we're actually going to try it

................
r8123 | kpfleming | 2006-01-17 14:13:31 +0100 (Tue, 17 Jan 2006) | 10 lines

Merged revisions 8122 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8122 | kpfleming | 2006-01-17 07:11:55 -0600 (Tue, 17 Jan 2006) | 2 lines

update CLI copyright notice

........

................
r8125 | mogorman | 2006-01-17 17:58:09 +0100 (Tue, 17 Jan 2006) | 10 lines

Merged revisions 7963 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.2

........
r7963 | mogorman | 2006-01-10 22:38:07 -0600 (Tue, 10 Jan 2006) | 2 lines

Minor typo refrenced in 6191

........

................
r8127 | mogorman | 2006-01-17 18:25:53 +0100 (Tue, 17 Jan 2006) | 2 lines

Added tab completion for help.  bug 6074

................
r8133 | mattf | 2006-01-17 19:20:33 +0100 (Tue, 17 Jan 2006) | 2 lines

Check to see if arg is NULL before passing (ASTERISK-5936)

................
r8135 | bweschke | 2006-01-17 19:31:03 +0100 (Tue, 17 Jan 2006) | 3 lines

Fix compiler warning.


................
r8136 | oej | 2006-01-17 19:54:56 +0100 (Tue, 17 Jan 2006) | 3 lines

- Logging clean up
- Whitespace removed and added, formatting fixed

................
r8137 | oej | 2006-01-17 19:56:57 +0100 (Tue, 17 Jan 2006) | 2 lines

Extra comma causing compilation errors...

................
r8138 | oej | 2006-01-17 20:03:04 +0100 (Tue, 17 Jan 2006) | 2 lines

Portability - compilation warning on Mac OS/X removed

................
r8141 | mogorman | 2006-01-17 21:16:18 +0100 (Tue, 17 Jan 2006) | 11 lines

Merged revisions 8140 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.2

........
r8140 | mogorman | 2006-01-17 14:10:29 -0600 (Tue, 17 Jan 2006) | 3 lines

Stop any generators running on a channel when
festival is called as described in 5996

........

................
r8148 | kpfleming | 2006-01-17 21:49:39 +0100 (Tue, 17 Jan 2006) | 2 lines

suppress compiler warning

................
r8150 | kpfleming | 2006-01-17 21:53:04 +0100 (Tue, 17 Jan 2006) | 2 lines

spelling fix

................
r8152 | mogorman | 2006-01-17 21:58:56 +0100 (Tue, 17 Jan 2006) | 3 lines

allow for multiple periodic announcements
from bug 5273 with minor changes.

................
r8153 | mogorman | 2006-01-17 22:10:38 +0100 (Tue, 17 Jan 2006) | 2 lines

oops all better now.

................
r8155 | mattf | 2006-01-18 00:13:42 +0100 (Wed, 18 Jan 2006) | 2 lines

Fix answeronpolarityswitch and hanguponpolarityswitch when both are yes (ASTERISK-6071)

................
r8156 | mattf | 2006-01-18 00:37:22 +0100 (Wed, 18 Jan 2006) | 2 lines

Improvements to DSP callprogress=yes code (ASTERISK-4883)

................
r8157 | kpfleming | 2006-01-18 00:45:05 +0100 (Wed, 18 Jan 2006) | 2 lines

remove some more deprecated (pre-1.2) stuff

................
r8161 | mogorman | 2006-01-18 01:05:09 +0100 (Wed, 18 Jan 2006) | 3 lines

cleanup the show uptime code, and minor changes
to patch 6274

................
r8163 | mogorman | 2006-01-18 01:49:43 +0100 (Wed, 18 Jan 2006) | 12 lines

Merged revisions 8162 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8162 | mogorman | 2006-01-17 18:47:04 -0600 (Tue, 17 Jan 2006) | 4 lines

Changed order of autoload so that pbx_ comes before
channels, and in doing so cause bug 6002 to not
be an issue

........

................
r8179 | mogorman | 2006-01-18 04:53:10 +0100 (Wed, 18 Jan 2006) | 3 lines

cli.h cleanup and additional documentation
from patch 6272

................
r8186 | mogorman | 2006-01-18 16:42:48 +0100 (Wed, 18 Jan 2006) | 3 lines

allows for use of the originate function from
the cli patch 5847

................
r8190 | mogorman | 2006-01-18 17:24:29 +0100 (Wed, 18 Jan 2006) | 2 lines

oops. sorry

................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=8192

By: Digium Subversion (svnbot) 2008-01-15 16:17:30.000-0600

Repository: asterisk
Revision: 8193

_U  team/oej/astum/
U   team/oej/astum/Makefile
U   team/oej/astum/apps/app_dial.c
U   team/oej/astum/apps/app_festival.c
U   team/oej/astum/apps/app_queue.c
U   team/oej/astum/channels/chan_sip.c
U   team/oej/astum/channels/chan_zap.c
U   team/oej/astum/cli.c
U   team/oej/astum/dsp.c
U   team/oej/astum/include/asterisk/cli.h
U   team/oej/astum/include/asterisk/module.h
U   team/oej/astum/loader.c
U   team/oej/astum/manager.c
U   team/oej/astum/pbx/pbx_dundi.c
U   team/oej/astum/pbx.c
U   team/oej/astum/res/Makefile
A   team/oej/astum/res/res_clioriginate.c
U   team/oej/astum/res/res_features.c

------------------------------------------------------------------------
r8193 | oej | 2008-01-15 16:17:30 -0600 (Tue, 15 Jan 2008) | 93 lines

Merged revisions 8141,8148,8150,8152-8153,8155-8157,8161,8163,8179,8186,8190 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r8141 | mogorman | 2006-01-17 21:16:18 +0100 (Tue, 17 Jan 2006) | 11 lines

Merged revisions 8140 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.2

........
r8140 | mogorman | 2006-01-17 14:10:29 -0600 (Tue, 17 Jan 2006) | 3 lines

Stop any generators running on a channel when
festival is called as described in 5996

........

................
r8148 | kpfleming | 2006-01-17 21:49:39 +0100 (Tue, 17 Jan 2006) | 2 lines

suppress compiler warning

................
r8150 | kpfleming | 2006-01-17 21:53:04 +0100 (Tue, 17 Jan 2006) | 2 lines

spelling fix

................
r8152 | mogorman | 2006-01-17 21:58:56 +0100 (Tue, 17 Jan 2006) | 3 lines

allow for multiple periodic announcements
from bug 5273 with minor changes.

................
r8153 | mogorman | 2006-01-17 22:10:38 +0100 (Tue, 17 Jan 2006) | 2 lines

oops all better now.

................
r8155 | mattf | 2006-01-18 00:13:42 +0100 (Wed, 18 Jan 2006) | 2 lines

Fix answeronpolarityswitch and hanguponpolarityswitch when both are yes (ASTERISK-6071)

................
r8156 | mattf | 2006-01-18 00:37:22 +0100 (Wed, 18 Jan 2006) | 2 lines

Improvements to DSP callprogress=yes code (ASTERISK-4883)

................
r8157 | kpfleming | 2006-01-18 00:45:05 +0100 (Wed, 18 Jan 2006) | 2 lines

remove some more deprecated (pre-1.2) stuff

................
r8161 | mogorman | 2006-01-18 01:05:09 +0100 (Wed, 18 Jan 2006) | 3 lines

cleanup the show uptime code, and minor changes
to patch 6274

................
r8163 | mogorman | 2006-01-18 01:49:43 +0100 (Wed, 18 Jan 2006) | 12 lines

Merged revisions 8162 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8162 | mogorman | 2006-01-17 18:47:04 -0600 (Tue, 17 Jan 2006) | 4 lines

Changed order of autoload so that pbx_ comes before
channels, and in doing so cause bug 6002 to not
be an issue

........

................
r8179 | mogorman | 2006-01-18 04:53:10 +0100 (Wed, 18 Jan 2006) | 3 lines

cli.h cleanup and additional documentation
from patch 6272

................
r8186 | mogorman | 2006-01-18 16:42:48 +0100 (Wed, 18 Jan 2006) | 3 lines

allows for use of the originate function from
the cli patch 5847

................
r8190 | mogorman | 2006-01-18 17:24:29 +0100 (Wed, 18 Jan 2006) | 2 lines

oops. sorry

................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=8193

By: Digium Subversion (svnbot) 2008-01-15 16:17:33.000-0600

Repository: asterisk
Revision: 8196

_U  team/russell/autoconf_and_menuselect/
U   team/russell/autoconf_and_menuselect/apps/app_meetme.c
U   team/russell/autoconf_and_menuselect/codecs/Makefile
A   team/russell/autoconf_and_menuselect/configs/udptl.conf.sample
U   team/russell/autoconf_and_menuselect/formats/Makefile
U   team/russell/autoconf_and_menuselect/include/asterisk/cli.h
U   team/russell/autoconf_and_menuselect/include/asterisk/module.h
U   team/russell/autoconf_and_menuselect/res/Makefile
A   team/russell/autoconf_and_menuselect/res/res_clioriginate.c
U   team/russell/autoconf_and_menuselect/res/res_features.c
U   team/russell/autoconf_and_menuselect/utils/Makefile

------------------------------------------------------------------------
r8196 | russell | 2008-01-15 16:17:32 -0600 (Tue, 15 Jan 2008) | 256 lines

Merged revisions 8087-8090,8099-8105,8113-8114,8118,8120,8123,8125,8127,8133,8135-8138,8141,8148,8150,8152-8153,8155-8157,8161,8163,8179,8186,8190,8195 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r8087 | russell | 2006-01-15 20:32:46 -0500 (Sun, 15 Jan 2006) | 2 lines

block appropriate revisions from being merged from 1.2 ...

................
r8088 | russell | 2006-01-15 20:36:10 -0500 (Sun, 15 Jan 2006) | 1 line


................
r8089 | russell | 2006-01-15 20:46:15 -0500 (Sun, 15 Jan 2006) | 8 lines

block more revisions ...

TO ALL DEVELOPERS WITH COMMIT ACCESS:
Please remember to *always* do an 'svnmerge block -r <rev#>' on the trunk
every single time you make a commit to the 1.2 branch which will not be pulled
into the trunk using svnmerge.  This is important for us to be able to take
full advatage of this tool.

................
r8090 | russell | 2006-01-15 20:47:02 -0500 (Sun, 15 Jan 2006) | 10 lines

Merged revisions 7963 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7963 | mogorman | 2006-01-10 23:38:07 -0500 (Tue, 10 Jan 2006) | 2 lines

Minor typo refrenced in 6191

........

................
r8099 | bweschke | 2006-01-16 12:31:30 -0500 (Mon, 16 Jan 2006) | 3 lines

More code optimization with the new argument macros ASTERISK-6094


................
r8100 | bweschke | 2006-01-16 12:37:44 -0500 (Mon, 16 Jan 2006) | 3 lines

Spelling corrections (mostly in comments and doxygen areas) ASTERISK-6091


................
r8101 | russell | 2006-01-16 12:51:35 -0500 (Mon, 16 Jan 2006) | 2 lines

remove redundant CFLAGS for BSD which are already set in the main Makefile (issue ASTERISK-6092)

................
r8102 | tilghman | 2006-01-16 13:05:19 -0500 (Mon, 16 Jan 2006) | 2 lines

Bug 5090 - sample configuration for udptl packets

................
r8103 | tilghman | 2006-01-16 13:39:01 -0500 (Mon, 16 Jan 2006) | 2 lines

Change a debugging message committed with the wrong level

................
r8104 | tilghman | 2006-01-16 13:41:18 -0500 (Mon, 16 Jan 2006) | 2 lines

Argh, another ERROR that should have been DEBUG

................
r8105 | jdixon | 2006-01-16 13:52:13 -0500 (Mon, 16 Jan 2006) | 3 lines

Added NOANSWER support, so that optional the DISA application starts without
answering (used in new version of app_rpt, and potentially other applicaitons).

................
r8113 | kpfleming | 2006-01-16 18:52:02 -0500 (Mon, 16 Jan 2006) | 2 lines

block this revision, fix is different in this branch

................
r8114 | kpfleming | 2006-01-16 18:52:51 -0500 (Mon, 16 Jan 2006) | 2 lines

check rlimit _after_ reading config file, so that if 'dumpcore' is specified there it will take effect

................
r8118 | oej | 2006-01-16 22:05:43 -0500 (Mon, 16 Jan 2006) | 2 lines

Doxygen update

................
r8120 | kpfleming | 2006-01-17 00:15:33 -0500 (Tue, 17 Jan 2006) | 2 lines

don't generate any message for native bridge attempts unless all the basic checks have passed and we're actually going to try it

................
r8123 | kpfleming | 2006-01-17 08:13:31 -0500 (Tue, 17 Jan 2006) | 10 lines

Merged revisions 8122 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8122 | kpfleming | 2006-01-17 07:11:55 -0600 (Tue, 17 Jan 2006) | 2 lines

update CLI copyright notice

........

................
r8125 | mogorman | 2006-01-17 11:58:09 -0500 (Tue, 17 Jan 2006) | 10 lines

Merged revisions 7963 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.2

........
r7963 | mogorman | 2006-01-10 22:38:07 -0600 (Tue, 10 Jan 2006) | 2 lines

Minor typo refrenced in 6191

........

................
r8127 | mogorman | 2006-01-17 12:25:53 -0500 (Tue, 17 Jan 2006) | 2 lines

Added tab completion for help.  bug 6074

................
r8133 | mattf | 2006-01-17 13:20:33 -0500 (Tue, 17 Jan 2006) | 2 lines

Check to see if arg is NULL before passing (ASTERISK-5936)

................
r8135 | bweschke | 2006-01-17 13:31:03 -0500 (Tue, 17 Jan 2006) | 3 lines

Fix compiler warning.


................
r8136 | oej | 2006-01-17 13:54:56 -0500 (Tue, 17 Jan 2006) | 3 lines

- Logging clean up
- Whitespace removed and added, formatting fixed

................
r8137 | oej | 2006-01-17 13:56:57 -0500 (Tue, 17 Jan 2006) | 2 lines

Extra comma causing compilation errors...

................
r8138 | oej | 2006-01-17 14:03:04 -0500 (Tue, 17 Jan 2006) | 2 lines

Portability - compilation warning on Mac OS/X removed

................
r8141 | mogorman | 2006-01-17 15:16:18 -0500 (Tue, 17 Jan 2006) | 11 lines

Merged revisions 8140 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.2

........
r8140 | mogorman | 2006-01-17 14:10:29 -0600 (Tue, 17 Jan 2006) | 3 lines

Stop any generators running on a channel when
festival is called as described in 5996

........

................
r8148 | kpfleming | 2006-01-17 15:49:39 -0500 (Tue, 17 Jan 2006) | 2 lines

suppress compiler warning

................
r8150 | kpfleming | 2006-01-17 15:53:04 -0500 (Tue, 17 Jan 2006) | 2 lines

spelling fix

................
r8152 | mogorman | 2006-01-17 15:58:56 -0500 (Tue, 17 Jan 2006) | 3 lines

allow for multiple periodic announcements
from bug 5273 with minor changes.

................
r8153 | mogorman | 2006-01-17 16:10:38 -0500 (Tue, 17 Jan 2006) | 2 lines

oops all better now.

................
r8155 | mattf | 2006-01-17 18:13:42 -0500 (Tue, 17 Jan 2006) | 2 lines

Fix answeronpolarityswitch and hanguponpolarityswitch when both are yes (ASTERISK-6071)

................
r8156 | mattf | 2006-01-17 18:37:22 -0500 (Tue, 17 Jan 2006) | 2 lines

Improvements to DSP callprogress=yes code (ASTERISK-4883)

................
r8157 | kpfleming | 2006-01-17 18:45:05 -0500 (Tue, 17 Jan 2006) | 2 lines

remove some more deprecated (pre-1.2) stuff

................
r8161 | mogorman | 2006-01-17 19:05:09 -0500 (Tue, 17 Jan 2006) | 3 lines

cleanup the show uptime code, and minor changes
to patch 6274

................
r8163 | mogorman | 2006-01-17 19:49:43 -0500 (Tue, 17 Jan 2006) | 12 lines

Merged revisions 8162 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8162 | mogorman | 2006-01-17 18:47:04 -0600 (Tue, 17 Jan 2006) | 4 lines

Changed order of autoload so that pbx_ comes before
channels, and in doing so cause bug 6002 to not
be an issue

........

................
r8179 | mogorman | 2006-01-17 22:53:10 -0500 (Tue, 17 Jan 2006) | 3 lines

cli.h cleanup and additional documentation
from patch 6272

................
r8186 | mogorman | 2006-01-18 10:42:48 -0500 (Wed, 18 Jan 2006) | 3 lines

allows for use of the originate function from
the cli patch 5847

................
r8190 | mogorman | 2006-01-18 11:24:29 -0500 (Wed, 18 Jan 2006) | 2 lines

oops. sorry

................
r8195 | mogorman | 2006-01-18 16:12:14 -0500 (Wed, 18 Jan 2006) | 11 lines

Merged revisions 8194 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8194 | mogorman | 2006-01-18 15:02:06 -0600 (Wed, 18 Jan 2006) | 3 lines

Solves issue with the login proccess in meetme
patch from 6136

........

................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=8196

By: Digium Subversion (svnbot) 2008-01-15 16:17:54.000-0600

Repository: asterisk
Revision: 8218

_U  team/russell/make_output/
U   team/russell/make_output/Makefile
U   team/russell/make_output/apps/app_meetme.c
U   team/russell/make_output/apps/app_queue.c
U   team/russell/make_output/apps/app_voicemail.c
U   team/russell/make_output/asterisk.c
U   team/russell/make_output/channels/chan_agent.c
U   team/russell/make_output/channels/chan_iax2.c
U   team/russell/make_output/channels/chan_oss.c
U   team/russell/make_output/channels/chan_sip.c
U   team/russell/make_output/channels/iax2-provision.c
U   team/russell/make_output/channels/iax2-provision.h
U   team/russell/make_output/cli.c
U   team/russell/make_output/codecs/Makefile
A   team/russell/make_output/configs/udptl.conf.sample
U   team/russell/make_output/formats/Makefile
U   team/russell/make_output/include/asterisk/cli.h
U   team/russell/make_output/include/asterisk/module.h
U   team/russell/make_output/loader.c
U   team/russell/make_output/manager.c
U   team/russell/make_output/pbx/pbx_config.c
U   team/russell/make_output/pbx/pbx_dundi.c
U   team/russell/make_output/pbx.c
U   team/russell/make_output/res/Makefile
A   team/russell/make_output/res/res_clioriginate.c
U   team/russell/make_output/res/res_features.c
U   team/russell/make_output/utils/Makefile

------------------------------------------------------------------------
r8218 | russell | 2008-01-15 16:17:54 -0600 (Tue, 15 Jan 2008) | 228 lines

Merged revisions 8099-8105,8113-8114,8118,8120,8123,8125,8127,8133,8135-8138,8141,8148,8150,8152-8153,8155-8157,8161,8163,8179,8186,8190,8195,8203 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r8099 | bweschke | 2006-01-16 12:31:30 -0500 (Mon, 16 Jan 2006) | 3 lines

More code optimization with the new argument macros ASTERISK-6094


................
r8100 | bweschke | 2006-01-16 12:37:44 -0500 (Mon, 16 Jan 2006) | 3 lines

Spelling corrections (mostly in comments and doxygen areas) ASTERISK-6091


................
r8101 | russell | 2006-01-16 12:51:35 -0500 (Mon, 16 Jan 2006) | 2 lines

remove redundant CFLAGS for BSD which are already set in the main Makefile (issue ASTERISK-6092)

................
r8102 | tilghman | 2006-01-16 13:05:19 -0500 (Mon, 16 Jan 2006) | 2 lines

Bug 5090 - sample configuration for udptl packets

................
r8103 | tilghman | 2006-01-16 13:39:01 -0500 (Mon, 16 Jan 2006) | 2 lines

Change a debugging message committed with the wrong level

................
r8104 | tilghman | 2006-01-16 13:41:18 -0500 (Mon, 16 Jan 2006) | 2 lines

Argh, another ERROR that should have been DEBUG

................
r8105 | jdixon | 2006-01-16 13:52:13 -0500 (Mon, 16 Jan 2006) | 3 lines

Added NOANSWER support, so that optional the DISA application starts without
answering (used in new version of app_rpt, and potentially other applicaitons).

................
r8113 | kpfleming | 2006-01-16 18:52:02 -0500 (Mon, 16 Jan 2006) | 2 lines

block this revision, fix is different in this branch

................
r8114 | kpfleming | 2006-01-16 18:52:51 -0500 (Mon, 16 Jan 2006) | 2 lines

check rlimit _after_ reading config file, so that if 'dumpcore' is specified there it will take effect

................
r8118 | oej | 2006-01-16 22:05:43 -0500 (Mon, 16 Jan 2006) | 2 lines

Doxygen update

................
r8120 | kpfleming | 2006-01-17 00:15:33 -0500 (Tue, 17 Jan 2006) | 2 lines

don't generate any message for native bridge attempts unless all the basic checks have passed and we're actually going to try it

................
r8123 | kpfleming | 2006-01-17 08:13:31 -0500 (Tue, 17 Jan 2006) | 10 lines

Merged revisions 8122 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8122 | kpfleming | 2006-01-17 07:11:55 -0600 (Tue, 17 Jan 2006) | 2 lines

update CLI copyright notice

........

................
r8125 | mogorman | 2006-01-17 11:58:09 -0500 (Tue, 17 Jan 2006) | 10 lines

Merged revisions 7963 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.2

........
r7963 | mogorman | 2006-01-10 22:38:07 -0600 (Tue, 10 Jan 2006) | 2 lines

Minor typo refrenced in 6191

........

................
r8127 | mogorman | 2006-01-17 12:25:53 -0500 (Tue, 17 Jan 2006) | 2 lines

Added tab completion for help.  bug 6074

................
r8133 | mattf | 2006-01-17 13:20:33 -0500 (Tue, 17 Jan 2006) | 2 lines

Check to see if arg is NULL before passing (ASTERISK-5936)

................
r8135 | bweschke | 2006-01-17 13:31:03 -0500 (Tue, 17 Jan 2006) | 3 lines

Fix compiler warning.


................
r8136 | oej | 2006-01-17 13:54:56 -0500 (Tue, 17 Jan 2006) | 3 lines

- Logging clean up
- Whitespace removed and added, formatting fixed

................
r8137 | oej | 2006-01-17 13:56:57 -0500 (Tue, 17 Jan 2006) | 2 lines

Extra comma causing compilation errors...

................
r8138 | oej | 2006-01-17 14:03:04 -0500 (Tue, 17 Jan 2006) | 2 lines

Portability - compilation warning on Mac OS/X removed

................
r8141 | mogorman | 2006-01-17 15:16:18 -0500 (Tue, 17 Jan 2006) | 11 lines

Merged revisions 8140 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.2

........
r8140 | mogorman | 2006-01-17 14:10:29 -0600 (Tue, 17 Jan 2006) | 3 lines

Stop any generators running on a channel when
festival is called as described in 5996

........

................
r8148 | kpfleming | 2006-01-17 15:49:39 -0500 (Tue, 17 Jan 2006) | 2 lines

suppress compiler warning

................
r8150 | kpfleming | 2006-01-17 15:53:04 -0500 (Tue, 17 Jan 2006) | 2 lines

spelling fix

................
r8152 | mogorman | 2006-01-17 15:58:56 -0500 (Tue, 17 Jan 2006) | 3 lines

allow for multiple periodic announcements
from bug 5273 with minor changes.

................
r8153 | mogorman | 2006-01-17 16:10:38 -0500 (Tue, 17 Jan 2006) | 2 lines

oops all better now.

................
r8155 | mattf | 2006-01-17 18:13:42 -0500 (Tue, 17 Jan 2006) | 2 lines

Fix answeronpolarityswitch and hanguponpolarityswitch when both are yes (ASTERISK-6071)

................
r8156 | mattf | 2006-01-17 18:37:22 -0500 (Tue, 17 Jan 2006) | 2 lines

Improvements to DSP callprogress=yes code (ASTERISK-4883)

................
r8157 | kpfleming | 2006-01-17 18:45:05 -0500 (Tue, 17 Jan 2006) | 2 lines

remove some more deprecated (pre-1.2) stuff

................
r8161 | mogorman | 2006-01-17 19:05:09 -0500 (Tue, 17 Jan 2006) | 3 lines

cleanup the show uptime code, and minor changes
to patch 6274

................
r8163 | mogorman | 2006-01-17 19:49:43 -0500 (Tue, 17 Jan 2006) | 12 lines

Merged revisions 8162 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8162 | mogorman | 2006-01-17 18:47:04 -0600 (Tue, 17 Jan 2006) | 4 lines

Changed order of autoload so that pbx_ comes before
channels, and in doing so cause bug 6002 to not
be an issue

........

................
r8179 | mogorman | 2006-01-17 22:53:10 -0500 (Tue, 17 Jan 2006) | 3 lines

cli.h cleanup and additional documentation
from patch 6272

................
r8186 | mogorman | 2006-01-18 10:42:48 -0500 (Wed, 18 Jan 2006) | 3 lines

allows for use of the originate function from
the cli patch 5847

................
r8190 | mogorman | 2006-01-18 11:24:29 -0500 (Wed, 18 Jan 2006) | 2 lines

oops. sorry

................
r8195 | mogorman | 2006-01-18 16:12:14 -0500 (Wed, 18 Jan 2006) | 11 lines

Merged revisions 8194 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8194 | mogorman | 2006-01-18 15:02:06 -0600 (Wed, 18 Jan 2006) | 3 lines

Solves issue with the login proccess in meetme
patch from 6136

........

................
r8203 | russell | 2006-01-18 17:17:31 -0500 (Wed, 18 Jan 2006) | 2 lines

constify arguments in more places where strings should not be modified (issue ASTERISK-6126)

................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=8218

By: Digium Subversion (svnbot) 2008-01-15 16:23:36.000-0600

Repository: asterisk
Revision: 8573

U   branches/1.2/channels/chan_zap.c

------------------------------------------------------------------------
r8573 | mattf | 2008-01-15 16:23:36 -0600 (Tue, 15 Jan 2008) | 2 lines

Backport fix for ASTERISK-6071, hangup on polarity reversal

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=8573

By: Digium Subversion (svnbot) 2008-01-15 16:28:25.000-0600

Repository: asterisk
Revision: 8891

_U  team/oej/managerstuff/
D   team/oej/managerstuff/ChangeLog
U   team/oej/managerstuff/apps/app_dial.c
U   team/oej/managerstuff/apps/app_festival.c
U   team/oej/managerstuff/apps/app_meetme.c
U   team/oej/managerstuff/apps/app_milliwatt.c
U   team/oej/managerstuff/apps/app_queue.c
U   team/oej/managerstuff/ast_expr2.c
U   team/oej/managerstuff/ast_expr2.fl
U   team/oej/managerstuff/ast_expr2.h
U   team/oej/managerstuff/ast_expr2.y
U   team/oej/managerstuff/ast_expr2f.c
U   team/oej/managerstuff/asterisk.c
U   team/oej/managerstuff/channel.c
U   team/oej/managerstuff/channels/chan_features.c
U   team/oej/managerstuff/channels/chan_iax2.c
U   team/oej/managerstuff/channels/chan_sip.c
U   team/oej/managerstuff/channels/chan_zap.c
U   team/oej/managerstuff/loader.c
U   team/oej/managerstuff/logger.c
U   team/oej/managerstuff/pbx.c
U   team/oej/managerstuff/res/res_features.c
U   team/oej/managerstuff/utils/astman.c

------------------------------------------------------------------------
r8891 | oej | 2008-01-15 16:28:24 -0600 (Tue, 15 Jan 2008) | 202 lines

Merged revisions 8112,8122,8124,8134,8140,8162,8173,8194,8232,8242,8276,8281,8320,8347,8394,8412,8414,8418,8429,8433,8437,8445,8537,8562,8573,8588,8600,8608,8619,8632,8666,8677,8710,8729,8758,8785,8808 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8112 | kpfleming | 2006-01-17 00:51:37 +0100 (Tue, 17 Jan 2006) | 2 lines

do rlimit check _after_ reading config file, in case 'dumpcore' is specified there

........
r8122 | kpfleming | 2006-01-17 14:11:55 +0100 (Tue, 17 Jan 2006) | 2 lines

update CLI copyright notice

........
r8124 | mogorman | 2006-01-17 17:55:30 +0100 (Tue, 17 Jan 2006) | 3 lines

Fixed code ordering of logger_init and queue_log_init
bug 6263

........
r8134 | mattf | 2006-01-17 19:29:57 +0100 (Tue, 17 Jan 2006) | 2 lines

Backport of fix for ASTERISK-5936

........
r8140 | mogorman | 2006-01-17 21:10:29 +0100 (Tue, 17 Jan 2006) | 3 lines

Stop any generators running on a channel when
festival is called as described in 5996

........
r8162 | mogorman | 2006-01-18 01:47:04 +0100 (Wed, 18 Jan 2006) | 4 lines

Changed order of autoload so that pbx_ comes before
channels, and in doing so cause bug 6002 to not
be an issue

........
r8173 | russell | 2006-01-18 03:49:21 +0100 (Wed, 18 Jan 2006) | 2 lines

remove ChangeLog from the 1.2 branch.  It will only be present in the tags.

........
r8194 | mogorman | 2006-01-18 22:02:06 +0100 (Wed, 18 Jan 2006) | 3 lines

Solves issue with the login proccess in meetme
patch from 6136

........
r8232 | russell | 2006-01-19 05:17:45 +0100 (Thu, 19 Jan 2006) | 3 lines

fix a seg fault due to assuming that space gets allocatted on the stack in the
same order that we declare the variables (issue ASTERISK-6130)

........
r8242 | russell | 2006-01-19 05:56:48 +0100 (Thu, 19 Jan 2006) | 3 lines

fix Message-Account header to use the ip address if the fromdomain
isn't set (issue ASTERISK-6118)

........
r8276 | tilghman | 2006-01-19 20:14:37 +0100 (Thu, 19 Jan 2006) | 2 lines

Bug 6072 - Memory leaks in the expression parser

........
r8281 | oej | 2006-01-19 20:40:28 +0100 (Thu, 19 Jan 2006) | 2 lines

Enable "musicclass" setting for sip peers as per the config sample.

........
r8320 | mogorman | 2006-01-20 02:00:46 +0100 (Fri, 20 Jan 2006) | 3 lines

solved problem with delayreject and iax trunking
bug 4291

........
r8347 | russell | 2006-01-20 19:34:42 +0100 (Fri, 20 Jan 2006) | 2 lines

fix invalid value of prev_q (issue ASTERISK-6142)

........
r8394 | tilghman | 2006-01-21 19:29:39 +0100 (Sat, 21 Jan 2006) | 2 lines

Bug 5936 - AddQueueMember fails on realtime queue, if queue not yet loaded

........
r8412 | russell | 2006-01-22 00:17:06 +0100 (Sun, 22 Jan 2006) | 2 lines

prevent the possibility of writing outside of the available workspace (issue ASTERISK-6111)

........
r8414 | russell | 2006-01-22 00:43:14 +0100 (Sun, 22 Jan 2006) | 2 lines

temporarily revert substring fix pending the result of the discussion in issue ASTERISK-6111

........
r8418 | russell | 2006-01-22 03:05:41 +0100 (Sun, 22 Jan 2006) | 3 lines

add a modified fix to prevent writing outside of the provided workspace when
calculating a substring (issue ASTERISK-6111)

........
r8429 | tilghman | 2006-01-22 09:52:49 +0100 (Sun, 22 Jan 2006) | 2 lines

Bug 6281 - Cannot set more than a single header with SIPAddHeader

........
r8433 | bweschke | 2006-01-22 16:13:41 +0100 (Sun, 22 Jan 2006) | 3 lines

Bug fix: Correct some scenarios where CALL_LIMIT could not be getting adjusted properly allowing chan_sip to send calls when it really shouldn't. Bug ASTERISK-5953


........
r8437 | russell | 2006-01-22 18:47:13 +0100 (Sun, 22 Jan 2006) | 2 lines

fix MixMonitor crash (issue ASTERISK-6161, probably others)

........
r8445 | russell | 2006-01-22 20:03:53 +0100 (Sun, 22 Jan 2006) | 2 lines

fix memory leak from not freeing the queue member list when freeing an old queue

........
r8537 | oej | 2006-01-24 14:15:13 +0100 (Tue, 24 Jan 2006) | 2 lines

Issue ASTERISK-6148 - never send response to ACK. (Reported by whiskerp)

........
r8562 | oej | 2006-01-24 20:21:15 +0100 (Tue, 24 Jan 2006) | 2 lines

Issue 6114: Don't hangup on BYE/ALSO with no channel.

........
r8573 | mattf | 2006-01-24 21:37:30 +0100 (Tue, 24 Jan 2006) | 2 lines

Backport fix for ASTERISK-6071, hangup on polarity reversal

........
r8588 | kpfleming | 2006-01-24 23:32:09 +0100 (Tue, 24 Jan 2006) | 2 lines

ensure that channel cannot become zombie after we check but before we try to start indications

........
r8600 | russell | 2006-01-24 23:55:32 +0100 (Tue, 24 Jan 2006) | 2 lines

completely arbitrary whitespace change for testing something with svnmerge ...

........
r8608 | kpfleming | 2006-01-25 02:50:52 +0100 (Wed, 25 Jan 2006) | 2 lines

ensure hangup cause code is handled properly when channel does not return a frame (issue ASTERISK-6186)

........
r8619 | russell | 2006-01-25 06:38:36 +0100 (Wed, 25 Jan 2006) | 2 lines

don't leak almost 200 bytes for each new channel (issue ASTERISK-6170)

........
r8632 | oej | 2006-01-25 10:46:43 +0100 (Wed, 25 Jan 2006) | 2 lines

Issue ASTERISK-6276 - the "timebomb" bug. Patch by Markster over GPRS

........
r8666 | russell | 2006-01-25 19:39:44 +0100 (Wed, 25 Jan 2006) | 2 lines

fix memory leak (inspired by issue ASTERISK-6190)

........
r8677 | russell | 2006-01-25 20:14:43 +0100 (Wed, 25 Jan 2006) | 3 lines

don't call ast_update_realtime with uninitialized variables if we get a
registration with an expirey of 0 seconds (issue ASTERISK-6016)

........
r8710 | oej | 2006-01-26 15:39:36 +0100 (Thu, 26 Jan 2006) | 2 lines

Issue 5898: Registrations does not get deleted if there's an active SIP dialog

........
r8729 | russell | 2006-01-26 20:42:35 +0100 (Thu, 26 Jan 2006) | 2 lines

fix problem with dtmf on e&m (issue ASTERISK-6203)

........
r8758 | tilghman | 2006-01-27 01:52:12 +0100 (Fri, 27 Jan 2006) | 2 lines

Bug 6072 - Revisions to the source bison and flex files don't auto-regenerate these files

........
r8785 | oej | 2006-01-27 09:02:16 +0100 (Fri, 27 Jan 2006) | 2 lines

Issue 6362 - Register without Contact: and Expires: fails (reporter: op)

........
r8808 | oej | 2006-01-28 14:52:15 +0100 (Sat, 28 Jan 2006) | 3 lines

Issue 6182 - Don't remove scheduled event until it's really done.
(reported by malverian)

........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=8891

By: Digium Subversion (svnbot) 2008-01-15 16:28:31.000-0600

Repository: asterisk
Revision: 8894

_U  team/oej/moduletest/
U   team/oej/moduletest/apps/app_dial.c
U   team/oej/moduletest/apps/app_queue.c
U   team/oej/moduletest/ast_expr2.c
U   team/oej/moduletest/ast_expr2.h
U   team/oej/moduletest/ast_expr2f.c
U   team/oej/moduletest/asterisk.c
U   team/oej/moduletest/channel.c
U   team/oej/moduletest/channels/chan_features.c
U   team/oej/moduletest/channels/chan_iax2.c
U   team/oej/moduletest/channels/chan_sip.c
U   team/oej/moduletest/channels/chan_zap.c
U   team/oej/moduletest/pbx.c
U   team/oej/moduletest/utils/astman.c

------------------------------------------------------------------------
r8894 | oej | 2008-01-15 16:28:30 -0600 (Tue, 15 Jan 2008) | 135 lines

Merged revisions 8320,8347,8394,8412,8414,8418,8429,8433,8437,8445,8537,8562,8573,8588,8600,8608,8619,8632,8666,8677,8710,8729,8758,8785,8808 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8320 | mogorman | 2006-01-20 02:00:46 +0100 (Fri, 20 Jan 2006) | 3 lines

solved problem with delayreject and iax trunking
bug 4291

........
r8347 | russell | 2006-01-20 19:34:42 +0100 (Fri, 20 Jan 2006) | 2 lines

fix invalid value of prev_q (issue ASTERISK-6142)

........
r8394 | tilghman | 2006-01-21 19:29:39 +0100 (Sat, 21 Jan 2006) | 2 lines

Bug 5936 - AddQueueMember fails on realtime queue, if queue not yet loaded

........
r8412 | russell | 2006-01-22 00:17:06 +0100 (Sun, 22 Jan 2006) | 2 lines

prevent the possibility of writing outside of the available workspace (issue ASTERISK-6111)

........
r8414 | russell | 2006-01-22 00:43:14 +0100 (Sun, 22 Jan 2006) | 2 lines

temporarily revert substring fix pending the result of the discussion in issue ASTERISK-6111

........
r8418 | russell | 2006-01-22 03:05:41 +0100 (Sun, 22 Jan 2006) | 3 lines

add a modified fix to prevent writing outside of the provided workspace when
calculating a substring (issue ASTERISK-6111)

........
r8429 | tilghman | 2006-01-22 09:52:49 +0100 (Sun, 22 Jan 2006) | 2 lines

Bug 6281 - Cannot set more than a single header with SIPAddHeader

........
r8433 | bweschke | 2006-01-22 16:13:41 +0100 (Sun, 22 Jan 2006) | 3 lines

Bug fix: Correct some scenarios where CALL_LIMIT could not be getting adjusted properly allowing chan_sip to send calls when it really shouldn't. Bug ASTERISK-5953


........
r8437 | russell | 2006-01-22 18:47:13 +0100 (Sun, 22 Jan 2006) | 2 lines

fix MixMonitor crash (issue ASTERISK-6161, probably others)

........
r8445 | russell | 2006-01-22 20:03:53 +0100 (Sun, 22 Jan 2006) | 2 lines

fix memory leak from not freeing the queue member list when freeing an old queue

........
r8537 | oej | 2006-01-24 14:15:13 +0100 (Tue, 24 Jan 2006) | 2 lines

Issue ASTERISK-6148 - never send response to ACK. (Reported by whiskerp)

........
r8562 | oej | 2006-01-24 20:21:15 +0100 (Tue, 24 Jan 2006) | 2 lines

Issue 6114: Don't hangup on BYE/ALSO with no channel.

........
r8573 | mattf | 2006-01-24 21:37:30 +0100 (Tue, 24 Jan 2006) | 2 lines

Backport fix for ASTERISK-6071, hangup on polarity reversal

........
r8588 | kpfleming | 2006-01-24 23:32:09 +0100 (Tue, 24 Jan 2006) | 2 lines

ensure that channel cannot become zombie after we check but before we try to start indications

........
r8600 | russell | 2006-01-24 23:55:32 +0100 (Tue, 24 Jan 2006) | 2 lines

completely arbitrary whitespace change for testing something with svnmerge ...

........
r8608 | kpfleming | 2006-01-25 02:50:52 +0100 (Wed, 25 Jan 2006) | 2 lines

ensure hangup cause code is handled properly when channel does not return a frame (issue ASTERISK-6186)

........
r8619 | russell | 2006-01-25 06:38:36 +0100 (Wed, 25 Jan 2006) | 2 lines

don't leak almost 200 bytes for each new channel (issue ASTERISK-6170)

........
r8632 | oej | 2006-01-25 10:46:43 +0100 (Wed, 25 Jan 2006) | 2 lines

Issue ASTERISK-6276 - the "timebomb" bug. Patch by Markster over GPRS

........
r8666 | russell | 2006-01-25 19:39:44 +0100 (Wed, 25 Jan 2006) | 2 lines

fix memory leak (inspired by issue ASTERISK-6190)

........
r8677 | russell | 2006-01-25 20:14:43 +0100 (Wed, 25 Jan 2006) | 3 lines

don't call ast_update_realtime with uninitialized variables if we get a
registration with an expirey of 0 seconds (issue ASTERISK-6016)

........
r8710 | oej | 2006-01-26 15:39:36 +0100 (Thu, 26 Jan 2006) | 2 lines

Issue 5898: Registrations does not get deleted if there's an active SIP dialog

........
r8729 | russell | 2006-01-26 20:42:35 +0100 (Thu, 26 Jan 2006) | 2 lines

fix problem with dtmf on e&m (issue ASTERISK-6203)

........
r8758 | tilghman | 2006-01-27 01:52:12 +0100 (Fri, 27 Jan 2006) | 2 lines

Bug 6072 - Revisions to the source bison and flex files don't auto-regenerate these files

........
r8785 | oej | 2006-01-27 09:02:16 +0100 (Fri, 27 Jan 2006) | 2 lines

Issue 6362 - Register without Contact: and Expires: fails (reporter: op)

........
r8808 | oej | 2006-01-28 14:52:15 +0100 (Sat, 28 Jan 2006) | 3 lines

Issue 6182 - Don't remove scheduled event until it's really done.
(reported by malverian)

........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=8894