Matthew Fredrickson
8a52c88988
Let's hard code this until I fix it
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85444 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-11 17:17:58 +00:00
Matthew Fredrickson
14730c0ce4
Make sure we are clean to build without libpri
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85431 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-11 17:09:31 +00:00
Russell Bryant
feb8f6f38b
Merged revisions 84783 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r84783 | russell | 2007-10-05 11:44:21 -0500 (Fri, 05 Oct 2007) | 4 lines
Do deadlock avoidance in a couple more places. You can't lock two channels
at the same time without doing extra work to make sure it succeeds.
(closes issue #10895 , patch by me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@84784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-05 16:49:16 +00:00
Kevin P. Fleming
fd5783657e
Merged revisions 84690 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r84690 | kpfleming | 2007-10-04 16:36:56 -0500 (Thu, 04 Oct 2007) | 2 lines
callers of sig2str already add the word 'signalling' in the appropriate place, so don't duplicate it
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@84691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-10-04 21:38:22 +00:00
Tilghman Lesher
afebefc763
Merged revisions 83879 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r83879 | tilghman | 2007-09-26 13:35:56 -0500 (Wed, 26 Sep 2007) | 2 lines
Remove unused 4k of memory on the program stack (closes issue #10827 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83880 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-26 18:43:23 +00:00
Russell Bryant
0b0c36ff6a
Fix compilation errors in CLI command updates to SS7 CLI commands
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83500 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-21 19:55:03 +00:00
Jason Parker
ac5332c674
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: https://origsvn.digium.com/svn/asterisk/trunk@83213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-19 23:16:51 +00:00
Russell Bryant
96f4079dac
Don't use ast_channel_lock_both() here, it only exists in one of my branches.
...
This is theoretically a potential deadlock, but it's the way it was before so
I'm going to leave it this way for now.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82776 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-18 16:10:48 +00:00
Russell Bryant
ded76a8988
convert various places that access the channel lock directly to use the channel lock wrappers
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82728 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-17 22:59:36 +00:00
Jason Parker
7fa9eebd99
Merged revisions 82394 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r82394 | qwell | 2007-09-14 12:48:05 -0500 (Fri, 14 Sep 2007) | 5 lines
If a channel does not have an owner, do not try to set a channel variable.
This will end up making the channel variable global, which is not right.
Closes issue #10720 , patch by flefoll.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82395 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-14 17:51:22 +00:00
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
Matthew Fredrickson
d3504cd159
Fix to make sure we don't hangup a call when getting a RLC without sending REL. Found making sure we are Q.784 (the SS7 test specification) compliant
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-11 23:07:49 +00:00
Matthew Fredrickson
c61d954422
Patch on 10575. Add support for unequipped CIC (UCIC) message as well as improve some of our CIC flags in chan_zap
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81742 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-06 16:38:54 +00:00
Tilghman Lesher
acb51ca5c2
Add new queryable fields from zaptel to 'zap show status'
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81400 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-30 23:52:32 +00:00
Matthew Fredrickson
3616eb166f
Add VMWI chan_zap support #9909
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@80778 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-24 18:05:11 +00:00
Kevin P. Fleming
b16f018d96
Merged revisions 80501 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r80501 | kpfleming | 2007-08-23 12:08:25 -0500 (Thu, 23 Aug 2007) | 2 lines
report the actual channel number that was unregistered, instead of assuming that the interface list consists of channels 1 through <x> with no gaps in the sequence
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@80508 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-23 17:18:29 +00:00
Joshua Colp
65e4c80d48
Fix random segfault issue when loading chan_zap. Trying to access a configuration structure that has already been destroyed is bad, mmmk?
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@80023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-20 14:15:30 +00:00
Tilghman Lesher
749b67bd1d
We weren't properly encapsulating the mtime ignores of config files (closes issue #10488 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79940 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-18 13:52:44 +00:00
Russell Bryant
57d5934e5d
Merged revisions 79912 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r79912 | russell | 2007-08-17 16:01:43 -0500 (Fri, 17 Aug 2007) | 4 lines
Avoid a crash in the handling of DTMF based Caller ID. It is valid for
ast_read to return NULL in the case that the channel has been hung up.
(crash reported by anonymouz666 on IRC in #asterisk-dev)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79913 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-17 21:04:33 +00:00
Joshua Colp
ecff1370fb
Fix building of chan_zap under development mode without libpri and libss7 installed.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79824 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-17 01:19:04 +00:00
Tilghman Lesher
56b9568164
Don't reload a configuration file if nothing has changed.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79747 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-16 21:09:46 +00:00
Steve Murphy
4f98b05cd5
Don't ask me why, but waitfordigit will immediately return a 1 on my system, unless the outfd is initialized to -1 before calling the nandfds func
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-14 13:46:58 +00:00
Joshua Colp
d5eda8709c
Merged revisions 79174 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r79174 | file | 2007-08-13 11:18:04 -0300 (Mon, 13 Aug 2007) | 4 lines
(closes issue #10437 )
Reported by: haklin
Don't set the callerid name and number a second time on a newly created channel. ast_channel_alloc itself already sets it and setting it twice would cause a memory leak.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79175 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-13 14:22:46 +00:00
Russell Bryant
9d1acad76b
Fix a problem that I had introduced into MWI handling. I had ignored
...
the mailbox context. Now, all related MWI event dealings pay attention
to the context as well.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78747 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-09 17:07:36 +00:00
Joshua Colp
22114b509d
Add support for using epoll instead of poll. This should increase scalability and is done in such a way that we should be able to add support for other poll() replacements.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78683 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-08 21:44:58 +00:00
Joshua Colp
063c747f3a
HAVEL_SS7 should be HAVE_SS7. Reported by kwallace.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78679 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-08 20:49:07 +00:00
Russell Bryant
eba344f498
Merged revisions 78371 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r78371 | russell | 2007-08-07 12:45:30 -0500 (Tue, 07 Aug 2007) | 12 lines
Merged revisions 78370 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r78370 | russell | 2007-08-07 12:44:04 -0500 (Tue, 07 Aug 2007) | 4 lines
Revert patch committed for issue #9660 . It broke E&M trunks.
(closes issue #10360 )
(closes issue #10364 )
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-07 17:46:00 +00:00
Joshua Colp
57769b9a53
Can't forget outsignaling!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78347 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-07 16:17:08 +00:00
Joshua Colp
4684dd1761
Just for jsmith... make signaling a valid option that acts like signalling.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78346 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-08-07 16:09:27 +00:00
Russell Bryant
f8483a0d04
Do a massive conversion for using the ast_verb() macro
...
(closes issue #10277 , patches by mvanbaak)
Basically, this changes ...
if (option_verbose > 2)
ast_verbose(VERBOSE_PREFIX_3, "Something\n");
to ...
ast_verb(3, "Something\n");
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77299 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-26 15:49:18 +00:00
Steve Murphy
30c771a9d7
Merged revisions 76983 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r76983 | murf | 2007-07-24 18:18:32 -0600 (Tue, 24 Jul 2007) | 9 lines
Merged revisions 76978 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r76978 | murf | 2007-07-24 18:07:24 -0600 (Tue, 24 Jul 2007) | 1 line
this fixes bug 10293, where the error message because defaultzone or loadzone was not defined was confusing
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@76984 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-25 00:34:42 +00:00
Tilghman Lesher
81bc1d7af5
Merge in ast_strftime branch, which changes timestamps to be accurate to the microsecond, instead of only to the second
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75706 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-18 19:47:20 +00:00
Russell Bryant
432a087ed9
Merged revisions 75053 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r75053 | russell | 2007-07-13 14:11:26 -0500 (Fri, 13 Jul 2007) | 20 lines
Merged revisions 75052 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r75052 | russell | 2007-07-13 14:10:00 -0500 (Fri, 13 Jul 2007) | 12 lines
(closes issue #9660 )
Reported by: mmacvicar
Patches submitted by: bbryant, russell
Tested by: mmacvicar, marco, arcivanov, jmhunter, explidous
When using a TDM400P (and probably other analog cards) there was a chance that
you could hang up and pick the phone back up where it has been long enough to
be not considered a flash hook, but too soon such that the device reports that
it is busy and the person on the phone will only hear silence. This patch
makes chan_zap more tolerant of this and gives the device a couple of seconds
to succeed so the person on the phone happily gets their dialtone.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75054 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-13 19:19:51 +00:00
Jason Parker
d61b0cac84
Merged revisions 74159 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
Closes issue #9186
................
r74159 | qwell | 2007-07-09 15:19:28 -0500 (Mon, 09 Jul 2007) | 16 lines
Merged revisions 74158 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r74158 | qwell | 2007-07-09 15:18:15 -0500 (Mon, 09 Jul 2007) | 8 lines
Several chan_zap options were not working on reload because they were arbitrarily
disallowed when reloading some/most PRI options (such as signalling) was disallowed.
Options such as polarityonanswerdelay and answeronpolarityswitch can safely be changed on a reload.
This corrects that behavior.
Issue 9186, patch by tzafrir.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@74160 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-07-09 20:21:13 +00:00
Matthew Fredrickson
da124685f3
Fix bug where point code gets corrupted on CPG
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72437 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-28 16:35:38 +00:00
Matthew Fredrickson
7f233a8dc2
Let's NOT create a deadlock scenario here
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-27 21:44:13 +00:00
Kevin P. Fleming
86fcb89338
Merged revisions 72205 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r72205 | kpfleming | 2007-06-27 14:13:21 -0500 (Wed, 27 Jun 2007) | 2 lines
use the proper type for storing group number bits so that if someone specifies 'group=42' it will actually work instead of being silently ignored
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72207 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-27 19:13:54 +00:00
Matthew Fredrickson
8da2de3a6c
Remove deprecated function call
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70769 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-21 18:03:46 +00:00
Russell Bryant
a89e4c5083
Merged revisions 70397 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r70397 | russell | 2007-06-20 13:46:49 -0500 (Wed, 20 Jun 2007) | 13 lines
Merged revisions 70396 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r70396 | russell | 2007-06-20 13:45:38 -0500 (Wed, 20 Jun 2007) | 5 lines
Fix a problem where an established call would not be properly disconnected
when a PRI disconnect is received depending on which cause code was received.
(issue #9588 , original patch by softins, updated patch from jtexter3, and some
additional feedback from mhardeman)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70398 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-20 18:48:34 +00:00
Olle Johansson
3aafb233f2
Show TDD status in "zap show channels"
...
Inspired by work at Omnitor in Sweden
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70310 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-20 14:33:34 +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
Russell Bryant
055d82cbce
Add a massive set of changes for converting to use the ast_debug() macro.
...
(issue #9957 , patches from mvanbaak, caio1982, critch, and dimas)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69327 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-14 19:39:12 +00:00
Matthew Fredrickson
60b029aa82
Clean up debug messages a little bit for ss7 linkset debugging
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69308 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-14 16:41:57 +00:00
Russell Bryant
d2a78872cc
Fix a couple of places that got missed in the conversion to using the new API
...
call for creating detached threads.
(issue #9915 , reported by elguro, fixed by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68325 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-07 22:38:59 +00:00
Matthew Fredrickson
46e054c1af
Allow overlapdialing directions to be configurable. Bug #8554
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67920 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-06 23:12:58 +00:00
Tilghman Lesher
9d05ff8ed5
Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-06 21:20:11 +00:00
Joshua Colp
ca529e58e6
When SS7 is enabled add w/SS7 to the end. (issue #9893 reported by Mike Anikienko)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-06 12:23:59 +00:00
Russell Bryant
d8fa6b0312
Merged revisions 67457 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r67457 | russell | 2007-06-05 14:48:02 -0500 (Tue, 05 Jun 2007) | 2 lines
Suppress a bunch of debug output unless option_debug is on
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67458 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-05 19:50:04 +00:00
Russell Bryant
bbd0541f98
Improve the way that the zaptel channel name is created by using the Asterisk
...
strings API and by only allocating space on the stack
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67380 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-05 17:11:32 +00:00
Joshua Colp
c103a8d298
This concludes my tweaking of things.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66604 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-30 16:11:57 +00:00
Russell Bryant
4b3a3fb14c
Add a new API call for creating detached threads. Then, go replace all of the
...
places in the code where the same block of code for creating detached threads
was replicated. (patch from bbryant)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65968 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-24 18:30:19 +00:00
Matthew Fredrickson
cc016de696
Make sure we get the cause code in the REL
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65640 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-23 15:37:51 +00:00
Russell Bryant
5558323d0c
Merged revisions 65589 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r65589 | russell | 2007-05-23 08:07:13 -0500 (Wed, 23 May 2007) | 11 lines
Merged revisions 65588 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r65588 | russell | 2007-05-23 08:06:17 -0500 (Wed, 23 May 2007) | 3 lines
Revert revision 62417 as someone reported problems with it to Mark. This was
related to issue #9588 .
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65591 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-23 13:10:28 +00:00
Russell Bryant
d3ee017682
Merged revisions 65501 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r65501 | russell | 2007-05-22 13:40:38 -0500 (Tue, 22 May 2007) | 3 lines
List res_smdi as a dependency for app_voicemail and chan_zap
(Thanks to mnicholson for pointing it out)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65502 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-22 18:41: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
Matthew Fredrickson
79f553a4ab
Only print the SS7 UP once. Not every time we get the test messages on the
...
line.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64384 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-14 22:25:56 +00:00
Matthew Fredrickson
e2ca869abd
Merged revisions 63654 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r63654 | mattf | 2007-05-09 12:25:21 -0500 (Wed, 09 May 2007) | 10 lines
Merged revisions 63653 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r63653 | mattf | 2007-05-09 12:20:20 -0500 (Wed, 09 May 2007) | 2 lines
Make sure we only create a DSP if it's requested on SUB_REAL
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63655 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-09 17:35:54 +00:00
Steve Murphy
fe7068a51b
Merged revisions 62689 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r62689 | murf | 2007-05-02 11:10:50 -0600 (Wed, 02 May 2007) | 1 line
a)In chan_zap, set the clid, src fields in channel_alloc call. b)in the channel_alloc func, set the cid_num and name fields from the arglist[blush]. c) don't update the channel app & app data fields if you are in the 'h' extension. d)the load_module func in cdr_radius needs to return DECLINE, SUCCESS.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62690 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-02 17:24:03 +00:00
Russell Bryant
a91f9b138d
Merged revisions 62419 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r62419 | russell | 2007-04-30 10:58:28 -0500 (Mon, 30 Apr 2007) | 12 lines
Merged revisions 62417 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r62417 | russell | 2007-04-30 10:57:26 -0500 (Mon, 30 Apr 2007) | 4 lines
This patch fixes an issue where depending on the cause code, when the network
sends a PRI disconnect, the call may not be properly hung up.
(issue #9588 , reported and patched by softins)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62422 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-30 15:59:27 +00:00
Russell Bryant
0efe511879
Merged revisions 62331 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r62331 | russell | 2007-04-29 00:50:37 -0500 (Sun, 29 Apr 2007) | 3 lines
Fix a bug that made the "language" setting in zapata.conf not
functional. (issue #9626 , reported and fixed by sergee)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62332 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-29 05:51:18 +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
Kevin P. Fleming
ee95074173
Merged revisions 61914 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r61914 | kpfleming | 2007-04-25 17:29:53 -0500 (Wed, 25 Apr 2007) | 10 lines
Merged revisions 61913 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r61913 | kpfleming | 2007-04-25 17:24:59 -0500 (Wed, 25 Apr 2007) | 2 lines
handle a very bizarre race condition with channels being redirected before a simple switch can be started on them (issue #9286 )
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61915 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-25 22:34:58 +00:00
Russell Bryant
f5d4a16cda
Merged revisions 61799 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r61799 | russell | 2007-04-25 11:22:07 -0500 (Wed, 25 Apr 2007) | 11 lines
Merged revisions 61798 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r61798 | russell | 2007-04-25 11:20:38 -0500 (Wed, 25 Apr 2007) | 3 lines
Fix a typo where cid_num got copied instead of cid_ani.
(issue #9587 , reported and patched by xrg)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61800 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-25 16:23:00 +00:00
Dwayne M. Hubbard
f3ab33014a
removed #if 0 block from chan_zap restart_monitor()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-24 19:08:28 +00:00
Doug Bailey
7c9e46507b
Added zapata.conf parameter "cid_rxgain" to allow the user to adjust the gain bump used during CID acquisition.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61303 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-10 22:02:53 +00:00
Steve Murphy
ecaf781933
Merged revisions 60989 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r60989 | murf | 2007-04-09 12:32:07 -0600 (Mon, 09 Apr 2007) | 1 line
This is a big improvement over the current CDR fixes. It may still need refinement, but this won't have as many folks bothered.
This also adds the mods from 1.4/r.61136;
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-10 05:41:34 +00:00
Matthew Fredrickson
bc0310e94e
Merged revisions 60485 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r60485 | mattf | 2007-04-06 13:21:52 -0500 (Fri, 06 Apr 2007) | 2 lines
Make sure we check the faxdetect option before doing fax processing
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60487 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06 18:26:24 +00:00
Matthew Fredrickson
1031bbba01
Merged revisions 60459 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r60459 | mattf | 2007-04-06 12:32:31 -0500 (Fri, 06 Apr 2007) | 10 lines
Merged revisions 60456 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r60456 | mattf | 2007-04-06 12:03:15 -0500 (Fri, 06 Apr 2007) | 2 lines
There should only be one code path for doing DTMF conditionals on channels. This fixes it.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06 18:25:38 +00:00
Matthew Fredrickson
d6e7b047f0
Update to support multiple CIC groups and DPCs per linkset.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59555 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-30 20:54:42 +00:00
Dwayne M. Hubbard
6626c31f35
added filtering options to 'zap show channels' to implement functionality described in issue 6520
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59286 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-28 00:09:25 +00:00
Joshua Colp
04f1955781
Use better english. Renegotiate! Repeat after me: renegotiate.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-27 20:11:11 +00:00
Matthew Fredrickson
e4a7d1b35f
Fix bug in which parameter type we are passing. This shouldn't be a problem
...
since both types are the same underneath.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59205 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-26 16:48:29 +00:00
Matthew Fredrickson
df42d78569
Small API related SS7 updates.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59204 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-26 16:46:07 +00:00
Russell Bryant
d04a9e0bc0
Merged revisions 58510 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r58510 | russell | 2007-03-08 16:06:54 -0600 (Thu, 08 Mar 2007) | 3 lines
Add a missing break statement so that handling the above event does not
incorrectly destroy the channel. (issue #9242 , andrew)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58511 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-08 22:08:28 +00:00
Russell Bryant
9266a6b8d8
Merged revisions 58320 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r58320 | russell | 2007-03-07 19:01:46 -0600 (Wed, 07 Mar 2007) | 6 lines
If we receive ZT_EVENT_REMOVED, destroy the specified channel.
(issue #7256 , tzafrir)
Also, update the configure script to make sure that we don't try to build
chan_zap if the installed version of zaptel does not include ZT_EVENT_REMOVED.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58321 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-08 01:06:00 +00:00
Joshua Colp
b7e47198da
Add zap show version CLI command. This pulls the version/echo canceller in use directly using the ZT_GETVERSION ioctl. (issue #9094 reported by tootai)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57943 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-05 20:13:51 +00:00
Tilghman Lesher
a3da18c244
Issue 7789 - some telcos want the TON set based on the number, but without the NANP prefix removed
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56952 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-27 00:11:32 +00:00
Olle Johansson
e916cf45da
Doxygen updates and corrections
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56648 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-24 19:49:11 +00:00
Matthew Fredrickson
daa5f504ec
Merged revisions 54375 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r54375 | mattf | 2007-02-14 10:56:40 -0600 (Wed, 14 Feb 2007) | 10 lines
Merged revisions 54373 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r54373 | mattf | 2007-02-14 10:25:49 -0600 (Wed, 14 Feb 2007) | 2 lines
When handling glare on a PRI, move the requested channel rather than hang up the old one. Fix for 8957 and 9011.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54404 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-14 17:14:42 +00:00
Russell Bryant
b233892198
Merged revisions 53046 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r53046 | russell | 2007-01-31 15:32:08 -0600 (Wed, 31 Jan 2007) | 11 lines
Merged revisions 53045 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r53045 | russell | 2007-01-31 15:25:11 -0600 (Wed, 31 Jan 2007) | 3 lines
Fix a bunch of places where pthread_attr_init() was called, but
pthread_attr_destroy() was not.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-31 21:35:15 +00:00
Joshua Colp
ee3ab150f6
Merged revisions 51788 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r51788 | file | 2007-01-23 17:46:31 -0500 (Tue, 23 Jan 2007) | 2 lines
Update channel drivers to use module referencing so that unloading them while in use will not result in crashes. (issue #8897 reported by junky)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51801 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 22:59:55 +00:00
Russell Bryant
dcca8f345f
Merged revisions 51311 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r51311 | russell | 2007-01-19 11:49:38 -0600 (Fri, 19 Jan 2007) | 23 lines
Merge the changes from the /team/group/vldtmf_fixup branch.
The main bug being addressed here is a problem introduced when two SIP
channels using SIP INFO dtmf have their media directly bridged. So, when a
DTMF END frame comes into Asterisk from an incoming INFO message, Asterisk
would try to emulate a digit of some length by first sending a DTMF BEGIN
frame and sending a DTMF END later timed off of incoming audio. However,
since there was no audio coming in, the DTMF_END was never generated. This
caused DTMF based features to no longer work.
To fix this, the core now knows when a channel doesn't care about DTMF BEGIN
frames (such as a SIP channel sending INFO dtmf). If this is the case, then
Asterisk will not emulate a digit of some length, and will instead just pass
through the single DTMF END event.
Channel drivers also now get passed the length of the digit to their digit_end
callback. This improves SIP INFO support even further by enabling us to put
the real digit duration in the INFO message instead of a hard coded 250ms.
Also, for an incoming INFO message, the duration is read from the frame and
passed into the core instead of just getting ignored.
(issue #8597 , maybe others...)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51314 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 18:06:03 +00:00
Luigi Rizzo
455ea1c99e
remove variable declaration in the middle of a block
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51308 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 17:38:28 +00:00
Luigi Rizzo
0a8d59d88a
whoops, fix a cut&paste error...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51298 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 16:35:37 +00:00
Luigi Rizzo
03fc21712a
slight change to the initialization of a structure,
...
also using '\0' to make it clear we need a (char)0
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51297 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 16:32:05 +00:00
Luigi Rizzo
3fefb9d516
include "asterisk/zapata.h" to get the zaptel headers.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51295 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 16:28:24 +00:00
Dwayne M. Hubbard
18c23101a5
Merged revisions 51274 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r51274 | dhubbard | 2007-01-18 18:17:32 -0600 (Thu, 18 Jan 2007) | 3 lines
chan_zap compiles without libpri after committing 7877 patch
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51275 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 00:28:25 +00:00
Dwayne M. Hubbard
33243c6624
Merged revisions 51272 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r51272 | dhubbard | 2007-01-18 17:56:49 -0600 (Thu, 18 Jan 2007) | 11 lines
Merged revisions 51271 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51271 | dhubbard | 2007-01-18 17:47:10 -0600 (Thu, 18 Jan 2007) | 3 lines
issue 7877: chan_zap module reload does not use default/initialized values on subsequent loads. Reset configuration variables to default values prior to parsing configuration file.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 00:06:35 +00:00
Russell Bryant
45bd0c4f3f
Merged revisions 51204 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r51204 | russell | 2007-01-17 16:09:52 -0600 (Wed, 17 Jan 2007) | 4 lines
Instead of dividing the offset by 2 directly, make it more clear that the
offset is being scaled by the size of the elements in the buffer.
(Inspired by a discussing on the asterisk-dev list about this code)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51206 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-17 23:31:40 +00:00
Joshua Colp
bf5c607c69
Merged revisions 51087 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r51087 | file | 2007-01-16 00:55:23 -0500 (Tue, 16 Jan 2007) | 10 lines
Merged revisions 51085 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51085 | file | 2007-01-16 00:53:31 -0500 (Tue, 16 Jan 2007) | 2 lines
Add none as a valid callgroup/pickupgroup option. I consider it a bug that it would inherit it all the way down and not have any way to reset it to nothing - so that's why it is in 1.2. (issue #8296 reported by gkloepfer)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51090 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-16 05:56:42 +00:00
Joshua Colp
f215636ef3
Allow usedistinctiveringdetection and distinctiveringaftercid to be reset during a reload. (issue #8739 reported by tzafrir)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50294 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-10 04:21:46 +00:00
Kevin P. Fleming
37182c873e
finish const-ifying ast_func_read()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49741 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-06 00:13:33 +00:00
Jason Parker
cdd63e685d
Merged revisions 49705 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r49705 | qwell | 2007-01-05 17:16:16 -0600 (Fri, 05 Jan 2007) | 4 lines
Make codec_zap and chan_zap also depend on zaptel.
This fixes an issue (8727) with zaptel being in a different directory, using --with-zaptel.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49706 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-05 23:17:45 +00:00
Kevin P. Fleming
87b9abc892
Merged revisions 49676 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r49676 | kpfleming | 2007-01-05 16:16:33 -0600 (Fri, 05 Jan 2007) | 2 lines
reduce stack consumption for AMI and AMI/HTTP requests by nearly 20K in most cases
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-05 22:43:18 +00:00
Kevin P. Fleming
29058da351
Merged revisions 49165 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r49165 | kpfleming | 2007-01-02 07:59:44 -0600 (Tue, 02 Jan 2007) | 2 lines
remove comment that is unrelated to this function
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49166 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-02 14:01:20 +00:00
Kevin P. Fleming
cb97e0c353
Merged revisions 49102 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r49102 | kpfleming | 2007-01-01 17:34:35 -0600 (Mon, 01 Jan 2007) | 2 lines
check specifically for VLDTMF and transcoding support in the system's Zaptel installation, and make only the modules that need those features dependent on them (this will allow building the other Zaptel-using parts of Asterisk against older versions of Zaptel or those on other platforms that haven't caught up yet to the Linux version)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49103 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-01 23:43:43 +00:00
Steve Murphy
7b338004bf
a quick fix to app_sms.c to get rid of cursed compiler warnings so I can compile under --enable-dev-mode
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-21 19:44:20 +00:00
Luigi Rizzo
7db228ac95
replace ast_safe_string_alloc() with asprintf()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-15 15:40:57 +00:00
Russell Bryant
52396dff26
revert check for a zaptel transcoder related definition that was done in the
...
wrong module.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-13 00:56:30 +00:00
Russell Bryant
4490b5710d
Make chan_zap inform you that your version of zaptel is too old instead of
...
just failing to compile.
It seems like the proper way to do this would be in the configure script.
However, that wouldn't help existing checkouts unless we forced the configure
script to be executed after any code was changed.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48416 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-12 22:27:22 +00:00
Steve Murphy
23e606f70a
Merged revisions 48372 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r48372 | murf | 2006-12-09 20:04:18 -0700 (Sat, 09 Dec 2006) | 9 lines
Merged revisions 48371 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48371 | murf | 2006-12-09 19:14:13 -0700 (Sat, 09 Dec 2006) | 1 line
This version applies the patch suggested by stevens in bug 7836 (make inbound channel RINGING state consistent with other channels).
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-10 03:14:27 +00:00
Russell Bryant
a44e55a3f3
Constify a bunch of the usage strings for CLI commands.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48302 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-06 07:23:32 +00:00
Matthew Fredrickson
2102534748
Little fix so we use the right message
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48014 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-25 21:50:42 +00:00
Matthew Fredrickson
94ec7877b5
Make compiler happier
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48013 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-25 21:46:58 +00:00
Matthew Fredrickson
8b8187c6f8
bug fix
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48012 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-25 21:35:23 +00:00
Matthew Fredrickson
1ded1fd55a
Make sure we don't send a group reset on a group larger than 32 CICs
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-25 21:32:33 +00:00
Matthew Fredrickson
cb06f87d11
Add ss7 show linkset command
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48010 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-25 20:54:38 +00:00
Matthew Fredrickson
4dfd954ac3
Updates to show linkset command
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-25 20:30:04 +00:00
Matthew Fredrickson
03ee553343
Add some sense of link state. Don't make calls if link is down. Only reset if we're bringing the
...
link up for the first time.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47801 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-17 18:26:33 +00:00
Matthew Fredrickson
57d4919427
Make sure we choose the last channel as the dchannel if it's not E1 (for BRI). ( #8077 ) Thanks Tzafrir.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-17 01:05:28 +00:00
Jason Parker
65fb29bc03
Remove the interim variable for range modifications, and set it on the structure directly.
...
Also move the default checking to where it gets set initially.
Fixes suggested by file.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47775 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-16 22:51:00 +00:00
Jason Parker
bfd630682e
Add ability to modify range for dring matching.
...
Issue #8369 , patch by ssuehring, modified slightly by me.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47771 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-16 22:32:23 +00:00
Tilghman Lesher
8dbe2063ed
Merged revisions 47523 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r47523 | tilghman | 2006-11-12 19:12:01 -0600 (Sun, 12 Nov 2006) | 10 lines
Merged revisions 47522 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47522 | tilghman | 2006-11-12 18:34:44 -0600 (Sun, 12 Nov 2006) | 2 lines
Don't play dialtone if the seizing the channel fails (Bug 7754)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47524 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-13 01:16:30 +00:00
Matthew Fredrickson
69d3416c12
Make sure we don't use 32bits for a value that only requires 1 bit. Also, fix a compiler warning for one of the SS7 functions.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47478 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10 22:06:11 +00:00
Matthew Fredrickson
554902f070
Add fix for 7321. Ability to hide calleridname from zapata.conf
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47456 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-10 19:35:41 +00:00
Russell Bryant
36793b730c
Merged revisions 47391 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47391 | russell | 2006-11-09 16:26:27 -0500 (Thu, 09 Nov 2006) | 7 lines
Work around an issue that caused menuselect to display a bogus description for
app_voicemail and chan_zap. These modules use some preprocessor directives to
determine what it will report to Asterisk as its description. However, the way
we extract this information from the source files for menuselect is not smart
enough to figure this out.
(issue #8326 , #8328 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47392 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-09 21:32:27 +00:00
Steve Murphy
908f176cf3
A fair number of changes for the sake of bug 7506
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47290 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-07 21:47:49 +00:00
Luigi Rizzo
4a545a7662
remove old/useless usecnt stuff
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47131 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-03 18:17:08 +00:00
Matthew Fredrickson
eee1b9e1fb
Updates to do unblock correctly
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47035 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 21:34:03 +00:00
Matthew Fredrickson
d810d52606
Changes to show blocked/unblocked states, as well as in service, out of service state
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46939 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 16:50:55 +00:00
Matthew Fredrickson
040e112ebd
Add simple down event support
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46926 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 16:03:12 +00:00
Russell Bryant
190cff5969
Merged revisions 46744 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r46744 | russell | 2006-11-01 11:39:09 -0500 (Wed, 01 Nov 2006) | 2 lines
Prevent an infinite loop when config processing gets to a jitterbuffer option
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46745 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 16:51:26 +00:00
Matthew Fredrickson
f171dabffe
Make sure we give the linkset number, not the offset in the linksets array
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 18:04:28 +00:00
Matthew Fredrickson
4bfa05d373
Specify which linkset we're getting the messages from in the message
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46459 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 17:32:04 +00:00
Matthew Fredrickson
d0d065bcca
Don't make errors when we don't need them
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 16:50:22 +00:00
Russell Bryant
955f1ef0fe
Merged revisions 46370 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r46370 | russell | 2006-10-27 14:03:32 -0500 (Fri, 27 Oct 2006) | 4 lines
move the copy of the default settings to the global settings back out of
process_zap, so that they aren't overwritten when process_zap is called
multiple times
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46371 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-27 19:04:34 +00:00
Matthew Fredrickson
ead98e2b7f
First pass at implementation to be able to block and unblock zap channels for
...
use.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46366 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-27 17:46:04 +00:00
Russell Bryant
de808a721a
Merged revisions 46358 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r46358 | russell | 2006-10-27 10:32:40 -0500 (Fri, 27 Oct 2006) | 5 lines
Instead of iterating all of the options once to look for jitterbuffer options,
and then again for everything else, move the processing of jitterbuffer
options into the main loop so that there are no erroneous messages about
ignoring unknown options. (issue #8226 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46359 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-27 15:44:34 +00:00
Matthew Fredrickson
6cc9d20b98
Send CPG when we get a CONTROL_PROGRESS frame and make sure that it sends ACM (not CPG) when
...
we get CONTROL_PROCEEDING.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46256 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-25 19:24:40 +00:00
Matthew Fredrickson
67926b9ac4
Update changes to do US style point code parsing/formatting (xxx.xxx.xxx)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46251 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-25 19:14:23 +00:00
Kevin P. Fleming
3c876af5cf
Merged revisions 44378 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r44378 | kpfleming | 2006-10-04 14:47:22 -0500 (Wed, 04 Oct 2006) | 4 lines
update thread creation code a bit
reduce standard thread stack size slightly to allow the pthreads library to allocate the stack+data and not overflow a power-of-2 allocation in the kernel and waste memory/address space
add a new stack size for 'background' threads (those that don't handle PBX calls) when LOW_MEMORY is defined
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44379 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-04 19:51:38 +00:00
Matt O'Gorman
ae8cc3e18b
bug #8076 check option_debug before printing to debug channel.
...
patch provided in bugnote, with minor changes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44253 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-03 15:53:07 +00:00
Matthew Fredrickson
6b3a6a1104
Fix some little things
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43785 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-27 17:00:48 +00:00
Matthew Fredrickson
e5435429de
Add CLI block and unblock circuit commands for SS7.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43777 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-27 16:49:01 +00:00
Jason Parker
57504cf0f1
Suppress compiler warnings
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43460 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-21 22:44:23 +00:00
Matthew Fredrickson
bd76cda68d
Merge in SS7 changes.... need to still cleanup zapata.conf
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43427 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-21 18:41:33 +00:00
Jason Parker
0cfaffac96
Fix some chan_zap warning messages, when HAVE_PRI is not defined.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43374 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-20 21:42:45 +00:00
Tilghman Lesher
70af28270d
Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43364 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-20 20:40:39 +00:00
Kevin P. Fleming
0964265657
Merged revisions 43314 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43314 | kpfleming | 2006-09-20 00:08:05 -0500 (Wed, 20 Sep 2006) | 2 lines
make some more functions static
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43315 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-20 05:13:03 +00:00
Matthew Fredrickson
33ddb53663
Various updates from PCadach's chan_h323-live branch
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43294 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-19 21:07:49 +00:00
Kevin P. Fleming
fcb999c01c
merge qwell's CLI verbification work
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43212 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-18 19:54:18 +00:00
Kevin P. Fleming
c2c4f86c72
merge markster's usersconf branch with some slight changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-16 23:53:58 +00:00
Mark Spencer
e887127bf3
Fix the dtmf dialtone thing
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43039 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-16 21:45:35 +00:00
Tilghman Lesher
c35b1df605
Merged revisions 42946 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r42946 | tilghman | 2006-09-14 17:16:31 -0500 (Thu, 14 Sep 2006) | 2 lines
Error message references wrong argument (Issue 7951)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42947 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-14 22:18:07 +00:00
Mark Spencer
59c861bc5e
Uhm, make Zap actually work again. Did anybody actually test that code?
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-10 20:28:03 +00:00
Matt O'Gorman
05a695af72
everything that loads a config that needs a config file to run
...
now reports AST_MODULE_LOAD_DECLINE when loading if config file
is not there, also fixed an error in res_config_pgsql where it
had a non static function when it should.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41633 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-31 21:00:20 +00:00
Joshua Colp
c6977b9983
Merge in VLDTMF support with Zaptel/Core done by the ever great Darumkilla Russell Bryant and the RTP portion done by myself, Muffinlicious Joshua Colp. This has gone through so many discussions/revisions it's not funny but we finally have it!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41507 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-31 01:59:02 +00:00
Kevin P. Fleming
3f189742f6
make menuselect configure process be silent when possible
...
don't use #ifdef inside a macro call... it appears various versions of gcc have bugs related to this
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41284 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-29 23:33:59 +00:00
Russell Bryant
f7e7161607
Merge team/russell/frame_caching
...
There are some situations in Asterisk where ast_frame and/or iax_frame
structures are rapidly allocatted and freed (at least 50 times per second
for one call).
This code significantly improves the performance of ast_frame_header_new(),
ast_frdup(), ast_frfree(), iax_frame_new(), and iax_frame_free() by keeping
a thread-local cache of these structures and using frames from the cache
whenever possible instead of calling malloc/free every time.
This commit also converts the ast_frame and iax_frame structures to use the
linked list macros.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-29 20:50:36 +00:00