Joshua Colp
5460e72015
Add setvar support to chan_zap. Just like you can in chan_sip and chan_iax2 you can now use it with zaptel channels. (done while in Montreal at the Asterisk bootcamp!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-13 16:58:59 +00:00
Russell Bryant
1282de797d
Various code and documentation cleanups for res_config_sqlite
...
(closes issue #10711 , rbraun_proformatique)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82321 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-13 15:26:40 +00:00
Joshua Colp
9bd4b3e353
Lil' bit more documentation to keep folks happy.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82258 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-11 18:37:39 +00:00
Joshua Colp
9642d93117
(closes issue #9433 )
...
Reported by: junky
Patches:
register_trying.diff.txt uploaded by jcmoore
Disable sending 100 Trying on REGISTER attempts and make it an option. This has been signed off by oej.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82257 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-11 17:58:48 +00:00
Mark Michelson
6ed072cb5a
Merged revisions 82091 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r82091 | mmichelson | 2007-09-10 10:02:12 -0500 (Mon, 10 Sep 2007) | 5 lines
Removing non-existent options from misdn configuration sample.
(closes issue #10678 , reported and patched by IgorG)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82092 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-10 15:05:13 +00:00
Mark Michelson
144b090ddb
Merged revisions 81886 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r81886 | mmichelson | 2007-09-07 10:25:19 -0500 (Fri, 07 Sep 2007) | 3 lines
Moving the explanation for joinempty to a more appropriate place
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81891 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-07 15:29:23 +00:00
Russell Bryant
235417dbd0
Fix the syntax of declaring a hint with a name to be compatible with trunk
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81781 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-06 20:05:50 +00:00
Jason Parker
a087396798
Merged revisions 81453 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
(closes issue #10644 )
........
r81453 | qwell | 2007-09-04 14:56:06 -0500 (Tue, 04 Sep 2007) | 4 lines
Change default followme config file to point to the correct files.
Issue 10644, patch by pabelanger
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81454 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-04 19:56:46 +00:00
Joshua Colp
944352251d
(closes issue #10633 )
...
Reported by: pabelanger
Patches:
extensions.ael.sample.patch uploaded by pabelanger (license 224)
Update extensions.ael.sample with voicemail and | changes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81441 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-04 14:28:13 +00:00
Mark Michelson
54170b94e0
Added note to sample queues.conf file to line up with most recent change regarding setinterfacevar.
...
MEMBERREALTIME indicates whether a member is realtime.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81388 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-30 18:52:44 +00:00
Russell Bryant
4b2095bdd3
Merged revisions 81379 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r81379 | russell | 2007-08-30 10:33:48 -0500 (Thu, 30 Aug 2007) | 3 lines
Fix a typo, update a reload command, and remove an unused configuration file.
(closes issue #10606 , casper)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81380 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-30 15:34:18 +00:00
Tilghman Lesher
f5a14167f3
Support better rotation of log files to be more like system logging (closes issue #10398 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81277 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-28 20:03:48 +00:00
Russell Bryant
01490ecd70
Merged revisions 81226 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r81226 | russell | 2007-08-28 10:41:15 -0500 (Tue, 28 Aug 2007) | 2 lines
Add Russian tones. (closes issue #7953 , hanabana)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81227 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-28 15:42:08 +00:00
Joshua Colp
7c760f67c3
(closes issue #10569 )
...
Reported by: IgorG
Patches:
sip_conf-80933-1.patch uploaded by IgorG (license 20)
Fix up sip.conf sample configuration.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@80962 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-27 12:18:13 +00:00
Jason Parker
31c82ec1e0
Merged revisions 80130 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r80130 | qwell | 2007-08-21 10:03:45 -0500 (Tue, 21 Aug 2007) | 7 lines
(closes issue #10510 )
Reported by: casper
Patches:
cdr.conf.diff uploaded by casper (license 55)
Fix a few errors in sample cdr config file.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@80131 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-21 15:04:37 +00:00
Jason Parker
3105a37a3d
Merged revisions 80047 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r80047 | qwell | 2007-08-20 11:08:49 -0500 (Mon, 20 Aug 2007) | 7 lines
(closes issue #10499 )
Reported by: casper
Patches:
extensions.conf.sample.diff uploaded by casper (license 55)
Update CLI examples in extensions.conf.sample to reflect command changes.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@80048 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-20 16:12:29 +00:00
Tilghman Lesher
782b662898
Documentation for %q in logger.conf, as suggested by jtodd (closes issue #10475 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79901 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-17 16:39:41 +00:00
Joshua Colp
8d9b63884c
Merged revisions 78951 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r78951 | file | 2007-08-10 10:49:19 -0300 (Fri, 10 Aug 2007) | 4 lines
(closes issue #10422 )
Reported by: bhowell
Add note to sample configuration about module load order and how it can cause perfectly good queue members to be marked as invalid.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78952 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-10 13:50:58 +00:00
Joshua Colp
afceb3e4aa
Merged revisions 78569 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r78569 | file | 2007-08-08 10:51:01 -0300 (Wed, 08 Aug 2007) | 4 lines
(closes issue #10335 )
Reported by: adamgundy
Update sip.conf to include another scenario where directrtpsetup will fail.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78570 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-08 13:52:13 +00:00
Jason Parker
bb700d82ce
Implement setvar functionality in chan_skinny
...
Closes issue #10379 , patch by mvanbaak.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78179 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-06 16:08:11 +00:00
Jason Parker
1064b75ab7
Merged revisions 77996 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
(closes issue #9779 )
........
r77996 | qwell | 2007-08-02 16:53:39 -0500 (Thu, 02 Aug 2007) | 5 lines
Make sure we actually allow 6 chars to be sent.
Also make note of the "A" option of date format.
Issue 9779, modifications by DEA, wedhorn, and myself.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77997 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-02 21:54:54 +00:00
Luigi Rizzo
2286afa3af
Enhance NAT support as discussed on the -dev list, i.e.:
...
+ extensive documentation changes both in sip.conf.sample and in the source;
+ allow "externip" and "externhost" to include a port number as well;
+ allow "bindaddr" to have a port number (making bindport unnecessary,
even though it is still present for backward compatibility);
+ introduce the new "stunaddr" parameter to specify an STUN server to
be used from the main SIP socket;
+ extend the "sip show settings" output to show all the above.
Internally:
+ change related data structures from struct in_addr to struct sockaddr_in
to store the port numbers as well;
+ reorganize ast_sip_ouraddrfor() (should also be renamed to sip_ouraddrfor()
because it is not a generic API, though it might become so if called with
a socket as an additional argument, in which case it can be moved elsewhere).
As mentioned in the documentation, media sessions still do not use STUN so the
port numbers may still be incorrect when Asterisk is behind a NAT
On passing, some of the debugging messages printing media addresses are
probably using the wrong values, but this will be checked/fixed in a
subsequent commit if needed.
Part of the following chunk in the function that handles a "sip reload" is
probably needed on previous versions as well, to avoid leaking the memory
used for the "localaddr" list:
@@ -17244,13 +17274,17 @@
/* Reset IP addresses */
memset(&bindaddr, 0, sizeof(bindaddr));
+ memset(&stunaddr, 0, sizeof(stunaddr));
+ memset(&internip, 0, sizeof(internip));
+ /* Free memory for local network address mask */
+ ---> ast_free_ha(localaddr); <-----
memset(&localaddr, 0, sizeof(localaddr));
memset(&externip, 0, sizeof(externip));
memset(&default_prefs, 0 , sizeof(default_prefs));
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@76221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-21 01:01:10 +00:00
Jason Parker
b928d1a0f3
Add support for default "say mode" (whether to use the "old" method or "new" method. "new" method being config file)
...
Add support for autocomplete of "say load" CLI command.
Patch by IgorG
(closes issue #10243 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@76216 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-20 22:25:41 +00:00
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