dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

132 Commits

Author SHA1 Message Date
tilghman 7e7b82276d Eliminate several needless checks and fix a few memory leaks
(closes issue #14833)
 Reported by: contactmayankjain
 Patches: 
       all_changes.patch uploaded by contactmayankjain (license 740)
       slightly modified by me


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197616 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-28 15:35:23 +00:00
moy 07d13a0190 set MFCR2_CATEGORY just when starting the pbx
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@196456 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-23 04:27:47 +00:00
eliel cbbfdc573c Implement a new element in AstXML for AMI actions documentation.
A new xml element was created to manage the AMI actions documentation,
using AstXML.
To register a manager action using XML documentation it is now possible
using ast_manager_register_xml().
The CLI command 'manager show command' can be used to show the parsed
documentation.

Example manager xml documentation:
<manager name="ami action name" language="en_US">
    <synopsis>
        AMI action synopsis.
    </synopsis>
    <syntax>
        <xi:include xpointer="xpointer(...)" /> <-- for ActionID
        <parameter name="header1" required="true">
	    <para>Description</para>
	</parameter>
	...
    </syntax>
    <description>
        <para>AMI action description</para>
    </description>
    <see-also>
    	...
    </see-also>
</manager>



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@196308 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-22 17:52:35 +00:00
russell 53f66c9afa resolve compiler warning
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@196246 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-22 16:20:16 +00:00
seanbright 5254b7f45d Fix build under dev mode and remove some casts that are no longer necessary as
a result of the const-ify the world patch.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@196227 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-22 16:10:33 +00:00
kpfleming 230a66da7d Const-ify the world (or at least a good part of it)
This patch adds 'const' tags to a number of Asterisk APIs where they are appropriate (where the API already demanded that the function argument not be modified, but the compiler was not informed of that fact). The list includes:

- CLI command handlers
- CLI command handler arguments
- AGI command handlers
- AGI command handler arguments
- Dialplan application handler arguments
- Speech engine API function arguments

In addition, various file-scope and function-scope constant arrays got 'const' and/or 'static' qualifiers where they were missing.

Review: https://reviewboard.asterisk.org/r/251/



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@196072 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-21 21:13:09 +00:00
rmudgett 94acece59a The facilityenable parameter does not have anything to do with pritimer parameters.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@195266 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-18 16:29:06 +00:00
kpfleming f58bc31e46 add 'const' qualifiers in various places where they should have been
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@193832 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-12 13:59:35 +00:00
mattf 9835b1edc6 Revert CPC patch for now, until I decide whether or not it all should be merged into libss7/1.0 (It's still in the bug13495 branch and in libss7/trunk)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@192427 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-05 17:33:42 +00:00
seanbright bac78376b1 Conditional include ioctl's to change EC policy based on DAHDI caps.
This feels like a sane change (wouldn't compile without this addition), but I'm
not intimately familiar with this code.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@191739 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-02 16:43:59 +00:00
kpfleming 62b79d3e26 Add buffer and echo canceller control to CHANNEL() dialplan function for DAHDI channels
Adds ability for CHANNEL() dialplan function, when used on DAHDI channels,
to temporarily change the number of buffers and/or the buffer policy, and also
to enable, disable, or switch the echo canceller between FAX/data and voice
modes.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@191411 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-30 21:42:35 +00:00
mattf 68a566a861 Add support setting CPC from channel variable
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@190947 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-28 22:07:24 +00:00
mattf 84eee56841 Make sure that we do not clear the down flag on the BRI during PTMP link transients
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@190946 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-28 22:05:05 +00:00
russell 89175b7e04 Convert the ast_channel data structure over to the astobj2 framework.
There is a lot that could be said about this, but the patch is a big 
improvement for performance, stability, code maintainability, 
and ease of future code development.

The channel list is no longer an unsorted linked list.  The main container 
for channels is an astobj2 hash table.  All of the code related to searching 
for channels or iterating active channels has been rewritten.  Let n be 
the number of active channels.  Iterating the channel list has gone from 
O(n^2) to O(n).  Searching for a channel by name went from O(n) to O(1).  
Searching for a channel by extension is still O(n), but uses a new method 
for doing so, which is more efficient.

The ast_channel object is now a reference counted object.  The benefits 
here are plentiful.  Some benefits directly related to issues in the 
previous code include:

1) When threads other than the channel thread owning a channel wanted 
   access to a channel, it had to hold the lock on it to ensure that it didn't 
   go away.  This is no longer a requirement.  Holding a reference is 
   sufficient.

2) There are places that now require less dealing with channel locks.

3) There are places where channel locks are held for much shorter periods 
   of time.

