]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
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

18 years agoThis is a fix to the way CDR merge handles the data that results from ForkCDR.
Steve Murphy [Fri, 13 Apr 2007 21:17:20 +0000 (21:17 +0000)] 
This is a fix to the way CDR merge handles the data that results from ForkCDR.

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

18 years agoMerged revisions 61655 via svnmerge from
Joshua Colp [Fri, 13 Apr 2007 19:17:08 +0000 (19:17 +0000)] 
Merged revisions 61655 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61655 | file | 2007-04-13 15:15:12 -0400 (Fri, 13 Apr 2007) | 2 lines

Add OUTBOUND_GROUP_ONCE variable to app_dial. This behaves the same as OUTBOUND_GROUP except it will get unset after use so it won't get accidentally inherited. (issue #BE-140)

........

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

18 years agoDo not bother looking for a result if none are present.
Joshua Colp [Fri, 13 Apr 2007 18:08:02 +0000 (18:08 +0000)] 
Do not bother looking for a result if none are present.

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

18 years agoFor those very verbose SIP implementations that attach tons of info to the Contact...
Joshua Colp [Fri, 13 Apr 2007 17:19:53 +0000 (17:19 +0000)] 
For those very verbose SIP implementations that attach tons of info to the Contact header... let's increase our variable sizes. (issue #9535 reported by jeffg)

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

18 years agoEliminate a compiler warning with ODBC_STORAGE enabled so that it will build
Russell Bryant [Fri, 13 Apr 2007 17:10:19 +0000 (17:10 +0000)] 
Eliminate a compiler warning with ODBC_STORAGE enabled so that it will build
under dev-mode.

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

18 years agoA fix for chan_oss that resulted from the CDR changes; it helps to use the right...
Steve Murphy [Fri, 13 Apr 2007 17:01:02 +0000 (17:01 +0000)] 
A fix for chan_oss that resulted from the CDR changes; it helps to use the right info.

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

18 years agoDon't assume the callid of a dialog will be set, as in some circumstances it may...
Joshua Colp [Fri, 13 Apr 2007 16:32:03 +0000 (16:32 +0000)] 
Don't assume the callid of a dialog will be set, as in some circumstances it may not. (issue #9534 reported by tecnoxarxa)

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

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

........
r61476 | russell | 2007-04-11 11:01:25 -0500 (Wed, 11 Apr 2007) | 5 lines

