Commit Graph

10636 Commits

Author SHA1 Message Date
Joshua Colp
44dd29ff61 Preserve marker bit when P2P bridging. (issue #9198 reported by edgreenberg)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57768 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-05 03:22:17 +00:00
Steve Murphy
b899145141 Updated the regression tests
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57707 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-03 15:31:12 +00:00
Tilghman Lesher
3687771760 Merged revisions 57648 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r57648 | tilghman | 2007-03-03 00:36:55 -0600 (Sat, 03 Mar 2007) | 2 lines

Memory leak of a list, if call recording was abandoned

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57649 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-03 06:45:00 +00:00
Dwayne M. Hubbard
9a47a4712f submitted patch for Georgian language, issue 9010, submitted by Alexander Shaduri
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57620 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-03 00:59:24 +00:00
Russell Bryant
3b6dc39807 add missing configuration template. Thanks to Lacy Moore on asterisk-users for pointing this out\!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57591 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-03 00:02:29 +00:00
Russell Bryant
b59030489b Update the check that is used to determine whether zaptel transcoder support
is present.  The interface has changed.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57556 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-02 23:03:01 +00:00
Joshua Colp
53b9bc89c0 Merged revisions 57475 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r57475 | file | 2007-03-02 12:02:46 -0500 (Fri, 02 Mar 2007) | 2 lines

If a SIP message comes in and goes to a method handler that requires additional values that may not be present then send back an error.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-02 17:06:52 +00:00
Steve Murphy
f8be0ce753 Merged revisions 57458 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r57458 | murf | 2007-03-02 09:39:33 -0700 (Fri, 02 Mar 2007) | 1 line

further refinement in wording of goto documentation, as per 9156, goto not proceeding to next instruction
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57473 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-02 16:55:16 +00:00
Steve Murphy
9fab305234 I almost had comma escapes right, but 9184 points out the problem-- the escape is removed by pbx_config, and pbx_ael should also, before sending it down into the pbx engine. Also, you have to insert it back in, if you are generating extensions.conf code from the AEL.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57426 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-02 05:21:36 +00:00
Russell Bryant
5a9cd3d235 Return the correct digit that interrupted the stream. This fixes exiting the
Background application when using the m option.
(issue #9176, mjagdis)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57396 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-02 00:20:44 +00:00
Russell Bryant
31cf37519f Merge changes from svn/asterisk/team/russell/sla_updates
* Originally, I put in the documentation that only Zap interfaces would be
  supported on the trunk side.  However, after a discussion with Qwell, we came
  up with a way to make IP trunks work as well, using some things already in
  Asterisk.  So, here it is, this now officially supports IP trunks.
* Update the SLA documentation to reflect how to setup IP trunks.
* Add a section in sla.txt that describes how to set up an SLA system with
  voicemail.
* Simplify the way DTMF passthrough is handled in MeetMe.
* Fix a bug that exposed itself when using a Local channel on the trunk side
  in SLA.  The station's channel needs to be passed to the dial API when
  dialing the trunk.
* Change a WARNING message to DEBUG in channel.h.  This message is of no use
  to users.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57364 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-01 23:42:53 +00:00
Joshua Colp
219f4b4913 Merged revisions 57317 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r57317 | file | 2007-03-01 17:19:32 -0500 (Thu, 01 Mar 2007) | 2 lines

Don't even attempt to optimize things when a proxy channel is involved. It will just explode in weird and unexplaineable ways. (issue #9175 reported by clegall_proformatique)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57318 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-01 22:21:44 +00:00
TransNexus OSP Development
81b8f64769 1. Corrected a typo for www.etsi.org. Thank Patrick.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57263 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-01 03:02:47 +00:00
Russell Bryant
65915e679a minor tweaks to the sla docs
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57207 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-28 23:01:52 +00:00
Russell Bryant
447561d7a2 Merge more changes from svn/asterisk/team/russell/sla_updates
* Add support for private hold.  By setting "hold=private" for a trunk, only
  the station that put the call on hold will be able to retrieve it from hold.
  Also, by setting "hold=private" for a station, any call that station puts
  on hold can only be retrieved by that station.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57203 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-28 22:07:05 +00:00
Russell Bryant
315c9614cb Minor formatting change
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-28 19:58:56 +00:00
Russell Bryant
9d3ff33b25 Merge changes from svn/asterisk/team/russell/sla_updates
* Add support for the "barge=no" option for trunks.  If this option is set,
  then stations will not be able to join in on a call that is on progress
  on this trunk.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57144 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-28 19:56:20 +00:00
Steve Murphy
6bc3d77c05 Merged revisions 57118 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r57118 | murf | 2007-02-28 12:12:41 -0700 (Wed, 28 Feb 2007) | 1 line

a small documentation update, to reflect reality in the goto doc strings, as per 9156, Goto does not proceed to next prio if jump fails
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57139 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-28 19:23:05 +00:00
Joshua Colp
43f841cadf Merged revisions 57092 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r57092 | file | 2007-02-28 13:55:45 -0500 (Wed, 28 Feb 2007) | 2 lines

Fix a few more issues with the agent logoff CLI command. (issue #9123 reported by arbrandes)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57093 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-28 18:57:52 +00:00
Russell Bryant
9021d3c3b2 Merge current set of changes from svn/asterisk/team/russell/sla_updates
* Add support for station ring delays.  Ring delays can be set globally for a
  station or for specific trunks on the station.
* Fix a few bugs in existing code.
* Restructure and Reorganize code to improve readability and maintainability.
* Improve formatting of the "sla show (trunks|stations)" CLI commands.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57089 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-28 18:20:05 +00:00
Joshua Colp
53b014b81a Picky compiler...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-28 17:55:03 +00:00
Joshua Colp
d92e56ac89 Better handle timeouts when the individual speaks after everything has been played but before the timeout ends.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-28 17:45:50 +00:00
Steve Murphy
96622ddd26 I was surprised that I had not yet downgraded missing goto targets and macro call defs to a warning, in case they are in extensions.conf; I rectified this problem. Also, A goto in a macro to a target in a catch block was not being found; I fixed this too; the cause was that I needed to treat catch statements like an extension in the find_match code.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@57049 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-28 17:15:27 +00:00
Russell Bryant
1082f8d178 Fix voicemail email attachments. I missed the conversion of one of the line
endings and there was an extra one where it should not have been.
(issue #9128)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56975 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-27 17:36:09 +00:00
Tilghman Lesher
91355b5e5f Picky, picky... show deprecation warning in application help, too (reported via list)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56922 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-26 22:01:23 +00:00
Russell Bryant
83ce3720bc Restore the behavior of Asterisk 1.2 where if a device was not specified in
alsa.conf, then we just use the system default, instead of creating our own
default of hw:0,0.  (issue #9139)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56888 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-26 20:42:21 +00:00
Joshua Colp
31d02952de Merged revisions 56850 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r56850 | file | 2007-02-26 15:05:02 -0500 (Mon, 26 Feb 2007) | 2 lines

Obey the clearglobalvars option in extensions reload (or dialplan reload depending on your version). (issue #9146 reported by ramonpeek)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56856 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-26 20:07:18 +00:00
Russell Bryant
dd6b58edcd Fix a crash in my last change to iax2_indicate(). (issue #9150)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-26 20:04:13 +00:00
Joshua Colp
0750349819 Update app_record documentation to use new CLI command, core show file formats. (issue #9151 reported by junky)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56839 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-26 19:33:48 +00:00
Joshua Colp
51fc74da59 Use ast_strlen_zero to see if the language and/or context argument is not present for Background instead of just checking if it is NULL. (issue #9141 reported by mjagdis)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56805 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-26 17:09:53 +00:00
Russell Bryant
268fc8a9cc Do more complete locking of the chan_iax2_pvt struct in the indicate callback.
(Problem brought up by Ben Smithurst on the asterisk-dev list)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56785 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-26 16:51:18 +00:00
Joshua Colp
693cdc775e Allow both of the show version files and core show file versions CLI commands to work. (issue #9135 reported by mvanbaak)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56783 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-26 16:36:08 +00:00
Russell Bryant
11e4c71bc0 Move a comment to be in the correct struct.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56740 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-26 01:04:40 +00:00
Russell Bryant
6c89f9e883 Blocked revisions 56729 via svnmerge
........
r56729 | russell | 2007-02-25 18:34:31 -0600 (Sun, 25 Feb 2007) | 4 lines

Ensure that lock.h is included in utils.c with AST_API_MODULE defined so that
the implementations will be properly included when the AST_INLINE_API functions
are not going to be inlined.  (issue #9124, festr)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56730 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-26 00:35:04 +00:00
Tilghman Lesher
185d7f5a3a Merged revisions 56684 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r56684 | tilghman | 2007-02-25 08:38:03 -0600 (Sun, 25 Feb 2007) | 3 lines

Issue 9130 - If prev is the last item on the channel list, then evaluating
additional conditions (e.g. name prefix) will cause a NULL dereference.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56685 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-25 14:46:41 +00:00
Jason Parker
a9e4e0eefa Make sure to set a speeddials parent on creation.
Don't crash if hold is pressed when no call is active.
Don't return in places that we shouldn't..


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56569 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-24 02:02:53 +00:00
Kevin P. Fleming
3b191255bf update to match zaptel 1.4 API change that was committed a few minutes ago
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56548 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-24 00:53:55 +00:00
Russell Bryant
2020191f67 Merged revisions 56504 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r56504 | russell | 2007-02-23 17:20:55 -0600 (Fri, 23 Feb 2007) | 8 lines

Fix up a couple more signal handlers to not do bad things that could cause
various undesirable results.  The other day, I made Asterisk deadlock by
hitting Control-C because of a bad signal handler.  Now, signal handlers
just set a flag and write to an alert pipe for the flag to be handled.  Then,
there is another thread that is monitoring for these flags.  If being run in
console mode, it is just the main thread.  If Asterisk is in the background,
a thread is created to do it.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56505 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-23 23:24:18 +00:00
Joshua Colp
40712e5eaf Change log notice to debug. It is possible for a scheduled item to execute and be deleted at close to the same time and unavoidable. If this happens this message creeps up.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-23 21:53:41 +00:00
Russell Bryant
76a643978e Merged revisions 56406 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r56406 | russell | 2007-02-23 14:17:56 -0600 (Fri, 23 Feb 2007) | 4 lines

Don't destroy mutexes before unregistering all of the entry points from the core.
Also, fix a potential memory leak from not destroying the locks for all of the
possible call numbers (about 32k of them).

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-23 20:20:00 +00:00
Kevin P. Fleming
99b4865121 build special version strings for AADK/S800i builds
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-23 18:59:09 +00:00
Russell Bryant
ad720f24bb The IMAP storage code uses the same code to build the email that is used when
voicemail is sent via email using something like sendmail.  In the patch from
bug 8033 to fix various IMAP storage problems, the line endings in the email
file were changed in the code from "\n" to "\r\n".  However, this breaks
sending regular voicemail to email.  So, this change conditionally sets line
endings to "\r\n" only if IMAP_STORAGE is enabled.
(issue #9128, patch by jarjarbinks, modified by me to not break IMAP storage)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56341 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-23 17:58:57 +00:00
Joshua Colp
b31b7a9b87 Blocked revisions 56279 via svnmerge
........
r56279 | file | 2007-02-22 18:19:25 -0500 (Thu, 22 Feb 2007) | 2 lines

Always defer Agent logoff if any channels are up until they hang up. (issue #9123 reported by arbrandes)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56280 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-22 23:25:32 +00:00
Russell Bryant
f314685447 Merge changes from team/russell/sla_updates.
This batch of changes to the SLA code does a few different things.

* I made the SLA code event driven instead of having to act in a lot of busy
  loops while dialing things to wait for state changes.  This makes the code
  more efficient and readable at the same time.

* I have implemented a couple of new features.  The first is inbound trunk
  ringing timeouts.  This is an option that defines how long to let an incoming
  call on a trunk to ring.

* I have also implemented ring timeouts for stations.  They may be specified
  for the entire station, meaning it is how long to let the station ring before
  giving up.  You can also specify a ring timeout for a specific trunk on a
  station.  So, you can say that you only want a specific station to ring 5
  seconds if it is line1 ringing, but otherwise, there is no timeout.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56277 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-22 23:08:36 +00:00
Joshua Colp
4565c1483c Merged revisions 56230 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r56230 | file | 2007-02-22 13:44:24 -0500 (Thu, 22 Feb 2007) | 2 lines

Only change the original or clone channel if it's the channel behind the proxy channel, not if it's just a regular bridged channel.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56231 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-22 18:49:39 +00:00
TransNexus OSP Development
ae419981d6 Update OSP documentation for v1.4.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56169 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-22 14:06:56 +00:00
Olle Johansson
d67ef52159 Move message from verbose to debug
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56125 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-22 10:33:55 +00:00
Steve Murphy
2ed66c5a89 updated the sound tarball versions in Makefile
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56094 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-22 02:39:58 +00:00
Russell Bryant
9a7d1cc182 Restructure a little bit of code to reduce nesting. There is no functionality
change here.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-22 01:24:10 +00:00
Russell Bryant
71921a8329 Merged revisions 56010 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r56010 | russell | 2007-02-21 18:53:25 -0600 (Wed, 21 Feb 2007) | 3 lines

If we receive a frame that is not in any of the negotiated formats, then drop
it.  (potentially issue #8781 and SPD-12)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@56011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-22 00:57:36 +00:00