4) There are places where dealing with more than one channel at a time becomes 
   _MUCH_ easier.  ChanSpy is a great example of this.  Writing code in the 
   future that deals with multiple channels will be much easier.

Some additional information regarding channel locking and reference count 
handling can be found in channel.h, where a new section has been added that 
discusses some of the rules associated with it.

Mark Michelson also assisted with the development of this patch.  He did the 
conversion of ChanSpy and introduced a new API, ast_autochan, which makes it 
much easier to deal with holding on to a channel pointer for an extended period 
of time and having it get automatically updated if the channel gets masqueraded.
Mark was also a huge help in the code review process.

Thanks to David Vossel for his assistance with this branch, as well.  David 
did the conversion of the DAHDIScan application by making it become a wrapper 
for ChanSpy internally.

The changes come from the svn/asterisk/team/russell/ast_channel_ao2 branch.

Review: http://reviewboard.digium.com/r/203/


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@190423 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-24 14:04:26 +00:00
file 824d244bb1 Merged revisions 188937 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r188937 | file | 2009-04-17 11:25:57 -0300 (Fri, 17 Apr 2009) | 4 lines
  
  Fix a situation where the DAHDI channel private structure lock was not unlocked when it should have been.
  
  (issue AST-210)
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@188938 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-17 14:26:53 +00:00
file 1ee633de64 Fix a bug with the dahdi_setoption callback in chan_dahdi.
This function incorrectly reported success even if the option was
unsupported. This was exposed by the options to change the underlying
channel format. The function now returns a failure if the option
is unsupported.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@188705 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-16 13:42:52 +00:00
dvossel ca2b7b06fe Merged revisions 188646 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r188646 | dvossel | 2009-04-15 17:08:40 -0500 (Wed, 15 Apr 2009) | 12 lines
  
  National prefix inserted even when caller ID not available
  
  When the caller ID is restricted, the expected behavior is for the caller id to be blank.  In chan_dahdi, the national prefix is placed onto the callers number even if its restricted (empty) causing the caller id to be the national prefix rather than blank.
  
  (closes issue #13207)
  Reported by: shawkris
  Patches:
        national_prefix.diff uploaded by dvossel (license 671)
  
  Review: http://reviewboard.digium.com/r/220/
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@188647 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-15 22:10:04 +00:00
jpeeler 2da92f10a0 Don't try to do anything in pri_check_restart with service messages unless
libpri supports it.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@188515 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-15 14:57:20 +00:00
jpeeler 0059bd2e64 change some capitalization
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@188378 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-14 16:49:12 +00:00
jpeeler 24045a66ea Add service maintenance message support
This is the companion commit to libpri r732. Service messages are now supported
for switch types 4ess/5ess. A new option service_message_support has been added
to chan_dahdi.conf and is noted in the sample config file. The service message
support is turned off by default. The current implementation relies on AstDB
to keep track of channel state, which allows the statuses to be preserved
across Asterisk restarts. Below is a description of the storage format.

The state and reason for the service state are in the form <state>:<reason>,
where:
<state> ::= { 'O' }  // 'O' – Out Of Service
<reason> ::= { '0' | '1' | '2' | '3' }, where:
'0' – No reason (backwards compatibility)
'1' – NEAR END
'2' – FAR END
'3' – both NEAR and FAR END

The new CLI commands to handle channel service state are:
pri service disable channel <chan>
pri service enable channel <chan>

Many people contributed to the development of this functionality. Because I
entered at the very end I do not know the exact history. Special thanks to 
all who moved the bug forward one way or another:
cmaj, PCadach, markster, mattf, drmac, MikeJ, serge-v, murf, kanelbullar, Seb7,
tilghman, lmadsen, and especially dhubbard (he answered lots of my questions
and did a large portion of the work)

(closes issue #3450)
Reported by: cmaj



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@188342 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-14 15:54:16 +00:00
mmichelson f00656db9e This commit introduces COLP/CONP and Redirecting party information into Asterisk.
The channel drivers which have been most heavily tested with these enhancements are
chan_sip and chan_misdn. Further work is being done to add Q.SIG support and will be
introduced in a later commit. chan_skinny has code added to it here, but according
to user pj, the support on chan_skinny is not working as of now. This will be fixed in
a later commit.

A special thanks goes out to bugtracker user gareth for getting the ball rolling and
providing the initial support for this work. Without his initial work on this, this would
not have been nearly as painless as it was.

This functionality has been tested by Digium's product quality department, as well as a
customer site running thousands of calls every day. In addition, many many many many bugtracker
users have tested this, too.

(closes issue #8824)
Reported by: gareth

Review: http://reviewboard.digium.com/r/201



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@186525 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-03 22:41:46 +00:00
kpfleming 531f260b12 Merged revisions 186458 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r186458 | kpfleming | 2009-04-03 15:19:20 -0500 (Fri, 03 Apr 2009) | 5 lines
  
  Fix a bug where DAHDI/Zaptel channels would not properly switch formats when requested
  
  Don't offer AST_FORMAT_SLINEAR on DAHDI/Zaptel channels... while it could provide a slight performance benefit, the translation core in Asterisk has some flaws when a channel driver offers multiple raw formats. this fix is much simpler than fixing the translation core to solve that issue (although that will be done later).
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@186461 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-03 20:20:01 +00:00
kpfleming 92f9f7cb0a Merged revisions 186081 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r186081 | kpfleming | 2009-04-02 12:21:29 -0500 (Thu, 02 Apr 2009) | 3 lines
  
  ensure that the buffer passed to DAHDI_SET_BUFINFO is fully initialized
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@186101 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-02 17:26:07 +00:00
kpfleming 3ee05f6e3f Merged revisions 185952 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r185952 | kpfleming | 2009-04-02 08:43:43 -0500 (Thu, 02 Apr 2009) | 5 lines
  
  the DAHDI_GETCONF, DAHDI_SETCONF and DAHDI_GET_PARAMS ioctls were recently corrected to show that they do, in fact, read data from userspace as part of their work. due to this fix, valgrind now reports a number of cases where chan_dahdi passed an uninitialized (or partially) buffer to these ioctls, which could lead to unexpected behavior.
  
  this patch corrects chan_dahdi to ensure that buffers passed to these ioctls are always fully initialized.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@185953 f38db490-d61c-443f-a65b-d21fe96a405b
2009-04-02 13:51:44 +00:00
russell f89c5f7e6c Improve performance of the ast_event cache functionality.
This code comes from svn/asterisk/team/russell/event_performance/.

Here is a summary of the changes that have been made, in order of both
invasiveness and performance impact, from smallest to largest.

1) Asterisk 1.6.1 introduces some additional logic to be able to handle
   distributed device state.  This functionality comes at a cost.
   One relatively minor change in this patch is that the extra processing
   required for distributed device state is now completely bypassed if
   it's not needed.

2) One of the things that I noticed when profiling this code was that a
   _lot_ of time was spent doing string comparisons.  I changed the way
   strings are represented in an event to include a hash value at the front.
   So, before doing a string comparison, we do an integer comparison on the
   hash.

3) Finally, the code that handles the event cache has been re-written.
   I tried to do this in a such a way that it had minimal impact on the API.
   I did have to change one API call, though - ast_event_queue_and_cache().
   However, the way it works now is nicer, IMO.  Each type of event that
   can be cached (MWI, device state) has its own hash table and rules for
   hashing and comparing objects.  This by far made the biggest impact on
   performance.

