summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-08-19These changes are in regards to bug 13249, where users are being surprised ↵Steve Murphy
by the changes made to the Set app in trunk/1.6.x, as they come from the 1.4 world. They are only bitten if they write their AEL dialplan in the 1.4 world, and then carry it over to a trunk/1.6.x installation where a "make samples" was executed, or where they hand-edited the asterisk.conf file and added the [compat] category with app_set = 1.6 (or higher). (this commit does not totally solve 13249, at least not yet) The change involves issueing a single warning while the AEL file is loading, if: 1. app_set is present in the config file, and set to 1.6 or higher. 2. there are double quotes in an assignment statement (eg x = "hi there";) 3. the warning was not already issued. The standalone app, aelparse, does not (yet) issue this warning. I'd have to have it read in the asterisk.conf file, and that's a bit of hassle. I'll add it if users request it, tho. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138815 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-19Mention JID rather than SreenName in help messagesPhilippe Sultan
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138814 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-19Let it compile now, too (woops)Sean Bright
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138780 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-19And remove code we don't need anymore.Sean Bright
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138779 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-19While we're at it, make this machine parseable too.Sean Bright
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138778 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-18Change event header to RegistrationTime to be more consistent (and avoidSean Bright
breaking existing frameworks). Pointed out by Laureano on #asterisk-dev. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138775 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-18channels/chan_misdn.cRichard Mudgett
* Made bearer2str() use allowed_bearers_array[] * Made use the causes.h defines instead of hardcoded numbers. * Made use Asterisk presentation indicator values if either of the mISDN presentation or screen options are negative. * Updated the misdn_set_opt application option descriptions. * Renamed the awkward Caller ID presentation misdn_set_opt application option value not_screened to restricted. Deprecated the not_screened option value. channels/misdn/isdn_lib.c * Made use the causes.h defines instead of hardcoded numbers. * Fixed some spelling errors and typos. * Added all defined facility code strings to fac2str(). channels/misdn/isdn_lib.h * Added doxygen comments to struct misdn_bchannel. channels/misdn/isdn_lib_intern.h * Added doxygen comments to struct misdn_stack. channels/misdn_config.c configs/misdn.conf.sample * Updated the mISDN presentation and screen parameter descriptions. doc/tex/misdn.tex * Updated the misdn_set_opt application option descriptions. * Fixed some spelling errors and typos. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138738 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-18Change the queue timeout priority logic into less uglyMark Michelson
and confusing code pieces. Clarify the logic within queues.conf.sample. (closes issue #12690) Reported by: atis Patches: queue_timeoutpriority.patch uploaded by atis (license 242) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138694 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-18Merged revisions 138685 via svnmerge from Mark Michelson
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r138685 | mmichelson | 2008-08-18 15:01:14 -0500 (Mon, 18 Aug 2008) | 10 lines Change the inequalities used in app_queue with regards to timeouts from being strict to non-strict for more accuracy. (closes issue #13239) Reported by: atis Patches: app_queue_timeouts_v2.patch uploaded by atis (license 242) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138687 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-18Remove option that isn't valid here.Jason Parker
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138631 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-18Blocked revisions 138569 via svnmergeSean Bright
........ r138569 | seanbright | 2008-08-18 07:57:24 -0400 (Mon, 18 Aug 2008) | 1 line You know what's awesome? Code that compiles... ;) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138570 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-18add missing define for SS7 in dahdi_restartJeff Peeler
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138518 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-18Blocked revisions 138516 via svnmergeJeff Peeler
........ r138516 | jpeeler | 2008-08-17 21:05:29 -0500 (Sun, 17 Aug 2008) | 1 line fix compilation warnings ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138517 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-17Move Uniqueid to the end of the event for those that rely on the positionSean Bright
of the name/value pairs, pointed out by snuffy-home on #asterisk-commits. For those of you who rely on the position of name/value pairs in manager events... stop... that is why associative arrays were invented. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138482 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-17Add Uniqueid header to ParkedCall manager event.Sean Bright
(closes issue #13323) Reported by: srt Patches: 13323_unique_id_for_parkedcalls_event.diff uploaded by srt (license 378) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-17Add missing colons to RTCPReceived and RTCPSent manager events.Sean Bright
(closes issue #13319) Reported by: srt Patches: 13319_rtcp_manager_event_headers.diff uploaded by srt (license 378) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138476 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-17Fix the output of the JitterBufStats manager event.Sean Bright
(closes issue #13324) Reported by: srt Patches: 13324_missing_nl_in_jitterbufstats_event_2.diff uploaded by srt (license 378) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138473 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-16Since it's introduction in revision 3497, cdr_tds has *never* readSean Bright
the port configuration option from cdr_tds.conf. So go ahead and remove it from the sample config. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138442 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-16Fix compilation warnings (found with dev-mode)Tilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138412 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-16Also make sure hinting won't crash on reload.Tilghman Lesher
(Closes issue #13312) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138409 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-16Merged revisions 138360 via svnmerge from Jeff Peeler
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r138360 | jpeeler | 2008-08-15 20:12:18 -0500 (Fri, 15 Aug 2008) | 1 line fixes use count to properly decrement if an active dahdi channel is destroyed allowing module to be unloaded ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138361 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-15Merged revisions 138119,138151,138238 via svnmerge from Jeff Peeler
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r138119 | jpeeler | 2008-08-15 14:21:51 -0500 (Fri, 15 Aug 2008) | 4 lines Fixes the dahdi restart functionality. Dahdi restart allows one to restart all DAHDI channels, even if they are currently in use. This is different from unloading and then loading the module since unloading requires the use count to be zero. Reloading the module is different in that the signalling is not changed from what it was originally configured. Also, this fixes not closing all the file descriptors for D-channels upon module unload (which would prevent loading the module afterwards). (closes issue #11017) ........ r138151 | jpeeler | 2008-08-15 14:41:29 -0500 (Fri, 15 Aug 2008) | 1 line declared static mutexes using AST_MUTEX_DEFINE_STATIC macro ........ r138238 | jpeeler | 2008-08-15 16:28:26 -0500 (Fri, 15 Aug 2008) | 1 line initialize condition variable ss_thread_complete using ast_cond_init ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138311 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-15Blocked revisions 138309 via svnmergeJeff Peeler
........ r138309 | jpeeler | 2008-08-15 18:41:54 -0500 (Fri, 15 Aug 2008) | 1 line add forgotten locks around ss_thread_count in ss_thread for dahdi restart ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138310 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-15Merged revisions 138258 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r138258 | tilghman | 2008-08-15 17:33:42 -0500 (Fri, 15 Aug 2008) | 8 lines More fixes for realtime peers. (closes issue #12921) Reported by: Nuitari Patches: 20080804__bug12921.diff.txt uploaded by Corydon76 (license 14) 20080815__bug12921.diff.txt uploaded by Corydon76 (license 14) Tested by: Corydon76 ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138260 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-15Remove deprecated syntax from sample config fileTilghman Lesher
(closes issue #13314) Reported by: kue git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138206 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-15rename all zfd instances in chan_dahdi to dfd to match 1.4 (left over from ↵Jeff Peeler
DAHDI transition) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138155 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-15Change free to ast_free_ptr, tooTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138148 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-15e->data can be NULL, so use the safe version of ast_strdup()Tilghman Lesher
(closes issue #13312) Reported by: pj git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138124 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-15regseconds is actually stored as the epoch time, not registration lengthTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138086 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-15Merged revisions 138027 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r138027 | russell | 2008-08-15 10:07:16 -0500 (Fri, 15 Aug 2008) | 9 lines Ensure that when a hangup occurs in autoservice, that a hangup frame gets properly deferred to be read from the channel owner when it gets taken out of autoservice. (closes issue #12874) Reported by: dimas Patches: v1-12874.patch uploaded by dimas (license 88) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138028 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-15Merged revisions 138023 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r138023 | tilghman | 2008-08-15 09:51:12 -0500 (Fri, 15 Aug 2008) | 8 lines Additional check for more string specifiers than arguments. (closes issue #13299) Reported by: adomjan Patches: 20080813__bug13299.diff.txt uploaded by Corydon76 (license 14) func_strings.c-sprintf.patch uploaded by adomjan (license 487) Tested by: adomjan ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-14Fix a bashism that causes an error when trying to build the pdf on ubuntuRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-14Fix memory leak in cdr_sqlite3_custom.Sean Bright
(closes issue #13304) Reported by: eliel Patches: sqlite.patch uploaded by eliel (license 64) (Slightly modified by me) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137933 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-14Prepare for adding 1.6.2 changesRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137901 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-14Blocked revisions 137850 via svnmergeTilghman Lesher
........ r137850 | tilghman | 2008-08-14 11:55:20 -0500 (Thu, 14 Aug 2008) | 2 lines Oops, wrong direction ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137851 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-14Merged revisions 137847 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r137847 | tilghman | 2008-08-14 11:47:30 -0500 (Thu, 14 Aug 2008) | 9 lines When creating the secondary subchannel name, it is necessary to compare to the existing channel name without the "Zap/" or "DAHDI/" prefix, since our test string is also without that prefix. (closes issue #13027) Reported by: dferrer Patches: chan_zap-1.4.21.1_fix2.patch uploaded by dferrer (license 525) (Slightly modified by me, to compensate for both names) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137848 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-14Make sure we set the socket port, so we don't try to use <ip address>:0.Jason Parker
(closes issue #13255) Reported by: falves11 Patches: 13255-socketport.diff uploaded by qwell (license 4) Tested by: falves11 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137812 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-14If we detect that we are no longer connected, try to reconnect a few timesSean Bright
before giving up. This relies on the timeout settings in the freetds.conf file and, unfortunately, on a recent version of FreeTDS (0.82 or newer). I either need to change the current execs to be non-blocking (which I do not want to do) or we have to force people to run with the latest and greatest of FreeTDS. I'm on the fence... git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137780 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-14Merged revisions 137731 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r137731 | russell | 2008-08-14 09:05:23 -0500 (Thu, 14 Aug 2008) | 4 lines Comments in this config file were aligned only if your tab size was set to 8. So, convert tabs to spaces so that things should be aligned regardless of what tab size you use in your editor. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137732 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-14Merged revisions 137679 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r137679 | kpfleming | 2008-08-13 21:03:04 -0500 (Wed, 13 Aug 2008) | 1 line forgot one module name that changed ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137680 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-14Blocked revisions 137677 via svnmergeKevin P. Fleming
........ r137677 | kpfleming | 2008-08-13 21:02:15 -0500 (Wed, 13 Aug 2008) | 2 lines add support for Zaptel versions that contain the new transcoder interface ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-13make this script actually workKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137640 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-13Merged revisions 137530 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r137530 | kpfleming | 2008-08-13 15:46:19 -0500 (Wed, 13 Aug 2008) | 1 line add document describing what users will need to be aware of when upgrading to this version and using DAHDI ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137627 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-13Blocked revisions 137580 via svnmergeJeff Peeler
........ r137580 | jpeeler | 2008-08-13 16:35:37 -0500 (Wed, 13 Aug 2008) | 3 lines Register DAHDISendKeypadFacility application if dahdi_chan_mode is set to DAHDI + Zap. Mark ZapSendKeypadFacility application as deprecated on usage. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137582 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-13Correctly end locally ended calls.Jason Parker
(closes issue #12170) Reported by: pj Patches: 20080702__issue12170_clear_pendinginvite.diff uploaded by bbryant (license 36) Tested by: bbryant, pabelanger git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137532 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-13Blocked revisions 137527,137529 via svnmergeKevin P. Fleming
........ r137527 | kpfleming | 2008-08-13 15:33:47 -0500 (Wed, 13 Aug 2008) | 5 lines document dahdichanname option in doc/asterisk-conf.txt make chan_dahdi read its configuration from zapata.conf if dahdichanname has been set to 'no' ........ r137529 | kpfleming | 2008-08-13 15:42:33 -0500 (Wed, 13 Aug 2008) | 2 lines remove some more chan_zap references ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137531 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-13Add FAXMODE variable with what fax transport was used.Jason Parker
(closes issue #13252) Patches: v1-13252.patch uploaded by dimas (license 88) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137496 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-13Convert deprecated routines to the new names.Tilghman Lesher
(closes issue #13297) Reported by: snuffy Patches: bug13297_20080814.diff uploaded by snuffy (license 35) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137456 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-13Merged revisions 137405 via svnmerge from Sean Bright
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r137405 | seanbright | 2008-08-13 10:33:49 -0400 (Wed, 13 Aug 2008) | 1 line Update docs to reflect the change to cdr_tds ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137406 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-13Use the ast_vasprintf macro instead of vasprintf directly.Sean Bright
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137403 65c4cc65-6c06-0410-ace0-fbb531ad65f3