asterisk/asterisk.git
12 years agoupdate the dump of application docs
Russell Bryant [Tue, 12 Jun 2007 16:03:42 +0000 (16:03 +0000)]
update the dump of application docs

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

12 years agoCompletely remove all of the code related to jumping to priority n + 101. yay!
Russell Bryant [Tue, 12 Jun 2007 15:58:28 +0000 (15:58 +0000)]
Completely remove all of the code related to jumping to priority n + 101.  yay!
(issue #9926, caio1982)

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

12 years agoMerged revisions 68922 via svnmerge from
Joshua Colp [Tue, 12 Jun 2007 14:26:12 +0000 (14:26 +0000)]
Merged revisions 68922 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r68922 | file | 2007-06-12 10:23:11 -0400 (Tue, 12 Jun 2007) | 10 lines

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

........
r68921 | file | 2007-06-12 10:18:57 -0400 (Tue, 12 Jun 2007) | 2 lines

Bring RTP back to Asterisk at the end of a native bridge no matter what.

........

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

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

12 years agoEven more minor code cleanup!
Joshua Colp [Tue, 12 Jun 2007 14:16:37 +0000 (14:16 +0000)]
Even more minor code cleanup!

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

12 years agoMinor code cleanup.
Joshua Colp [Tue, 12 Jun 2007 13:58:13 +0000 (13:58 +0000)]
Minor code cleanup.

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

12 years agoRemove old stuff from the AgentCallbackLogin days and only autocomplete agents in...
Joshua Colp [Tue, 12 Jun 2007 13:34:57 +0000 (13:34 +0000)]
Remove old stuff from the AgentCallbackLogin days and only autocomplete agents in the agent logoff CLI command that are logged in. (issue #9952 reported by eliel)

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

12 years agocorrected CLI 'core show codecs' syntax for issue 9945, thanks eserra.
Dwayne M. Hubbard [Mon, 11 Jun 2007 22:31:51 +0000 (22:31 +0000)]
corrected CLI 'core show codecs' syntax for issue 9945, thanks eserra.

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

12 years agoIssue 8971 - Allow DISA input to be ended with a '#'.
Tilghman Lesher [Mon, 11 Jun 2007 22:21:28 +0000 (22:21 +0000)]
Issue 8971 - Allow DISA input to be ended with a '#'.

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

12 years agoChange displayconnects option in manager.conf to be per-user.
Jason Parker [Mon, 11 Jun 2007 22:07:50 +0000 (22:07 +0000)]
Change displayconnects option in manager.conf to be per-user.

Issue 9932, patch by eliel

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

12 years agoMerged revisions 68814 via svnmerge from
Jason Parker [Mon, 11 Jun 2007 21:20:59 +0000 (21:20 +0000)]
Merged revisions 68814 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r68814 | qwell | 2007-06-11 16:20:15 -0500 (Mon, 11 Jun 2007) | 2 lines

Solaris 10 sometimes (?) needs this include in order to have NULL defined.

........

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

12 years agoMerged revisions 68781 via svnmerge from
Tilghman Lesher [Mon, 11 Jun 2007 20:51:43 +0000 (20:51 +0000)]
Merged revisions 68781 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r68781 | tilghman | 2007-06-11 15:45:53 -0500 (Mon, 11 Jun 2007) | 2 lines

Issue 9947 - fn2 was unused / incorrectly used

........

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

12 years agoMerged revisions 68733 via svnmerge from
Christian Richter [Mon, 11 Jun 2007 17:05:48 +0000 (17:05 +0000)]
Merged revisions 68733 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r68733 | crichter | 2007-06-11 18:57:59 +0200 (Mo, 11 Jun 2007) | 9 lines

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

........
r68732 | crichter | 2007-06-11 18:49:00 +0200 (Mo, 11 Jun 2007) | 1 line

added check for NULL Pointer when calling misdn_new. Asterisk does not allow us to create channels anymore when stop gracefully is used :). also modified the restart_indicator to 0
........

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

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

12 years agoChange channel list to read/write list... I'm crazy.
Joshua Colp [Mon, 11 Jun 2007 14:41:39 +0000 (14:41 +0000)]
Change channel list to read/write list... I'm crazy.

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

12 years agoMerged revisions 68683 via svnmerge from
Joshua Colp [Mon, 11 Jun 2007 14:35:02 +0000 (14:35 +0000)]
Merged revisions 68683 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r68683 | file | 2007-06-11 10:33:12 -0400 (Mon, 11 Jun 2007) | 10 lines

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

........
r68682 | file | 2007-06-11 10:29:58 -0400 (Mon, 11 Jun 2007) | 2 lines

Improve deadlock handling of the channel list. (issue #8376 reported by one47)

........

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

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

12 years agoAdd username completion for manager show user CLI command. (issue #9929 reported...
Joshua Colp [Mon, 11 Jun 2007 11:59:53 +0000 (11:59 +0000)]
Add username completion for manager show user CLI command. (issue #9929 reported by eliel)

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

12 years agoUpdate documentation for proper CLI commands. (issue #9936 reported by eserra)
Joshua Colp [Mon, 11 Jun 2007 11:49:48 +0000 (11:49 +0000)]
Update documentation for proper CLI commands. (issue #9936 reported by eserra)

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

12 years agoMerged revisions 68644 via svnmerge from
Christian Richter [Mon, 11 Jun 2007 11:40:21 +0000 (11:40 +0000)]
Merged revisions 68644 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r68644 | crichter | 2007-06-11 12:29:18 +0200 (Mo, 11 Jun 2007) | 9 lines

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

........
r68631 | crichter | 2007-06-11 11:18:01 +0200 (Mo, 11 Jun 2007) | 1 line

fixed problem that the dummybc chanels had no lock, checking for the lock now. Also fixed the channel restart stuff, we can now specify and restart particular channels too.
........

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

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

12 years agoMerged revisions 68595 via svnmerge from
Tilghman Lesher [Mon, 11 Jun 2007 04:28:08 +0000 (04:28 +0000)]
Merged revisions 68595 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r68595 | tilghman | 2007-06-10 23:21:30 -0500 (Sun, 10 Jun 2007) | 2 lines

"dialplan save" produced garbage in the config file

........

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

12 years agoFix compile errors in chan_misdn.c
Jason Parker [Sat, 9 Jun 2007 01:06:40 +0000 (01:06 +0000)]
Fix compile errors in chan_misdn.c

Reported by d1mas in #asterisk-bugs on IRC.

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

12 years agoMerged revisions 68527 via svnmerge from
Russell Bryant [Fri, 8 Jun 2007 22:23:49 +0000 (22:23 +0000)]
Merged revisions 68527 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r68527 | russell | 2007-06-08 17:23:22 -0500 (Fri, 08 Jun 2007) | 12 lines

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

........
r68526 | russell | 2007-06-08 17:22:36 -0500 (Fri, 08 Jun 2007) | 4 lines

Don't automatically hang up after running Dictate so that callers can exit
cleanly using '#'
(closes issue #9577, patch from Thomas Andrews)

........

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

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

12 years agoAdd support for retrieving the number of channels that are currently bridged
Russell Bryant [Fri, 8 Jun 2007 21:31:33 +0000 (21:31 +0000)]
Add support for retrieving the number of channels that are currently bridged
via SNMP.
(closes issue #9637, initial patch from jeffg, modified by me)

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

12 years agoAdd an option for ControlPlayback to be able to start at an offset from
Russell Bryant [Fri, 8 Jun 2007 21:02:46 +0000 (21:02 +0000)]
Add an option for ControlPlayback to be able to start at an offset from
the beginning of the file.  Also, add a channel variable that indicates
the location in the file where the Playback was stopped.
(closes issue #7655, patch from sharkey)

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

12 years agoAdd channel variable manager event
Russell Bryant [Fri, 8 Jun 2007 16:14:06 +0000 (16:14 +0000)]
Add channel variable manager event
(issue #7291, patch from tonyh and jontow)

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

12 years agoMerged revisions 68450 via svnmerge from
Kevin P. Fleming [Fri, 8 Jun 2007 16:03:01 +0000 (16:03 +0000)]
Merged revisions 68450 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r68450 | kpfleming | 2007-06-08 10:52:47 -0500 (Fri, 08 Jun 2007) | 2 lines

actually remember the type/subclass of full frames that are in process

........

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

12 years agoFix incorrect logic for param count.
Jason Parker [Fri, 8 Jun 2007 15:51:53 +0000 (15:51 +0000)]
Fix incorrect logic for param count.

Issue 9918.

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

12 years agoMinor formatting change to test changes to mantis auto-closing issues
Russell Bryant [Fri, 8 Jun 2007 15:32:46 +0000 (15:32 +0000)]
Minor formatting change to test changes to mantis auto-closing issues
(closes issue #6000)

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

12 years agoMerged revisions 68401 via svnmerge from
Joshua Colp [Fri, 8 Jun 2007 00:18:58 +0000 (00:18 +0000)]
Merged revisions 68401 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r68401 | file | 2007-06-07 20:17:04 -0400 (Thu, 07 Jun 2007) | 10 lines

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

........
r68397 | file | 2007-06-07 20:15:33 -0400 (Thu, 07 Jun 2007) | 2 lines

Don't call ast_waitstream_full when the control file descriptor and audio file descriptor are not set, simply call ast_waitstream! (issue #8530 reported by rickead2000)

........

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

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

12 years agoMerged revisions 68370 via svnmerge from
Joshua Colp [Fri, 8 Jun 2007 00:03:49 +0000 (00:03 +0000)]
Merged revisions 68370 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r68370 | file | 2007-06-07 20:02:34 -0400 (Thu, 07 Jun 2007) | 10 lines

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

........
r68368 | file | 2007-06-07 19:59:04 -0400 (Thu, 07 Jun 2007) | 2 lines

Do a DNS lookup immediately upon calling the dnsmgr function, don't wait until a refresh happens. (issue #9097 reported by plack)

........

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

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

12 years agoMerged revisions 68354 via svnmerge from
Russell Bryant [Thu, 7 Jun 2007 23:17:01 +0000 (23:17 +0000)]
Merged revisions 68354 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r68354 | russell | 2007-06-07 18:14:45 -0500 (Thu, 07 Jun 2007) | 11 lines

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

........
r68351 | russell | 2007-06-07 18:13:33 -0500 (Thu, 07 Jun 2007) | 3 lines

Fix a problem where saying a character wouldn't properly break out when the caller pressed '#'
(issue #8113, reported by patbaker82, patch from jamesgolovich (hey, long time no see!) and patbaker82)

........

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

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

12 years agoFix a bunch of doxygen errors and document more things
Russell Bryant [Thu, 7 Jun 2007 23:07:25 +0000 (23:07 +0000)]
Fix a bunch of doxygen errors and document more things
(issue #9842, snuffy)

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

12 years agoMerged revisions 68326 via svnmerge from
Jason Parker [Thu, 7 Jun 2007 23:00:44 +0000 (23:00 +0000)]
Merged revisions 68326 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r68326 | qwell | 2007-06-07 18:00:01 -0500 (Thu, 07 Jun 2007) | 5 lines

Fix incorrect French syntax of "old messages".
Request for feedback was sent to asterisk-dev mailing list, with little response.

Issue 9118, patch by junky.

........

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

12 years agoFix a couple of places that got missed in the conversion to using the new API
Russell Bryant [Thu, 7 Jun 2007 22:38:59 +0000 (22:38 +0000)]
Fix a couple of places that got missed in the conversion to using the new API
call for creating detached threads.
(issue #9915, reported by elguro, fixed by me)

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

12 years agoMerged revisions 68313 via svnmerge from
Kevin P. Fleming [Thu, 7 Jun 2007 22:18:38 +0000 (22:18 +0000)]
Merged revisions 68313 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r68313 | kpfleming | 2007-06-07 17:14:35 -0500 (Thu, 07 Jun 2007) | 6 lines

some improvements to the IAX2 full frame dropping logic recently added:

- use inaddrcmp(), since we have it
- output the type of frame and subclass being dropped, and the type/subclass that is already being processed (which caused the drop)

........

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

12 years agoDoxygenify a lot of the functions in res_jabber
Russell Bryant [Thu, 7 Jun 2007 21:22:25 +0000 (21:22 +0000)]
Doxygenify a lot of the functions in res_jabber
(issue #9886, snuffy)

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

12 years agoMerged revisions 68280 via svnmerge from
Russell Bryant [Thu, 7 Jun 2007 21:17:52 +0000 (21:17 +0000)]
Merged revisions 68280 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r68280 | russell | 2007-06-07 16:16:07 -0500 (Thu, 07 Jun 2007) | 4 lines

Fix loading persistent queue members when using realtime configuration for queues.
Also, remove an unneeded leading slash for the astdb family.
(issue #9911, patch by atis)

........

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

12 years agoMerged revisions 68249 via svnmerge from
Jason Parker [Thu, 7 Jun 2007 20:25:56 +0000 (20:25 +0000)]
Merged revisions 68249 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r68249 | qwell | 2007-06-07 15:25:18 -0500 (Thu, 07 Jun 2007) | 4 lines

Fix an issue with newer phones which require packets be padded out to the correct length.

Issue 9887, patch by DEA.

........

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

12 years agoMerged revisions 68211 via svnmerge from
Jason Parker [Thu, 7 Jun 2007 20:10:47 +0000 (20:10 +0000)]
Merged revisions 68211 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r68211 | qwell | 2007-06-07 15:06:00 -0500 (Thu, 07 Jun 2007) | 12 lines

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

........
r68204 | qwell | 2007-06-07 15:02:50 -0500 (Thu, 07 Jun 2007) | 4 lines

Don't try to save voicemail greetings unless the user presses '1' to accept/save.

Issue 9904, patch by me.

........

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

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

12 years agoAdding Philippe to CREDITS for hard work on detecting bugs in our jabber/jingle integ...
Olle Johansson [Thu, 7 Jun 2007 19:51:25 +0000 (19:51 +0000)]
Adding Philippe to CREDITS for hard work on detecting bugs in our jabber/jingle integration

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

12 years agoMerged revisions 68198 via svnmerge from
Mark Michelson [Thu, 7 Jun 2007 19:50:29 +0000 (19:50 +0000)]
Merged revisions 68198 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r68198 | mmichelson | 2007-06-07 14:47:42 -0500 (Thu, 07 Jun 2007) | 5 lines

Submitting a fix for Issue 8016. Added a check to make sure that greetings get stored properly.
(Issue 8016, reported by edhorton, patched by alamantia with modification by me. Thanks to Jason Parker
for the advice on this).

........

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

12 years agoMerged revisions 68196 via svnmerge from
Olle Johansson [Thu, 7 Jun 2007 19:49:15 +0000 (19:49 +0000)]
Merged revisions 68196 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r68196 | oej | 2007-06-07 21:46:10 +0200 (Thu, 07 Jun 2007) | 2 lines

Disable chan_features by default in menuselect

........

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

12 years ago- Doxygen updates
Olle Johansson [Thu, 7 Jun 2007 19:45:32 +0000 (19:45 +0000)]
- Doxygen updates
- Adding docs on flags to be able to clean up a bit

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

12 years agoMerged revisions 68192 via svnmerge from
Russell Bryant [Thu, 7 Jun 2007 19:31:05 +0000 (19:31 +0000)]
Merged revisions 68192 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r68192 | russell | 2007-06-07 14:30:30 -0500 (Thu, 07 Jun 2007) | 3 lines

Include stdarg.h for build issues on Solaris
(issue #9381)

........

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

12 years agoMerged revisions 68157 via svnmerge from
Joshua Colp [Thu, 7 Jun 2007 18:41:17 +0000 (18:41 +0000)]
Merged revisions 68157 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r68157 | file | 2007-06-07 14:39:52 -0400 (Thu, 07 Jun 2007) | 2 lines

Fix logic when doing a name based channel search for a structure when you want to start from a specific point in the channel list. (issue #9324 reported by slavon)

........

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

12 years agoAEL in trunk now uses GOSUB so we have to update the queues with callback members...
Joshua Colp [Thu, 7 Jun 2007 17:52:41 +0000 (17:52 +0000)]
AEL in trunk now uses GOSUB so we have to update the queues with callback members example. (issue #9813 reported by Mike Anikienko)

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

12 years agoMinor formatting change ... testing mantis stuff to see if we're done
Russell Bryant [Thu, 7 Jun 2007 15:48:14 +0000 (15:48 +0000)]
Minor formatting change ... testing mantis stuff to see if we're done
(issue #9790)
(closes issue #9816)

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

12 years agoMerged revisions 68071 via svnmerge from
Joshua Colp [Thu, 7 Jun 2007 14:23:21 +0000 (14:23 +0000)]
Merged revisions 68071 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r68071 | file | 2007-06-07 10:21:59 -0400 (Thu, 07 Jun 2007) | 10 lines

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

........
r68070 | file | 2007-06-07 10:19:40 -0400 (Thu, 07 Jun 2007) | 2 lines

Allow the 'g' option to work if used with the 'S' option. (issue #9888 reported by gasparz)

........

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

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

12 years agoMerged revisions 68030 via svnmerge from
Olle Johansson [Thu, 7 Jun 2007 10:06:32 +0000 (10:06 +0000)]
Merged revisions 68030 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r68030 | oej | 2007-06-07 12:00:17 +0200 (Thu, 07 Jun 2007) | 2 lines

Adding a few Todo's to res_jabber so we don't forget.

........

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

12 years agoMerged revisions 68028 via svnmerge from
Olle Johansson [Thu, 7 Jun 2007 10:00:37 +0000 (10:00 +0000)]
Merged revisions 68028 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r68028 | oej | 2007-06-07 11:55:13 +0200 (Thu, 07 Jun 2007) | 4 lines

Ok, we found out that this is not about if you have any *active* clients using TLS, but
if you have initialized TLS at all during the lifetime of the module. So if you reload
to disable TLS, it won't help.

........

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

12 years agoMerged revisions 68027 via svnmerge from
Olle Johansson [Thu, 7 Jun 2007 09:57:52 +0000 (09:57 +0000)]
Merged revisions 68027 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r68027 | oej | 2007-06-07 11:42:26 +0200 (Thu, 07 Jun 2007) | 8 lines

If you have a jabber client that uses TLS, refuse unload. Bad fix, but will prevent
crashes while we are trying to find a workaround.

Iksemel development seems to have stalled and we might have to stop using the
TCP/TLS connections in that library and use our own, which would scale better
from a poll/select perspective I guess. It would also make it easier to migrate
to OpenSSL and stop Asterisk from depending on both OpenSSL and GnuTLS.

........

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

12 years agoMerged revisions 67993 via svnmerge from
Olle Johansson [Thu, 7 Jun 2007 09:21:29 +0000 (09:21 +0000)]
Merged revisions 67993 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67993 | oej | 2007-06-07 11:00:44 +0200 (Thu, 07 Jun 2007) | 6 lines

Issue #9738 - Make sure we can unload res_jabber. Patch by phsultan - thanks!

Due to a bug in the iksemel library, this will not work if you are using GTLS
in the connection. That's being investigated. If you figure out a way to handle
that without us having to patch iksemel, let us know in the bug report. Thanks.

........

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

12 years agoSimplification of res_jabber code (done at Inria, Paris with Philippe)
Olle Johansson [Thu, 7 Jun 2007 08:45:19 +0000 (08:45 +0000)]
Simplification of res_jabber code (done at Inria, Paris with Philippe)

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

12 years agoReverting part of #67864 to be able to compile agi/eagi-test that relies on this...
Olle Johansson [Thu, 7 Jun 2007 08:43:59 +0000 (08:43 +0000)]
Reverting part of #67864 to be able to compile agi/eagi-test that relies on this without having
ast_log and other asterisk api functions available - I could not compile on OS/X without reverting
this.

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

12 years agoMerged revisions 67941 via svnmerge from
Joshua Colp [Thu, 7 Jun 2007 00:12:21 +0000 (00:12 +0000)]
Merged revisions 67941 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r67941 | file | 2007-06-06 20:10:48 -0400 (Wed, 06 Jun 2007) | 10 lines

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

........
r67938 | file | 2007-06-06 20:09:13 -0400 (Wed, 06 Jun 2007) | 2 lines

Only notify the devicestate system of a peer state change when the peer is built from the config file. (issue #9900 reported by arkadia)

........

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

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

12 years agoMerged revisions 67924 via svnmerge from
Joshua Colp [Wed, 6 Jun 2007 23:41:37 +0000 (23:41 +0000)]
Merged revisions 67924 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67924 | file | 2007-06-06 19:38:15 -0400 (Wed, 06 Jun 2007) | 2 lines

Properly handle cases where a stream can't be written to. (issue #9757 reported by junky)

........

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

12 years agoAllow overlapdialing directions to be configurable. Bug #8554
Matthew Fredrickson [Wed, 6 Jun 2007 23:12:58 +0000 (23:12 +0000)]
Allow overlapdialing directions to be configurable.  Bug #8554

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

12 years agoadded CLI 'iax2 unregister <peername>' for issue 9812, thanks eliel
Dwayne M. Hubbard [Wed, 6 Jun 2007 22:35:35 +0000 (22:35 +0000)]
added CLI 'iax2 unregister <peername>' for issue 9812, thanks eliel

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

12 years agoRemove our little joke that was making fun of email disclaimers which nobody
Russell Bryant [Wed, 6 Jun 2007 22:27:18 +0000 (22:27 +0000)]
Remove our little joke that was making fun of email disclaimers which nobody
else seemed to think was very funny.  Oh well ... :)

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

12 years agoMerged revisions 67872 via svnmerge from
Russell Bryant [Wed, 6 Jun 2007 22:09:58 +0000 (22:09 +0000)]
Merged revisions 67872 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67872 | russell | 2007-06-06 17:08:02 -0500 (Wed, 06 Jun 2007) | 6 lines

Disable reload functionality in res_snmp.  It is not possible to initialize the
snmp library more than once without completely unloading the module and loading
it again.
(issue #9571, reported by hristo, additional helpful debug information from festr,
 patch from me)

........

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

12 years agoIssue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines...
Tilghman Lesher [Wed, 6 Jun 2007 21:20:11 +0000 (21:20 +0000)]
Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes

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

12 years agoMerged revisions 67862 via svnmerge from
Russell Bryant [Wed, 6 Jun 2007 21:16:18 +0000 (21:16 +0000)]
Merged revisions 67862 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67862 | russell | 2007-06-06 16:14:46 -0500 (Wed, 06 Jun 2007) | 4 lines

Fix a crash when doing call pickups with SIP phones.  The code unlocked the
channel when it should not have.
(issue #9652, reported by corruptor, fixed by me)

........

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

12 years agoConstify the return values of ast_parking_ext() and ast_pickup_ext()
Russell Bryant [Wed, 6 Jun 2007 21:08:07 +0000 (21:08 +0000)]
Constify the return values of ast_parking_ext() and ast_pickup_ext()

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

12 years agoMinor formatting change to test closing mantis issues through commit tags
Russell Bryant [Wed, 6 Jun 2007 20:35:05 +0000 (20:35 +0000)]
Minor formatting change to test closing mantis issues through commit tags
(closes issue #9828)

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

12 years agoMinor formatting change to test closing mantis issues through commit tags
Russell Bryant [Wed, 6 Jun 2007 20:21:31 +0000 (20:21 +0000)]
Minor formatting change to test closing mantis issues through commit tags
(closes issue #9828)

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

12 years agoPlease forgive this flood of tiny changes ... this will be cool when it works
Russell Bryant [Wed, 6 Jun 2007 20:03:45 +0000 (20:03 +0000)]
Please forgive this flood of tiny changes ... this will be cool when it works
how we want it to  :)   (testing mantis+svn)
(issue #9828)

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

12 years agoMerged revisions 67804 via svnmerge from
Mark Michelson [Wed, 6 Jun 2007 19:46:41 +0000 (19:46 +0000)]
Merged revisions 67804 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67804 | mmichelson | 2007-06-06 14:26:55 -0500 (Wed, 06 Jun 2007) | 10 lines

Fix for Issue 9810. There was a segfault under a specific set of circumstances:

1. VoiceMailMain was configured in the dialplan with an extension as its argument
2. A message was left for this mailbox
3. Tried to call VoiceMailMain but hung up before entering password.

This was fixed by checking that a pointer was non-null prior to trying to dereference it.
(Issue 9810, reported by xmarksthespot, patched by Corydon76 with modifications by me).

........

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

12 years agominor formatting change ... testing mantis/svn
Russell Bryant [Wed, 6 Jun 2007 19:44:57 +0000 (19:44 +0000)]
minor formatting change ... testing mantis/svn
(issue #9828)

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

12 years agoDon't try to check the result of alloca ...
Russell Bryant [Wed, 6 Jun 2007 19:40:04 +0000 (19:40 +0000)]
Don't try to check the result of alloca ...
... testing mantis/svn stuff ...
(issue #9828)

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

12 years agoYet another minor change to test mantis/svn
Russell Bryant [Wed, 6 Jun 2007 19:35:49 +0000 (19:35 +0000)]
Yet another minor change to test mantis/svn
(issue #9828)

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

12 years agominor formatting change ... testing mantis/svn
Russell Bryant [Wed, 6 Jun 2007 19:21:13 +0000 (19:21 +0000)]
minor formatting change ... testing mantis/svn
(issue #9828)

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

12 years agominor formatting change ... testing mantis/svn
Russell Bryant [Wed, 6 Jun 2007 19:10:03 +0000 (19:10 +0000)]
minor formatting change ... testing mantis/svn
(issue #9828)

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

12 years agoFormatting change ... testing
Russell Bryant [Wed, 6 Jun 2007 19:03:14 +0000 (19:03 +0000)]
Formatting change ... testing
(issue #9828)

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

12 years agoFixing a crash wherein Asterisk would segfault when attempting to leave a voicemail...
Mark Michelson [Wed, 6 Jun 2007 19:02:33 +0000 (19:02 +0000)]
Fixing a crash wherein Asterisk would segfault when attempting to leave a voicemail when IMAP storage
was enabled. Though no bug was reported to the bugtracker, there was mention of this made as a note on
bug 9810 by edhorton.

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

12 years agoMake another formatting change ... testing mantis/svn stuff
Russell Bryant [Wed, 6 Jun 2007 19:00:40 +0000 (19:00 +0000)]
Make another formatting change ... testing mantis/svn stuff
(issue #9828)

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

12 years agoAnother minor formatting change ... testing mantis/svn
Russell Bryant [Wed, 6 Jun 2007 18:55:45 +0000 (18:55 +0000)]
Another minor formatting change ... testing mantis/svn
(issue #9828)

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

12 years agoMinor formatting change ... testing mantis/svn
Russell Bryant [Wed, 6 Jun 2007 18:51:42 +0000 (18:51 +0000)]
Minor formatting change ... testing mantis/svn
(issue #9828)

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

12 years agoMake another small tweak ... mantis/svn testing
Russell Bryant [Wed, 6 Jun 2007 18:47:58 +0000 (18:47 +0000)]
Make another small tweak ... mantis/svn testing
(issue #9828)

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

12 years agoAnother tiny formatting change for testing ...
Russell Bryant [Wed, 6 Jun 2007 18:43:12 +0000 (18:43 +0000)]
Another tiny formatting change for testing ...
(issue #9828)

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

12 years agoMore random formatting changes to test Mantis/SVN integration
Russell Bryant [Wed, 6 Jun 2007 17:10:52 +0000 (17:10 +0000)]
More random formatting changes to test Mantis/SVN integration
(issue #9828)

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

12 years agoMake a completely arbitrary formatting change to test out some Mantis/SVN
Russell Bryant [Wed, 6 Jun 2007 17:08:00 +0000 (17:08 +0000)]
Make a completely arbitrary formatting change to test out some Mantis/SVN
integration stuff.  (issue #9828)

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

12 years agoMerged revisions 67716 via svnmerge from
Russell Bryant [Wed, 6 Jun 2007 16:58:28 +0000 (16:58 +0000)]
Merged revisions 67716 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r67716 | russell | 2007-06-06 11:55:59 -0500 (Wed, 06 Jun 2007) | 13 lines

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

........
r67715 | russell | 2007-06-06 11:40:51 -0500 (Wed, 06 Jun 2007) | 5 lines

We have some bug reports showing crashes due to a double free of a channel.
Add a sanity check to ast_channel_free() to make sure we don't go on trying
to free a channel that wasn't found in the channel list.
(issue #8850, and others...)

........

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

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

12 years agoChange "show parkedcalls" to "parkedcalls show" and mark the previous command
Russell Bryant [Wed, 6 Jun 2007 14:45:29 +0000 (14:45 +0000)]
Change "show parkedcalls" to "parkedcalls show" and mark the previous command
as deprecated.  Also, convert the CLI command to the new style.
(issue #9861, patch from eliel)

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

12 years agoMerged revisions 67650 via svnmerge from
Joshua Colp [Wed, 6 Jun 2007 13:32:11 +0000 (13:32 +0000)]
Merged revisions 67650 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r67650 | file | 2007-06-06 09:30:25 -0400 (Wed, 06 Jun 2007) | 10 lines

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

........
r67649 | file | 2007-06-06 09:28:34 -0400 (Wed, 06 Jun 2007) | 2 lines

Reinvite the RTP back to the Asterisk machine when the timeout happens. (issue #9888 reported by gasparz)

........

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

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

12 years agoMerged revisions 67631 via svnmerge from
Joshua Colp [Wed, 6 Jun 2007 13:20:38 +0000 (13:20 +0000)]
Merged revisions 67631 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67631 | file | 2007-06-06 09:18:39 -0400 (Wed, 06 Jun 2007) | 2 lines

Fix plc_samples warning when registering a translator. (issue #9897 reported by xylome)

........

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

12 years agoMerged revisions 67626 via svnmerge from
Joshua Colp [Wed, 6 Jun 2007 13:17:26 +0000 (13:17 +0000)]
Merged revisions 67626 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67626 | file | 2007-06-06 09:16:34 -0400 (Wed, 06 Jun 2007) | 2 lines

Include macroexten while searching for a channel to pick up in case they are in a macro. (issue #9491 reported by jamesb63)

........

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

12 years agoMerged revisions 67597 via svnmerge from
Joshua Colp [Wed, 6 Jun 2007 12:36:15 +0000 (12:36 +0000)]
Merged revisions 67597 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67597 | file | 2007-06-06 08:34:06 -0400 (Wed, 06 Jun 2007) | 2 lines

Make the new "agi debug off" CLI command work. (issue #9890 reported by eliel)

........

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

12 years agoWhen SS7 is enabled add w/SS7 to the end. (issue #9893 reported by Mike Anikienko)
Joshua Colp [Wed, 6 Jun 2007 12:23:59 +0000 (12:23 +0000)]
When SS7 is enabled add w/SS7 to the end. (issue #9893 reported by Mike Anikienko)

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

12 years agoMerged revisions 67594 via svnmerge from
Joshua Colp [Wed, 6 Jun 2007 12:21:33 +0000 (12:21 +0000)]
Merged revisions 67594 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r67594 | file | 2007-06-06 08:20:27 -0400 (Wed, 06 Jun 2007) | 10 lines

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

........
r67593 | file | 2007-06-06 08:18:36 -0400 (Wed, 06 Jun 2007) | 2 lines

Revert channel name splitting fix for Zap. The moral of the story is don't use - in your user/peer names. (issue #9668 reported by stevedavies)

........

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

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

12 years agoMerged revisions 67558 via svnmerge from
Russell Bryant [Tue, 5 Jun 2007 23:02:11 +0000 (23:02 +0000)]
Merged revisions 67558 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67558 | russell | 2007-06-05 18:01:44 -0500 (Tue, 05 Jun 2007) | 5 lines

Fix some crashes related to the use of the "meetme" CLI command.  The code for
this command was not locking the conference list at all.
(issue #9351, reported by and patch submitted by Junk-Y, committed patch
 is different and by me)

........

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

12 years agoFound a bug where when "core set debug #" is used, the verbosity is read as the
Mark Michelson [Tue, 5 Jun 2007 22:59:36 +0000 (22:59 +0000)]
Found a bug where when "core set debug #" is used, the verbosity is read as the
old value instead of the old debug value, leading to an erroneous status message
after setting. This was purely a cosmetic issue and had no other underlying problems.

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

12 years agoMerged revisions 67526 via svnmerge from
Steve Murphy [Tue, 5 Jun 2007 22:04:22 +0000 (22:04 +0000)]
Merged revisions 67526 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67526 | murf | 2007-06-05 15:30:18 -0600 (Tue, 05 Jun 2007) | 1 line

this fixes bug 9883, wherein macros were not allowing the includes construct. fixed and tested, looks OK. Now includes can serve as an adjunct to catch.
........

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

12 years agoMerged revisions 67492 via svnmerge from
Russell Bryant [Tue, 5 Jun 2007 20:55:59 +0000 (20:55 +0000)]
Merged revisions 67492 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67492 | russell | 2007-06-05 15:53:28 -0500 (Tue, 05 Jun 2007) | 16 lines

This bug has been hanging over my head ever since I wrote this SLA code.
Every time I tried to go debug it by adding some debug output, the behavior
would change.  It turns out I wasn't crazy.  I had the following piece of code:

   if (remove)
      AST_LIST_REMOVE_CURRENT(...);

Well, AST_LIST_REMOVE_CURRENT was not wrapped in braces, so my conditional
statement didn't do much good at all.  It always ran at least all of the
macro minus the first statement, so I was seeing list entries magically
disappear when they weren't supposed to.

After many hours of debugging, I have come to this extremely irritating fix. :)

(issues #9581, #9497)

........

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

12 years agoMerged revisions 67424 via svnmerge from
Mark Michelson [Tue, 5 Jun 2007 20:16:19 +0000 (20:16 +0000)]
Merged revisions 67424 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67424 | mmichelson | 2007-06-05 13:32:50 -0500 (Tue, 05 Jun 2007) | 5 lines

Fix for bug number 9786, wherein voicemails saved to IMAP storage using extensions other than gsm were
unable to be played over the phone. (Issue 9786, reporter: xmarksthespot, Patched by xmarksthe spot with revisions by me,
reviewed by Russell Bryant).

........

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

12 years agoMerged revisions 67457 via svnmerge from
Russell Bryant [Tue, 5 Jun 2007 19:50:04 +0000 (19:50 +0000)]
Merged revisions 67457 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67457 | russell | 2007-06-05 14:48:02 -0500 (Tue, 05 Jun 2007) | 2 lines

Suppress a bunch of debug output unless option_debug is on

........

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

12 years agoMerged revisions 67420 via svnmerge from
Steve Murphy [Tue, 5 Jun 2007 18:23:53 +0000 (18:23 +0000)]
Merged revisions 67420 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67420 | murf | 2007-06-05 12:17:28 -0600 (Tue, 05 Jun 2007) | 1 line

Added code to automatically add a default case to switches that don't have one. In some cases, rather than fall thru, it results in a goto with -1 result, which terminates the extension; a sort of dialplan seqfault, sort of. This was required to fix bug reported in 9881
........

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

12 years agoMerged revisions 67421 via svnmerge from
Jason Parker [Tue, 5 Jun 2007 18:19:53 +0000 (18:19 +0000)]
Merged revisions 67421 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67421 | qwell | 2007-06-05 13:18:24 -0500 (Tue, 05 Jun 2007) | 4 lines

Correctly update date/time on devices throughout the life of the device, instead of just at registration.

Issue 9152, yet another patch by DEA.

........

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

12 years agoMake sure we default allowmultiplelogin to on/yes, per the default stated in the...
Jason Parker [Tue, 5 Jun 2007 17:47:37 +0000 (17:47 +0000)]
Make sure we default allowmultiplelogin to on/yes, per the default stated in the config.

Issue 9885, patch by eliel.

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

12 years agochanged #if DEBUG to #ifdef DEBUG to fix make failure when configured with --enable...
Dwayne M. Hubbard [Tue, 5 Jun 2007 17:24:46 +0000 (17:24 +0000)]
changed #if DEBUG to #ifdef DEBUG to fix make failure when configured with --enable-dev-mode

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

12 years agoImprove the way that the zaptel channel name is created by using the Asterisk
Russell Bryant [Tue, 5 Jun 2007 17:11:32 +0000 (17:11 +0000)]
Improve the way that the zaptel channel name is created by using the Asterisk
strings API and by only allocating space on the stack

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

12 years agoBlocked revisions 67372 via svnmerge
Russell Bryant [Tue, 5 Jun 2007 17:08:22 +0000 (17:08 +0000)]
Blocked revisions 67372 via svnmerge

........
r67372 | russell | 2007-06-05 12:07:30 -0500 (Tue, 05 Jun 2007) | 2 lines

Handle a failure in malloc() in ast_safe_string_alloc()

........

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

12 years agoMerged revisions 67360 via svnmerge from
Russell Bryant [Tue, 5 Jun 2007 16:58:09 +0000 (16:58 +0000)]
Merged revisions 67360 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67360 | russell | 2007-06-05 11:56:36 -0500 (Tue, 05 Jun 2007) | 5 lines

Fix a problem that showed itself by causing Zap channel names to be completely
bogus on my machine.  ast_safe_string_alloc() was broken.  It called
vsnprintf() on a va_args list twice without re-initializing it.  After the first
usage, va_end() and va_start() must be called again.

........

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