dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

9310 Commits

Author SHA1 Message Date
nadi a392d1fb28 adding support for AOCD facility messages.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39987 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-16 13:19:54 +00:00
qwell 2a9c54bd8d Fix formatting of "show codecs" CLI command.
Make "show translations" CLI command have dynamic widths.

Also display g726 codec in both commands.
There are probably other places where "11" is hardcoded...


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39965 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-16 03:48:36 +00:00
russell 2dcd94043f move the calls to ast_jb_configure() to before the PBX thread is started on the
channel to remove the theoretical race condition that the channel could get
bridged before the channel's jitterbuffer gets configured.  This was pointed
out by PCadach on IRC.  Thanks!


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39964 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-16 03:43:47 +00:00
russell cf9d8c40b6 Merged revisions 39935 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r39935 | russell | 2006-08-15 18:49:41 -0400 (Tue, 15 Aug 2006) | 3 lines

use pbx_builtin_getvar_helper() so that GET VARIABLE can retrieve global
variables (issue #7609)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39936 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-15 22:51:49 +00:00
murf fd77a5a34f block the indicated 1.2 branch from being merged into trunk; it's already here.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39934 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-15 22:37:33 +00:00
russell ce0ecd9732 print a more user friendly error message with the text representation of codecs
(issue #7233, Mithraen)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39933 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-15 22:28:38 +00:00
russell cea5268a0a reduce duplicated code by using print_codec_to_cli in sip_show_user as it is
already used in sip_show_peer (issue #7739, DEA)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39932 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-15 22:17:38 +00:00
murf 56484aaf19 This change fixes bug 7731, macros not executing more than one level deep in a hung-up situation; also increased maximum recursion depth from 7 to 20, to keep serious coders from painful toe-stubbings
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39909 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-15 21:25:19 +00:00
markster 7af450f49a Make tonepair generated through fixed point
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39886 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-15 20:25:13 +00:00
crichter e8972b947d removed libbnec dependencies.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39864 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-15 19:41:14 +00:00
kpfleming 29b4ce09b7 complete the coding style changes for these frame structures
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39832 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-15 17:14:20 +00:00
nadi bc424f034a moved the asn1 and facility portions of code to mISDNuser, so removing the files here.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39807 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-15 16:49:26 +00:00
murf d0a5262b98 Made "style" change requested by Kevin Fleming... used initializer in declaration,
brought decl down to block where the variable is used, got rid of memset.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39806 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-15 16:35:06 +00:00
murf 028accf651 On behalf of PCadach, " IMHO that was last deadlock in chan_h323..."
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39779 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-15 14:55:30 +00:00
file a83eaa83ed SMDI documentation fix (issue #7732 reported by mnicholson)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39776 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-15 14:08:39 +00:00
north f244dc60fe fix a typo and a very minor formatting change
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39753 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-14 22:38:52 +00:00
file afd5c2e370 Fix for uninitialized workspace in ast_cdr_getvar, pointed out by sergee
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39731 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-14 18:07:21 +00:00
russell e385b2d6d5 don't try to ignore the contents of a quoted string in ast_separate_app_args()
if the delimeter is actually the quotation mark (fixes issue #7622)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39706 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-14 04:25:13 +00:00
russell e054e18cbd resolve some compiler warnings ...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39684 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-14 03:34:16 +00:00
russell 488a3ac4dc add the doc file about the MacroExclusive app (issue #7366, Steve Davies)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39683 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-14 03:26:02 +00:00
russell 19758a4ffd add MacroExclusive application, a Macro that only one call can executed at
a time (issue #7366, Steve Davies, with mods by me as discussed in the report)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39681 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-14 03:24:06 +00:00
russell 02ed9fcda9 When taking a substring and a negative length is provided, instead of just
ignoring it, allow this to mean that we want that many characters off of
the end of the string so that ${EXTEN:0:$[${LEN(${EXTEN}) - 1]} can become
${EXTEN:0:-1}.  (issue #7586, Corydon)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39659 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-14 02:14:14 +00:00
russell 6587d2ab75 don't include files that cause additional targets to get executed if the target
called was clean, distclean, or update


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39640 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-14 02:00:28 +00:00
russell 360ac7d174 - unregister SLA apps on module unload and add sample config (issue #7701, junky)
- rename SLAS to SLAStation, and SLAT to SLATrunk


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39637 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-14 01:32:46 +00:00
russell 88ba77b783 add the ability to run an arbitrary command if asterisk crashes
(inspired by issue #7698, which was res_segfault by anthm)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39636 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-14 01:13:32 +00:00
russell 122c31952a support ./configure --silent
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39615 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-14 00:08:35 +00:00
russell a368509257 increase the maximum length of the mohinterpret/mohsuggest options (issue #7696)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39594 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-13 23:26:06 +00:00
murf 55a5f94684 This commit merges the contents of 7721, as it applied to the trunk version. Added the item that would previously trigger a false error to test1.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39571 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-12 19:28:33 +00:00
murf 0d42de398c added a -q for quiet, option to aelparse
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39543 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-11 21:30:03 +00:00
bweschke 2763c6a1a7 Increase the size of the variable space for writing/reading persistent queue member data to allow for larger queues of members. (Matthew Roth #7703)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39516 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-11 17:49:35 +00:00
file c9d4b54d8f Move STD_MOD declaration to end of file as per the norm of everything else (issue #7711 reported by Mithraen)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39514 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-11 15:05:19 +00:00
file 315ab8399e Don't completely error out if a config file for chan_phone was not found. (issue #7710 reported by Mithraen)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39513 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-11 13:54:58 +00:00
file c96420e0d3 Make res_snmp fit general coding style (issue #7192 reported by Mithraen)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39512 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-11 13:42:49 +00:00
file a7d603e168 Add support to see if a peer has someone on hold, and fix a small bug with getting the state name. This one goes out to you mog!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39500 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-10 02:41:20 +00:00
nadi d4b3463e80 fixing compile warnings, renaming config option "overlap_dial" to "overlapdial"
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39479 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-09 09:24:21 +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
murf 22ade97588 This commit adds the enhancemnt per bug 7606, adding
the -w option to aelparse.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39431 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-09 01:17:47 +00:00
murf eb82465850 This bug adds enhancement as per bug 7606, the -w
option to aelparse.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39430 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-09 01:16:37 +00:00
mogorman 1f44c4ddf0 support for imap in app_voicemail as well as some
credits fixed.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39404 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-08 20:35:59 +00:00
kpfleming 1b9353157f Merged revisions 39379 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r39379 | kpfleming | 2006-08-08 13:39:16 -0500 (Tue, 08 Aug 2006) | 2 lines

add explicit listing of anthm's contributions (issue #7683)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39380 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-08 18:39:41 +00:00
nadi cc220aaf1a * first bits of decoding facility information elements
* fail on misdn_cfg_init() if elements in the config enum don't match with the config structs in misdn_config.c
* implemented first bits for encoding ISDN facility information elements via ASN.1 descriptions
* using unnamed semaphore for syncing in misdn_thread
* advanced fax detection: configurable detect timeout and context to jump into



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39378 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-08 18:13:40 +00:00
russell 8ca4abf951 Blocked revisions 39350 via svnmerge
........
r39350 | russell | 2006-08-08 13:04:10 -0400 (Tue, 08 Aug 2006) | 2 lines

Increase the buffer size for the callid (issue #7675, reported by pssatcs)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39353 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-08 17:29:09 +00:00
mogorman dccd6957dc some code clean up and catch for a act_hook being called
without a packet.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39351 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-08 17:07:41 +00:00
file 20239ec3e7 Add support for Sigma Designs cards. These basically allow you to offload dialtone generation to the board. If you're using a quicknet board where this might work, give it a try as well. (issue #6092 reported by ywalther - minor mods by moi)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39349 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-08 17:02:45 +00:00
file 19338ec792 Clarify volgain option a bit, it needs sox to work.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39333 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-08 15:53:51 +00:00
tilghman b2b7465c96 Bug 6237 - add volgain parameter, such that voicemail messages may be amplified after recording
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39332 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-08 15:37:53 +00:00
oej 8e88f8ff8a Marking PRI_CAUSE as deprecated to be replaced by hangup(cause)
(Issue #7610)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39316 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-08 14:47:17 +00:00
crichter 72b838e8f8 * added possibility to change echocancel settings during calls
* removed the holded element from the chan_list struct, we know this from the 
  state already
* added a few tweaks to make HOLD/RETRIEVE work again (TRANSFER does not work
  yet)
* added possibility to debug mISDN frames via syslog
* added misdn_lib_port_is_blocked function to check if a port is blocked
* removed ec_training=1 from empty_bc, we don't use ec_training anymore
* removed unused misdn_lib_get_l2_status function
* added the nt bit to dummy misdn_bchannel objects
* setting bc->out_fac_type to FACILITY_NONE defaultly
* removed HANDLER_DEBUG stuff for better readability



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39295 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-08 09:19:06 +00:00
russell 6fef69cce0 change constant name from MAXSTRLEN to INITLEN since it is not the maximum
length, it is the initial length of the string when first allocated


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39274 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-08 06:36:47 +00:00
russell 7eba1e86bd Merge team/russell/ast_verbose_threadstorage
- instead of defining a free() wrapper in a bunch of files, define it as
  ast_free() in utils.h and remove the copies from all the files.

- centralize and abstract the code used for doing thread storage. The code
  lives in threadstorage.h, with one function being implemented in utils.c.
  This new API includes generic thread storage as well as special functions
  for handling thread local dynamic length string buffers.

- update ast_inet_ntoa() to use the new threadstorage API
- update ast_state2str() to use the new threadstorage API
- update ast_cli() to use the new threadstorage API

- Modify manager_event() to use thread storage. Instead of using a buffer of
  4096 characters as the workspace for building the manager event, use a thread
  local dynamic string.  Now there is no length limitation on the length of the
  body of a manager event.

- Significantly simplify the handling of ast_verbose() ...
  - Instead of using a static char buffer and a lock to make sure only one
    thread can be using ast_verbose() at a time, use a thread local dynamic
    string as the workspace for preparing the verbose message. Instead of
    locking around the entire function, the only locking done now is when the
    message has been built and is being deliviered to the list of registered
    verbose message handlers.
  - This function was doing a strdup() on every message passed to it and
    keeping a queue of the last 200 messages in memory. This has been
    completely removed. The only place this was used was that if there were
    any messages in the verbose queue when a verbose handler was registered,
    all of the messages in the queue would be fed to it.  So, I just made sure
    that the console verbose handler and the network verbose handler (for
    remote asterisk consoles) were registered before any verbose messages.
    pbx_gtkconsole and pbx_kdeconsole will now lose a few verbose messages at
    startup, but I didn't feel the performance hit of this message queue was
    worth saving the initial verbose output for these very rarely used modules.
  - I have removed the last three arguments to the verbose handlers, leaving
    only the string itself because they aren't needed anymore. For example,
    ast_verbose had some logic for telling the verbose handler to add
    a newline if the buffer was completely full. Now that the buffer can grow
    as needed, this doesn't matter anymore.
  - remove unused function, ast_verbose_dmesg() which was to dispatch the
    message queue
  - Convert the list of verbose handlers to use the linked list macros.

- add missing newline characters to a few ast_verbose() calls

- convert the list of log channels to use the linked list macros in logger.c

- fix close_logger() to close all of the files it opened for logging

- update ast_log() to use a thread local dynamic string for its workspace
  for preparing log messages instead of a buffer of size BUFSIZ (8kB on my
  system) allocated on the stack.  The dynamic string in this case is limited
  to only growing to a maximum size of BUFSIZ.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39272 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-08 06:32:04 +00:00