aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2009-08-18git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.2.11@212958 ↵v1.2.11kpfleming11-9/+23
f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-22importing files for 1.2.11 releasekpfleming3-0/+3107
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.2.11@40846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-22Creating tag for the release of asterisk-1.2.11kpfleming0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.2.11@40845 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-22Bug 7779 - Using initstate(3) means that we cannot unload this module once ↵tilghman1-3/+2
loaded. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@40821 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21Move the load_modules call so that if a module needsmogorman1-4/+4
realtime support it will work, none do currently but a good move none the less. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@40798 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-20Reformat to match the contribution style of other contributorstilghman1-33/+8
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@40692 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-20Turn media level c= parsing on by default (issue #7725 reported by psm)file1-22/+18
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@40601 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-19Fix a bug with app_voicemail when trying to use app_directory to leave messagesqwell2-12/+22
to another user (options 3, 5, 2). If the context/extension didn't exist in the dialplan (and why should it have to?), it would fail, saying that it's an "invalid extension". Fix was different in svn trunk. (issue BE-71) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@40446 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-18make a feeble attempt to avoid the 'how do I enable my hardware echo ↵kpfleming1-1/+10
canceler' questions git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@40392 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-17rename file per crichter's requestkpfleming1-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@40310 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-17This rather small ;-) commit merges the changes from my team branch 0.3.0 into tcrichter16-6351/+5381
he 1.2 branch. These changes include the new mISDN mqueue interface which makes it possible to compile chan_misdn against the current cvs version of mISDN/mISDNuser. These changes also contain various additions and numerous bugfixes to chan_misdn . Each change is documented in the commit logs in the team/crichter/0.3.0 branch. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@40306 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-17revert bogus change to attempt to fix bug 7506 which actually causes half ofrussell1-1/+2
the channels not to get "Newchannel" events at all (issue #7745) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@40227 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-17Use the last CDR entry instead of the first CDR entry for variable ↵file1-2/+7
retrieving variables using the CDR dialplan function. (issue #7689 reported by voipgate) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@40225 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-17Make app_macro compile againfile1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@40223 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-17In app_macro, changed the previously changed upper recursion depth limit to ↵murf1-2/+7
a variable, default of the original val of 7. MACRO_RECURSION is a channel variable that will override the limit, but until I can understand and fix why this limit is neccessary, I am not advertising this variable in the docs. This fix mirrors the changes made in r40200 in trunk. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@40220 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-16don't allow AUEP responses to overflow the stack during a string copy ↵kpfleming1-4/+6
(reported by Mu Security) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@40057 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-15use pbx_builtin_getvar_helper() so that GET VARIABLE can retrieve globalrussell1-5/+4
variables (issue #7609) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@39935 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-15This revision fixes bug 7731, the inability for macros to be called more ↵murf1-4/+4
than one level deep in the 'h' extension. It also pushes up the limit of recursion depth from 7 to 20. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@39931 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-08add explicit listing of anthm's contributions (issue #7683)kpfleming1-0/+33
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@39379 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-08Increase the buffer size for the callid (issue #7675, reported by pssatcs)russell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@39350 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-07Fix a crash reported to me by hads on IRC. This crash would occur with the userussell1-10/+10
of the "distinctiveringaftercid" option. Also, on this user's system, the crash would only occur when built without optimizations. This is because the bug is that the code would write past the end of an array that was allocated on the stack, and the structure of the stack is different with or without optimizations enabled. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@39081 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-07Reset our stream and vstream pointers back to NULL so that any generator ↵file1-2/+8
that uses them (file based MOH) will not try to close them again. (issue #7668 reported by jmls) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@39056 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-05Always generate a Newstate event in ast_setstate() instead of making it arussell1-2/+1
Newchannel event if the state was AST_STATE_DOWN. The Newchannel event will always be generated in ast_request(), so this just causes a duplicated Newchannel event in some cases. (issue #7506, repoted by capouch, fixed by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@38982 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-05remove duplicate queue log entry when the caller exits on a timeoutrussell1-1/+0
(issue #7616, ppyy) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@38972 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-05don't advertise that this function can set a SIP header when it can onlyrussell1-1/+1
do reads git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@38950 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-05make sure the priv-callerintros directory exists before trying to create a filerussell1-1/+8
there (issue #7659, patch by hads, with some modifications by me) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@38928 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-05Fix an issue that would cause a NewCallerID manager event to be generatedrussell10-30/+94
before the channel's NewChannel event. This was due to a somewhat recent change that included using ast_set_callerid() where it wasn't before. This function should not be used in the channel driver "new" functions. (issue #7654, fixed by me) Also, fix a couple minor bugs in usecount handling. chan_iax2 could have increased the usecount but then returned an error. The place where chan_sip increased the usecount did not call ast_update_usecount() git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@38904 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-05suppress a compiler warning about the usage of a potentially uninitialized ↵russell1-1/+1
variable git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@38903 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-03Treat the file as invalid if we have no valid formats for it (issue #7643 ↵file1-1/+1
reported by KNK) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@38825 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-03Bug 7648 - Checking wrong count for plurality on new messages for Dutch languagetilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@38761 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-02fix brain-damage I introduced when trying to fix the CANCEL/BYE sending ↵kpfleming1-9/+12
mechanism for pending INVITES accept unknown 1xx responses as 183 responses (as RFC3261 mandates we should do) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@38731 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-01ensure that the 'feature digit timeout' value is taken into account when ↵kpfleming2-4/+12
deciding how long the bridge should run (this fixes a problem report where a digit press that did not invoke a feature is never passed across the bridge) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@38686 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-01Close the stream when file based MOH stop. This won't get rid of their ↵file1-0/+4
position in the file but it will cause the translation path to be setup again. (issue #7634 reported by asimpson) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@38654 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-31don't reissue hangup requests for SIP channels that have expired their RTP ↵kpfleming1-2/+12
timeouts (one time is enough) don't rescan the SIP private structure list too fast, it can cause channels to not be able to hang up (issue #7495, and probably others) use ast_softhangup_nolock() since we already hold the channel's lock git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@38611 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-31Add missing code to bring transferee channel out of MOH/autoservice under ↵file1-0/+3
certain circumstance (issue #7611 reported by guillecabeza with minor mods by myself) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@38585 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-31one more small tweak for thread-safety of TRACE_FRAMESrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@38547 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-31Make the frame counting done with TRACE_FRAMES defined thread-saferussell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@38546 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-29How many attempts does it take to make a SIP URI parser that works well? I'm ↵file1-22/+23
up to 5 personally. On to the good stuff - parse the domain first, user second, and get rid of port & options/params last. (issue #7616 reported by andrew) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@38501 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-28Make a copy of the request URI in check_user_full instead of modifying the ↵file1-12/+15
one on the structure, and also strip params properly from the user portion of the SIP URI so as to preserve the domain (issue #7552 reported by dan42) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@38420 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-27use the enum that defines the option arguments, so that the likelihood of ↵kpfleming1-4/+4
mismatched option indexes is reduced (which in this case was a bug, the volume argument was not checked properly) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@38370 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-27do a better job avoiding translation path teardown/setup when not neededkpfleming1-4/+7
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@38347 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-27Fix crash when using the "regexten" option with MALLOC_DEBUG enabled. This wasrussell1-1/+10
not reported in the bug tracker but the same bug has been demonstrated in other places in the code. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@38328 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-27don't do useless translation destroy/build when the channel is already in ↵kpfleming1-0/+4
the correct format git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@38310 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-27fix a crash when MALLOC_DEBUG is enabled and the regexten is enabled. The crashrussell1-1/+10
would occur when the extension got removed. (fixes issue #7484) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@38288 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-26Put default callerid into contact when the one specified is either NULL or ↵file1-1/+1
has a zero string length. (issue #7590 reported by key2) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@38234 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-25This resolves a deadlock that a tech support customer was getting frequentlyrussell1-1/+7
when his users would answer call waiting. If another thread is currently holding the zt_pvt lock for the first channel, unlock both channels and let asterisk retry the native bridge, just like what is done for the second channel directly below these changes. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@38200 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-24This fixes a compile problem for s390 as reported in bug 7253.murf1-1/+3
Tested on both an s390 and non-s390 machine. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@38167 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-19ensure that global 'maxauthreq' is reset to zero during 'reload'kpfleming1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@37949 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-18don't crash if the frame has no data, but has a srcrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@37856 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-17if asked to duplicate a frame that has no data, don't set the frame's datarussell1-7/+6
pointer past the end of the allocatted buffer for the new frame git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@37828 f38db490-d61c-443f-a65b-d21fe96a405b