asterisk/asterisk.git
13 years agoCan't forget to remember what format is in use for writing.
Joshua Colp [Wed, 11 Jul 2007 16:10:03 +0000 (16:10 +0000)]
Can't forget to remember what format is in use for writing.

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

13 years agoChange the speech API to allow passing the format through to the engine.
Joshua Colp [Wed, 11 Jul 2007 16:03:31 +0000 (16:03 +0000)]
Change the speech API to allow passing the format through to the engine.

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

13 years agoChange header a bit to get rid of a doxygen parse error. (issue #10177 reported by...
Joshua Colp [Wed, 11 Jul 2007 14:38:01 +0000 (14:38 +0000)]
Change header a bit to get rid of a doxygen parse error. (issue #10177 reported by snuffy)

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

13 years agoMerged revisions 74515 via svnmerge from
Joshua Colp [Wed, 11 Jul 2007 14:10:38 +0000 (14:10 +0000)]
Merged revisions 74515 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r74515 | file | 2007-07-11 11:09:13 -0300 (Wed, 11 Jul 2007) | 2 lines

Only check if we need to do a SIGMA based tone generation if we have a card. (issue #10179 reported by mikowhy)

........

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

13 years agoMerged revisions 74476 via svnmerge from
Mark Michelson [Tue, 10 Jul 2007 23:34:06 +0000 (23:34 +0000)]
Merged revisions 74476 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r74476 | mmichelson | 2007-07-10 18:32:52 -0500 (Tue, 10 Jul 2007) | 5 lines

Forwarding a message with IMAP storage was storing the message in the sender's box instead of the forwarded mailbox.

(closes issue #10138, reported and patched by jaroth)

........

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

13 years agoMerged revisions 74428 via svnmerge from
Jason Parker [Tue, 10 Jul 2007 20:02:05 +0000 (20:02 +0000)]
Merged revisions 74428 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #10158)
................
r74428 | qwell | 2007-07-10 14:58:53 -0500 (Tue, 10 Jul 2007) | 14 lines

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

........
r74427 | qwell | 2007-07-10 14:57:20 -0500 (Tue, 10 Jul 2007) | 6 lines

Fix an issue where it was possible to have a service level of over 100%
Between the time recalc_holdtime and update_queue was called, it was possible that the call could have been hungup.
Move both additions to the same place, so this won't happen.

Issue 10158, initial patch by makoto, modified by me.

........

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

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

13 years agoMerged revisions 74388 via svnmerge from
Jason Parker [Tue, 10 Jul 2007 19:11:25 +0000 (19:11 +0000)]
Merged revisions 74388 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r74388 | qwell | 2007-07-10 14:10:36 -0500 (Tue, 10 Jul 2007) | 4 lines

Don't use #if to check if something is defined - use #ifdef instead.

Pointed out by kpfleming

........

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

13 years agoMerged revisions 74379 via svnmerge from
Jason Parker [Tue, 10 Jul 2007 19:07:25 +0000 (19:07 +0000)]
Merged revisions 74379 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #10169)
................
r74379 | qwell | 2007-07-10 14:06:24 -0500 (Tue, 10 Jul 2007) | 12 lines

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

........
r74376 | qwell | 2007-07-10 14:03:45 -0500 (Tue, 10 Jul 2007) | 4 lines

Fix an issue with wrapuptime not working when using AgentLogin.

Issue 10169, patch by makoto, with a minor mod by me to not re-break issue 9618

........

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

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

13 years agoMerged revisions 74374 via svnmerge from
Jason Parker [Tue, 10 Jul 2007 18:41:03 +0000 (18:41 +0000)]
Merged revisions 74374 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #10133)
................
r74374 | qwell | 2007-07-10 13:39:30 -0500 (Tue, 10 Jul 2007) | 13 lines

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

........
r74373 | qwell | 2007-07-10 13:37:23 -0500 (Tue, 10 Jul 2007) | 5 lines

Use res_ndestroy on systems that have it.  Otherwise, use res_nclose.
This prevents a memleak on NetBSD - and possibly others.

Issue 10133, patch by me, reported and tested by scw

........

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

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

13 years agoMerged revisions 74323 via svnmerge from
Russell Bryant [Tue, 10 Jul 2007 16:01:27 +0000 (16:01 +0000)]
Merged revisions 74323 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r74323 | russell | 2007-07-10 11:00:11 -0500 (Tue, 10 Jul 2007) | 1 line

fix an uninitialized variable
........

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

13 years agosvn revert != svn resolved
Jason Parker [Tue, 10 Jul 2007 15:41:26 +0000 (15:41 +0000)]
svn revert != svn resolved

Fix merged property...

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

13 years agoMerged revisions 74317 via svnmerge from
Jason Parker [Tue, 10 Jul 2007 15:39:39 +0000 (15:39 +0000)]
Merged revisions 74317 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(Closes issue #10170)
................
r74317 | qwell | 2007-07-10 10:38:32 -0500 (Tue, 10 Jul 2007) | 12 lines

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

........
r74316 | qwell | 2007-07-10 10:37:54 -0500 (Tue, 10 Jul 2007) | 4 lines

Fix a small typo in description in of Voicemail() application.

Issue 10170, patch by casper.

........

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

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

13 years agoMerged revisions 74314 via svnmerge from
Russell Bryant [Tue, 10 Jul 2007 15:32:21 +0000 (15:32 +0000)]
Merged revisions 74314 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r74314 | russell | 2007-07-10 10:31:41 -0500 (Tue, 10 Jul 2007) | 11 lines

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

........
r74313 | russell | 2007-07-10 10:30:20 -0500 (Tue, 10 Jul 2007) | 3 lines

Only use ESCAPE when LIKE is used.
(issue #10075, this part reported by jmls on IRC, patch by me)

........

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

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

13 years agoFix building that was broken by recent monitor.h changes. Thanks Russell for pointin...
Jason Parker [Tue, 10 Jul 2007 15:07:25 +0000 (15:07 +0000)]
Fix building that was broken by recent monitor.h changes.  Thanks Russell for pointing this out (and pointing out what I probably did to prevent gcc from fixing it - don't ctrl-C builds)

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

13 years agoMerged revisions 74265 via svnmerge from
Joshua Colp [Tue, 10 Jul 2007 14:51:09 +0000 (14:51 +0000)]
Merged revisions 74265 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r74265 | file | 2007-07-10 11:50:00 -0300 (Tue, 10 Jul 2007) | 10 lines

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

........
r74264 | file | 2007-07-10 11:48:00 -0300 (Tue, 10 Jul 2007) | 2 lines

Ensure the group information category exists before trying to do a string comparison with it. (issue #10171 reported by mlegas)

........

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

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

13 years agoBlocked revisions 74262 via svnmerge
Joshua Colp [Tue, 10 Jul 2007 14:09:01 +0000 (14:09 +0000)]
Blocked revisions 74262 via svnmerge

........
r74262 | file | 2007-07-10 11:07:13 -0300 (Tue, 10 Jul 2007) | 2 lines

Only spit out an inringing warning message when it is applicable. Since call limits are already toast in realtime let's not scare the user if they are using it. (issue #10166 reported by bcnit)

........

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

13 years agoMerged revisions 74211 via svnmerge from
Russell Bryant [Mon, 9 Jul 2007 21:32:53 +0000 (21:32 +0000)]
Merged revisions 74211 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r74211 | russell | 2007-07-09 16:31:30 -0500 (Mon, 09 Jul 2007) | 5 lines

Update the configure script to check for a required function that is not present
in the 1.2 version of libpri.  This will prevent the configure script from thinking
that it has compatible libpri support for Asterisk 1.4, when it actually does not
because the installed version is from 1.2.

........

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

13 years ago(closes issue #7596)
Jason Parker [Mon, 9 Jul 2007 20:58:22 +0000 (20:58 +0000)]
(closes issue #7596)
Reported by: julien23
Patches submitted by: julien23

Add the ability to disable recording the input or output streams in res_monitor.

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

13 years agoMerged revisions 74162 via svnmerge from
Russell Bryant [Mon, 9 Jul 2007 20:54:34 +0000 (20:54 +0000)]
Merged revisions 74162 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r74162 | russell | 2007-07-09 15:53:46 -0500 (Mon, 09 Jul 2007) | 9 lines

(closes issue #10123)
Reported by: blitzrage
Patches submitted by: juggie, qwell, me
Tested by: blitzrage

When trying to find a music on hold class to use, try all of the options,
instead of only the first one that is set.  Also, change the MusicOnHold
applications to not hang up on the channel when a class can not be found.

........

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

13 years agoMerged revisions 74159 via svnmerge from
Jason Parker [Mon, 9 Jul 2007 20:21:13 +0000 (20:21 +0000)]
Merged revisions 74159 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

Closes issue #9186
................
r74159 | qwell | 2007-07-09 15:19:28 -0500 (Mon, 09 Jul 2007) | 16 lines

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

........
r74158 | qwell | 2007-07-09 15:18:15 -0500 (Mon, 09 Jul 2007) | 8 lines

Several chan_zap options were not working on reload because they were arbitrarily
 disallowed when reloading some/most PRI options (such as signalling) was disallowed.

Options such as polarityonanswerdelay and answeronpolarityswitch can safely be changed on a reload.
This corrects that behavior.

Issue 9186, patch by tzafrir.

........

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

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

13 years agoremove an unused variable
Russell Bryant [Mon, 9 Jul 2007 18:58:09 +0000 (18:58 +0000)]
remove an unused variable

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

13 years agoMerged revisions 74122 via svnmerge from
Mark Michelson [Mon, 9 Jul 2007 18:43:05 +0000 (18:43 +0000)]
Merged revisions 74122 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r74122 | mmichelson | 2007-07-09 13:38:28 -0500 (Mon, 09 Jul 2007) | 3 lines

Forgot to get rid of an extraneous debug message.

........

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

13 years agoMerged revisions 74120 via svnmerge from
Mark Michelson [Mon, 9 Jul 2007 18:37:09 +0000 (18:37 +0000)]
Merged revisions 74120 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r74120 | mmichelson | 2007-07-09 13:32:50 -0500 (Mon, 09 Jul 2007) | 6 lines

The n option for Queue should make the queue exit immediately after failure to reach any members and should not
be dependent on the timeout value passed to Queue

(closes issue #10127, reported by bcnit, repaired by me)

........

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

13 years agoAdd Queue and DestinationChannel headers to the AgentCalled manager event
Russell Bryant [Mon, 9 Jul 2007 16:35:43 +0000 (16:35 +0000)]
Add Queue and DestinationChannel headers to the AgentCalled manager event
to be more like the rest of the events in this module.
(closes issue #10114, patch by kwakwaversal)

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

13 years agoMerged revisions 74082 via svnmerge from
Joshua Colp [Mon, 9 Jul 2007 15:34:54 +0000 (15:34 +0000)]
Merged revisions 74082 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r74082 | file | 2007-07-09 12:32:43 -0300 (Mon, 09 Jul 2007) | 2 lines

Only destroy the scheduler context if it was allocated. (issue #10124 reported by gzero)

........

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

13 years agoMerged revisions 74047 via svnmerge from
Mark Michelson [Mon, 9 Jul 2007 14:58:42 +0000 (14:58 +0000)]
Merged revisions 74047 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r74047 | mmichelson | 2007-07-09 09:57:41 -0500 (Mon, 09 Jul 2007) | 4 lines

Fixed a logic error in leave_voicemail. Pass the mailbox instead of the context to inbox_count when the context is "default."
(closes issue #10135, reported by yannj, repaired by me)

........

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

13 years agoMerged revisions 74045 via svnmerge from
Joshua Colp [Mon, 9 Jul 2007 14:50:04 +0000 (14:50 +0000)]
Merged revisions 74045 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r74045 | file | 2007-07-09 11:49:05 -0300 (Mon, 09 Jul 2007) | 2 lines

Few minor thread synchronization tweaks. (issue #10124 reported by gzero)

........

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

13 years agoMerged revisions 74043 via svnmerge from
Joshua Colp [Mon, 9 Jul 2007 14:38:19 +0000 (14:38 +0000)]
Merged revisions 74043 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r74043 | file | 2007-07-09 11:34:33 -0300 (Mon, 09 Jul 2007) | 2 lines

Use AC_CHECK_HEADER to check for ptlib/openh323 to allow for cross compiling. (issue #9675 reported by zandbelt)

........

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

13 years agoUpdate with new features
Olle Johansson [Mon, 9 Jul 2007 08:30:04 +0000 (08:30 +0000)]
Update with new features

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

13 years agoImplementation of a feature that will disable "missed calls" counters on SIP phones.
Olle Johansson [Mon, 9 Jul 2007 08:27:37 +0000 (08:27 +0000)]
Implementation of a feature that will disable "missed calls" counters on SIP phones.
If the call is answered by another phone, other phones won't display the call as "missed".
You can also add an option to the dial command so that you can have a "followme"
scenario and not count the calls as "missed" when you cancel the call.

Thanks to Ramon and Frank for feedback on this feature.

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

13 years agoMerged revisions 73985 via svnmerge from
Tilghman Lesher [Mon, 9 Jul 2007 04:09:16 +0000 (04:09 +0000)]
Merged revisions 73985 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r73985 | tilghman | 2007-07-08 23:03:20 -0500 (Sun, 08 Jul 2007) | 2 lines

Doxygen formatting fixes; fixes errors while 'make progdocs'.  (Closes issue #10104)

........

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

13 years agoMerged revisions 73980 via svnmerge from
Joshua Colp [Mon, 9 Jul 2007 03:14:34 +0000 (03:14 +0000)]
Merged revisions 73980 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r73980 | file | 2007-07-09 00:13:19 -0300 (Mon, 09 Jul 2007) | 2 lines

Give Agent channel names priority when doing CDR merging. (issue #10011 reported by krtorio)

........

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

13 years agoUse linkedlist macros for parking.
Joshua Colp [Mon, 9 Jul 2007 02:29:00 +0000 (02:29 +0000)]
Use linkedlist macros for parking.

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

13 years agoMake sure the idText variable is empty, and put it in the right place for the manager...
Joshua Colp [Mon, 9 Jul 2007 01:25:00 +0000 (01:25 +0000)]
Make sure the idText variable is empty, and put it in the right place for the manager ack packet. (issue #10152 reported by srt)

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

13 years agoMerged revisions 73930 via svnmerge from
Joshua Colp [Mon, 9 Jul 2007 01:17:28 +0000 (01:17 +0000)]
Merged revisions 73930 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r73930 | file | 2007-07-08 22:13:57 -0300 (Sun, 08 Jul 2007) | 2 lines

Add a few sanity checks when writing out the dialplan. (issue #10157 reported by dome)

........

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

13 years agoRestore EXP2 and LOG2 functions, by providing mathematical identify functions, when...
Tilghman Lesher [Sun, 8 Jul 2007 21:01:28 +0000 (21:01 +0000)]
Restore EXP2 and LOG2 functions, by providing mathematical identify functions, when the underlying C functions are not available.

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

13 years agoast_exists_extension() does not return an ast_device_state, so change this
Russell Bryant [Sun, 8 Jul 2007 13:22:30 +0000 (13:22 +0000)]
ast_exists_extension() does not return an ast_device_state, so change this
function to explicitly check for the int return value.  Also, make a few
other minor changes such as removing a variable.

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

13 years agoMerged revisions 73849 via svnmerge from
Olle Johansson [Sun, 8 Jul 2007 09:49:21 +0000 (09:49 +0000)]
Merged revisions 73849 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r73849 | oej | 2007-07-08 11:47:31 +0200 (Sun, 08 Jul 2007) | 2 lines

While tracking down a bug, I need some more history. Dumphistory is very useful, indeed.

........

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

13 years agoThese changes fix 10145 and 10150, a prob with BSD and exp2/log2 not existing, as...
Steve Murphy [Sat, 7 Jul 2007 16:44:57 +0000 (16:44 +0000)]
These changes fix 10145 and 10150, a prob with BSD and exp2/log2 not existing, as well as the bootstrap needing a small upgrade for openbsd. Many thanks to mvanbaak

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

13 years agoMerged revisions 73769 via svnmerge from
Russell Bryant [Fri, 6 Jul 2007 23:05:24 +0000 (23:05 +0000)]
Merged revisions 73769 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r73769 | russell | 2007-07-06 18:02:58 -0500 (Fri, 06 Jul 2007) | 12 lines

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

........
r73768 | russell | 2007-07-06 18:01:22 -0500 (Fri, 06 Jul 2007) | 4 lines

If a sip_pvt struct has already registered an extension state callback,
remove the old one before adding a new one.  If this isn't done, Asterisk
will crash.  (issue #10120)

........

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

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

13 years agoMerged revisions 73727 via svnmerge from
Mark Michelson [Fri, 6 Jul 2007 16:39:11 +0000 (16:39 +0000)]
Merged revisions 73727 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r73727 | mmichelson | 2007-07-06 11:36:17 -0500 (Fri, 06 Jul 2007) | 8 lines

Fixing a rare case which causes voicemail to crash when compiled with IMAP storage.
inboxcount has the possibility of finding an "interactive" vm_state when no persistent "non-interactive"
vm_state exists for that mailbox. If this should happen when someone attempts to leave a message, it results in
a crash. This patch, along with my commit in revision 72670 fix issue 10053, reported by jaroth.

closes issue #10053

........

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

13 years agoeliminate another batch of compiler warnings (and a bug, although in code we aren...
Kevin P. Fleming [Fri, 6 Jul 2007 16:30:32 +0000 (16:30 +0000)]
eliminate another batch of compiler warnings (and a bug, although in code we aren't using)... note that this required manually editing the lexer output code (generated by flex), so some of them will come back if the lexer is rebuilt

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

13 years agoMerged revisions 73696 via svnmerge from
Russell Bryant [Fri, 6 Jul 2007 16:14:39 +0000 (16:14 +0000)]
Merged revisions 73696 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r73696 | russell | 2007-07-06 11:12:51 -0500 (Fri, 06 Jul 2007) | 16 lines

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

........
r73684 | russell | 2007-07-06 11:06:27 -0500 (Fri, 06 Jul 2007) | 8 lines

(closes issue #10075)
Reported by: apsaras
Patches submitted by: Corydon76
Tested by: apsaras

Fix a problem with MSSQL 2005 by explicitly stating that '\' is being used as
an escape character.

........

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

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

13 years agoMerged revisions 73679 via svnmerge from
Russell Bryant [Fri, 6 Jul 2007 16:00:03 +0000 (16:00 +0000)]
Merged revisions 73679 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r73679 | russell | 2007-07-06 10:57:25 -0500 (Fri, 06 Jul 2007) | 15 lines

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

........
r73678 | russell | 2007-07-06 10:55:41 -0500 (Fri, 06 Jul 2007) | 7 lines

(closes issue #10125)
Reported by: makoto
Patches submitted by: makoto

This fixes a crash in chan_sip that happens when the bindaddr setting is not
valid on Asterisk startup, gets fixed, and then a reload gets issued.

........

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

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

13 years agoit really seems pointless to run gentone to create these header files every time...
Kevin P. Fleming [Fri, 6 Jul 2007 15:47:16 +0000 (15:47 +0000)]
it really seems pointless to run gentone to create these header files every time we build Asterisk...

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

13 years agoMerged revisions 73675 via svnmerge from
Mark Michelson [Fri, 6 Jul 2007 15:28:28 +0000 (15:28 +0000)]
Merged revisions 73675 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r73675 | mmichelson | 2007-07-06 10:27:28 -0500 (Fri, 06 Jul 2007) | 13 lines

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

........
r73674 | mmichelson | 2007-07-06 10:26:40 -0500 (Fri, 06 Jul 2007) | 5 lines

Fixed a bug wherein agents get stuck busy. (issue 9618, reported by jiddings, patched by moi)

closes issue #9618

........

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

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

13 years agoRedistribute a lot of the items that were in the Misc. section
Russell Bryant [Fri, 6 Jul 2007 03:48:33 +0000 (03:48 +0000)]
Redistribute a lot of the items that were in the Misc. section

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

13 years agonote TLS support for manager and HTTP in CHANGES
Russell Bryant [Fri, 6 Jul 2007 03:40:57 +0000 (03:40 +0000)]
note TLS support for manager and HTTP in CHANGES

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

13 years agoPhilippe was listed twice
Russell Bryant [Fri, 6 Jul 2007 03:38:20 +0000 (03:38 +0000)]
Philippe was listed twice

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

13 years agoMerged revisions 73629 via svnmerge from
Russell Bryant [Fri, 6 Jul 2007 03:36:07 +0000 (03:36 +0000)]
Merged revisions 73629 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r73629 | russell | 2007-07-05 22:34:46 -0500 (Thu, 05 Jul 2007) | 1 line

fix a little spelling error
........

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

13 years agoMerged revisions 73598 via svnmerge from
Russell Bryant [Thu, 5 Jul 2007 23:59:50 +0000 (23:59 +0000)]
Merged revisions 73598 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r73598 | russell | 2007-07-05 18:59:22 -0500 (Thu, 05 Jul 2007) | 3 lines

Fix a crash in chan_sip.  Don't try to stop the monitor thread if it was never
started.  (closes issue #10124, reported by gzero, fixed by me)

........

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

13 years agoMerged revisions 73555 via svnmerge from
Russell Bryant [Thu, 5 Jul 2007 23:06:01 +0000 (23:06 +0000)]
Merged revisions 73555 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r73555 | russell | 2007-07-05 18:05:33 -0500 (Thu, 05 Jul 2007) | 3 lines

copy from the correct buffer when deferring a full frame
(related to issue #9937)

........

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

13 years agocomment out some code that is not used and does not have prototypes
Kevin P. Fleming [Thu, 5 Jul 2007 22:48:17 +0000 (22:48 +0000)]
comment out some code that is not used and does not have prototypes

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

13 years agoMerged revisions 73551 via svnmerge from
Russell Bryant [Thu, 5 Jul 2007 22:32:30 +0000 (22:32 +0000)]
Merged revisions 73551 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r73551 | russell | 2007-07-05 17:31:31 -0500 (Thu, 05 Jul 2007) | 6 lines

* Store the call number that a thread is processing without the full frame bit
  set to ease debugging
* When deferring a full frame for processing, stick it into the queue for the
  thread that is processing frames for that call, not the one that read the
  current frame and is about to go back into the idle list
(related to issue #9937)

........

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

13 years agoMerged revisions 73548 via svnmerge from
Kevin P. Fleming [Thu, 5 Jul 2007 22:29:37 +0000 (22:29 +0000)]
Merged revisions 73548 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r73548 | kpfleming | 2007-07-05 17:20:44 -0500 (Thu, 05 Jul 2007) | 10 lines

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

........
r73547 | kpfleming | 2007-07-05 17:11:51 -0500 (Thu, 05 Jul 2007) | 2 lines

we shouldn't allow G.723.1 endpoints to use VAD, just like we don't support it for G.729

........

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

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

13 years agoAdd the ability to play an announcement to queue caller just before bridging
Jason Parker [Thu, 5 Jul 2007 22:23:23 +0000 (22:23 +0000)]
Add the ability to play an announcement to queue caller just before bridging

Issue 7479, patch by tristan_mahe.

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

13 years agoresolve a compiler warning so i can build in dev mode
Russell Bryant [Thu, 5 Jul 2007 20:52:29 +0000 (20:52 +0000)]
resolve a compiler warning so i can build in dev mode

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

13 years agoMerged revisions 73512 via svnmerge from
Russell Bryant [Thu, 5 Jul 2007 20:51:08 +0000 (20:51 +0000)]
Merged revisions 73512 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r73512 | russell | 2007-07-05 15:50:08 -0500 (Thu, 05 Jul 2007) | 5 lines

Pass HOLD and UNHOLD frames to the other channel when they are returned from a
native bridge function.  This fixes a problem where when two zap channels are
natively bridged and one does a flash hook, the other channel did not receive
music on hold.  (Reported to me directly by Doug Bailey at Digium)

........

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

13 years agoMerged revisions 73467 via svnmerge from
Joshua Colp [Thu, 5 Jul 2007 19:20:12 +0000 (19:20 +0000)]
Merged revisions 73467 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r73467 | file | 2007-07-05 16:18:02 -0300 (Thu, 05 Jul 2007) | 10 lines

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

........
r73466 | file | 2007-07-05 16:15:18 -0300 (Thu, 05 Jul 2007) | 2 lines

Copy language information to the dialog structure when calling a peer for situations where a PBX may be started on the dialed channel. (issue #10121 reported by clegall_proformatique)

........

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

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

13 years agoIn regards to changes for 9508, expr2 system choking on floating point numbers, I...
Steve Murphy [Thu, 5 Jul 2007 18:15:22 +0000 (18:15 +0000)]
In regards to changes for 9508, expr2 system choking on floating point numbers, I'm adding this update to round out (no pun intended) and make this FP-capable version of the Expr2 stuff interoperate better with previous integer-only usage, by providing Functions syntax, with 20 builtin functions for floating pt to integer conversions, and some general floating point math routines that might commonly be used also. Along with this, I made it so if a function was not a builtin, it will try and find it in the ast_custom_function list, and if found, execute it and collect the results. Thus, you can call system functions like CDR(), CHANNEL(), etc, from within $\[..\] exprs, without having to wrap them in $\{...\} (curly brace) notation. Did a valgrind on the standalone and made sure there's no mem leaks. Looks good. Updated the docs, too.

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

13 years agoRemove directory creation of directories we've never used.
Tilghman Lesher [Thu, 5 Jul 2007 17:21:28 +0000 (17:21 +0000)]
Remove directory creation of directories we've never used.

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

13 years agoMerged revisions 73400 via svnmerge from
Mark Michelson [Thu, 5 Jul 2007 16:05:22 +0000 (16:05 +0000)]
Merged revisions 73400 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r73400 | mmichelson | 2007-07-05 10:59:41 -0500 (Thu, 05 Jul 2007) | 5 lines

Correcting a minor CLI bug I found. When issuing the queue show command, if you type
queue show and then press tab, you can continue pressing tab and it will keep auto-completing
queue names even though only 1 queue can be used as an argument.

........

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

13 years agoMerged revisions 73398 via svnmerge from
Russell Bryant [Thu, 5 Jul 2007 15:29:24 +0000 (15:29 +0000)]
Merged revisions 73398 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r73398 | russell | 2007-07-05 10:28:27 -0500 (Thu, 05 Jul 2007) | 2 lines

Make this module build for me in dev-mode

........

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

13 years agoMerged revisions 73355 via svnmerge from
Joshua Colp [Thu, 5 Jul 2007 14:22:58 +0000 (14:22 +0000)]
Merged revisions 73355 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r73355 | file | 2007-07-05 11:21:44 -0300 (Thu, 05 Jul 2007) | 10 lines

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

........
r73349 | file | 2007-07-05 11:19:14 -0300 (Thu, 05 Jul 2007) | 2 lines

Tweak spy locking. (issue #9951 reported by welles)

........

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

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

13 years agoMerged revisions 73319 via svnmerge from
Joshua Colp [Thu, 5 Jul 2007 13:28:41 +0000 (13:28 +0000)]
Merged revisions 73319 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r73319 | file | 2007-07-05 10:27:40 -0300 (Thu, 05 Jul 2007) | 10 lines

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

........
r73318 | file | 2007-07-05 10:26:02 -0300 (Thu, 05 Jul 2007) | 2 lines

Actually check to make sure a PBX was started on one of the Local channels instead of blindly assuming it was. (issue #10112 reported by makoto)

........

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

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

13 years agoMerged revisions 73316 via svnmerge from
Joshua Colp [Thu, 5 Jul 2007 13:23:49 +0000 (13:23 +0000)]
Merged revisions 73316 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r73316 | file | 2007-07-05 10:22:13 -0300 (Thu, 05 Jul 2007) | 10 lines

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

........
r73315 | file | 2007-07-05 10:19:17 -0300 (Thu, 05 Jul 2007) | 2 lines

Reset ServicelevelPerf variable back to 0 if we are unable to calculate it each time... otherwise we will get previous values. (issue #10117 reported by noriyuki)

........

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

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

13 years agoadded general Jitterbuffer Implementation. #9960
Christian Richter [Thu, 5 Jul 2007 07:45:21 +0000 (07:45 +0000)]
added general Jitterbuffer Implementation. #9960

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

13 years agoMerged revisions 73253 via svnmerge from
Christian Richter [Wed, 4 Jul 2007 14:58:58 +0000 (14:58 +0000)]
Merged revisions 73253 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r73253 | crichter | 2007-07-04 16:53:48 +0200 (Mi, 04 Jul 2007) | 9 lines

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

........
r73252 | crichter | 2007-07-04 16:50:58 +0200 (Mi, 04 Jul 2007) | 1 line

bchannel configurations like echocancel and volume control, need to be setuped on inbound calls too.
........

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

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

13 years agoMerged revisions 73208 via svnmerge from
Christian Richter [Wed, 4 Jul 2007 08:43:27 +0000 (08:43 +0000)]
Merged revisions 73208 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r73208 | crichter | 2007-07-04 10:27:44 +0200 (Mi, 04 Jul 2007) | 9 lines

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

........
r73207 | crichter | 2007-07-04 10:20:54 +0200 (Mi, 04 Jul 2007) | 1 line

bad bug in overlapdial case, we called start_pbx multiple times, because the state wasn't changed..
........

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

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

13 years agoblocking 73143 (revert of 9508 bug fix for 1.4) -- don't want it backed out of trunk...
Steve Murphy [Tue, 3 Jul 2007 22:17:09 +0000 (22:17 +0000)]
blocking 73143 (revert of 9508 bug fix for 1.4) -- don't want it backed out of trunk, too

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

13 years agomkstemp doesn't specify a file mode, so we should chmod it to VOICEMAIL_FILE_MODE
Jason Parker [Tue, 3 Jul 2007 21:44:27 +0000 (21:44 +0000)]
mkstemp doesn't specify a file mode, so we should chmod it to VOICEMAIL_FILE_MODE

Taken from a larger patch by ltd - the rest of which is no longer necessary in trunk.

Closes issue #9231

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

13 years agoFix a build warning, and potential issue if option p is not set at all.
Jason Parker [Tue, 3 Jul 2007 21:21:51 +0000 (21:21 +0000)]
Fix a build warning, and potential issue if option p is not set at all.

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

13 years agoAdd support for changing the exit key from # to any DTMF.
Jason Parker [Tue, 3 Jul 2007 20:34:27 +0000 (20:34 +0000)]
Add support for changing the exit key from # to any DTMF.
This does not break existing configs - the arguments to p are optional.

Issue 8827, initial patch by junky, mostly rewritten by fw to re-use option p, further modified by me.

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

13 years agoFix up the device state processing thread in app_queue so that it's not
Russell Bryant [Tue, 3 Jul 2007 18:25:30 +0000 (18:25 +0000)]
Fix up the device state processing thread in app_queue so that it's not
possible for there to be entries in the queue and the thread is just sleeping
(Thanks to mmichelson for bringing the problem to my attention)

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

13 years agoMerged revisions 73053 via svnmerge from
Tilghman Lesher [Tue, 3 Jul 2007 12:40:26 +0000 (12:40 +0000)]
Merged revisions 73053 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r73053 | tilghman | 2007-07-03 07:38:53 -0500 (Tue, 03 Jul 2007) | 10 lines

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

........
r73052 | tilghman | 2007-07-03 07:34:14 -0500 (Tue, 03 Jul 2007) | 2 lines

RetryDial should accept a 0 argument, but it does not, because atoi does not distinguish between 0 and error (closes issue #10106)

........

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

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

13 years agoMerged revisions 73005 via svnmerge from
Christian Richter [Tue, 3 Jul 2007 08:22:13 +0000 (08:22 +0000)]
Merged revisions 73005 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r73005 | crichter | 2007-07-03 10:17:06 +0200 (Di, 03 Jul 2007) | 9 lines

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

........
r73004 | crichter | 2007-07-03 10:04:35 +0200 (Di, 03 Jul 2007) | 1 line

fixed issue, that misdn_l2l1_check could only be called from mISDN Source channels.. #9449
........

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

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

13 years agoTypo (closes issue 10105)
Tilghman Lesher [Tue, 3 Jul 2007 05:21:02 +0000 (05:21 +0000)]
Typo (closes issue 10105)

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

13 years agoCorrect an issue where the wrong type was being used to start sasl.
Jason Parker [Tue, 3 Jul 2007 02:51:08 +0000 (02:51 +0000)]
Correct an issue where the wrong type was being used to start sasl.

Pointed out by and patch provided by mog.

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

13 years agoAfter some discussion on the asterisk-dev list, we determined that this approach
Russell Bryant [Mon, 2 Jul 2007 23:02:16 +0000 (23:02 +0000)]
After some discussion on the asterisk-dev list, we determined that this approach
for extracting application, function, manager, and agi documentation is the wrong
one to take.  The most severe problem is that the output depends on which modules
are loaded as well as compile time options, which both determine which parts are
available.

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

13 years ago* Move LaTeX docs into a tex/ subdirectory of the doc/ dir
Russell Bryant [Mon, 2 Jul 2007 22:27:46 +0000 (22:27 +0000)]
* Move LaTeX docs into a tex/ subdirectory of the doc/ dir
* Add a Makefile in doc/tex/ for generating PDF and HTML
* Add a README.txt file to doc/tex/ to document which tools are used and what
  web sites to visit for getting them.
* Update build_tools/prep_tarball to put the proper Asterisk version string
  in the automatically generated PDF for release tarballs

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

13 years agoMerged revisions 72933 via svnmerge from
Steve Murphy [Mon, 2 Jul 2007 21:50:15 +0000 (21:50 +0000)]
Merged revisions 72933 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r72933 | murf | 2007-07-02 14:16:31 -0600 (Mon, 02 Jul 2007) | 1 line

support for floating point numbers added to ast_expr2 $\[...\] exprs. Fixes bug 9508, where the expr code fails with fp numbers. The MATH function returns fp numbers by default, so this fix is considered necessary.
........

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

13 years agoFix up the AGI doc dump CLI command and update the AGI commands tex file to not
Russell Bryant [Mon, 2 Jul 2007 20:45:53 +0000 (20:45 +0000)]
Fix up the AGI doc dump CLI command and update the AGI commands tex file to not
include a bunch of empty entries.

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

13 years agoAdd CLI commands to the docs
Russell Bryant [Mon, 2 Jul 2007 20:42:40 +0000 (20:42 +0000)]
Add CLI commands to the docs

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

13 years agoAdd a CLI command to output docs on CLI commands to a file
Russell Bryant [Mon, 2 Jul 2007 20:42:14 +0000 (20:42 +0000)]
Add a CLI command to output docs on CLI commands to a file

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

13 years agoYet another Solaris tweak...
Joshua Colp [Mon, 2 Jul 2007 20:35:35 +0000 (20:35 +0000)]
Yet another Solaris tweak...

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

13 years agoFix building under Solaris.
Joshua Colp [Mon, 2 Jul 2007 20:27:28 +0000 (20:27 +0000)]
Fix building under Solaris.

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

13 years agoAdd AGI commands to the documentation
Russell Bryant [Mon, 2 Jul 2007 19:31:26 +0000 (19:31 +0000)]
Add AGI commands to the documentation

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

13 years agoAdd a CLI command to export the AGI command docs
Russell Bryant [Mon, 2 Jul 2007 19:29:50 +0000 (19:29 +0000)]
Add a CLI command to export the AGI command docs

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

13 years agoAdd a note that the AGI commands array is not handled in a thread-safe way
Russell Bryant [Mon, 2 Jul 2007 19:01:16 +0000 (19:01 +0000)]
Add a note that the AGI commands array is not handled in a thread-safe way

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

13 years agoUpdate the documentation to include a manager action reference
Russell Bryant [Mon, 2 Jul 2007 18:46:13 +0000 (18:46 +0000)]
Update the documentation to include a manager action reference

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

13 years agoAdd a CLI command to dump the built-in manager action documentation
Russell Bryant [Mon, 2 Jul 2007 18:45:50 +0000 (18:45 +0000)]
Add a CLI command to dump the built-in manager action documentation

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

13 years agoMerged revisions 72926 via svnmerge from
Russell Bryant [Mon, 2 Jul 2007 18:19:21 +0000 (18:19 +0000)]
Merged revisions 72926 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r72926 | russell | 2007-07-02 13:18:46 -0500 (Mon, 02 Jul 2007) | 3 lines

Remove a bogus comment and add proper locking to the handler function for the
CLI command to show information on manager actions.

........

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

13 years agoupdate documentation to include dialplan functions
Russell Bryant [Mon, 2 Jul 2007 17:12:20 +0000 (17:12 +0000)]
update documentation to include dialplan functions

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

13 years agoAdd "core dump funcdocs" CLI command
Russell Bryant [Mon, 2 Jul 2007 17:11:53 +0000 (17:11 +0000)]
Add "core dump funcdocs" CLI command

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

13 years agochange the "core dump appdocs" CLI command to use the new API for creating
Russell Bryant [Mon, 2 Jul 2007 16:42:47 +0000 (16:42 +0000)]
change the "core dump appdocs" CLI command to use the new API for creating
CLI commands

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

13 years agoupdate application documentation dump
Russell Bryant [Mon, 2 Jul 2007 16:42:17 +0000 (16:42 +0000)]
update application documentation dump

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

13 years agoMerged revisions 72888 via svnmerge from
Joshua Colp [Mon, 2 Jul 2007 14:39:49 +0000 (14:39 +0000)]
Merged revisions 72888 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r72888 | file | 2007-07-02 11:32:59 -0300 (Mon, 02 Jul 2007) | 2 lines

Added additional DTMF debug messages for when emulation occurs.

........

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

13 years agoMerged revisions 72852 via svnmerge from
Christian Richter [Mon, 2 Jul 2007 09:34:19 +0000 (09:34 +0000)]
Merged revisions 72852 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r72852 | crichter | 2007-07-02 10:41:08 +0200 (Mo, 02 Jul 2007) | 9 lines

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

........
r72585 | crichter | 2007-06-29 15:08:26 +0200 (Fr, 29 Jun 2007) | 1 line

check if the bchannel stack id is already used, if so don't use it a second time. Also added a release_chan lock, so that the same chan_list object cannot be freed twice. chan_misdn does not crash anymore on heavy load with these changes.
........

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

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

13 years agoMerged revisions 72851 via svnmerge from
Christian Richter [Mon, 2 Jul 2007 09:23:08 +0000 (09:23 +0000)]
Merged revisions 72851 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r72851 | crichter | 2007-07-02 10:27:19 +0200 (Mo, 02 Jul 2007) | 9 lines

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

........
r72099 | crichter | 2007-06-27 15:22:37 +0200 (Mi, 27 Jun 2007) | 1 line

simplified generation for dummy bchannels, also we mark them as dummies, so they are not used later as real-bchannels, optimized the RESTART mechanisms, we block a channel now on cause:44, and send out a RESTART automatically, then on reception of RESTART_ACKNOWLEDGE we unblock the channel again.
........

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

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

13 years agoMerged revisions 72850 via svnmerge from
Christian Richter [Mon, 2 Jul 2007 09:17:07 +0000 (09:17 +0000)]
Merged revisions 72850 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r72850 | crichter | 2007-07-02 10:14:43 +0200 (Mo, 02 Jul 2007) | 9 lines

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

........
r72087 | crichter | 2007-06-27 11:26:53 +0200 (Mi, 27 Jun 2007) | 1 line

simplified channel finding and locking a lot. removed unnecessary #ifdefed areas.
........

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

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