]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
18 years agoChange -2 to XMIT_ERROR to clarify a bit more
Olle Johansson [Mon, 14 May 2007 19:26:50 +0000 (19:26 +0000)] 
Change -2 to XMIT_ERROR to clarify a bit more

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@64324 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoProperly handle AST_CONTROL_PROGRESS by just ignoring it. An unknown indication
Russell Bryant [Mon, 14 May 2007 19:13:00 +0000 (19:13 +0000)] 
Properly handle AST_CONTROL_PROGRESS by just ignoring it.  An unknown indication
will trigger an error and cause sounds to stop, which in this case, is ringing.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@64306 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoHandle network errors, like host or network unreachable, in a better way. This means...
Olle Johansson [Mon, 14 May 2007 18:52:09 +0000 (18:52 +0000)] 
Handle network errors, like host or network unreachable, in a better way. This means that
calls to hosts or qualify (OPTION) messages will fail quicker if the TCP/IP stack tells us
that there is an issue.

Since this is an unconnected UDP socket, we will not get error messages directly
in most cases, but maybe on the second and third try.

This is already implemented in trunk.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@64280 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoProperly set datalen field when doing PLC in codec_speex. (issue #9722 reported by...
Joshua Colp [Mon, 14 May 2007 18:48:33 +0000 (18:48 +0000)] 
Properly set datalen field when doing PLC in codec_speex. (issue #9722 reported by mihai)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@64278 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 64275 via svnmerge from
Joshua Colp [Mon, 14 May 2007 18:36:34 +0000 (18:36 +0000)] 
Merged revisions 64275 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r64275 | file | 2007-05-14 14:34:06 -0400 (Mon, 14 May 2007) | 2 lines

Only perform stripping of - strings from the channel name for Zap channels. Anywhere else we might remove a legitimate part of a device name. (issue #9668 reported by stevedavies)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@64276 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoFix scenario where if a phone that simply called Echo() put itself on hold it could...
Joshua Colp [Mon, 14 May 2007 17:23:51 +0000 (17:23 +0000)] 
Fix scenario where if a phone that simply called Echo() put itself on hold it could never get off hold.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@64240 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoAs per 9570, worrisome CDR warnings have been removed, that are either not helpful...
Steve Murphy [Mon, 14 May 2007 13:58:42 +0000 (13:58 +0000)] 
As per 9570, worrisome CDR warnings have been removed, that are either not helpful, or not relevant.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@64193 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoAdd hangupcause when we lack codecs for transcoding
Olle Johansson [Mon, 14 May 2007 10:39:12 +0000 (10:39 +0000)] 
Add hangupcause when we lack codecs for transcoding

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@64157 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoThis concludes my final adventure with bitmasks and the onhold flag. Would anyone...
Joshua Colp [Sat, 12 May 2007 22:27:04 +0000 (22:27 +0000)] 
This concludes my final adventure with bitmasks and the onhold flag. Would anyone care for some peanuts?

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@64114 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoTweak hold flags some more. They can be of three states when active: active, inactive...
Joshua Colp [Sat, 12 May 2007 21:10:45 +0000 (21:10 +0000)] 
Tweak hold flags some more. They can be of three states when active: active, inactive, one direction.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@64086 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoEnsure the onhold flag is set no matter what when being put on hold.
Joshua Colp [Sat, 12 May 2007 16:32:15 +0000 (16:32 +0000)] 
Ensure the onhold flag is set no matter what when being put on hold.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@64044 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoHide manager password from "manager show user foo".
Jason Parker [Fri, 11 May 2007 20:16:17 +0000 (20:16 +0000)] 
Hide manager password from "manager show user foo".

I realize that there are other ways to get this,
 but we really don't need to just show it in plain text so easily.

Issue 9273, patch by junky

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63982 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 63903 via svnmerge from
Tilghman Lesher [Fri, 11 May 2007 16:35:51 +0000 (16:35 +0000)] 
Merged revisions 63903 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r63903 | tilghman | 2007-05-11 11:31:03 -0500 (Fri, 11 May 2007) | 2 lines

Issue 9121 - fixups for safe_asterisk script

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63905 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoWhen MD5 authentication is not possible because there is no challenge present,
Russell Bryant [Fri, 11 May 2007 16:05:43 +0000 (16:05 +0000)] 
When MD5 authentication is not possible because there is no challenge present,
either because the Challenge action was never issued, or some other reason,
give a proper error message and return an error instead of claiming that the
user wasn't found.
(reported by jsmith on IRC)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63886 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMake the PARKINGEXTEN feature of parking actually work. (issue #9708 reported by...
Joshua Colp [Fri, 11 May 2007 15:43:14 +0000 (15:43 +0000)] 
Make the PARKINGEXTEN feature of parking actually work. (issue #9708 reported by mdu113)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63872 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 63828 via svnmerge from
Jason Parker [Thu, 10 May 2007 23:15:37 +0000 (23:15 +0000)] 
Merged revisions 63828 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r63828 | qwell | 2007-05-10 18:14:55 -0500 (Thu, 10 May 2007) | 4 lines

Fix an issue with trying to kill a thread before it gets created.

Issue 9709, patch by nic_bellamy.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63830 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoStrip terminal escape sequences from CLI command output that is going to be
Russell Bryant [Thu, 10 May 2007 22:23:42 +0000 (22:23 +0000)] 
Strip terminal escape sequences from CLI command output that is going to be
sent out over the manager interface.
(issue #9659, reported by pari, fixed by me)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63804 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoAdd test for negative offsets in cid data to prevent infinite loops.
Doug Bailey [Thu, 10 May 2007 20:48:54 +0000 (20:48 +0000)] 
Add test for negative offsets in cid data to prevent infinite loops.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63750 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 63748 via svnmerge from
Olle Johansson [Thu, 10 May 2007 20:46:41 +0000 (20:46 +0000)] 
Merged revisions 63748 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r63748 | oej | 2007-05-10 22:38:54 +0200 (Thu, 10 May 2007) | 4 lines

Do not allocate SIP pvt's for PEERs we can not reach.

This was seen as a lot of dialogs being created then immediately destroyed at reload/restart of the SIP channel.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63749 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoUse the DTMF frame on the channel when returning a DTMF frame from AST_FRAME_NULL...
Joshua Colp [Wed, 9 May 2007 19:22:39 +0000 (19:22 +0000)] 
Use the DTMF frame on the channel when returning a DTMF frame from AST_FRAME_NULL or AST_FRAME_VOICE.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63698 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoDo not prematurely go on hold if sendonly was not actually set.
Joshua Colp [Wed, 9 May 2007 17:43:30 +0000 (17:43 +0000)] 
Do not prematurely go on hold if sendonly was not actually set.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63656 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 63653 via svnmerge from
Matthew Fredrickson [Wed, 9 May 2007 17:25:21 +0000 (17:25 +0000)] 
Merged revisions 63653 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r63653 | mattf | 2007-05-09 12:20:20 -0500 (Wed, 09 May 2007) | 2 lines

Make sure we only create a DSP if it's requested on SUB_REAL

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63654 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoModify ast_senddigit_begin() to use the same assumptions used elsewhere in the
Russell Bryant [Wed, 9 May 2007 16:55:27 +0000 (16:55 +0000)] 
Modify ast_senddigit_begin() to use the same assumptions used elsewhere in the
code in that if a channel does not have a send_digit_begin() callback, it only
cares about DTMF END events.  (pointed out by Michael Neuhauser on the
asterisk-dev list)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63612 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 63610 via svnmerge from
Joshua Colp [Wed, 9 May 2007 16:54:56 +0000 (16:54 +0000)] 
Merged revisions 63610 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r63610 | file | 2007-05-09 12:51:03 -0400 (Wed, 09 May 2007) | 2 lines

Properly handle hints that point to multiple devices in chan_sip. Why chan_sip is even doing this I have no idea but I would rather not go into a rant. (issue #9536 reported by rlister)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63611 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoOnly call ast_senddigit_begin() in ast_senddigit() if the channel has a
Russell Bryant [Wed, 9 May 2007 16:43:50 +0000 (16:43 +0000)] 
Only call ast_senddigit_begin() in ast_senddigit() if the channel has a
send_digit_begin() callback.  Checking the END_DTMF_ONLY flag was the
wrong thing to do, because that flag indicates that a *bridged* channel
only wants DTMF END events coming from this channel.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63608 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 63565 via svnmerge from
Tilghman Lesher [Wed, 9 May 2007 14:50:33 +0000 (14:50 +0000)] 
Merged revisions 63565 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r63565 | tilghman | 2007-05-09 09:48:06 -0500 (Wed, 09 May 2007) | 2 lines

Replicate fix from 51158 (app_voicemail) to app_directory (Issue 9224)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63566 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoI have seen multiple people post questions trying to figure out what the
Russell Bryant [Wed, 9 May 2007 13:24:03 +0000 (13:24 +0000)] 
I have seen multiple people post questions trying to figure out what the
message "The configure script must be executed before running 'make'" means.
So, add another like that says to specifically run ./configure.  If this isn't
obvious enough, then they should be using something like AsteriskNOW and not
installing from source.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63535 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 62945,63402,63519 via svnmerge from
Christian Richter [Wed, 9 May 2007 13:17:10 +0000 (13:17 +0000)] 
Merged revisions 62945,63402,63519 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r62945 | crichter | 2007-05-03 17:39:21 +0200 (Do, 03 Mai 2007) | 1 line

when we're in state WAITING4DIGS, we use the asterisk tone-generator which prods us, so we can't just return -1 in misdn_write in this case. Added a MISDN_KEYPAD channel variable, and fixed the sending of keypad. this enables us to modify the call forward parameters in the switch.
........
r63402 | crichter | 2007-05-08 17:07:37 +0200 (Di, 08 Mai 2007) | 1 line

added application misdn_check_l2l1 which tries to pull up the L1/L2 on all ports that have the layers down in a group. It waits then for a timeout. This helps for scenarios where multiple PMP BRIs are grouped together, or where a provider has a faulty PTP Implementation, that looses the L2 after a while.
........
r63519 | crichter | 2007-05-09 13:26:16 +0200 (Mi, 09 Mai 2007) | 1 line

release_chan frees ch, so we should never touch ch after release_chan, this may cause segfaults.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63534 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoDon't retransmit 200 OK's on ignore status. (Reported on asterisk-users)
Olle Johansson [Wed, 9 May 2007 13:04:14 +0000 (13:04 +0000)] 
Don't retransmit 200 OK's on ignore status. (Reported on asterisk-users)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63532 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 63477 via svnmerge from
Tilghman Lesher [Tue, 8 May 2007 22:38:02 +0000 (22:38 +0000)] 
Merged revisions 63477 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r63477 | tilghman | 2007-05-08 17:19:15 -0500 (Tue, 08 May 2007) | 2 lines

Issue 9602 - segfault in app_macro

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63478 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoI mixed up the use of the find_feature() function, so I renamed it
Russell Bryant [Tue, 8 May 2007 16:53:09 +0000 (16:53 +0000)] 
I mixed up the use of the find_feature() function, so I renamed it
find_dynamic_feature, and changed the code to use the correct lock when
using it.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63448 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoUse a read/write lock when accessing the built-in features.
Russell Bryant [Tue, 8 May 2007 16:30:43 +0000 (16:30 +0000)] 
Use a read/write lock when accessing the built-in features.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63445 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMove realtime_pgsql.sql to contrib/scripts to be with the rest of the sql examples.
Russell Bryant [Tue, 8 May 2007 15:10:37 +0000 (15:10 +0000)] 
Move realtime_pgsql.sql to contrib/scripts to be with the rest of the sql examples.
(issue #9676, suretec)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63403 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 63359 via svnmerge from
Tilghman Lesher [Tue, 8 May 2007 06:22:37 +0000 (06:22 +0000)] 
Merged revisions 63359 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r63359 | tilghman | 2007-05-08 01:20:16 -0500 (Tue, 08 May 2007) | 2 lines

Issue 9527 - upon entering a folder, no message is selected (curmsg == -1), so deleting causes memory corruption (beyond bounds)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63360 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoAdd a sample configuration file and example tables for use with res_config_pgsql.
Russell Bryant [Mon, 7 May 2007 22:28:50 +0000 (22:28 +0000)] 
Add a sample configuration file and example tables for use with res_config_pgsql.
(issue #9676, suretec)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63329 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 63285 via svnmerge from
Joshua Colp [Mon, 7 May 2007 21:45:01 +0000 (21:45 +0000)] 
Merged revisions 63285 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r63285 | file | 2007-05-07 17:39:52 -0400 (Mon, 07 May 2007) | 2 lines

Properly handle what happens during a masquerade in relation to group counting. (issue #9657 reported by ramonpeek)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63286 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMinor backport of revision 59083 in trunk. Don't queue an unhold frame up if the...
Joshua Colp [Mon, 7 May 2007 21:26:58 +0000 (21:26 +0000)] 
Minor backport of revision 59083 in trunk. Don't queue an unhold frame up if the call was never on hold to begin with.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63283 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoDon't remove configuration from memory just because one section failed.
Olle Johansson [Mon, 7 May 2007 20:05:15 +0000 (20:05 +0000)] 
Don't remove configuration from memory just because one section failed.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63254 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoGuess svnmerge doesn't handle files that move around. Blocking patch to ./config.c
Olle Johansson [Mon, 7 May 2007 14:19:32 +0000 (14:19 +0000)] 
Guess svnmerge doesn't handle files that move around. Blocking patch to ./config.c

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63196 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoStop the video stream when you stop playback of all streams for a call
Olle Johansson [Sun, 6 May 2007 12:28:38 +0000 (12:28 +0000)] 
Stop the video stream when you stop playback of all streams for a call

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63152 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoFix a crash when checking version attribute in an incoming XML caps element.
Jason Parker [Fri, 4 May 2007 20:03:49 +0000 (20:03 +0000)] 
Fix a crash when checking version attribute in an incoming XML caps element.

Issue 9667, patch by phsultan.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63099 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoexplanation for httptimeout in manager.conf
Pari Nannapaneni [Fri, 4 May 2007 16:45:29 +0000 (16:45 +0000)] 
explanation for httptimeout in manager.conf

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@63047 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 62987 via svnmerge from
Joshua Colp [Thu, 3 May 2007 16:44:00 +0000 (16:44 +0000)] 
Merged revisions 62987 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r62987 | file | 2007-05-03 13:42:19 -0300 (Thu, 03 May 2007) | 2 lines

When a peer is seeded or built tell the devicestate core to update it's status. This is easier then having chan_sip load before pbx_config. (issue #9658 reported by dlynes)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62989 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoimprove loader a bit, by avoiding trying to initialize embedded modules twice and...
Kevin P. Fleming [Thu, 3 May 2007 16:38:56 +0000 (16:38 +0000)] 
improve loader a bit, by avoiding trying to initialize embedded modules twice and avoiding trying to load modules from disk when they have been loaded already during the 'preload' pass (reported by blitzrage on IRC, patch by me)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62986 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoFix YADB (Yet Another DTMF Bug) ((C) Russell Bryant, 2007, TM, Patent Pending).
Russell Bryant [Thu, 3 May 2007 15:23:13 +0000 (15:23 +0000)] 
Fix YADB (Yet Another DTMF Bug) ((C) Russell Bryant, 2007, TM, Patent Pending).

This set of changes came from a debugging session I had with Dwayne Hubbard.
When he called into his home FXO, ran the Echo application, and pressed a
digit, the digit would be echoed back and would never end.  This is fixed,
along with a couple other little improvements.

* When chan_zap is in the middle of playing a digit to a channel, it feeds
  back null frames, not voice frames.  So, I have modified ast_read to check
  the timing on emulated DTMF when it receives null frames, in addition to
  where it was doing this on voice frames.
* Make a tweak to setting the duration on emulated DTMF digits.  If there was
  no duration specified, it set it to be the minimum, instead of the default.
* Instead of timing the emulated digits off of the number of samples in audio
  frames that pass through, just use time values.  Now there is no code in this
  section that assumes 8kHz audio.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62942 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoupdated the ael regressions to match what's in trunk
Steve Murphy [Thu, 3 May 2007 14:41:53 +0000 (14:41 +0000)] 
updated the ael regressions to match what's in trunk

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62913 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 61357,61770,62885 via svnmerge from
Christian Richter [Thu, 3 May 2007 14:36:32 +0000 (14:36 +0000)] 
Merged revisions 61357,61770,62885 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61357 | crichter | 2007-04-11 14:05:57 +0200 (Mi, 11 Apr 2007) | 1 line

some fixes for PMP Hold/Retrieve, it should work now, when briding=no
........
r61770 | crichter | 2007-04-24 15:50:05 +0200 (Di, 24 Apr 2007) | 1 line

added lock for sending messages to avoid double sending. shuffled some empty_chans after the cb_event calls, this avoids that a release_complete from a quite different call releases a fresh created setup by accident.
........
r62885 | crichter | 2007-05-03 15:59:00 +0200 (Do, 03 Mai 2007) | 1 line

fixed the problem that misdn_write did not return -1 when called with 0 samples in a frame this resultet in a deadlock in some circumstances, when the call ended because of a busy extension.  added encoding of keypad.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62912 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoThese mods fix bug 9623, where an '@' in the eswitch contents causes a syntax error...
Steve Murphy [Thu, 3 May 2007 13:54:56 +0000 (13:54 +0000)] 
These mods fix bug 9623, where an '@' in the eswitch contents causes a syntax error. I also updated the regressions.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62883 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 62841 via svnmerge from
Kevin P. Fleming [Thu, 3 May 2007 00:23:37 +0000 (00:23 +0000)] 
Merged revisions 62841 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r62841 | kpfleming | 2007-05-02 20:23:00 -0400 (Wed, 02 May 2007) | 2 lines

doh... initializing the pointer variable will work just a bit better

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62842 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 62796 via svnmerge from
Kevin P. Fleming [Thu, 3 May 2007 00:02:57 +0000 (00:02 +0000)] 
Merged revisions 62796 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r62796 | kpfleming | 2007-05-02 19:53:46 -0400 (Wed, 02 May 2007) | 7 lines

increase reliability and efficiency of static Realtime config loading via ODBC:
don't request fields we aren't going to use
don't request sorting on fields that are pointless to sort on
explicitly request the fields we want, because we can't expect the database to always return them in the order they were created

(reported by blitzrage in person (!), patch by me)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62807 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoimprove static Realtime config loading from PostgreSQL:
Kevin P. Fleming [Wed, 2 May 2007 23:57:23 +0000 (23:57 +0000)] 
improve static Realtime config loading from PostgreSQL:
don't request sorting on fields that are pointless to sort on
use ast_build_string() instead of snprintf()
don't request the list of fieldnames that resulted from the query when we both knew what they were before we ran the query _AND_ we aren't going to do anything with them anyway

(patch by me, inspired by blitzrage's bug report about res_config_odbc)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62797 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerge changes from team/russell/inband_dtmf ...
Russell Bryant [Wed, 2 May 2007 22:59:09 +0000 (22:59 +0000)] 
Merge changes from team/russell/inband_dtmf ...

Fix some issues related to generating inband DTMF.  There are two changes here:

1)   The list of DTMF tones in the senddigit_begin() function explicitly
   specified 100ms of the tone followed by 100ms of silence.  This really
   broke things with the way that Asterisk now wants complete control
   over when the digit begins and ends.  So, regardless of what Asterisk
   really wanted to do, this was going to play out the tone at the length it
   wanted to.  This caused various problems like DTMF translation to inband to
   be extremely unreliable.
     The list of tones has been changed so that the correct DTMF tone is played
   indefinitely until Asterisk tells it to stop.

2) ast_write() had to be modified to let a DTMF_END frame get processed even
   when a generator is present.  This is how the tone will finally get stopped.

(issues #8944, #9250, #9348, maybe others.  Thanks to mdu113 from #8944 for
 the testing and feedback!)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62789 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoBackport the change that only went in to trunk that fixes the command manager
Russell Bryant [Wed, 2 May 2007 20:55:00 +0000 (20:55 +0000)] 
Backport the change that only went in to trunk that fixes the command manager
action over http.  (reported internally by pari and bkruse)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62739 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 62737 via svnmerge from
Steve Murphy [Wed, 2 May 2007 20:46:07 +0000 (20:46 +0000)] 
Merged revisions 62737 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r62737 | murf | 2007-05-02 14:10:32 -0600 (Wed, 02 May 2007) | 1 line

Some tweaks to satisfy CDR bug 8796, where being in 'h' extension louses up the dst field
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62738 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 62691 via svnmerge from
Tilghman Lesher [Wed, 2 May 2007 17:43:48 +0000 (17:43 +0000)] 
Merged revisions 62691 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r62691 | tilghman | 2007-05-02 12:38:16 -0500 (Wed, 02 May 2007) | 4 lines

Issue 9638 - if a text frame is sent with no terminating NULL through a bridged
IAX connection, the remote end will receive garbage characters tacked onto the
end.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62692 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoa)In chan_zap, set the clid, src fields in channel_alloc call. b)in the channel_alloc...
Steve Murphy [Wed, 2 May 2007 17:10:50 +0000 (17:10 +0000)] 
a)In chan_zap, set the clid, src fields in channel_alloc call. b)in the channel_alloc func, set the cid_num and name fields from the arglist[blush]. c) don't update the channel app & app data fields if you are in the 'h' extension. d)the load_module func in cdr_radius needs to return DECLINE, SUCCESS.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62689 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoDon't unlock a channel that we already know does not exist (propably isue 8228)
Olle Johansson [Wed, 2 May 2007 06:15:43 +0000 (06:15 +0000)] 
Don't unlock a channel that we already know does not exist (propably isue 8228)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62624 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 62547 via svnmerge from
Russell Bryant [Tue, 1 May 2007 21:57:10 +0000 (21:57 +0000)] 
Merged revisions 62547 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r62547 | russell | 2007-05-01 16:55:19 -0500 (Tue, 01 May 2007) | 4 lines

Remove an unnecessary check that makes it so if you hang up after doing an
attended transfer before the target extension answers the channel, the transfer
is not successful.  (issue #9338, patch by svanlund)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62548 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoBug 9590 - Memory leaks around find_user() (found by rayjay, different fixes by me)
Tilghman Lesher [Tue, 1 May 2007 21:34:43 +0000 (21:34 +0000)] 
Bug 9590 - Memory leaks around find_user() (found by rayjay, different fixes by me)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62545 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 62496 via svnmerge from
Russell Bryant [Tue, 1 May 2007 16:26:48 +0000 (16:26 +0000)] 
Merged revisions 62496 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r62496 | russell | 2007-05-01 11:26:23 -0500 (Tue, 01 May 2007) | 3 lines

Add indications.conf information for the Philippines.
(issue #9525, reported and patched by loloski)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62497 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 62417 via svnmerge from
Russell Bryant [Mon, 30 Apr 2007 15:58:28 +0000 (15:58 +0000)] 
Merged revisions 62417 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r62417 | russell | 2007-04-30 10:57:26 -0500 (Mon, 30 Apr 2007) | 4 lines

This patch fixes an issue where depending on the cause code, when the network
sends a PRI disconnect, the call may not be properly hung up.
(issue #9588, reported and patched by softins)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62419 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoWhen serving dynamic content, include a Cache-Control header to instruct the
Russell Bryant [Mon, 30 Apr 2007 15:25:31 +0000 (15:25 +0000)] 
When serving dynamic content, include a Cache-Control header to instruct the
browsers to not store the resulting content.
(issue #9621, reported by Pari, patch by me)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62414 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoRemove unused (and potentially confusing) jitterbuffer options from sample config.
Jason Parker [Mon, 30 Apr 2007 14:52:31 +0000 (14:52 +0000)] 
Remove unused (and potentially confusing) jitterbuffer options from sample config.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62371 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 62368 via svnmerge from
Joshua Colp [Mon, 30 Apr 2007 14:36:11 +0000 (14:36 +0000)] 
Merged revisions 62368 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r62368 | file | 2007-04-30 11:34:07 -0300 (Mon, 30 Apr 2007) | 2 lines

Update copyright notice. It's now the year 2007!

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62369 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoFix a bug that made the "language" setting in zapata.conf not
Russell Bryant [Sun, 29 Apr 2007 05:50:37 +0000 (05:50 +0000)] 
Fix a bug that made the "language" setting in zapata.conf not
functional.  (issue #9626, reported and fixed by sergee)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62331 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoNote that the "talker optimization" option will be enabled by default in 1.6
Russell Bryant [Sat, 28 Apr 2007 21:56:20 +0000 (21:56 +0000)] 
Note that the "talker optimization" option will be enabled by default in 1.6

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62299 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoFix a weird problem where when a caller talking to someone sitting behind an
Russell Bryant [Fri, 27 Apr 2007 21:10:51 +0000 (21:10 +0000)] 
Fix a weird problem where when a caller talking to someone sitting behind an
agent channel sent a digit, the digit would be played to the agent for forever.
This is because chan_agent always returned -1 from its send_digit_begin and _end
callbacks.  This non-zero return value indicates to the Asterisk core that it
would like an inband DTMF generator put on the channel.  However, this is the
wrong thing to do.  It should *always* return 0, instead.  When the digit begin
and end functions are called on the proxied channel, the underlying channel
will indicate whether inband DTMF is needed or not, and the generator will be
put on that one, and not the Agent channel.
(issue #9615, #9616, reported by jiddings and BigJimmy, and fixed by me)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62218 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 62173 via svnmerge from
Jason Parker [Fri, 27 Apr 2007 16:17:46 +0000 (16:17 +0000)] 
Merged revisions 62173 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r62173 | qwell | 2007-04-27 11:16:16 -0500 (Fri, 27 Apr 2007) | 3 lines

This transcoder message needn't be a NOTICE.
I've seen it cause confusion more than a few times.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62174 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoIf no variables were passed into pbx_substitute_variables_helper_full(), then
Russell Bryant [Fri, 27 Apr 2007 16:14:11 +0000 (16:14 +0000)] 
If no variables were passed into pbx_substitute_variables_helper_full(), then
don't even bother creating a temporary bogus channel, since that is only for
allowing certain functions to operate on the variables as if they were on a
channel.  Most importantly, this fixes a crash.
(issue #9613, reported by callguy, fixed by me)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62171 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 62126 via svnmerge from
Olle Johansson [Fri, 27 Apr 2007 14:04:07 +0000 (14:04 +0000)] 
Merged revisions 62126 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r62126 | oej | 2007-04-27 15:57:45 +0200 (Fri, 27 Apr 2007) | 4 lines

Issue #7351 - SIP Cancel fails due to the wrong contact uri. Reported by PPYY, failed to fix by OEJ
final fix by wojtekka - THANKS!!!! THis was a hard one to catch.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62137 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoIssue #9608 - fix some annoying DEBUG messages not controlled by option_debug (DEA...
Olle Johansson [Fri, 27 Apr 2007 08:10:43 +0000 (08:10 +0000)] 
Issue #9608  - fix some annoying DEBUG messages not controlled by option_debug (DEA). Thanks!

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62095 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 62037 via svnmerge from
Joshua Colp [Thu, 26 Apr 2007 16:33:52 +0000 (16:33 +0000)] 
Merged revisions 62037 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r62037 | file | 2007-04-26 12:30:57 -0400 (Thu, 26 Apr 2007) | 2 lines

Revert previous fix for when the IAX2 channel goes funky (that's the technical term). This is causing legit calls to be prematurely hung up. (issue #9600 reported by justdave)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62038 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMissed an ast_app_group_discard during merge. Thanks blitzrage!
Joshua Colp [Thu, 26 Apr 2007 03:19:51 +0000 (03:19 +0000)] 
Missed an ast_app_group_discard during merge. Thanks blitzrage!

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@62005 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoDon't always say that the channel is being paused if it is actually being unpaused...
Joshua Colp [Thu, 26 Apr 2007 01:48:55 +0000 (01:48 +0000)] 
Don't always say that the channel is being paused if it is actually being unpaused in the Manager ack message. (reported by jsmith in #asterisk-bugs)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61961 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 61958 via svnmerge from
Joshua Colp [Thu, 26 Apr 2007 01:27:18 +0000 (01:27 +0000)] 
Merged revisions 61958 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61958 | file | 2007-04-25 21:25:03 -0400 (Wed, 25 Apr 2007) | 2 lines

Don't count failed include attempts against the configuration include level. (issue #9593 reported by mostyn)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61959 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 61913 via svnmerge from
Kevin P. Fleming [Wed, 25 Apr 2007 22:29:53 +0000 (22:29 +0000)] 
Merged revisions 61913 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61913 | kpfleming | 2007-04-25 17:24:59 -0500 (Wed, 25 Apr 2007) | 2 lines

handle a very bizarre race condition with channels being redirected before a simple switch can be started on them (issue #9286)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61914 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 61866 via svnmerge from
Russell Bryant [Wed, 25 Apr 2007 21:59:07 +0000 (21:59 +0000)] 
Merged revisions 61866 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61866 | russell | 2007-04-25 16:55:23 -0500 (Wed, 25 Apr 2007) | 2 lines

If the callerid= option is specified, but empty, clear any previous data.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61870 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 61862 via svnmerge from
Russell Bryant [Wed, 25 Apr 2007 21:13:15 +0000 (21:13 +0000)] 
Merged revisions 61862 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61862 | russell | 2007-04-25 16:06:22 -0500 (Wed, 25 Apr 2007) | 2 lines

Ensure that callerid settings are reset on a reload.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61863 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 61804 via svnmerge from
Joshua Colp [Wed, 25 Apr 2007 19:21:54 +0000 (19:21 +0000)] 
Merged revisions 61804 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61804 | file | 2007-04-25 14:52:50 -0400 (Wed, 25 Apr 2007) | 2 lines

Merge rewritten group counting support. No more storing data on the variable list of the channels. That was bad, mmmk? (issue #7497 reported by sabbathbh)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61805 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 61798 via svnmerge from
Russell Bryant [Wed, 25 Apr 2007 16:22:07 +0000 (16:22 +0000)] 
Merged revisions 61798 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61798 | russell | 2007-04-25 11:20:38 -0500 (Wed, 25 Apr 2007) | 3 lines

Fix a typo where cid_num got copied instead of cid_ani.
(issue #9587, reported and patched by xrg)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61799 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 61786 via svnmerge from
Russell Bryant [Tue, 24 Apr 2007 21:34:53 +0000 (21:34 +0000)] 
Merged revisions 61786 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61786 | russell | 2007-04-24 16:33:59 -0500 (Tue, 24 Apr 2007) | 4 lines

Don't crash if a manager connection provides a username that exists in
manager.conf but does not have a password, and also requests MD5
authentication. (ASA-2007-012)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61787 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoImprove DTMF handling in ast_read() even more in response to a discussion on
Russell Bryant [Tue, 24 Apr 2007 19:00:06 +0000 (19:00 +0000)] 
Improve DTMF handling in ast_read() even more in response to a discussion on
the asterisk-dev mailing list.  I changed the enforced minimum length of a
digit from 100ms to 80ms.  Furthermore, I made it now enforce a gap of 45ms in
between digits.  These values are not configurable in a configuration file
right now, but they can be easily changed near the top of main/channel.c.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61781 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 61777 via svnmerge from
Dwayne M. Hubbard [Tue, 24 Apr 2007 18:43:53 +0000 (18:43 +0000)] 
Merged revisions 61777 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61777 | dhubbard | 2007-04-24 13:20:31 -0500 (Tue, 24 Apr 2007) | 1 line

removed #if 0 block from chan_phone, chan_zap, and chan_modem restart_monitor()
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61779 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoAdd a few more state changes in handle_frame_ownerless() so that the SLA code
Russell Bryant [Tue, 24 Apr 2007 16:16:41 +0000 (16:16 +0000)] 
Add a few more state changes in handle_frame_ownerless() so that the SLA code
will get notified of these changes even when an owner channel is not provided.
This isn't from a specific bug report, it's just something I noticed while
poking around.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61774 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 61771 via svnmerge from
Joshua Colp [Tue, 24 Apr 2007 16:07:02 +0000 (16:07 +0000)] 
Merged revisions 61771 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61771 | file | 2007-04-24 12:05:06 -0400 (Tue, 24 Apr 2007) | 2 lines

Allow RFC2833 to be sent in the response SDP when an INVITE comes in without SDP. (issue #9546 reported by mcrawford)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61772 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoSome dialplan functions, such as CUT(), expect to operate on variables on a
Russell Bryant [Mon, 23 Apr 2007 18:17:00 +0000 (18:17 +0000)] 
Some dialplan functions, such as CUT(), expect to operate on variables on a
channel.  So, this little hack lets them work in places where a channel doesn't
exist, such as within DUNDi configuration.
(issue #9465, reported and patched by Corydon76, testing by blitzrage)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61765 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoEnsure that digits passing through Asterisk have a reasonable minimum length.
Russell Bryant [Mon, 23 Apr 2007 17:57:32 +0000 (17:57 +0000)] 
Ensure that digits passing through Asterisk have a reasonable minimum length.
It is currently 100 ms.  If someone thinks this should be different, feel free
to speak up.  (related to issues #8944, #9250, and #9348)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61763 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoAvoid invalid seqno cycling detection.
Jason Parker [Fri, 20 Apr 2007 21:35:27 +0000 (21:35 +0000)] 
Avoid invalid seqno cycling detection.

Per comment from Dave Troy:
 This adds back in some simple typecasting I had in an earlier version
 which I realize now may be breaking things.

Issue #9554.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61707 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 61704 via svnmerge from
Jason Parker [Fri, 20 Apr 2007 21:15:29 +0000 (21:15 +0000)] 
Merged revisions 61704 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61704 | qwell | 2007-04-20 16:14:27 -0500 (Fri, 20 Apr 2007) | 4 lines

Fix an issue that I noticed while looking over issue 9571.

The reload timestamp was getting set after reloading the built-in stuff, and before the modules.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61705 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoRemove a stray debug message introduced by a recent commit.
Russell Bryant [Fri, 20 Apr 2007 20:42:02 +0000 (20:42 +0000)] 
Remove a stray debug message introduced by a recent commit.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61697 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 61692 via svnmerge from
Jason Parker [Fri, 20 Apr 2007 19:51:49 +0000 (19:51 +0000)] 
Merged revisions 61692 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61692 | qwell | 2007-04-20 14:49:54 -0500 (Fri, 20 Apr 2007) | 5 lines

If the '* to hangup' option is not enabled, we don't need to disable * as a valid exit key.
  If it was enabled, this statement would've never been checked in the first place.

Issue #9552

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61694 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoFix the UpdateConfig manager action to properly treat "variables" and "objects"
Russell Bryant [Fri, 20 Apr 2007 18:19:18 +0000 (18:19 +0000)] 
Fix the UpdateConfig manager action to properly treat "variables" and "objects"
differently (a=b versus a=>b).
(issue #9568, reported by pari, patch by me)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61690 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 61685 via svnmerge from
Olle Johansson [Thu, 19 Apr 2007 08:37:08 +0000 (08:37 +0000)] 
Merged revisions 61685 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61685 | oej | 2007-04-19 09:56:21 +0200 (Thu, 19 Apr 2007) | 3 lines

Send NOTIFY to Contact: in SUBSCRIBE
- as reported by Intertex and Citel. Fixed during SIPit 20 in Antwerp.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61686 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoBug 9557 - simple reason why reading a function always returned NULL
Tilghman Lesher [Thu, 19 Apr 2007 04:36:20 +0000 (04:36 +0000)] 
Bug 9557 - simple reason why reading a function always returned NULL

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61683 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 61680 via svnmerge from
Tilghman Lesher [Thu, 19 Apr 2007 02:45:05 +0000 (02:45 +0000)] 
Merged revisions 61680 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61680 | tilghman | 2007-04-18 21:30:18 -0500 (Wed, 18 Apr 2007) | 5 lines

Bug 9557 - Specifying the GetVar AMI action without a Channel parameter can
cause Asterisk to crash.  The reason this needs to be fixed in the functions
instead of in AMI is because Channel can legitimately be NULL, such as when
retrieving global variables.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61681 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoallow external build systems to extract the required sound file versions
Kevin P. Fleming [Wed, 18 Apr 2007 22:10:23 +0000 (22:10 +0000)] 
allow external build systems to extract the required sound file versions

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61678 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoClean upp formatting, add some doxygen stuff while we're in cleaning mode... Thanks...
Olle Johansson [Wed, 18 Apr 2007 20:46:23 +0000 (20:46 +0000)] 
Clean upp formatting, add some doxygen stuff while we're in cleaning mode... Thanks Kevin!

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61676 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoIssue #9554 - Improve RTCP (Dave Troy)
Olle Johansson [Wed, 18 Apr 2007 20:28:53 +0000 (20:28 +0000)] 
Issue #9554 - Improve RTCP (Dave Troy)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61674 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years ago#9483, half of patch by twilson to solve 302 redirect issues
Olle Johansson [Mon, 16 Apr 2007 14:47:05 +0000 (14:47 +0000)] 
#9483, half of patch by twilson to solve 302 redirect issues

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61666 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoBlocking AstHoloPatch from 1.2
Olle Johansson [Mon, 16 Apr 2007 14:21:48 +0000 (14:21 +0000)] 
Blocking AstHoloPatch from 1.2

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61664 65c4cc65-6c06-0410-ace0-fbb531ad65f3