aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2007-07-11Merged revisions 74766 via svnmerge from russell1-3/+8
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: http://svn.digium.com/svn/asterisk/branches/1.4@74767 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-11Merged revisions 74719 via svnmerge from mmichelson1-1/+3
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: http://svn.digium.com/svn/asterisk/branches/1.4@74722 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-11Merged revisions 74656 via svnmerge from russell1-10/+8
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: http://svn.digium.com/svn/asterisk/branches/1.4@74657 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-11This fixes 10172, where the entire man8 dir gets removed during an uninstall ↵murf1-1/+4
of asterisk git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74642 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-11further reversion of previously applied floating point stuff for expr2murf3-24/+7
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74628 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-11Blocked revisions 74587 via svnmergefile0-0/+0
........ 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: http://svn.digium.com/svn/asterisk/branches/1.4@74590 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-11Instead of figuring out kernel versions that have compiler.h and not... ↵file4-11/+151
let's just use autoconf to check for it's presence. (issue #10174 reported by francesco_r) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74572 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-11Only check if we need to do a SIGMA based tone generation if we have a card. ↵file1-1/+1
(issue #10179 reported by mikowhy) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74515 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-10Forwarding a message with IMAP storage was storing the message in the ↵mmichelson1-1/+14
sender's box instead of the forwarded mailbox. (closes issue #10138, reported and patched by jaroth) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74476 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-10Merged revisions 74427 via svnmerge from qwell1-10/+13
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: http://svn.digium.com/svn/asterisk/branches/1.4@74428 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-10Don't use #if to check if something is defined - use #ifdef instead.qwell1-5/+5
Pointed out by kpfleming git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74388 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-10Merged revisions 74376 via svnmerge from qwell1-4/+6
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: http://svn.digium.com/svn/asterisk/branches/1.4@74379 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-10Merged revisions 74373 via svnmerge from qwell4-2/+70
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: http://svn.digium.com/svn/asterisk/branches/1.4@74374 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-10fix an uninitialized variablerussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74323 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-10Merged revisions 74316 via svnmerge from qwell1-1/+1
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: http://svn.digium.com/svn/asterisk/branches/1.4@74317 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-10Merged revisions 74313 via svnmerge from russell1-2/+4
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: http://svn.digium.com/svn/asterisk/branches/1.4@74314 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-10Merged revisions 74264 via svnmerge from file1-2/+2
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: http://svn.digium.com/svn/asterisk/branches/1.4@74265 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-10Only spit out an inringing warning message when it is applicable. Since call ↵file1-2/+2
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: http://svn.digium.com/svn/asterisk/branches/1.4@74262 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-09Update the configure script to check for a required function that is not presentrussell2-33/+49
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: http://svn.digium.com/svn/asterisk/branches/1.4@74211 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-09Blocked revisions 74165 via svnmergerussell0-0/+0
........ 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: http://svn.digium.com/svn/asterisk/branches/1.4@74166 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-09(closes issue #10123)russell1-16/+14
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: http://svn.digium.com/svn/asterisk/branches/1.4@74162 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-09Merged revisions 74158 via svnmerge from qwell1-8/+8
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: http://svn.digium.com/svn/asterisk/branches/1.4@74159 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-09Forgot to get rid of an extraneous debug message.mmichelson1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74122 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-09The n option for Queue should make the queue exit immediately after failure ↵mmichelson1-12/+14
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: http://svn.digium.com/svn/asterisk/branches/1.4@74120 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-09Only destroy the scheduler context if it was allocated. (issue #10124 ↵file1-2/+3
reported by gzero) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74082 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-09Fixed a logic error in leave_voicemail. Pass the mailbox instead of the ↵mmichelson1-1/+1
context to inbox_count when the context is "default." (closes issue #10135, reported by yannj, repaired by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74047 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-09Few minor thread synchronization tweaks. (issue #10124 reported by gzero)file2-5/+14
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74045 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-09Use AC_CHECK_HEADER to check for ptlib/openh323 to allow for cross ↵file2-152/+1371
compiling. (issue #9675 reported by zandbelt) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74043 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-09Doxygen formatting fixes; fixes errors while 'make progdocs'. (Closes issue ↵tilghman1-71/+90
#10104) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@73985 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-09Give Agent channel names priority when doing CDR merging. (issue #10011 ↵file1-1/+1
reported by krtorio) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@73980 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-09Add a few sanity checks when writing out the dialplan. (issue #10157 ↵file1-2/+2
reported by dome) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@73930 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-08While tracking down a bug, I need some more history. Dumphistory is very ↵oej1-0/+2
useful, indeed. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@73849 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-06Merged revisions 73768 via svnmerge from russell1-1/+4
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: http://svn.digium.com/svn/asterisk/branches/1.4@73769 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-06Fixing a rare case which causes voicemail to crash when compiled with IMAP ↵mmichelson1-2/+19
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: http://svn.digium.com/svn/asterisk/branches/1.4@73727 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-06Merged revisions 73684 via svnmerge from russell1-0/+4
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: http://svn.digium.com/svn/asterisk/branches/1.4@73696 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-06Merged revisions 73678 via svnmerge from russell1-2/+6
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: http://svn.digium.com/svn/asterisk/branches/1.4@73679 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-06Merged revisions 73674 via svnmerge from mmichelson1-1/+1
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: http://svn.digium.com/svn/asterisk/branches/1.4@73675 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-06fix a little spelling errorrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@73629 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-05Fix a crash in chan_sip. Don't try to stop the monitor thread if it was neverrussell1-1/+1
started. (closes issue #10124, reported by gzero, fixed by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@73598 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-05copy from the correct buffer when deferring a full framerussell1-10/+10
(related to issue #9937) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@73555 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-05* Store the call number that a thread is processing without the full frame bitrussell1-3/+4
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: http://svn.digium.com/svn/asterisk/branches/1.4@73551 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-05Merged revisions 73547 via svnmerge from kpfleming1-0/+3
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: http://svn.digium.com/svn/asterisk/branches/1.4@73548 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-05Pass HOLD and UNHOLD frames to the other channel when they are returned from arussell1-9/+16
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: http://svn.digium.com/svn/asterisk/branches/1.4@73512 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-05Merged revisions 73466 via svnmerge from file1-0/+2
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: http://svn.digium.com/svn/asterisk/branches/1.4@73467 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-05Correcting a minor CLI bug I found. When issuing the queue show command, if ↵mmichelson1-2/+9
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: http://svn.digium.com/svn/asterisk/branches/1.4@73400 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-05Make this module build for me in dev-moderussell2-3/+5
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@73398 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-05Merged revisions 73349 via svnmerge from file2-9/+8
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: http://svn.digium.com/svn/asterisk/branches/1.4@73355 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-05Merged revisions 73318 via svnmerge from file1-3/+3
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: http://svn.digium.com/svn/asterisk/branches/1.4@73319 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-05Merged revisions 73315 via svnmerge from file1-2/+1
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: http://svn.digium.com/svn/asterisk/branches/1.4@73316 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-04Merged revisions 73252 via svnmerge from crichter1-0/+20
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: http://svn.digium.com/svn/asterisk/branches/1.4@73253 f38db490-d61c-443f-a65b-d21fe96a405b