Commit graph

873 commits

Author SHA1 Message Date
Christian Richter
090cbd2945 added general Jitterbuffer Implementation. #9960
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73298 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-05 07:45:21 +00:00
Jason Parker
8a9bc541ee Add support for regcontext and regexten to chan_skinny
Issue 9762, patch by mvanbaak.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72741 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-29 21:37:43 +00:00
Mark Michelson
5310385315 Added ability to customize which buttons control forward, reverse, pause, and stop during message playback.
(closes issue 9474, reported and patched by jaroth with modifications by me)



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-27 22:47:08 +00:00
Mark Michelson
4596af13fc Adding feature to support the storage and retrieval of voicemail greetings using IMAP storage.
This feature may be turned on by adding imapgreetings=yes to the general section of voicemail.conf
voicemail.conf.sample has details on the options added.

As a result, IMAP storage now has RETRIEVE and DISPOSE macros defined.

In addition to the IMAP greeting changes, I also have added an enum for the voicemail folders
and so now the code should be easier to understand and maintain when it comes to this area.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72232 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-27 19:50:21 +00:00
Jason Parker
7a1c2d94bb Add manager events for RTCP statistics.
Also adds a new "reporting" permission for manager, since it can be incredibly spammy.
  This permission was discussed on the -dev mailing list some months back.