For additional details regarding this code and how it was tested, please see the
review request.

(closes issue #14738)
Reported by: russell

Review: http://reviewboard.digium.com/r/205/


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@184339 f38db490-d61c-443f-a65b-d21fe96a405b
2009-03-25 21:57:19 +00:00
lmadsen a5f8621b89 Fixes a documentation error introduced during the CLI cleanup at AstriDevCon 2008.
(closes issue #14655)
Reported by: ulogic
Patches:
      chan_dahdi.patch uploaded by ulogic (license 728)
Tested by: lmadsen

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@183701 f38db490-d61c-443f-a65b-d21fe96a405b
2009-03-23 18:06:40 +00:00
eliel 82e641350d Remove duplicate <description> inside the xml documentation.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@183511 f38db490-d61c-443f-a65b-d21fe96a405b
2009-03-20 12:12:49 +00:00
tilghman f1ab2c1235 Merged revisions 183319 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r183319 | tilghman | 2009-03-19 14:15:33 -0500 (Thu, 19 Mar 2009) | 8 lines
  
  Delay signalling progress until a PRI channel really signals progress.
  (closes issue #13034)
   Reported by: klaus3000
   Patches: 
         20090316__bug13034.diff.txt uploaded by tilghman (license 14)
         patch_trunk_183progress_klaus3000.txt uploaded by klaus3000 (license 65)
   Tested by: klaus3000
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@183321 f38db490-d61c-443f-a65b-d21fe96a405b
2009-03-19 19:17:31 +00:00
kpfleming 1af379d0ec Merged revisions 182882 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r182882 | kpfleming | 2009-03-18 06:31:41 -0500 (Wed, 18 Mar 2009) | 3 lines
  
  fix another symbol namespace issue (reported by Andrew on asterisk-dev)
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@182883 f38db490-d61c-443f-a65b-d21fe96a405b
2009-03-18 11:40:11 +00:00
rmudgett f05ade4733 OPENR2 uses an incorrect string value if the extension delimiter is not present.
*  Fixed OPENR2 using an incorrect string value if the extension
delimiter is not present in the Dial() function.  This was fixed for
SS7 and PRI in trunk -r172400.
*  Made OPENR2 stripmsd behavior the same as the SS7, PRI, and others.
*  Removed trailing whitespace that appeared with OPENR2.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@182408 f38db490-d61c-443f-a65b-d21fe96a405b
2009-03-17 01:54:53 +00:00
russell da10000f37 Add MFC/R2 support for chan_dahdi.
This commit introduces official support for R2 signaling in chan_dahdi.  The
modifications to chan_dahdi, and the supporting library, LibOpenR2, were both
written by Moises Silva.

Many users are using this code, or a variant of it, in Asterisk 1.2, 1.4 and 1.6
in Brazil, México and Argentina. An unknown number of users (but at least 1) 
are using it in each of the following countries: Colombia, Nepal, Thailand, 
Venezuela, Perú, and probably others.

To use this code, LibOpenR2 must be installed from http://www.libopenr2.org/.
Information about configuration can be found in configs/chan_dahdi.conf.sample.

The code committed is the most up to date version, which was being maintained
in svn/asterisk/team/moy/mfcr2/.

I would also like to include a Thank You to the many others that tested this
code beyond those listed in this commit message.  These are the names that I
could find in the mantis issue.

(closes issue #12509)
Reported by: moy
Patches:
      chan_zap-mfr2.patch uploaded by moy (license 222)
Tested by: moy, korihor, viniciusfontes, Skarmeth, loloski, asbestoshead, titogarrido, heliocoelhojr, konsultex, ncorrare, ecarruda, rtorresduque, PTorres, ychen

Review: http://reviewboard.digium.com/r/40/


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@182355 f38db490-d61c-443f-a65b-d21fe96a405b
2009-03-16 20:35:58 +00:00
tilghman 1cc6c9a796 Can't set debug level 2 (intense debugging) unless the syntax matches
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@176138 f38db490-d61c-443f-a65b-d21fe96a405b
2009-02-16 17:44:51 +00:00
dhubbard 9e0c2cd342 Add dynamic fax buffer configuration option to chan_dahdi.conf
When the 'faxdetect' configuration option is used, one may also want to use
the 'faxbuffers' configuration option in chan_dahdi.conf.  This option will
dynamically use the configured 'faxbuffers' buffer policy on a channel for
the life of the call following the detection of fax tones.  The faxbuffers
buffer policy will be reverted during call teardown.

An example use of 'faxbuffers' is below.  This example would switch to using
6 buffers with a full buffer policy.

faxbuffers=>6,full


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@175411 f38db490-d61c-443f-a65b-d21fe96a405b
2009-02-13 00:13:38 +00:00
file 163f2a34af Don't subscribe to a mailbox on pseudo channels. It is futile. This solves an issue where duplicated pseudo channels would cause a crash because the first one would unsubscribe and the next one would also try to unsubscribe the same subscription.
(closes issue #14322)
Reported by: amessina


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@174041 f38db490-d61c-443f-a65b-d21fe96a405b
2009-02-06 19:28:53 +00:00
rmudgett f202893228 Broke up the large conditional blocks so it is easy to see if a function is compiled.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@173169 f38db490-d61c-443f-a65b-d21fe96a405b
2009-02-03 17:35:37 +00:00
rmudgett 953f62cb29 channels/chan_dahdi.c
*  Added doxygen comments to the major dahdi structures.
*  Fixed PRI and SS7 using an incorrect string value if the extension
delimiter is not present in the Dial() function.
*  Fixed SS7 not checking if the dialed extension is at least as long
as the stripmsd option.
*  Fixed PRI not handling unknown TON/NPI prefix letters correctly.
*  Fixed some uninitialized string variables on FXS ports.

configs/chan_dahdi.conf.sample
*  Updated some documentation.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@172400 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-29 20:38:34 +00:00
tilghman 382693c074 Merged revisions 171963 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r171963 | tilghman | 2009-01-28 11:25:18 -0600 (Wed, 28 Jan 2009) | 2 lines
  
  Clarify log message (suggested by manxpower on #asterisk-dev)
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@171964 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-28 17:27:40 +00:00
mattf 50319cf4f9 Don't complain about lack of D-channels on PTMP connections
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@171793 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-27 23:28:51 +00:00
dbailey 614e3fa4ce Handle new VMWI ioctl structure (Now there are two VMWI ioctl calls.)
(issue #14104)
Reported by: alecdavis
Tested by: dbailey



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@171558 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-27 15:23:40 +00:00
mattf 60f064a0f2 We should not do restart messages if we're in PTMP mode
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@170463 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-23 17:03:41 +00:00
dbailey da43cbfde5 MWI messages included in CID spill was not being properly handled and prevented the call from being processed
(issue #14313)
Reported by: seandarcy
Tested by: dbailey


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@170457 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-23 16:35:30 +00:00
mattf 57e2506e43 Make sure we don't set the channel to be inalarm for a D-channel drop on PTMP connections
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@170351 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-22 23:23:22 +00:00
dbailey 38c7a60810 change VMWI to use new DAHDI_VMWI ioctl call.
Change configure script to detect the new ioctl call data structure.    
(issue #14104)
Reported by: alecdavis
Patches:
      mwiioctl_structure_asterisk.diff4.txt uploaded by dbailey (license )
Tested by: alecdavis, dbailey


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@170112 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-22 15:49:24 +00:00
rmudgett 6321ba99d9 * Adjust some conditionals to balance curly braces.
*  Other minor changes.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@170007 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-22 02:10:41 +00:00
rmudgett 1ce96c89d9 Whitespace changes only
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@169910 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-22 00:23:30 +00:00
mmichelson 64efffda5f Test commit for test issue #14303
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@169866 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-21 23:20:27 +00:00
dbailey 4e01df1de5 Get rid of magic number and replace with DAHDI_VMWI_NUMBER_MASK when
determining the number of messages pending for MWI call


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@169325 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-19 18:22:44 +00:00
dbailey 1205939d55 Add enhanced MWI generation to take advantage of new dahdi line reversal MWI ability.
(closes issue #14104)
Reported by: alecdavis
Patches:
      asttrunk-14104.diff2.txt uploaded by dbailey (license )
      chan_dahdi.rpas_and_fsk.diff.txt uploaded by alecdavis (license 585)
Tested by: alecdavis, dbailey


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@169277 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-19 16:33:41 +00:00
dbailey a37d586b71 Add discriminator for when ring pulse alert signal is used to preface MWI spills
This prevents the situation when MWI messages are added to caller ID spills causing the channel to be hung up


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@169153 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-17 18:26:44 +00:00
dbailey b445e6fc83 This fixes a problem where MWI FSK spills were being injected onto off hook fxs lines.
(closes issue #14143)
Reported by: alecdavis
Patches:
      chan_dahdi-14143.patch.txt uploaded by dbailey (license )
Tested by: alecdavis



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168619 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-14 21:19:45 +00:00