Commit graph

687 commits

Author SHA1 Message Date
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
Matthew Fredrickson
b56d1a76ce Note to self, always compile before committing.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41068 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25 15:20:16 +00:00
Matthew Fredrickson
3113f07570 Don't send proceeding twice (#7800)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-25 15:14:42 +00:00
Kevin P. Fleming
0a27d8bfe5 merge new_loader_completion branch, including (at least):
- restructured build tree and makefiles to eliminate recursion problems
  - support for embedded modules
  - support for static builds
  - simpler cross-compilation support
  - simpler module/loader interface (no exported symbols)



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-21 02:11:39 +00:00