]>
git.ipfire.org Git - thirdparty/asterisk.git/log
Mark Michelson [Thu, 12 Jul 2007 23:00:32 +0000 (23:00 +0000)]
Change to my previous fix regarding agent logoff soft. Now uses deferlogoff instead of loginstart
since loginstart is used after logoff. Thanks to makoto for pointing this out and suggesting the fix.
(closes issue #10178, reported and patched by makoto, with modification by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@74998
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Thu, 12 Jul 2007 20:42:08 +0000 (20:42 +0000)]
This patch resolves 10143; thanks to irroot for the patch; looked acceptable. Let the community decide if it messes things up
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@74955
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 12 Jul 2007 19:17:59 +0000 (19:17 +0000)]
Whoops... didn't want this to be returned to 0 each iteration.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@74922
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 12 Jul 2007 17:16:28 +0000 (17:16 +0000)]
When waiting for a digit ensure that a begin frame was received with it, not just an end frame. (issue #10084 reported by rushowr)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@74888
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Thu, 12 Jul 2007 16:53:35 +0000 (16:53 +0000)]
It helps if I actually add this stuff for the 7921 too - otherwise it won't actually do much of anything.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@74866
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Thu, 12 Jul 2007 16:48:49 +0000 (16:48 +0000)]
Add device ID for 7921 wireless skinny phone
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@74864
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Thu, 12 Jul 2007 16:16:59 +0000 (16:16 +0000)]
Fix dialing in skinny that was broken in some cases.
Issue 10136, fix provided by DEA.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@74839
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 12 Jul 2007 15:53:55 +0000 (15:53 +0000)]
Merged revisions 74814 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r74814 | file | 2007-07-12 12:51:24 -0300 (Thu, 12 Jul 2007) | 2 lines
Only print out a warning for situations where it is actually helpful. (issue #10187 reported by denke)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@74815
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 11 Jul 2007 22:57:07 +0000 (22:57 +0000)]
Merged revisions 74766 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r74766 | russell | 2007-07-11 17:53:26 -0500 (Wed, 11 Jul 2007) | 5 lines
The function make_trunk() can fail and return -1 instead of a valid new call
number. Fix the uses of this function to handle this instead of treating it
as the new call number. This would cause a deadlock and memory corruption.
(possible cause of issue #9614 and others, patch by me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@74767
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Wed, 11 Jul 2007 21:14:09 +0000 (21:14 +0000)]
Merged revisions 74719 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r74719 | mmichelson | 2007-07-11 16:12:30 -0500 (Wed, 11 Jul 2007) | 5 lines
The cli command "agent logoff Agent/x soft" did not work...at all. Now it does.
(closes issue #10178, reported and patched by makoto, with slight modification for 1.4 and trunk by me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@74722
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 11 Jul 2007 18:34:51 +0000 (18:34 +0000)]
Merged revisions 74656 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r74656 | russell | 2007-07-11 13:33:23 -0500 (Wed, 11 Jul 2007) | 4 lines
Make sure that the ESCAPE immediately follows the condition that uses LIKE.
This fixes realtime extensions with ODBC.
(closes issue #10175, reported by stuarth, patch by me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@74657
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Wed, 11 Jul 2007 18:18:42 +0000 (18:18 +0000)]
This fixes 10172, where the entire man8 dir gets removed during an uninstall of asterisk
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@74642
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Wed, 11 Jul 2007 18:11:44 +0000 (18:11 +0000)]
further reversion of previously applied floating point stuff for expr2
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@74628
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 11 Jul 2007 17:16:25 +0000 (17:16 +0000)]
Blocked revisions 74587 via svnmerge
........
r74587 | file | 2007-07-11 14:15:11 -0300 (Wed, 11 Jul 2007) | 2 lines
Use some Makefile magic to determine if linux/compiler.h is present. (issue #10174 reported by francesco_r)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@74590
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 11 Jul 2007 17:03:08 +0000 (17:03 +0000)]
Instead of figuring out kernel versions that have compiler.h and not... let's just use autoconf to check for it's presence. (issue #10174 reported by francesco_r)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@74572
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 11 Jul 2007 14:09:13 +0000 (14:09 +0000)]
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/branches/1.4@74515
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Tue, 10 Jul 2007 23:32:52 +0000 (23:32 +0000)]
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/branches/1.4@74476
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Tue, 10 Jul 2007 19:58:53 +0000 (19:58 +0000)]
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/branches/1.4@74428
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Tue, 10 Jul 2007 19:10:36 +0000 (19:10 +0000)]
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/branches/1.4@74388
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Tue, 10 Jul 2007 19:06:24 +0000 (19:06 +0000)]
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/branches/1.4@74379
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Tue, 10 Jul 2007 18:39:30 +0000 (18:39 +0000)]
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/branches/1.4@74374
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 10 Jul 2007 16:00:11 +0000 (16:00 +0000)]
fix an uninitialized variable
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@74323
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Tue, 10 Jul 2007 15:38:32 +0000 (15:38 +0000)]
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/branches/1.4@74317
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 10 Jul 2007 15:31:41 +0000 (15:31 +0000)]
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/branches/1.4@74314
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 10 Jul 2007 14:50:00 +0000 (14:50 +0000)]
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/branches/1.4@74265
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 10 Jul 2007 14:07:13 +0000 (14:07 +0000)]
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/branches/1.4@74262
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 9 Jul 2007 21:31:30 +0000 (21:31 +0000)]
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/branches/1.4@74211
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 9 Jul 2007 21:00:47 +0000 (21:00 +0000)]
Blocked revisions 74165 via svnmerge
........
r74165 | russell | 2007-07-09 16:00:17 -0500 (Mon, 09 Jul 2007) | 4 lines
When the specified class isn't found, properly fall back to the channel's music
class or the default.
(issue #10123, reported by blitzrage, patches from juggie, qwell, and me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@74166
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 9 Jul 2007 20:53:46 +0000 (20:53 +0000)]
(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/branches/1.4@74162
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Mon, 9 Jul 2007 20:19:28 +0000 (20:19 +0000)]
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/branches/1.4@74159
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Mon, 9 Jul 2007 18:38:28 +0000 (18:38 +0000)]
Forgot to get rid of an extraneous debug message.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@74122
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Mon, 9 Jul 2007 18:32:50 +0000 (18:32 +0000)]
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/branches/1.4@74120
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 9 Jul 2007 15:32:43 +0000 (15:32 +0000)]
Only destroy the scheduler context if it was allocated. (issue #10124 reported by gzero)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@74082
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Mon, 9 Jul 2007 14:57:41 +0000 (14:57 +0000)]
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/branches/1.4@74047
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 9 Jul 2007 14:49:05 +0000 (14:49 +0000)]
Few minor thread synchronization tweaks. (issue #10124 reported by gzero)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@74045
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 9 Jul 2007 14:34:33 +0000 (14:34 +0000)]
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/branches/1.4@74043
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 9 Jul 2007 04:03:20 +0000 (04:03 +0000)]
Doxygen formatting fixes; fixes errors while 'make progdocs'. (Closes issue #10104)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@73985
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 9 Jul 2007 03:13:19 +0000 (03:13 +0000)]
Give Agent channel names priority when doing CDR merging. (issue #10011 reported by krtorio)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@73980
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 9 Jul 2007 01:13:57 +0000 (01:13 +0000)]
Add a few sanity checks when writing out the dialplan. (issue #10157 reported by dome)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@73930
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Sun, 8 Jul 2007 09:47:31 +0000 (09:47 +0000)]
While tracking down a bug, I need some more history. Dumphistory is very useful, indeed.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@73849
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 6 Jul 2007 23:02:58 +0000 (23:02 +0000)]
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/branches/1.4@73769
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Fri, 6 Jul 2007 16:36:17 +0000 (16:36 +0000)]
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/branches/1.4@73727
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 6 Jul 2007 16:12:51 +0000 (16:12 +0000)]
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/branches/1.4@73696
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 6 Jul 2007 15:57:25 +0000 (15:57 +0000)]
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/branches/1.4@73679
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Fri, 6 Jul 2007 15:27:28 +0000 (15:27 +0000)]
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/branches/1.4@73675
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 6 Jul 2007 03:34:46 +0000 (03:34 +0000)]
fix a little spelling error
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@73629
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 5 Jul 2007 23:59:22 +0000 (23:59 +0000)]
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/branches/1.4@73598
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 5 Jul 2007 23:05:33 +0000 (23:05 +0000)]
copy from the correct buffer when deferring a full frame
(related to issue #9937)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@73555
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 5 Jul 2007 22:31:31 +0000 (22:31 +0000)]
* 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/branches/1.4@73551
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 5 Jul 2007 22:20:44 +0000 (22:20 +0000)]
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/branches/1.4@73548
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 5 Jul 2007 20:50:08 +0000 (20:50 +0000)]
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/branches/1.4@73512
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 5 Jul 2007 19:18:02 +0000 (19:18 +0000)]
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/branches/1.4@73467
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Thu, 5 Jul 2007 15:59:41 +0000 (15:59 +0000)]
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/branches/1.4@73400
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 5 Jul 2007 15:28:27 +0000 (15:28 +0000)]
Make this module build for me in dev-mode
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@73398
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 5 Jul 2007 14:21:44 +0000 (14:21 +0000)]
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/branches/1.4@73355
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 5 Jul 2007 13:27:40 +0000 (13:27 +0000)]
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/branches/1.4@73319
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 5 Jul 2007 13:22:13 +0000 (13:22 +0000)]
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/branches/1.4@73316
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Christian Richter [Wed, 4 Jul 2007 14:53:48 +0000 (14:53 +0000)]
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/branches/1.4@73253
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Christian Richter [Wed, 4 Jul 2007 08:27:44 +0000 (08:27 +0000)]
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/branches/1.4@73208
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Tue, 3 Jul 2007 20:17:31 +0000 (20:17 +0000)]
Removing expr floating patch from 1.4; too much of a behavior change. If you want this fix, try trunk instead. bug 9508.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@73143
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Tue, 3 Jul 2007 15:42:16 +0000 (15:42 +0000)]
What the heck. This should not have happened.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@73106
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Tue, 3 Jul 2007 15:40:14 +0000 (15:40 +0000)]
use autotagged externals
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@73104
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 3 Jul 2007 12:38:53 +0000 (12:38 +0000)]
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/branches/1.4@73053
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Christian Richter [Tue, 3 Jul 2007 08:17:06 +0000 (08:17 +0000)]
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/branches/1.4@73005
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Mon, 2 Jul 2007 20:16:31 +0000 (20:16 +0000)]
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/branches/1.4@72933
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 2 Jul 2007 18:18:46 +0000 (18:18 +0000)]
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/branches/1.4@72926
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Mon, 2 Jul 2007 17:59:38 +0000 (17:59 +0000)]
Blocked revisions 72924 via svnmerge
........
r72924 | qwell | 2007-07-02 12:58:25 -0500 (Mon, 02 Jul 2007) | 4 lines
Fix an issue with playing "oclock" multiple times in French with 24 hour time format.
Issue 10101
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72925
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 2 Jul 2007 14:32:59 +0000 (14:32 +0000)]
Added additional DTMF debug messages for when emulation occurs.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72888
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Christian Richter [Mon, 2 Jul 2007 08:41:08 +0000 (08:41 +0000)]
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/branches/1.4@72852
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Christian Richter [Mon, 2 Jul 2007 08:27:19 +0000 (08:27 +0000)]
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/branches/1.4@72851
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Christian Richter [Mon, 2 Jul 2007 08:14:43 +0000 (08:14 +0000)]
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/branches/1.4@72850
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sun, 1 Jul 2007 23:52:45 +0000 (23:52 +0000)]
Merged revisions 72805 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r72805 | russell | 2007-07-01 18:51:34 -0500 (Sun, 01 Jul 2007) | 5 lines
When appending lines to call files to keep track of retries, write a leading
newline just in case the original call file did not have a newline at the end.
This fix is in response to a problem I saw reported on the asterisk-users
mailing list.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72806
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Sat, 30 Jun 2007 16:50:40 +0000 (16:50 +0000)]
Tweak the configure script so that error output isn't spewed to the console
when searching for GTK2 libs, and they aren't found.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72766
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 29 Jun 2007 20:56:18 +0000 (20:56 +0000)]
give format_pcm a more concise destription
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72705
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Fri, 29 Jun 2007 19:07:41 +0000 (19:07 +0000)]
Use !defined(HAVE_GETHOSTBYNAME_R) to check for absence
of the function. This was already done in trunk.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72665
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 29 Jun 2007 16:31:37 +0000 (16:31 +0000)]
Blocked revisions 72629 via svnmerge
........
r72629 | russell | 2007-06-29 11:30:56 -0500 (Fri, 29 Jun 2007) | 4 lines
Backport changes that make chan_iax2 not start the PBX on an incoming channel
until the three-way call setup is completed. These changes are already in 1.4
and trunk.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72630
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 29 Jun 2007 14:26:32 +0000 (14:26 +0000)]
Minor change for older GCC versions.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72599
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 29 Jun 2007 14:18:36 +0000 (14:18 +0000)]
Backport fix for GCC versions without support for declaration-after-statement.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72597
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 29 Jun 2007 04:47:11 +0000 (04:47 +0000)]
Issue 10055 - Change memory allocation to use the heap for a command, since the output has the potential to overflow the stack (as it did here)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72556
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 29 Jun 2007 04:43:15 +0000 (04:43 +0000)]
Fix 1.4 breakage
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72554
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 28 Jun 2007 19:44:11 +0000 (19:44 +0000)]
regenerate the configure script for rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72493
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 28 Jun 2007 19:29:34 +0000 (19:29 +0000)]
add a check for gethostbyname_r so we can
simplify the handling e.g. in utils.c
Also add comments on a couple of features which are not working on FreeBSD.
All the above has been already done in trunk so the merge must be blocked.
Can someone please regenerate ./configure ?
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72489
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 28 Jun 2007 19:05:59 +0000 (19:05 +0000)]
Add -Wdeclaration-after-statement to AST_DEVMODE flags to catch
variable declarations in the middle of a block.
Fix the few instances of the above spotted out by the compiler.
All of this has been already done or is not applicable in trunk,
so the merge of this change will be blocked.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72462
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Luigi Rizzo [Thu, 28 Jun 2007 18:37:20 +0000 (18:37 +0000)]
cast a time_t so that it does not conflict with the print format.
This change was already done on trunk so this change needs to be
blocked from merging.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72453
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Brett Bryant [Wed, 27 Jun 2007 23:29:14 +0000 (23:29 +0000)]
Merged revisions 72373 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r72373 | bbryant | 2007-06-27 18:22:13 -0500 (Wed, 27 Jun 2007) | 3 lines
Reinstating patch. This actually fixes the problem, however I was running a development branch without it and mistakenly thought it wasn't fixed.
Fixes issue #10010, and #9654: 100% CPU usage caused by an asterisk console losing it's controlling terminal.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72383
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 27 Jun 2007 23:25:12 +0000 (23:25 +0000)]
Merged revisions 72378 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r72378 | file | 2007-06-27 19:24:01 -0400 (Wed, 27 Jun 2007) | 2 lines
Update documentation to clarify variable usage with MixMonitor. (issue #9494 reported by netoguy)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72381
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Brett Bryant [Wed, 27 Jun 2007 23:03:01 +0000 (23:03 +0000)]
Merged revisions 72333 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r72333 | bbryant | 2007-06-27 17:58:53 -0500 (Wed, 27 Jun 2007) | 2 lines
Reverted changes for earlier revisions 72259 to 72261. Issue #9654, #10010
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72335
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 27 Jun 2007 22:58:02 +0000 (22:58 +0000)]
Make payload IDs for iLBC/Speex match to our list. Since these are dynamic payloads the other side shouldn't care. (issue #9426 reported by irroot)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72331
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 27 Jun 2007 22:45:49 +0000 (22:45 +0000)]
Merged revisions 72327 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r72327 | file | 2007-06-27 18:43:11 -0400 (Wed, 27 Jun 2007) | 2 lines
Fix issue where queue log events might be missing. (issue #7765 reported by mtryfoss)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72328
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 27 Jun 2007 21:08:34 +0000 (21:08 +0000)]
Merged revisions 72267 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r72267 | russell | 2007-06-27 16:06:45 -0500 (Wed, 27 Jun 2007) | 5 lines
Fix a minor issue with parsing the priority number. You could have as much
whitespace as you want around a numeric priority, but you couldn't have any
whitespace around a special priority like "n" or "hint".
(issue #10039, reported by mitheloc, fixed by me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72272
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Brett Bryant [Wed, 27 Jun 2007 20:46:12 +0000 (20:46 +0000)]
Merged revisions 72259 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r72259 | bbryant | 2007-06-27 15:43:53 -0500 (Wed, 27 Jun 2007) | 4 lines
Fixes 100% load when controlling terminal disappears.
Issue #9654, #10010
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72260
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 27 Jun 2007 20:25:24 +0000 (20:25 +0000)]
Merged revisions 72256 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r72256 | file | 2007-06-27 16:23:24 -0400 (Wed, 27 Jun 2007) | 2 lines
I may possibly get shot for doing this... but... defer CDR processing until after the channel has been dealt with. This should eliminate all of the issues with channels going funky (SIP/PRI) when you are posting CDRs to a database that is either slow or unavailable and do not want to enable batching.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72257
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 27 Jun 2007 19:13:21 +0000 (19:13 +0000)]
use the proper type for storing group number bits so that if someone specifies 'group=42' it will actually work instead of being silently ignored
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72205
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Wed, 27 Jun 2007 18:40:39 +0000 (18:40 +0000)]
Blocked revisions 72184 via svnmerge
........
r72184 | qwell | 2007-06-27 13:40:15 -0500 (Wed, 27 Jun 2007) | 4 lines
Fix another problem in voicemail with missing symbols.
Issue 10074, patch by kryptolus, extended to include #if 0'd blocks (just in case)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72185
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Wed, 27 Jun 2007 18:36:56 +0000 (18:36 +0000)]
Fix another problem in voicemail with missing symbols.
Issue 10074, patch by kryptolus, extended to include #if 0'd blocks (just in case)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72182
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 27 Jun 2007 17:31:50 +0000 (17:31 +0000)]
Make the ast_read_noaudio API call behave better under circumstances where DTMF emulation was happening and a generator was setup. (issue #10065 reported by stevefeinstein)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72148
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Wed, 27 Jun 2007 17:10:32 +0000 (17:10 +0000)]
Don't modify a variable that we don't want modified. Make a copy of it instead.
Issue 10029, patch by phsultan with slight modifications by me (to remove needless casts).
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72125
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 27 Jun 2007 16:34:24 +0000 (16:34 +0000)]
Only output debug information related to RTCP timestamps when RTCP debug
is turned on (issue #10066, patch by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72112
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Christian Richter [Wed, 27 Jun 2007 07:58:06 +0000 (07:58 +0000)]
Merged revisions 72040-72041 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r72040 | crichter | 2007-06-27 09:49:27 +0200 (Mi, 27 Jun 2007) | 1 line
for inbound TE calls, we setup the bchannel when we get the CONNECT_ACKNOWLEDGE, to make sure mISDN has everything ready. removed some #if 0 areas which weren't used anymore.
........
r72041 | crichter | 2007-06-27 09:54:30 +0200 (Mi, 27 Jun 2007) | 1 line
isdn_lib.c didn't compile
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72042
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 27 Jun 2007 00:58:35 +0000 (00:58 +0000)]
Make unloading of pbx_dundi actually work.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@72006
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3