dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

675 Commits

Author SHA1 Message Date
mattf 8af37ca8e5 Add fix for 7321. Ability to hide calleridname from zapata.conf
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47456 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-10 19:35:41 +00:00
russell 9783223be7 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: http://svn.digium.com/svn/asterisk/trunk@47392 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-09 21:32:27 +00:00
murf 4d6996c27a A fair number of changes for the sake of bug 7506
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47290 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-07 21:47:49 +00:00
rizzo 8723b73845 remove old/useless usecnt stuff
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47131 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-03 18:17:08 +00:00
mattf c8c7938a68 Updates to do unblock correctly
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47035 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-02 21:34:03 +00:00
mattf c720dc8f9e Changes to show blocked/unblocked states, as well as in service, out of service state
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46939 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-02 16:50:55 +00:00
mattf e5e7afff00 Add simple down event support
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46926 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-02 16:03:12 +00:00
russell 4decbef599 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: http://svn.digium.com/svn/asterisk/trunk@46745 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-01 16:51:26 +00:00
mattf 93933037af Make sure we give the linkset number, not the offset in the linksets array
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46466 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-30 18:04:28 +00:00
mattf 8f7cc2c268 Specify which linkset we're getting the messages from in the message
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46459 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-30 17:32:04 +00:00
mattf b43a258a32 Don't make errors when we don't need them
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46436 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-30 16:50:22 +00:00
russell d20666b485 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: http://svn.digium.com/svn/asterisk/trunk@46371 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-27 19:04:34 +00:00
mattf 427ad5897c First pass at implementation to be able to block and unblock zap channels for
use.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46366 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-27 17:46:04 +00:00
russell 1b492790bf 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: http://svn.digium.com/svn/asterisk/trunk@46359 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-27 15:44:34 +00:00
mattf 4f3a6ce4fa 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: http://svn.digium.com/svn/asterisk/trunk@46256 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-25 19:24:40 +00:00
mattf e380827fda Update changes to do US style point code parsing/formatting (xxx.xxx.xxx)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46251 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-25 19:14:23 +00:00
kpfleming 1a08d9e31b 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: http://svn.digium.com/svn/asterisk/trunk@44379 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-04 19:51:38 +00:00
mogorman 4a1aaf52ae bug #8076 check option_debug before printing to debug channel.
patch provided in bugnote, with minor changes.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44253 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-03 15:53:07 +00:00
mattf 7cf85df801 Fix some little things
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43785 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-27 17:00:48 +00:00
mattf e30d3ccabb Add CLI block and unblock circuit commands for SS7.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43777 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-27 16:49:01 +00:00
qwell 0ef853826f Suppress compiler warnings
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43460 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-21 22:44:23 +00:00
mattf 17a2c3577a Merge in SS7 changes.... need to still cleanup zapata.conf
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43427 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-21 18:41:33 +00:00
qwell 437366146d Fix some chan_zap warning messages, when HAVE_PRI is not defined.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43374 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-20 21:42:45 +00:00
tilghman e8ef9fd3ba Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43364 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-20 20:40:39 +00:00
kpfleming 43fa791e38 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: http://svn.digium.com/svn/asterisk/trunk@43315 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-20 05:13:03 +00:00
mattf b759835a90 Various updates from PCadach's chan_h323-live branch
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43294 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19 21:07:49 +00:00
kpfleming 5aacb6a82d merge qwell's CLI verbification work
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43212 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-18 19:54:18 +00:00
kpfleming 5c0e56df21 merge markster's usersconf branch with some slight changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43052 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-16 23:53:58 +00:00
markster 5b13041e0f Fix the dtmf dialtone thing
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43039 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-16 21:45:35 +00:00
tilghman fae908b385 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: http://svn.digium.com/svn/asterisk/trunk@42947 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-14 22:18:07 +00:00
markster f6d318694e Uhm, make Zap actually work again. Did anybody actually test that code?
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42654 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-10 20:28:03 +00:00
mogorman 73925ee14a 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: http://svn.digium.com/svn/asterisk/trunk@41633 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31 21:00:20 +00:00
file 3f22aa53af 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: http://svn.digium.com/svn/asterisk/trunk@41507 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31 01:59:02 +00:00
kpfleming 1f3e9bf746 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: http://svn.digium.com/svn/asterisk/trunk@41284 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-29 23:33:59 +00:00
russell 53f8d43e29 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: http://svn.digium.com/svn/asterisk/trunk@41278 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-29 20:50:36 +00:00
mattf ec3542e02f Note to self, always compile before committing.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41068 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-25 15:20:16 +00:00
mattf 5eaef97f12 Don't send proceeding twice (#7800)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41067 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-25 15:14:42 +00:00
kpfleming 8b0c007ad9 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: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21 02:11:39 +00:00
russell e3ac6c2677 This bug existed in one extra place that is not also in 1.2 ... So, fix it!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39455 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-09 04:12:10 +00:00
russell 0ae26ab60c Merged revisions 39081 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r39081 | russell | 2006-08-06 21:28:29 -0400 (Sun, 06 Aug 2006) | 7 lines