Issue 8613, patch by johann8384, with some minor changes by me.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70961 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-21 23:07:20 +00:00
Steve Murphy
9c2197dc9e This enhancement provided via bug 9993, a patch to upgrade cdr_manager to have cdr_custom capabilities. Many thanks to eserra for this contribution
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70122 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-19 20:38:21 +00:00
Steve Murphy
c6ed12405f These changes were submitted via bug 6683, to allow CID detection in India, with carriers that do Polarity/DTMF CID signalling.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70001 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-19 17:07:28 +00:00
Matthew Fredrickson
f408a5405a Add support for setting nature of address, presentation, and other related SS7 number options (#10000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69943 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-19 15:14:23 +00:00
Jason Parker
bd3de6d0f1 Change displayconnects option in manager.conf to be per-user.
Issue 9932, patch by eliel


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68831 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-11 22:07:50 +00:00
Joshua Colp
cb55dbe8eb Update documentation for proper CLI commands. (issue #9936 reported by eserra)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68662 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-11 11:49:48 +00:00
Russell Bryant
6aec360466 Remove our little joke that was making fun of email disclaimers which nobody
else seemed to think was very funny.  Oh well ... :)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-06 22:27:18 +00:00
Russell Bryant
0b6c6b2e89 Add some more information about the SIP Disclaimer header.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66856 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-01 13:48:29 +00:00
Russell Bryant
3ce231fe95 fix a typo.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66818 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-31 21:23:55 +00:00
Russell Bryant
3d2b58751f To satisfy some legal concerns, add an option for chan_sip to include a
disclaimer along with SIP messages in the header, X-Disclaimer.  This is off by
default.  Also, the text of the disclaimer can be customized in sip.conf.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66777 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-31 19:41:03 +00:00
Russell Bryant
8d0124aba3 Add support for configuring named groups of custom call features in
features.conf.  This allows you to create a feature one time, and then map it
into groups for various different key mappings for the same feature, as well
as easy access control to groups of features.
(patch from bbryant)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66774 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-31 18:21:47 +00:00
Russell Bryant
cc35dc8999 Revert changes that snuck in with revision 66724.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66773 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-31 18:09:50 +00:00
Tilghman Lesher
e9251f42df Issue 9799 - Multirow results for func_odbc
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66734 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-31 15:05:56 +00:00
Russell Bryant
8ea9dcc221 Fix a crash on reload by using calloc() instead of malloc() to ensure that
data is properly initialized.
(issue #9765, reported by MatsK, patch from eliel)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66724 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-31 14:52:30 +00:00
Russell Bryant
90d6885701 Add a new feature for Music on Hold. If you set the "digit" option for a
class in musiconhold.conf, a caller on hold may press this digit to switch
to listening to that music class.
  This involved adding a new callback for generators, which allow generators
to get notified of DTMF from the channel they are running on.  Then, a callback
was implemented for the music on hold generators.
(patch from bbryant)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65505 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-22 18:52:59 +00:00
Tilghman Lesher
6fbadb4325 Merge cdr_adaptive_odbc from developer branch
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65169 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-18 20:21:11 +00:00
Russell Bryant
7ee1303796 Add an option that lets you only allow one connection at a time for each
manager user.  (issue #8664, reported and original patch by ssokol, patch
updated by bkruse, and further updated by me)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64786 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-17 17:12:23 +00:00
Olle Johansson
90bad9d2f5 Issue #6789 - Marquis - Add option to support regexten removal when host becomes unreachable
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64497 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-16 07:35:56 +00:00
Matthew Fredrickson
9b5454232c XXX-XXX-XXX appears to be the standard ANSI pointcode format
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64455 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-15 20:45:20 +00:00
Jason Parker
fc9e664ccd oops - silly typo there
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-14 18:14:56 +00:00
Jason Parker
2d1b06faef Don't allow rounding seconds to weird values that may cause "unexpected" results.
Issue 9514.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64263 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-14 18:08:54 +00:00
Jason Parker
60f6a72123 Add/fix support for Redial, Speeddial, and Messages buttons.
Combined effort by DEA and mvanbaak.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64030 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-11 22:52:36 +00:00
Russell Bryant
5ad8cee6d7 Merged revisions 63329 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r63329 | russell | 2007-05-07 17:28:50 -0500 (Mon, 07 May 2007) | 3 lines

Add a sample configuration file and example tables for use with res_config_pgsql.
(issue #9676, suretec)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63330 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-07 22:32:50 +00:00
Pari Nannapaneni
f1ca07ea8b Merged revisions 63047 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r63047 | pari | 2007-05-04 11:45:29 -0500 (Fri, 04 May 2007) | 1 line

explanation for httptimeout in manager.conf
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63105 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-04 20:11:03 +00:00
Russell Bryant
5d0f7ea753 Add Hungarian language support to say.c and say.conf.
(issue #7077, patch by adomjan)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62792 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-02 23:30:07 +00:00
Russell Bryant
7df63e233c In addition to making it so attended transfers don't fail unnecessarily,
add some new options to control what happens when you hangup on an attended
transfer before the target extension answers the transferred channel.  You
can now have it send the transferee back to the transferer.
(issue #8413, patch from sergee with very minor modifications by me)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62593 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-01 22:24:51 +00:00
Russell Bryant
32ca8db474 Merged revisions 62497 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r62497 | russell | 2007-05-01 11:26:48 -0500 (Tue, 01 May 2007) | 11 lines

Merged revisions 62496 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r62496 | russell | 2007-05-01 11:26:23 -0500 (Tue, 01 May 2007) | 3 lines

Add indications.conf information for the Philippines.
(issue #9525, reported and patched by loloski)

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-01 16:27:14 +00:00
Russell Bryant
b419fc1134 Add support for setting the CoS for VLAN traffic (802.1p) in Linux. The
file doc/qos.tex has been updated to document the new functionality.
(issue #9540, patch submitted by IgorG)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-30 16:16:26 +00:00
Jason Parker
b942fe3d89 Merged revisions 62371 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r62371 | qwell | 2007-04-30 09:52:31 -0500 (Mon, 30 Apr 2007) | 2 lines

Remove unused (and potentially confusing) jitterbuffer options from sample config.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-30 14:56:43 +00:00
Russell Bryant
b6b1bf3213 Merge changes from team/russell/events
This set of changes introduces a new generic event API for use within Asterisk.
I am still working on a way for events to be shared between servers, but this
part is ready and can already be used inside of Asterisk.

This set of changes introduces the first use of the API, as well.  I have
restructured the way that MWI (message waiting indication) is handled.  It is
now event based instead of polling based.  For example, if there are a bunch
of SIP phones subscribed to mailboxes, then chan_sip will not have to
constantly poll the mailboxes for changes.  app_voicemail will generate events
when changes occur.

See UPGRADE.txt and CHANGES for some more information on the effects of these
changes from the user perspective.  For developer information, see the text in
include/asterisk/event.h.

As always, additional feedback is welcome on the asterisk-dev mailing list.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62292 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-28 21:01:44 +00:00
Russell Bryant
672fbc1f81 Add a min-announce-frequency option to queues.conf which allows you to control the
minimum amount of time between queue announcements for use when the caller's queue
position changes frequently.
(issue #9604, patch by Matthew Roth)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62242 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-27 22:08:54 +00:00
Olle Johansson
c72efe27be Mini-voicemail - an embryo for a new voicemail system based on building
blocks instead of one large monolithic app. Supports multiple templates
and is designed mostly for voicemail delivery over e-mail.

There's a todo with a list of ideas in the source code if you want
to contribute. Feedback is appreciated!


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61671 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-18 07:57:18 +00:00
Tilghman Lesher
47dd5a15af Issue 6082 - New DTMF event for manager
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61324 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-10 23:55:26 +00:00
Russell Bryant
0a9750ef9f Merged revisions 60603 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60603 | russell | 2007-04-06 15:58:43 -0500 (Fri, 06 Apr 2007) | 13 lines

To be able to achieve the things that we would like to achieve with the
Asterisk GUI project, we need a fully functional HTTP interface with access
to the Asterisk manager interface.  One of the things that was intended to be
a part of this system, but was never actually implemented, was the ability for
the GUI to be able to upload files to Asterisk.  So, this commit adds this in
the most minimally invasive way that we could come up with.

A lot of work on minimime was done by Steve Murphy.  He fixed a lot of bugs in
the parser, and updated it to be thread-safe.  The ability to check
permissions of active manager sessions was added by Dwayne Hubbard.  Then,
hacking this all together and do doing the modifications necessary to the HTTP
interface was done by me.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60604 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06 21:16:38 +00:00
Steve Murphy
cd88d132ce Merged revisions 60323 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60323 | murf | 2007-04-05 16:35:11 -0600 (Thu, 05 Apr 2007) | 1 line

Added some clarification to the example configs for CDRs, on how to select a backend. Also, made cdr-csv the default if you 'make samples', and no other changes.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60324 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-05 22:40:42 +00:00
Steve Murphy
684527fcfd Merged revisions 59452 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59452 | murf | 2007-03-29 18:56:36 -0600 (Thu, 29 Mar 2007) | 1 line

A small clarification to keep bugs from being filed, and confusion from rising, if clearglobalvars is set, and globals are set in the AEL file. (9419)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59453 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-30 01:16:22 +00:00
Tilghman Lesher
7b905e1282 Merged revisions 59040 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59040 | tilghman | 2007-03-19 10:42:26 -0500 (Mon, 19 Mar 2007) | 2 lines

Fix unescaped semicolon (reported via -dev list)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59041 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-19 15:43:15 +00:00
Russell Bryant
79a3c3b9e1 Merged revisions 58957 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58957 | russell | 2007-03-15 20:42:37 -0500 (Thu, 15 Mar 2007) | 1 line

fix a couple SLA documentation references
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58958 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-16 01:43:41 +00:00
Russell Bryant
2ea01c893c Merged revisions 58894 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58894 | russell | 2007-03-14 11:33:01 -0500 (Wed, 14 Mar 2007) | 8 lines

By default, don't attempt to do any CallerID handling at all with SLA because
it is known to not work properly in some situations.  However, add an option to
enable it for those that would like to use it anyway.

The short story behind this is that to properly handle CallerID with SLA, we
need the ability to change the CallerID on an existing call, and we are not
ready to handle that.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-14 16:34:03 +00:00
Russell Bryant
2e2c6e52ee Merged revisions 58870 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58870 | russell | 2007-03-13 18:11:08 -0500 (Tue, 13 Mar 2007) | 1 line

fix the reference to the SLA documentation
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58871 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-13 23:11:30 +00:00
Russell Bryant
5bea998a55 Merge changes from team/russell/sqlite:
* Add new module, cdr_sqlite3_custom which allows logging custom CDRs into a
  SQLite3 database.  (issue #7149, alerios)
* Add new module, res_config_sqlite, which adds realtime database configuration
  support for SQLite version 2.  I decided that this was ok since we didn't have
  any realtime support for version 3.  If someone ports this to version 3, then
  version 2 support can be removed or marked deprecated.
  (issue #7790, rbarun_proformatique)
* Mark cdr_sqlite as deprecated in favor of cdr_sqlite3_custom.

Also, note that there were other modules on the bug tracker that did not make
the cut because they provided some duplicated functionality.  Those are:

* cdr_sqlite3 (issue #6754, moy)
* cdr_sqlite3 (issue #8694, bsd)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-13 21:22:33 +00:00
Joshua Colp
ea226e9d77 Merged revisions 58779 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58779 | file | 2007-03-11 20:51:16 -0400 (Sun, 11 Mar 2007) | 2 lines

Add matchexterniplocally setting which only substitutes your externip/externhost setting if it matches the localnet setting. I know of at least two people who need opposite settings, so I made it an option! (issue #8821 reported by kokoskarokoska)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58780 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-12 00:54:13 +00:00
Russell Bryant
32e03f9e4a Add the ability to dynamically specify weights for responses to DUNDi queries.
This can be done using a global variable or a dialplan function.  Using the
SHELL() function will allow you to use an external script to determine what the
weight in the response should be.  This can be very useful in load balancing
applications.
(inspired by discussions with blitzrage and jsmith in #asterisk-bugs)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-07 22:30:52 +00:00
Russell Bryant
ba432b7319 Merged revisions 58119 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58119 | russell | 2007-03-06 17:00:57 -0600 (Tue, 06 Mar 2007) | 3 lines

Clarify the documentation of the dialout and sendvoicemail options.
(issue #9000, caio1982 and serge-v)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58120 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-06 23:01:30 +00:00
Joshua Colp
1dd8e4b0b5 Remove no longer present CLI commands from sample extensions.conf. (issue #9193 reported by junky)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57772 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-05 03:41:48 +00:00
Russell Bryant
746f3fcdb2 Add the missing configuration template to the sample config file.
Thanks to Lacy Moore on the asterisk-users list for pointing out that this
was missing!


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57590 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-03 00:01:25 +00:00