Commit Graph

875 Commits

Author SHA1 Message Date
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
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
Russell Bryant 1de65767f2 This bug existed in one extra place that is not also in 1.2 ... So, fix it!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39455 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-09 04:12:10 +00:00
Russell Bryant 12b3d4a49e 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: https://origsvn.digium.com/svn/asterisk/trunk@39082 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-07 01:32:51 +00:00
Russell Bryant 954ed66a0a 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: https://origsvn.digium.com/svn/asterisk/trunk@39058 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-07 00:26:11 +00:00
Russell Bryant 663adb2b0e 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: https://origsvn.digium.com/svn/asterisk/trunk@38905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-05 05:26:29 +00:00
Russell Bryant d86d8ebdff 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: https://origsvn.digium.com/svn/asterisk/trunk@38201 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-25 19:51:31 +00:00
Russell Bryant d897bd41c2 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: https://origsvn.digium.com/svn/asterisk/trunk@38077 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-22 00:33:56 +00:00
Kevin P. Fleming 6d0742fc16 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: https://origsvn.digium.com/svn/asterisk/trunk@37988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-19 20:44:39 +00:00
Russell Bryant ee4840acdf add missing unregistration of a manager action on module unload
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37638 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-14 21:02:55 +00:00
Kevin P. Fleming acfa035afe 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: https://origsvn.digium.com/svn/asterisk/trunk@37418 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-12 13:29:10 +00:00
Mark Spencer 4c90cf59b7 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: https://origsvn.digium.com/svn/asterisk/trunk@37318 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-08 02:24:07 +00:00
Matthew Fredrickson de03118578 Asterisk portion of the T309 patch. (#7271)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37226 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-06 21:51:51 +00:00
Kevin P. Fleming dae3eedb34 make chan_zap use proper test for libpri support
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37141 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-06 13:07:47 +00:00
Kevin P. Fleming dbf099cdb8 update dependency information to match new names for dependencies
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37085 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-05 20:12:29 +00:00
Kevin P. Fleming f761d2f6f0 prepare Asterisk for new zaptel.h/tonezone.h installation locations
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37027 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-05 16:44:41 +00:00
Kevin P. Fleming e61d3d91f3 The Eurostar Commit! (it's amazing how much work you can get done on a 150 minute train ride from Paris to London <G>)
support the new location for zaptel.h and tonezone.h
use the dependency information output by menuselect to build Makefile rules for each module for header files and libraries
combine the common rules into a top-level Makefile.rules file
remove all (now) unnecessary stuff from subdir Makefiles
change translator API so that the newpvt() callback returns an int instead of a pointer (it no longer allocates memory)
alphabetize --with-<foo> options in configure script
enhance Net-SNMP support in configure script to provide a --with-netsnmp option
fix support for --with-pq so that if pg-config is not found when --with-pq is specified, an error will be generated
add 'optional package' usage to modules now that menuselect can output it
allow res_snmp to build by default, since the new loader changes coming soon will solve the function naming problem (and users can disable it via menuselect anyway)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-24 19:43:31 +00:00
Kevin P. Fleming df0ba5ff8b search for Zaptel and libtonezone separately in the configure script
various other minor fixes


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35812 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-24 08:45:49 +00:00
Russell Bryant c8ceb92a4f revert my changes that converted the jb on the channel to be dynamically
allocated. These changes caused crashes when using a channel type that did
not support the jitterbuffer. Instead of fixing why it's crashing, I'm going
to implement this in a better way next week. The way I did it caused a
jitterbuffer to be allocated on every channel where the channel type supported
jitterbuffers, even if they were disabled.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35746 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23 16:49:12 +00:00
Russell Bryant 84c37e0c58 reduce indentation
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35629 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-23 02:08:10 +00:00
Russell Bryant 46018d5032 - dynamically allocate the ast_jb structure that is on the channel structure
so that channels not using a jitterbuffer don't waste as much memory
- ensure that the channel drivers that use jitterbuffers can handle a failure
  from configuring a jitterbuffer on a new channel because of a memory
  allocation error
- On passing through these channel drivers, configure the jitterbuffer before
  starting the PBX thread instead of afterwards. If the pbx fails to start for
  whatever reason, this would have caused a crash.
- Also on passing, move the increase of the usecount to after all of the
  possible failure conditions in the function
- fix a place where ast_update_use_count() was not called
- ensure that the owner channel pointer of the channel pvt strcutures is set to
  NULL in failure conditions


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35553 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-22 17:05:17 +00:00
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 18:54:56 +00:00
Russell Bryant 739385e761 remove the WITH_SMDI define
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32845 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 18:28:29 +00:00
Russell Bryant efd1fd9829 revert my changes to convert fields of zt_pvt to use stringfields. When I did
this, I was not keeping in mind the fact that after a stringfield is overwritten
by another string, the memory used by the old string can not be recovered.  I
would like to go back through these changes and make sure that stringfields are
not used for fields that are written to many times before these changes are
committed.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32759 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 23:22:12 +00:00
Matthew Fredrickson f809fde426 Add q.921 state information. (#7260)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32740 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 22:19:19 +00:00
Russell Bryant fa595a8d82 don't return -1 if zapata.conf is not present (part of the patch from
issue #7290, tzafrir)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32545 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 14:24:59 +00:00
Russell Bryant 80a153af79 - use stringfields in a bunch of the fields of the zt_pvt structure in chan_zap
- constify some arguments to functions in callerid.c / callerid.h


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32456 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 01:22:47 +00:00
Russell Bryant 4c76028de9 - add the ability to configure forced jitterbuffers on h323, jingle,
and mgcp channels
- remove the jitterbuffer configuration from the pvt structures in
  the sip, zap, and skinny channel drivers, as copying the same global
  configuration into each pvt structure has no benefit.
- update and fix some typos in jitterbuffer related documentation
(issue #7257, north, with additional updates and modifications)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31413 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01 16:47:28 +00:00
Russell Bryant 78ec9a057c clean up various whitespace issues (issue #7236, casper)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31126 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-31 20:19:50 +00:00
Russell Bryant 414106a3a6 move the includes of abstract_jb.h to be with the rest of the asterisk includes.
These used to be wrapped in a #ifdef


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31078 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-31 17:29:12 +00:00
Russell Bryant bb7dd96cfe Add support for using a jitterbuffer for RTP on bridged calls. This includes
a new implementation of a fixed size jitterbuffer, as well as support for the
existing adaptive jitterbuffer implementation. (issue #3854, Slav Klenov)

Thank you very much to Slav Klenov of Securax and all of the people involved
in the testing of this feature for all of your hard work!


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-31 16:56:50 +00:00
Kevin P. Fleming 11d13e1d4b Merged revisions 29969 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29969 | kpfleming | 2006-05-24 11:17:26 -0500 (Wed, 24 May 2006) | 2 lines

respect 'usecallingpres' in zapata.conf even if CLID has not been set for the channel (issue #7123)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29970 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-24 16:19:57 +00:00
Matthew Fredrickson 547c6ebd86 Bump up the echo tail length option
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-23 21:10:55 +00:00
Joshua Colp ebc762c82e Clean up some chan_zap code to make it more readable. (issue #6834 reported by ppyy)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28704 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19 17:15:29 +00:00
Joshua Colp fa13a5f113 Merged revisions 28698 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r28698 | file | 2006-05-19 14:04:02 -0300 (Fri, 19 May 2006) | 2 lines

Make the minidle option actually exist as documented (issue #7159 reported by imran)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28703 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19 17:05:22 +00:00
Russell Bryant 5d24426e40 fix up a patch that did not merge properly from 1.2 ... weird
(issue #6866, flefoll)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28592 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19 14:51:08 +00:00
Joshua Colp 15358932ec Add distinctive ring detection with Caller ID for Australia, New Zealand, and other countries. (issue #3596 reported by deon patch by dbowerman with minor mods by moi)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27812 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-17 16:51:47 +00:00
Matthew Fredrickson 99648dd713 Add option for enabling and disabling echo cancellation
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27523 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 21:43:20 +00:00
Russell Bryant 19ca8dc7c1 remove some chekc sof the result of ast_mutex_lock (issue #7119, Mithraen)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26531 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 15:41:23 +00:00
Kevin P. Fleming fdcfd6469b ensure that control frames with payload can be sent to channel drivers via ->indicate()
update iax2_indicate to pass control frame payload to the connected channel
add an API call for sending an indication with payload, and use it for control frames with payload


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26417 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 12:24:11 +00:00
Russell Bryant 3b43ddac78 Merged revisions 25123 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r25123 | russell | 2006-05-05 20:05:27 -0400 (Fri, 05 May 2006) | 3 lines

ensure that the appropriate manager events are sent in all of the places where
alarms are detected or cleared (issue #6866, flefoll)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25124 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-06 00:06:58 +00:00
BJ Weschke a7b1476058 Provide the ability to adjust txgain/rxgain on a channel level via the CHANNEL() function
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24621 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 22:02:50 +00:00
Luigi Rizzo 072e1b8a83 move some code used only --with-pri in the proper
conditionally-compiled area.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23809 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-01 00:51:38 +00:00
Kevin P. Fleming 26753f77b0 remove unusable MFC/R2 support
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23670 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30 14:09:13 +00:00
Matt O'Gorman d830dbabf8 allows for chan_zap to have all channels reloaded
via zap restart patch from bug 6955


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22932 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-27 18:53:47 +00:00
Matthew Fredrickson 173e8b14cd Make sure we use the correct event type when we're moving channels around :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22867 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-27 16:20:39 +00:00
Kevin P. Fleming 574e14cbea Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24 17:11:45 +00:00
Jim Dixon a83297d85f Added "Operator Services" connection mode for Zap channels, and the 'O' option
in app_dial to support the use of this mode.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-22 11:30:06 +00:00
Luigi Rizzo e43bc6634d This rather large commit changes the way modules are loaded.
As partly documented in loader.c and include/asterisk/module.h,
modules are now expected to return all of their methods and flags
into a structure 'mod_data', and are normally loaded with RTLD_NOW
| RTLD_LOCAL, so symbols are resolved immediately and conflicts
should be less likely.  Only in a small number of cases (res_*,
typically) modules are loaded RTLD_GLOBAL, so they can export
symbols.
 
The core of the change is only the two files loader.c and
include/asterisk/module.h, all the rest is simply adaptation of the
existing modules to the new API, a rather mechanical (but believe
me, time and finger-consuming!) process whose detail you can figure
out by svn diff'ing any single module.

Expect some minor compilation issue after this change, please
report it on mantis http://bugs.digium.com/view.php?id=6968
so we collect all the feedback in one place.

I am just sorry that this change missed SVN version number 20000!



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-14 14:08:19 +00:00
Kevin P. Fleming f10f427d49 since the module API is changing, it's a good time to const-ify the description() and key() return values
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-08 22:01:19 +00:00
Tilghman Lesher 756c7cbb12 Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) rand() to threadsafe ast_random()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17627 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-05 17:44:44 +00:00
Olle Johansson 42fddfa075 Formatting cleanup
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17369 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04 18:34:21 +00:00
Olle Johansson 0a1898d8d6 Issue #6878 - Manager event DNDstate hidden under verbose option (casper)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17366 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04 18:26:24 +00:00
Luigi Rizzo b94f6a6df4 normalize/simplify a bit of the command completion code.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15856 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 23:20:13 +00:00
Luigi Rizzo e9b7424737 The condition to check the zaptel version was too strict.
If you are compiling with WITHOUT_ZAPTEL=1, you can also
work with older version of zaptel, and there is no reason
not to allow that.

This should help various people mentioning on the -dev
list that there were issues with newer zaptel versions
on FreeBSD, and so they had to use older version.
(This includes me, btw!)



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15785 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 21:24:48 +00:00
Kevin P. Fleming f7c2eed26a ensure that 'zap show channel' will indicate that the echo canceler has been disabled when CED has been detected on the channel
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15662 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 19:00:21 +00:00
Matt O'Gorman a5ece3388a Janitor work converting !ast_strlen_zero(a)?a:b
to S_OR functions. from bug note 6805 with minor
modifications.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-27 19:31:54 +00:00
Mark Spencer 9164eac21a Add micro-http server and abstract manager interface, make snmp not die
on reload.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-25 23:50:09 +00:00
Matthew Fredrickson ba8f7b8819 Allow channels to be moved if channel change is requested in SETUP_ACK, also add a WAY cool new field to the nsf option
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14521 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-23 21:41:23 +00:00
Jim Dixon 7cfb9b3515 Added separate outsignalling specification, and fixed FEATDMF to allow for
international inbound calls.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14079 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-21 22:31:36 +00:00
Russell Bryant 4c49c78e2e Merged revisions 13237 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r13237 | russell | 2006-03-16 12:42:46 -0500 (Thu, 16 Mar 2006) | 3 lines

always use the callerid signalling method set in the zt_pvt strucutre as
opposed to the last one read from the config file (issue #6734, with mods)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13238 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-16 17:46:15 +00:00
Mark Spencer 24c1501690 Fix some whitespace issues
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11817 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-04 18:12:02 +00:00
Tilghman Lesher f2be8b518d Bug 6554 - Show all spans statuses with a single command
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10607 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-21 05:41:37 +00:00
Tilghman Lesher 159711c838 Bug 6552 - Be a little more descriptive about which span has the PRI error
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10606 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-21 05:34:52 +00:00
Kevin P. Fleming 7b2988821a clean up SMDI support commit:
copyright header format and dates
code formatting and guidelines conformance
use of timeval wrapper functions
use of memory allocation wrappers
propery unref created interface objects during config load
document new variable set by chan_zap in doc/channelvariables.txt
remove useless 'extern' on function prototypes and definitions


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9451 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-10 23:55:47 +00:00
Matthew Fredrickson 5dd0b76b2d Minor bugfix for #6386
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-10 22:45:03 +00:00
Matthew Fredrickson af07dc8883 Add smdi support for asterisk (see doc/smdi.txt for config info) (#5945)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-10 21:50:56 +00:00
Russell Bryant 7529e12ab4 remove unnecessary format check in zt_request so that we will actually accept
a requested format of ALAW (issue #6421, different patch)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9260 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-09 02:21:57 +00:00
Russell Bryant a8d24df108 clarify return value (issue #6434)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9248 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-09 01:52:09 +00:00
Matthew Fredrickson 556ec7c940 Make sure we output the APDU debug on pri debug commands
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9194 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-07 18:00:42 +00:00
Matthew Fredrickson 7bed7d9048 Fix w/ string field updates #6397
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9113 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-02 21:02:19 +00:00
Matthew Fredrickson d65e912816 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9106 65c4cc65-6c06-0410-ace0-fbb531ad65f3 2006-02-02 20:50:29 +00:00
Matthew Fredrickson 35edaf57d6 Fix so that hardhdlc works w/ chan_zap
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9072 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-02 16:09:38 +00:00
Kevin P. Fleming a16ae226b6 use string fields for some stuff in ast_channel
const-ify some more APIs
remove 'type' field from ast_channel, in favor of the one in the channel's tech structure
allow string field module users to specify the 'chunk size' for pool allocations
update chan_alsa to be compatible with recent const-ification patches


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-01 23:05:28 +00:00
Russell Bryant a228af1dd9 remove some more local declarations of null frames
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9004 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-31 17:57:12 +00:00
Kevin P. Fleming d819679da0 Yes Virginia, Zaptel does support native ALAW
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8961 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-31 03:45:09 +00:00
Kevin P. Fleming 257212b930 Merged revisions 8905 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8905 | kpfleming | 2006-01-30 11:08:28 -0600 (Mon, 30 Jan 2006) | 2 lines

disable buggy PRI user-user code until it can be fixed

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8906 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-30 17:09:55 +00:00
Kevin P. Fleming cde6058aef make ast_read() able to handle channel read()/exception() methods that return a chain of frames
cleanup code in ast_read()
add AST_FRAME_DTMF_BEGIN and AST_FRAME_DTMF_END so that variable-length DTMF events can be supported
teach chan_zap to send DTMF_BEGIN and DTMF_END when appropriate


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-29 05:07:04 +00:00
Russell Bryant 99abd45d01 Merged revisions 8729 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r8729 | russell | 2006-01-26 14:42:35 -0500 (Thu, 26 Jan 2006) | 2 lines

fix problem with dtmf on e&m (issue #6364)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8730 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-26 19:44:16 +00:00
Kevin P. Fleming 1992ffbdb0 eliminate compiler warnings from recent const-ification
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-20 17:27:51 +00:00
Olle Johansson 3d456ce4f0 Add support for "musicclass" instead of "musiconhold" to make chan_zap compatible
with other channels.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8300 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-19 22:41:55 +00:00
Matthew Fredrickson 6ba6a2be1c Fix answeronpolarityswitch and hanguponpolarityswitch when both are yes (#6229)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8155 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-17 23:13:42 +00:00
Kevin P. Fleming 21347757ef don't generate any message for native bridge attempts unless all the basic checks have passed and we're actually going to try it
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8120 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-17 05:15:33 +00:00
Russell Bryant 466a062b09 convert some channels to use the memory allocation wrappers.
(This is being added to the janitor projects list.)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7954 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-11 01:20:29 +00:00
Mark Spencer 1b57ae8b6c Fix build if RINGBEGIN is not defined (bug #6166)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7860 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-07 20:38:40 +00:00
Matthew Fredrickson 4401b7e67f Changes to allow receiving japanese callerid (Bug #5928)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7842 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-06 20:03:20 +00:00
Matthew Fredrickson a14916bfa5 Fixes for bug #6125
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7786 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-04 14:46:41 +00:00
Russell Bryant a725468381 update doxygen docs to specify authors
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-30 21:18:06 +00:00
Mark Spencer 63ed37defd Don't do DTMF detect on pseudo's!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7640 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-26 23:56:44 +00:00
Jim Dixon a945b5598e Added support for Feature Group C CAMA trunks (both DP and MF), and support
for Feature Group D Tamdem trunks inbound (outbound was already there)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7636 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-26 20:01:35 +00:00
BJ Weschke 8ef327b3f5 Bug #5877
Make sure the digit string from E&M wink DNIS collection is properly null terminated as it grows.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7424 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-10 18:05:00 +00:00
Russell Bryant 0ff48b4681 clean up some compiler warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7327 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-04 15:28:48 +00:00
Tilghman Lesher 870f98f02d Bug 5858 - Make the chanvars.c functions return a 'const char *'
This should prevent us from unintentionally changing variable
values when they're returned from pbx_builtin_getvar_helper.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-03 19:25:33 +00:00
Matthew Fredrickson 6a6b88c0e3 Fix all the warnings and errors for PRI to go to more logical places
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7294 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-02 23:52:00 +00:00
Matthew Fredrickson 39c7f262a0 Add app to send pri keypad facility digits during a call
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7254 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-01 18:52:24 +00:00
Kevin P. Fleming 2c65582b66 remove extraneous svn:executable properties
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29 18:24:39 +00:00
Mark Spencer a7d794a0ac Fix DTMF issue with 3-way native zap
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-11 18:00:07 +00:00
Kevin P. Fleming bdda6254f4 correct logic for group-match CONGESTION checking
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7038 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-09 01:42:38 +00:00
Kevin P. Fleming cdf4031963 issue #3360 plus related fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-09 00:48:38 +00:00
Mark Spencer c5f0a6db6f Fix three-way issue
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7029 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-08 19:36:20 +00:00
Russell Bryant 31a804b97c issue #5605
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6979 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-06 15:09:47 +00:00
Mark Spencer 3d473eebbc Fix chan_zap build on non-PRI (bug #5620)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6965 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-06 04:38:39 +00:00
Mark Spencer 994b9db081 Handle DTMF properly when combined with other events
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6964 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-05 22:30:31 +00:00
Russell Bryant 9ddf0e4dce Remove unnecessary checks before calls to ast_strlen_zero. Also, change
some places where strlen is used instead of ast_strlen_zero


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-27 02:19:37 +00:00
Russell Bryant 3453e3efa5 Doxygen documentation update from oej (issue #5505)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-24 20:12:06 +00:00
Russell Bryant 4cc2618bd1 fix output of 'zap show status' to line up properly (issue #5491)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6842 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-22 12:15:07 +00:00
Matthew Fredrickson 0f850c2ffb Add user to user ie transmission support in chan_zap.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6841 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-21 21:23:16 +00:00
Russell Bryant 56135f210f silence compiler warnings when ZT_TONEDETECT is not defined (issue #5470)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6835 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-20 16:50:18 +00:00
Mark Spencer 141d9f7156 Make sure when the timeout occurs that we actually break the bridge (bug #5252)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6791 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-14 17:02:20 +00:00
Mark Spencer dd11afca42 Fix call timeouts with rtp bridge etc (bug #5252)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6759 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-13 18:27:54 +00:00
Matthew Fredrickson 1406f660b6 Rewrite of PRI progress and message handling. Fixes bugs #5266 and #4468
(Early media related digit passing and passing early media progress between
channels)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6711 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-04 17:00:01 +00:00
Kevin P. Fleming 13519f72e7 support both regular and Feature Group D dialing syntax on EM_WINK trunks (issue #5323)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6690 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-29 03:25:25 +00:00
Mark Spencer ea215f5b7d Remove possibility of manager deadlocks from manager actions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6687 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-28 23:10:14 +00:00
Kevin P. Fleming 4287cb7f42 more whitespace fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6686 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-28 21:29:40 +00:00