dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

2606 Commits

Author SHA1 Message Date
mmichelson 038da41445 Removed the monitor-join option. If one wishes to mix audio, they should instead use
monitor-type=mixmonitor.

(related to issue #10885)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86030 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-16 22:54:37 +00:00
mmichelson 645e60e83e Fixing the build.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85992 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-16 21:51:26 +00:00
mmichelson a2965486cc Fixing app_read so that if a timeout of less than 1 ms is specified,
assume that 1 ms is desired.

(closes issue #11000, reported and patched by michael-fig, with a warning line added by me)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85965 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-16 21:38:05 +00:00
mmichelson 914f7e245d Merged revisions 85958 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85958 | mmichelson | 2007-10-16 16:14:34 -0500 (Tue, 16 Oct 2007) | 5 lines

Trying to remove a non-dynamic queue member via dynamic means can lead to some
interesting (read nasty) situations. This patch clears up the issue by making
only dynamic queue members removable via dynamic methods.


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85959 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-16 21:16:00 +00:00
russell 81648dcc00 Merged revisions 85896 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85896 | russell | 2007-10-16 14:10:01 -0500 (Tue, 16 Oct 2007) | 2 lines

Remove a pointless lock.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85897 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-16 19:12:24 +00:00
mmichelson 88e35377fe Fix IMAP compilation error.
(closes issue #10986, reported and patched by snuffy)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85883 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-16 16:40:24 +00:00
russell 67d19c3115 Merged revisions 85720 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85720 | russell | 2007-10-15 16:10:02 -0500 (Mon, 15 Oct 2007) | 3 lines

Ensure that no pending state changes are leaked when the device state change
thread gets stopped on module unload.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85721 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-15 21:11:06 +00:00
russell f9c327b565 Another major doc directory update from IgorG. This patch includes
- Many uses of the astlisting environment around verbatim text to ensure that
   it gets properly formatted and doesn't run off the page.
 - Update some things that have been deprecated.
 - Add escaping as needed
 - and more ...

(closes issue #10978)
Reported by: IgorG
Patches: 
      texdoc-85542-1.patch uploaded by IgorG (license 20)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85547 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-15 13:12:51 +00:00
mmichelson 07fe72da0e Allow for the position announcement to be turned off if desired.
(closes issue #8515, reported by bruno_rocha, initial patch by bruno_rocha, final patch by qwell)




git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85527 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-12 20:06:37 +00:00
mattf 35941f1fac Make sure we propogate ANI2 to the outbound channel
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85499 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-11 22:42:44 +00:00
russell 13b9c5237c Merge a ton of NEW_CLI conversions. Thanks to everyone that helped out! :)
(closes issue #10724)
Reported by: eliel
Patches: 
      chan_skinny.c.patch uploaded by eliel (license 64)
      chan_oss.c.patch uploaded by eliel (license 64)
      chan_mgcp.c.patch2 uploaded by eliel (license 64)
      pbx_config.c.patch uploaded by seanbright (license 71)
      iax2-provision.c.patch uploaded by eliel (license 64)
      chan_gtalk.c.patch uploaded by eliel (license 64)
      pbx_ael.c.patch uploaded by seanbright (license 71)
      file.c.patch uploaded by seanbright (license 71)
      image.c.patch uploaded by seanbright (license 71)
      cli.c.patch uploaded by moy (license 222)
      astobj2.c.patch uploaded by moy (license 222)
      asterisk.c.patch uploaded by moy (license 222)
      res_limit.c.patch uploaded by seanbright (license 71)
      res_convert.c.patch uploaded by seanbright (license 71)
      res_crypto.c.patch uploaded by seanbright (license 71)
      app_osplookup.c.patch uploaded by seanbright (license 71)
      app_rpt.c.patch uploaded by seanbright (license 71)
      app_mixmonitor.c.patch uploaded by seanbright (license 71)
      channel.c.patch uploaded by seanbright (license 71)
      translate.c.patch uploaded by seanbright (license 71)
      udptl.c.patch uploaded by seanbright (license 71)
      threadstorage.c.patch uploaded by seanbright (license 71)
      db.c.patch uploaded by seanbright (license 71)
      cdr.c.patch uploaded by moy (license 222)
      pbd_dundi.c.patch uploaded by moy (license 222)
      app_osplookup-rev83558.patch uploaded by moy (license 222)
      res_clioriginate.c.patch uploaded by moy (license 222)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85460 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-11 19:03:06 +00:00
mmichelson 78e2eb5b9b Merged revisions 85276 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85276 | mmichelson | 2007-10-10 09:26:31 -0500 (Wed, 10 Oct 2007) | 5 lines

A bunch of changes from sprintf to snprintf.

See security advisory AST-2002-022


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85279 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-10 14:38:15 +00:00
file bffe2cb9b5 Merged revisions 85242 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85242 | file | 2007-10-10 11:14:56 -0300 (Wed, 10 Oct 2007) | 6 lines

Close voicemail message description file if duration did not meet the minimum, or else we will eventually run out of file descriptors.
(closes issue #10918)
Reported by: brak2718
Patches:
      vm1.4.12.1.patch uploaded by brak2718 (license 279)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85254 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-10 14:17:08 +00:00
mmichelson 45875de05b Patch to add one-touch parking for queues.
(closes issue #10869, reported and patched by bluecrow76)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85177 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-09 22:35:11 +00:00
tilghman 69a84d074b Remove redundant includes (patch by snuffy) (Closes issue #10922)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85140 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-09 16:04:41 +00:00
mmichelson 1d48e783dc A two-in-one patch from the bugtracker
1) Fix some bad logic in the counting of statistics for QueueSummary manager event. Variables were not being
   reset for each additional queue, so cumulative totals were reported on each successive queue.

2) Add a longest hold time stat to QueueSummary manager event.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@84726 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-04 22:58:26 +00:00
mmichelson e98502ccc5 Merged revisions 84692 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r84692 | mmichelson | 2007-10-04 16:57:03 -0500 (Thu, 04 Oct 2007) | 5 lines

Don't allocate space for queue members unless it's needed. You end up deleting dynamic members on a reload. Not good.

closes issue (#10879, reported by dazza76, patched by me)


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@84693 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-04 22:00:10 +00:00
file 4488db02ad Merged revisions 84637 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r84637 | file | 2007-10-04 11:51:57 -0300 (Thu, 04 Oct 2007) | 4 lines

Create a duplicate of the channel's member name as the tab completion stuff will free it.
(closes issue #10884)
Reported by: adamg

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@84638 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-04 14:54:30 +00:00
russell dac373f539 Corydon posted this janitor project to the bug tracker and mvanbaak provided
a patch for it.  It replaces a bunch of simple calls to snprintf with ast_copy_string

(closes issue #10843)
Reported by: Corydon76
Patches: 
      2007092900_10843.diff uploaded by mvanbaak (license 7)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@84173 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-01 15:23:19 +00:00
russell 41de061a13 Merged revisions 84166 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r84166 | russell | 2007-10-01 09:24:49 -0500 (Mon, 01 Oct 2007) | 2 lines

Simplify the CAN_EARLY_BRIDGE macro a bit.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@84167 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-01 14:27:02 +00:00
file 68cc072bd5 Merged revisions 84158 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r84158 | file | 2007-10-01 10:49:36 -0300 (Mon, 01 Oct 2007) | 4 lines

Only attempt early bridging if the options given to Dial() permit it.
(closes issue #10861)
Reported by: peekyb

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@84159 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-01 13:53:09 +00:00
mmichelson bb28dc886b interface_exists_global was never returning 1. Most likely an error from my merge on Friday.
(closes issue #10817, reported and patched by snar, patch simplified by me)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83656 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-24 17:00:57 +00:00
tilghman 9a467a1d9d Add the MeetmeList and Reload manager commands, which supplement the need to have Command privilege. (closes issue #10736)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83532 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-22 14:03:48 +00:00
tilghman e9ff9c7e6a Fix some areas where we were still using '|' for an argument delimiter (closes issue #10793)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83484 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-21 18:41:36 +00:00
russell 98772b5c5d Update app_queue to use commas as application argument separators.
(closes issue #10793, snar)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83483 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-21 18:27:56 +00:00
qwell e05724ff65 More NEW_CLI conversions.
(issue #10724)
Patches:
      app_playback.c.patch uploaded by moy (license 222)
      app_minivm.c.patch uploaded by eliel (license 64)
      astmm.c.patch uploaded by eliel (license 64)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83381 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-20 23:14:30 +00:00
mmichelson 9317c4ad2f Merging changes from queue_refcount_trunk into trunk. Refcounted queues now in place.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83350 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-20 21:21:28 +00:00
qwell 61d2062cf3 Merged revisions 83246 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r83246 | qwell | 2007-09-20 12:09:14 -0500 (Thu, 20 Sep 2007) | 8 lines

If # is pressed after dialing an extension in DISA, stop trying to collect more digits.

(closes issue #10754)
Reported by: atis
Patches:
      app_disa.c.branch.patch uploaded by atis (license 242)
      app_disa.c.trunk.patch uploaded by atis (license 242)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83251 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-20 17:10:14 +00:00
qwell a35dd640cd More conversions to NEW_CLI
(issue #10724)
Patches:
      chan_zap.c.patch uploaded by moy (license 222)
      app_queue.c.patch uploaded by eliel (license 64)
      app_voicemail.c.patch uploaded by eliel (license 64)
      app_meetme.c.patch uploaded by eliel (license 64)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83213 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-19 23:16:51 +00:00
russell 50579ca209 Merged revisions 83179 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r83179 | russell | 2007-09-19 14:50:48 -0500 (Wed, 19 Sep 2007) | 5 lines

The System() and TrySystem() applications can take a substantial amount of
time to execute while not servicing the channel.  So, put the channel in
autoservice while the command is being executed.
(closes issue #10726, reported by mnicholson)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83180 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-19 19:51:47 +00:00
file 9d16bb6660 Fix indentation in app_db.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83157 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-19 17:22:42 +00:00
file 242489940a Clean up code in app_authenticate.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83156 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-19 17:20:43 +00:00
file 2bee206ee3 Clean up code in app_adsiprog.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83155 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-19 17:14:02 +00:00
file dcd7986aa9 DISA only needs to know about the end of DTMF, not the beginning/duration.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83114 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-19 15:08:43 +00:00
file b2630d28c5 Clean up app_disa code a bit.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83105 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-19 15:05:35 +00:00
file 6275abf53f Merged revisions 83074 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r83074 | file | 2007-09-19 10:47:59 -0300 (Wed, 19 Sep 2007) | 6 lines

Protect the CDR record from modification by pbx_exec so that the application data contains the Queue data.
(closes issue #10761)
Reported by: snar
Patches:
      app-queue-mixmonitor.patch uploaded by snar (license 245)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@83075 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-19 13:49:47 +00:00
russell b2eeaf5cd1 Merged revisions 82992 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82992 | russell | 2007-09-18 19:19:49 -0500 (Tue, 18 Sep 2007) | 4 lines

Change the description of app_flash to note how it can be a useful tool instead
of just saying that it is generally a worthless feature.
(Thanks to Jim Van Meggelen for pointing it out and providing the proposed text)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82993 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-19 00:21:41 +00:00
file 3e2979fc7f Merged revisions 82961 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82961 | file | 2007-09-18 20:41:02 -0300 (Tue, 18 Sep 2007) | 2 lines

Initialize a variable to NULL to make the world happy.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82962 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-18 23:42:24 +00:00
qwell cedd5ba68f (closes issue #10739)
Reported by: ruffle
Patches:
      app_voicemail.c.diff uploaded by ruffle (license 201)
      10739-moveheard.diff uploaded by qwell (license 4)
Tested by: callguy, ruffle

Add an option to disable the automatic moving of "heard" messages to the Old folder.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82871 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-18 21:07:08 +00:00
mmichelson ae40d792a5 Merged revisions 82865 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82865 | mmichelson | 2007-09-18 15:09:02 -0500 (Tue, 18 Sep 2007) | 4 lines

Moving the logic for handling an empty membername to the create_member function so that there is a common place
where this occurs instead of being spread out to several different places.


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82866 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-18 20:10:59 +00:00
kpfleming 40e89364cd Merged revisions 82834 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82834 | kpfleming | 2007-09-18 13:59:52 -0500 (Tue, 18 Sep 2007) | 2 lines

there is no need for conditional logic to select ->interface or ->membername, snince ->membername will always be populated

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82835 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-18 19:06:34 +00:00
qwell a6f3537fbb (closes issue #10755)
Reported by: snar
Patches:
      app-queue-cdr-trunk.patch uploaded by snar (license 245)
      queues.conf.patch uploaded by snar (license 245)

Add an updatecdr option to queues.conf, so that if a "member name" is specified,
 the cdr record will be updated with that, rather than the channel.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82800 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-18 16:16:36 +00:00
russell b9f37c0e99 convert various places that access the channel lock directly to use the channel lock wrappers
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82728 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-17 22:59:36 +00:00
russell 86e008ed63 Merged revisions 82676 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82676 | russell | 2007-09-17 15:16:25 -0500 (Mon, 17 Sep 2007) | 4 lines

Put a memset in ast_localtime() instead of a couple places in app_voicemail
to prevent the problem everywhere instead of just a couple of places.
(related to issue #10746)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82678 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-17 20:19:58 +00:00
russell 6df63b3dca Merged revisions 82644 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82644 | russell | 2007-09-17 15:00:32 -0500 (Mon, 17 Sep 2007) | 6 lines

Initialize some memory to fix crashes when leaving voicemail.  This problem
was fixed by running Asterisk under valgrind.
(closes issue #10746, reported by arcivanov, patched by me)

*** IMPORTANT NOTE:  We need to check to see if this same bug exists elsewhere.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82660 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-17 20:10:10 +00:00
russell eb015e768e Make the MALLOC_DEBUG output for free() useful again. After changing calls to
free to be ast_free, astmm said all calls to free were coming from utils.h


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82628 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-17 18:57:56 +00:00
kpfleming 2515dcf914 Merged revisions 82590,82592 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82590 | kpfleming | 2007-09-17 11:33:30 -0500 (Mon, 17 Sep 2007) | 2 lines

fix a couple of places where a logical member name (if specified) was not used, but instead the direct interface was listed

........
r82592 | kpfleming | 2007-09-17 11:40:12 -0500 (Mon, 17 Sep 2007) | 2 lines

revert a change that wasn't supposed to be committed... doh!

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82593 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-17 16:44:13 +00:00
tilghman 22c370848d Option maxmessage should be maxsecs per-folder, too (closes issue #10729)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82496 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-16 15:32:00 +00:00
mmichelson cd5873cb2b Merged revisions 82396 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82396 | mmichelson | 2007-09-14 13:28:36 -0500 (Fri, 14 Sep 2007) | 5 lines

Adding member name field to manager events where they were missing before

(closes issue #10721, reported by snar)


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82397 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-14 18:34:53 +00:00
mmichelson 4c5fae66ee Changed "in" to "queue" in "queue {pause|unpause} member" command to be more clear.
Also added check to be sure that sixth argument is the word "reason" if full command is given



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82352 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-13 21:53:01 +00:00