Fix a crash reported to me by hads on IRC.  This crash would occur with the use
of the "distinctiveringaftercid" option.  Also, on this user's system, the crash
would only occur when built without optimizations.  This is because the bug is
that the code would write past the end of an array that was allocated on the
stack, and the structure of the stack is different with or without optimizations
enabled.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39082 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-07 01:32:51 +00:00
russell d14a000502 minor cleanups
- use appropriate types in some assignments
- use ast_strlen_zero()
- don't manually free cid fields since ast_set_callerid() will handle it


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39058 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-07 00:26:11 +00:00
russell a0ab5e9b80 Merged revisions 38903-38904 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r38903 | russell | 2006-08-05 01:07:39 -0400 (Sat, 05 Aug 2006) | 2 lines

suppress a compiler warning about the usage of a potentially uninitialized variable

........
r38904 | russell | 2006-08-05 01:08:50 -0400 (Sat, 05 Aug 2006) | 10 lines

Fix an issue that would cause a NewCallerID manager event to be generated
before the channel's NewChannel event.  This was due to a somewhat recent
change that included using ast_set_callerid() where it wasn't before.  This
function should not be used in the channel driver "new" functions.
(issue #7654, fixed by me)

Also, fix a couple minor bugs in usecount handling.  chan_iax2 could have
increased the usecount but then returned an error.  The place where chan_sip
increased the usecount did not call ast_update_usecount()

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@38905 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-05 05:26:29 +00:00
russell ea73c30141 This exact deadlock situation that I observed can't happen in trunk due to the
recent hold changes so that MOH is not started on the bridged channel directly.
However, the change is still not a bad idea.

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

........
r38200 | russell | 2006-07-25 15:43:38 -0400 (Tue, 25 Jul 2006) | 6 lines

This resolves a deadlock that a tech support customer was getting frequently
when his users would answer call waiting. If another thread is currently
holding the zt_pvt lock for the first channel, unlock both channels and let
asterisk retry the native bridge, just like what is done for the second channel
directly below these changes.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@38201 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-25 19:51:31 +00:00
russell ffb56d9d39 use ast_atomic_fetchadd_int in chan_zap, sip, and iax2 for usecount handling
and fix a couple little things in passing
 - usecnt was not initialized in chan_iax2
 - ast_update_use_count() was not called after incrementing the count in chan_sip


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@38077 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-22 00:33:56 +00:00
kpfleming 6049bb6539 merge Russell's 'hold_handling' branch, finally implementing music-on-hold handling the way it was decided at AstriDevCon Europe 2006 (and the way people really want it to be)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37988 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-19 20:44:39 +00:00
russell 57db0e620b add missing unregistration of a manager action on module unload
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37638 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-14 21:02:55 +00:00
kpfleming ac83d7a807 Merged revisions 37417 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r37417 | kpfleming | 2006-07-12 08:18:21 -0500 (Wed, 12 Jul 2006) | 2 lines

get rid of some more printf's (although most of these were ifdef-ed out)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37418 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-12 13:29:10 +00:00
markster a82143962a Support hold/unhold in Zap, update IAX2 parser to know about modern commands, forward hold/unhold in dial, add hold device state
and implement holding in the SLA.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37318 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-08 02:24:07 +00:00
mattf c8019be99a Asterisk portion of the T309 patch. (#7271)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37226 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-06 21:51:51 +00:00
kpfleming c6e70f45a6 make chan_zap use proper test for libpri support
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37141 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-06 13:07:47 +00:00