If someone sets the "useragent" option in sip.conf to be empty, then don't add
the User-Agent header at all.  It is an optional header, anyway.  Also, the bug
report says that some of Japan's SIP providers don't allow it for some weird
reason.  (issue #9488, reported by makoto, fixed by me)

........

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

18 years agoDon't export AOCD variables on misdn_hangup anymore, this was mainly a fix for trunk..
Nadi Sarrar [Wed, 11 Apr 2007 15:39:14 +0000 (15:39 +0000)] 
Don't export AOCD variables on misdn_hangup anymore, this was mainly a fix for trunk..

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

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

........
r61426 | russell | 2007-04-11 10:05:36 -0500 (Wed, 11 Apr 2007) | 6 lines

Fix a bug with switching between host=dynamic and using specific hosts for
peers.  The code would only reset the peer's address when it is dynamic if
it was a new peer structure.  Now, it will also reset the address if it was
already in the peer list, but before the reload, it was not dynamic.
(issue #9515, reported by caio1982, fixed by me)

........

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

18 years agoAdd "svgz" to the mimetypes table. (issue #9510, bkruse)
Russell Bryant [Wed, 11 Apr 2007 14:48:01 +0000 (14:48 +0000)] 
Add "svgz" to the mimetypes table.  (issue #9510, bkruse)

In passing, constify the elements of the mimetypes table.

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

18 years agoMerged revisions 61376 via svnmerge from
Russell Bryant [Wed, 11 Apr 2007 14:04:44 +0000 (14:04 +0000)] 
Merged revisions 61376 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61376 | russell | 2007-04-11 09:02:54 -0500 (Wed, 11 Apr 2007) | 5 lines

Remove the attempt at reporting configuration errors in sip.conf.  This can
cause a bunch of improper messages when using realtime.  I give up.  As oej
tried to convince me when I put this in, there is just no easy way to do it.
(inspired by a message on the -dev list)

........

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

18 years agoExport AOCD variables on misdn_hangup.
Nadi Sarrar [Wed, 11 Apr 2007 13:40:26 +0000 (13:40 +0000)] 
Export AOCD variables on misdn_hangup.

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

18 years agoIgnore facility messages in case we don't have a corresponding channel object.
Nadi Sarrar [Wed, 11 Apr 2007 13:33:30 +0000 (13:33 +0000)] 
Ignore facility messages in case we don't have a corresponding channel object.

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

18 years agoAOCD's are now exported to asterisk channel variables.
Nadi Sarrar [Wed, 11 Apr 2007 10:52:28 +0000 (10:52 +0000)] 
AOCD's are now exported to asterisk channel variables.

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

18 years agoFile upload support was added to solve some needs for the Asterisk GUI.
Russell Bryant [Tue, 10 Apr 2007 16:05:55 +0000 (16:05 +0000)] 
File upload support was added to solve some needs for the Asterisk GUI.
However, after much discussion, it has been decided that adding this to 1.4 is
not in the best interests of the project.  It has been removed here, but will
remain in trunk.

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

18 years agoMerged revisions 61170 via svnmerge from
Nadi Sarrar [Tue, 10 Apr 2007 12:43:40 +0000 (12:43 +0000)] 
Merged revisions 61170 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61170 | nadi | 2007-04-10 14:31:45 +0200 (Di, 10 Apr 2007) | 2 lines

msns config parameter defaults to '*'

........

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

18 years agoFinished up a previous fix to overcome a compiler warning; the app NoCDR() has been...
Steve Murphy [Tue, 10 Apr 2007 05:18:26 +0000 (05:18 +0000)] 
Finished up a previous fix to overcome a compiler warning; the app NoCDR() has been updated to mark the channel CDR as POST_DISABLED instead of destroying the CDR; this way its flags are propagated thru a bridge and the CDR is actually dropped. The cases where only one channel in a bridge has a CDR was cleaned up.

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

18 years agoMerged revisions 61038 via svnmerge from
Olle Johansson [Mon, 9 Apr 2007 19:58:17 +0000 (19:58 +0000)] 
Merged revisions 61038 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61038 | oej | 2007-04-09 21:38:59 +0200 (Mon, 09 Apr 2007) | 3 lines

- Don't send ActionID before Response: header.
- Don't use a blank in an AMI header

........

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

18 years agofix up some warnings found using --enable-dev-mode
Kevin P. Fleming [Mon, 9 Apr 2007 19:55:14 +0000 (19:55 +0000)] 
fix up some warnings found using --enable-dev-mode

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

18 years agoremove some more stuff we don't need
Kevin P. Fleming [Mon, 9 Apr 2007 19:49:09 +0000 (19:49 +0000)] 
remove some more stuff we don't need

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

18 years agoRemove another directory that should no longer be there
Russell Bryant [Mon, 9 Apr 2007 19:41:04 +0000 (19:41 +0000)] 
Remove another directory that should no longer be there

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

18 years agoRemove various files that I thought I already removed.
Russell Bryant [Mon, 9 Apr 2007 19:40:29 +0000 (19:40 +0000)] 
Remove various files that I thought I already removed.

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

18 years agoUse the appropriate interface name with COMPLETECALLER.
Jason Parker [Mon, 9 Apr 2007 19:05:48 +0000 (19:05 +0000)] 
Use the appropriate interface name with COMPLETECALLER.

Issue 9395.

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

18 years agoThis is a big improvement over the current CDR fixes. It may still need refinement...
Steve Murphy [Mon, 9 Apr 2007 18:32:07 +0000 (18:32 +0000)] 
This is a big improvement over the current CDR fixes. It may still need refinement, but this won't have as many folks bothered.

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

18 years agoAdd final new line after JabberEvent
Olle Johansson [Mon, 9 Apr 2007 18:02:17 +0000 (18:02 +0000)] 
Add final new line after JabberEvent

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

18 years agoMerged revisions 60935 via svnmerge from
Jason Parker [Mon, 9 Apr 2007 17:22:59 +0000 (17:22 +0000)] 
Merged revisions 60935 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r60935 | qwell | 2007-04-09 12:22:15 -0500 (Mon, 09 Apr 2007) | 5 lines

Allow matching on names shorter than 3 chars.
This also fixes the case where somebody wants to match on less then 3 chars.

Issue 9071

........

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

18 years agoMerged revisions 60849 via svnmerge from
Tilghman Lesher [Mon, 9 Apr 2007 03:01:12 +0000 (03:01 +0000)] 
Merged revisions 60849 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r60849 | tilghman | 2007-04-08 21:49:06 -0500 (Sun, 08 Apr 2007) | 2 lines

Don't check for error when lowering priority (according to the manpage, it should never happen anyway).  It might could happen, though, if another thread messed with the priority, so safeguard against that (reported via -dev list).

........

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

18 years agoMerged revisions 60846 via svnmerge from
Tilghman Lesher [Mon, 9 Apr 2007 02:42:48 +0000 (02:42 +0000)] 
Merged revisions 60846 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r60846 | tilghman | 2007-04-08 21:37:18 -0500 (Sun, 08 Apr 2007) | 2 lines

Bug 9505 - If the return value for local_queue_frame is set, then p->lock is no longer valid.

........

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

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

........
r60797 | file | 2007-04-08 20:59:29 -0400 (Sun, 08 Apr 2007) | 2 lines

When calling a device that then forwards us elsewhere... we have to make our channels compatible if it is the only channel being dialed. (issue #9445 reported by marcelbarbulescu)

........

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

18 years agoAllow app_queue to use MONITOR_EXEC even if MONITOR_OPTIONS is not set. (issue #9495...
Joshua Colp [Sun, 8 Apr 2007 17:04:44 +0000 (17:04 +0000)] 
Allow app_queue to use MONITOR_EXEC even if MONITOR_OPTIONS is not set. (issue #9495 reported by cduffy)

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

18 years agoMerged revisions 60711 via svnmerge from
Tilghman Lesher [Sun, 8 Apr 2007 14:14:29 +0000 (14:14 +0000)] 
Merged revisions 60711 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r60711 | tilghman | 2007-04-08 09:00:22 -0500 (Sun, 08 Apr 2007) | 2 lines

Gosub called within a Macro resets the arguments improperly and causes general weirdness. (Issue 8329)

........

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

18 years agoFix --enable-dev-mode
Tilghman Lesher [Sun, 8 Apr 2007 14:12:00 +0000 (14:12 +0000)] 
Fix --enable-dev-mode

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

18 years agoOff by one error, resulting in a crash (Issue 9500)
Tilghman Lesher [Sun, 8 Apr 2007 13:45:24 +0000 (13:45 +0000)] 
Off by one error, resulting in a crash (Issue 9500)

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

18 years agoMerged revisions 60660 via svnmerge from
Tilghman Lesher [Sun, 8 Apr 2007 01:40:47 +0000 (01:40 +0000)] 
Merged revisions 60660 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r60660 | tilghman | 2007-04-07 20:39:25 -0500 (Sat, 07 Apr 2007) | 2 lines

Bug 9486 - memory leak when opening a filestream

........

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

18 years agoTo be able to achieve the things that we would like to achieve with the
Russell Bryant [Fri, 6 Apr 2007 20:58:43 +0000 (20:58 +0000)] 
To be able to achieve the things that we would like to achieve with the
Asterisk GUI project, we need a fully functional HTTP interface with access
to the Asterisk manager interface.  One of the things that was intended to be
a part of this system, but was never actually implemented, was the ability for
the GUI to be able to upload files to Asterisk.  So, this commit adds this in
the most minimally invasive way that we could come up with.

A lot of work on minimime was done by Steve Murphy.  He fixed a lot of bugs in
the parser, and updated it to be thread-safe.  The ability to check
permissions of active manager sessions was added by Dwayne Hubbard.  Then,
hacking this all together and do doing the modifications necessary to the HTTP
interface was done by me.

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

18 years agoclarified a sentence in the format_wav section
Dwayne M. Hubbard [Fri, 6 Apr 2007 20:32:49 +0000 (20:32 +0000)] 
clarified a sentence in the format_wav section

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

18 years agoupdated UPGRADE.txt with format_wav GAIN change and plan to remove GAIN code from...
Dwayne M. Hubbard [Fri, 6 Apr 2007 19:58:33 +0000 (19:58 +0000)] 
updated UPGRADE.txt with format_wav GAIN change and plan to remove GAIN code from trunk

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

18 years agoWhen a station picks up a trunk that was on hold, make the hints reflect that
Russell Bryant [Fri, 6 Apr 2007 19:50:52 +0000 (19:50 +0000)] 
When a station picks up a trunk that was on hold, make the hints reflect that
nobody has the trunk on hold anymore.

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

18 years agoFix a few problems with SLA. (issue #9459, reported by francesco_r, fixed by me)
Russell Bryant [Fri, 6 Apr 2007 18:58:46 +0000 (18:58 +0000)] 
Fix a few problems with SLA.  (issue #9459, reported by francesco_r, fixed by me)

* The original behavior was that if one station put a call on hold, another one
  picked it up, and then hung up, the code would still consider the call on
  hold by the first station, so the trunk would not be hung up.  However, to
  better comply with what most people seem to expect it to behave, it will now
  hang up the trunk.

* Fix a problem with "barge=no".  This was only intended to prevent people from
  joining calls that are in progress.  However, it also prevented other people
  from picking up a call that was on hold.  This has been fixed.

* When there are no active stations on a trunk and it is on hold, the code now
  indicates the HOLD and UNHOLD conditions to the trunk channel.  This allows
  music on hold to be played to the trunk when it is on hold.

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

18 years agoMake sure we check the faxdetect option before doing fax processing
Matthew Fredrickson [Fri, 6 Apr 2007 18:21:52 +0000 (18:21 +0000)] 
Make sure we check the faxdetect option before doing fax processing

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

18 years agoMerged revisions 60456 via svnmerge from
Matthew Fredrickson [Fri, 6 Apr 2007 17:32:31 +0000 (17:32 +0000)] 
Merged revisions 60456 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r60456 | mattf | 2007-04-06 12:03:15 -0500 (Fri, 06 Apr 2007) | 2 lines

There should only be one code path for doing DTMF conditionals on channels.  This fixes it.

........

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

18 years agoMerged revisions 60398 via svnmerge from
Kevin P. Fleming [Fri, 6 Apr 2007 14:49:51 +0000 (14:49 +0000)] 
Merged revisions 60398 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r60398 | kpfleming | 2007-04-06 09:41:37 -0500 (Fri, 06 Apr 2007) | 2 lines

remove undocumented 'cardsmode' parameter and stop searching for transcoders during reload()

........

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

18 years agoAdd support for returning different types of results (ie: NBest).
Joshua Colp [Fri, 6 Apr 2007 01:14:00 +0000 (01:14 +0000)] 
Add support for returning different types of results (ie: NBest).

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

18 years agomodified default GAIN for issue 5823, thanks jrwalliker
Dwayne M. Hubbard [Thu, 5 Apr 2007 22:58:01 +0000 (22:58 +0000)] 
modified default GAIN for issue 5823, thanks jrwalliker

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

18 years agoAdded some clarification to the example configs for CDRs, on how to select a backend...
Steve Murphy [Thu, 5 Apr 2007 22:35:11 +0000 (22:35 +0000)] 
Added some clarification to the example configs for CDRs, on how to select a backend. Also, made cdr-csv the default if you 'make samples', and no other changes.

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