asterisk/asterisk.git
14 years agoMerged revisions 58894 via svnmerge from
Russell Bryant [Wed, 14 Mar 2007 16:34:03 +0000 (16:34 +0000)]
Merged revisions 58894 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58894 | russell | 2007-03-14 11:33:01 -0500 (Wed, 14 Mar 2007) | 8 lines

By default, don't attempt to do any CallerID handling at all with SLA because
it is known to not work properly in some situations.  However, add an option to
enable it for those that would like to use it anyway.

The short story behind this is that to properly handle CallerID with SLA, we
need the ability to change the CallerID on an existing call, and we are not
ready to handle that.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58895 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 58880 via svnmerge from
Tilghman Lesher [Wed, 14 Mar 2007 01:56:03 +0000 (01:56 +0000)]
Merged revisions 58880 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58880 | tilghman | 2007-03-13 20:47:08 -0500 (Tue, 13 Mar 2007) | 3 lines

Issue 9162 - pbx_substitute_variables_helper assumes the buffer is initialized
to all zeroes.  This fixes a case where it wasn't.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58881 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 58872 via svnmerge from
Russell Bryant [Tue, 13 Mar 2007 23:20:41 +0000 (23:20 +0000)]
Merged revisions 58872 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58872 | russell | 2007-03-13 18:19:51 -0500 (Tue, 13 Mar 2007) | 4 lines

Ensure that the blinky lights show that the trunk stopped ringing when the
trunk hangs up before a station has answered it.
(issue #9234, reported by francesco_r)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58873 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 58870 via svnmerge from
Russell Bryant [Tue, 13 Mar 2007 23:11:30 +0000 (23:11 +0000)]
Merged revisions 58870 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58870 | russell | 2007-03-13 18:11:08 -0500 (Tue, 13 Mar 2007) | 1 line

fix the reference to the SLA documentation
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58871 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerge changes from team/russell/sqlite:
Russell Bryant [Tue, 13 Mar 2007 21:22:33 +0000 (21:22 +0000)]
Merge changes from team/russell/sqlite:

* Add new module, cdr_sqlite3_custom which allows logging custom CDRs into a
  SQLite3 database.  (issue #7149, alerios)
* Add new module, res_config_sqlite, which adds realtime database configuration
  support for SQLite version 2.  I decided that this was ok since we didn't have
  any realtime support for version 3.  If someone ports this to version 3, then
  version 2 support can be removed or marked deprecated.
  (issue #7790, rbarun_proformatique)
* Mark cdr_sqlite as deprecated in favor of cdr_sqlite3_custom.

Also, note that there were other modules on the bug tracker that did not make
the cut because they provided some duplicated functionality.  Those are:

* cdr_sqlite3 (issue #6754, moy)
* cdr_sqlite3 (issue #8694, bsd)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58866 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 58845 via svnmerge from
Olle Johansson [Tue, 13 Mar 2007 10:14:13 +0000 (10:14 +0000)]
Merged revisions 58845 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58845 | oej | 2007-03-13 11:03:03 +0100 (Tue, 13 Mar 2007) | 3 lines

Don't hangup the call on OK or errors on MESSAGE and INFO
inside of a dialog (like video update requests).

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58846 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 58843 via svnmerge from
Olle Johansson [Tue, 13 Mar 2007 09:15:17 +0000 (09:15 +0000)]
Merged revisions 58843 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58843 | oej | 2007-03-13 10:12:16 +0100 (Tue, 13 Mar 2007) | 2 lines

Issue #9251 - Clear From URI from user attributes (tgrman)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58844 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoChange URL to OpenH323 (thanks, Tzafrir!)
Olle Johansson [Mon, 12 Mar 2007 09:37:13 +0000 (09:37 +0000)]
Change URL to OpenH323 (thanks, Tzafrir!)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58822 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 58783 via svnmerge from
Joshua Colp [Mon, 12 Mar 2007 01:22:29 +0000 (01:22 +0000)]
Merged revisions 58783 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58783 | file | 2007-03-11 21:21:12 -0400 (Sun, 11 Mar 2007) | 2 lines

Allow RFC2833 compensation to compensate for even stupider implementations by queueing up the end frame at the start, not the actual end. (issue #8963 reported by AndrewZ)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58784 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 58779 via svnmerge from
Joshua Colp [Mon, 12 Mar 2007 00:54:13 +0000 (00:54 +0000)]
Merged revisions 58779 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58779 | file | 2007-03-11 20:51:16 -0400 (Sun, 11 Mar 2007) | 2 lines

Add matchexterniplocally setting which only substitutes your externip/externhost setting if it matches the localnet setting. I know of at least two people who need opposite settings, so I made it an option! (issue #8821 reported by kokoskarokoska)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58780 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agogrammatical errors are bad, mmmkay?
Kevin P. Fleming [Sun, 11 Mar 2007 21:57:05 +0000 (21:57 +0000)]
grammatical errors are bad, mmmkay?

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58761 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoAdd CLI command "marko show birthday" to show "birthday information"
Jason Parker [Sun, 11 Mar 2007 16:43:14 +0000 (16:43 +0000)]
Add CLI command "marko show birthday" to show "birthday information"
 for Mark Spencers upcoming 30th birthday.

To enable, run `make menuselect` and select the option MARKO_BDAY under Compiler Flags.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58742 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 58705 via svnmerge from
Russell Bryant [Sat, 10 Mar 2007 18:15:41 +0000 (18:15 +0000)]
Merged revisions 58705 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58705 | russell | 2007-03-10 12:11:11 -0600 (Sat, 10 Mar 2007) | 6 lines

Fix a few more places in chan_iax2 where the ast_frame used for receiving a
frame was not properly initialized.
 - Interpolating a frame when the jitterbuffer is in use
 - decrypting a frame when IAX2 encryption is on
 - frames in an IAX2 trunk

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58706 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 58669 via svnmerge from
Russell Bryant [Sat, 10 Mar 2007 04:01:07 +0000 (04:01 +0000)]
Merged revisions 58669 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58669 | russell | 2007-03-09 21:58:27 -0600 (Fri, 09 Mar 2007) | 2 lines

Make the compiler happy and initialize a variable.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58670 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 58638 via svnmerge from
Russell Bryant [Sat, 10 Mar 2007 00:00:26 +0000 (00:00 +0000)]
Merged revisions 58638 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58638 | russell | 2007-03-09 17:59:10 -0600 (Fri, 09 Mar 2007) | 8 lines

Merge some updates to the SLA documentation.  I plan to keep working on this
to explain all of the expected behavior with call handling, configuration
details for specific phones, and other things.  However, I got tired of doing
it in plain text, so I switched to using LaTeX.  I have included the PDF version.
I haven't been able to get a nice looking plain text version out of it yet, but
I'm not terribly concerned since this is supposed to be more of the manual,
while the plain text sample configuration file is the reference.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58639 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 58604 via svnmerge from
Joshua Colp [Fri, 9 Mar 2007 21:10:20 +0000 (21:10 +0000)]
Merged revisions 58604 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58604 | file | 2007-03-09 16:08:19 -0500 (Fri, 09 Mar 2007) | 2 lines

Fix spelling of unavailable in voicemail documentation. (issue #9248 reported by tensai)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58605 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 58584 via svnmerge from
Joshua Colp [Fri, 9 Mar 2007 20:53:37 +0000 (20:53 +0000)]
Merged revisions 58584 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r58584 | file | 2007-03-09 15:49:47 -0500 (Fri, 09 Mar 2007) | 10 lines

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

........
r58579 | file | 2007-03-09 15:46:43 -0500 (Fri, 09 Mar 2007) | 2 lines

If we are unable to lookup the host in a c line we have to abort, otherwise the previous data is gone and we will (potentially) have no data when all is said and done.

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58592 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 58512 via svnmerge from
Russell Bryant [Thu, 8 Mar 2007 23:21:44 +0000 (23:21 +0000)]
Merged revisions 58512 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58512 | russell | 2007-03-08 16:15:15 -0600 (Thu, 08 Mar 2007) | 5 lines

Hang up the channel that put the call on hold in the event processing thread to
avoid a race condition.  Also, if the station originated the call that it is
putting on hold, don't hang up the trunk if it was the only station on the call
and it is hanging up due to hold and not a normal hangup.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58541 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 58510 via svnmerge from
Russell Bryant [Thu, 8 Mar 2007 22:08:28 +0000 (22:08 +0000)]
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

14 years agoMerged revisions 58479 via svnmerge from
Tilghman Lesher [Thu, 8 Mar 2007 21:34:40 +0000 (21:34 +0000)]
Merged revisions 58479 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58479 | tilghman | 2007-03-08 15:33:03 -0600 (Thu, 08 Mar 2007) | 2 lines

Fix segfault (Issue 9236)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58480 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 58474 via svnmerge from
Russell Bryant [Thu, 8 Mar 2007 20:56:57 +0000 (20:56 +0000)]
Merged revisions 58474 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58474 | russell | 2007-03-08 14:54:56 -0600 (Thu, 08 Mar 2007) | 3 lines

Refactor hold handling a bit so that it does not require keeping the call up
when a call is put on hold.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58475 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 58436 via svnmerge from
Joshua Colp [Thu, 8 Mar 2007 18:05:54 +0000 (18:05 +0000)]
Merged revisions 58436 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58436 | file | 2007-03-08 13:01:00 -0500 (Thu, 08 Mar 2007) | 2 lines

Make early SDP seeding even smarter! We have to check codecs in the make_compatible function too. (issue #9221 reported by marcelbarbulescu)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58437 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 58389 via svnmerge from
Joshua Colp [Thu, 8 Mar 2007 16:09:23 +0000 (16:09 +0000)]
Merged revisions 58389 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r58389 | file | 2007-03-08 11:07:10 -0500 (Thu, 08 Mar 2007) | 10 lines

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

........
r58388 | file | 2007-03-08 11:04:58 -0500 (Thu, 08 Mar 2007) | 2 lines

Only print out debug message if the definition that makes the variables shows up was actually defined. (issue #9233 reported by serginuez)

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58390 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 58354 via svnmerge from
Kevin P. Fleming [Thu, 8 Mar 2007 13:27:02 +0000 (13:27 +0000)]
Merged revisions 58354 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58354 | kpfleming | 2007-03-08 08:23:46 -0500 (Thu, 08 Mar 2007) | 2 lines

this change was not needed; fclose() handles closing the file descriptor already

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58355 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 58351-58352 via svnmerge from
Kevin P. Fleming [Thu, 8 Mar 2007 13:21:38 +0000 (13:21 +0000)]
Merged revisions 58351-58352 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58351 | kpfleming | 2007-03-08 08:17:17 -0500 (Thu, 08 Mar 2007) | 2 lines

fix two cases where HTTP session file descriptors would not be closed

........
r58352 | kpfleming | 2007-03-08 08:17:42 -0500 (Thu, 08 Mar 2007) | 2 lines

fix a compiler warning, and overwriting 'res' value

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58353 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 58320 via svnmerge from
Russell Bryant [Thu, 8 Mar 2007 01:06:00 +0000 (01:06 +0000)]
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

14 years agoAdd the ability to dynamically specify weights for responses to DUNDi queries.
Russell Bryant [Wed, 7 Mar 2007 22:30:52 +0000 (22:30 +0000)]
Add the ability to dynamically specify weights for responses to DUNDi queries.
This can be done using a global variable or a dialplan function.  Using the
SHELL() function will allow you to use an external script to determine what the
weight in the response should be.  This can be very useful in load balancing
applications.
(inspired by discussions with blitzrage and jsmith in #asterisk-bugs)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58304 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMake the loader less noisy under valgrind.
Joshua Colp [Wed, 7 Mar 2007 20:05:05 +0000 (20:05 +0000)]
Make the loader less noisy under valgrind.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58286 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 58243 via svnmerge from
Russell Bryant [Wed, 7 Mar 2007 18:20:51 +0000 (18:20 +0000)]
Merged revisions 58243 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r58243 | russell | 2007-03-07 12:19:19 -0600 (Wed, 07 Mar 2007) | 17 lines

(This bug was reported to me by Kinsey Moore)

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

........
r58242 | russell | 2007-03-07 12:17:07 -0600 (Wed, 07 Mar 2007) | 7 lines

Fix a problem where the Asterisk channel name could be that of the wrong IAX2
user for a call.  This is because the first step of choosing this name is to
look for an IAX2 peer that happens to have the same IP/port number that this
call is coming from and assuming that is it.  However, this is not always
correct.  So, I have made it change this name after authentication happens
since at that point, we have an exact match.

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58244 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 58240 via svnmerge from
Joshua Colp [Wed, 7 Mar 2007 17:55:11 +0000 (17:55 +0000)]
Merged revisions 58240 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58240 | file | 2007-03-07 12:52:58 -0500 (Wed, 07 Mar 2007) | 2 lines

Ensure we have (or should have) at least one matching codec before attempting early bridge SDP seeding. (issue #9221 reported by marcelbarbulescu)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58241 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoAdding reference to ices home page. Anyone that has tested with ices2 ?
Olle Johansson [Wed, 7 Mar 2007 08:08:46 +0000 (08:08 +0000)]
Adding reference to ices home page. Anyone that has tested with ices2 ?

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58224 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoAdd the format of the file that is currently being played to the verbose message.
Russell Bryant [Wed, 7 Mar 2007 01:07:16 +0000 (01:07 +0000)]
Add the format of the file that is currently being played to the verbose message.
(issue #9105, junky)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58208 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 58165 via svnmerge from
Russell Bryant [Wed, 7 Mar 2007 00:26:01 +0000 (00:26 +0000)]
Merged revisions 58165 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r58165 | russell | 2007-03-06 18:25:19 -0600 (Tue, 06 Mar 2007) | 12 lines

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

........
r58164 | russell | 2007-03-06 18:20:13 -0600 (Tue, 06 Mar 2007) | 4 lines

If the channels acquired using the manager Redirect action are not up, then
don't attempt to do anything with them.  It could lead to weird behavior,
including crashes.  (issue #8977)

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58166 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoAdd some documentation on the arguments to the base64 encode/decode functions.
Russell Bryant [Tue, 6 Mar 2007 23:58:38 +0000 (23:58 +0000)]
Add some documentation on the arguments to the base64 encode/decode functions.
(inspired by issue #9215)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58149 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoSend a manager AgentComplete event when the agent transfers the call, in
Russell Bryant [Tue, 6 Mar 2007 23:20:57 +0000 (23:20 +0000)]
Send a manager AgentComplete event when the agent transfers the call, in
addition to where it is already sent if either side hangs up.
(issue #9219, rgollent)
In passing, I put this code in a function so it would not be duplicated
a third time.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58123 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 58121 via svnmerge from
Steve Murphy [Tue, 6 Mar 2007 23:19:59 +0000 (23:19 +0000)]
Merged revisions 58121 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r58121 | murf | 2007-03-06 16:10:14 -0700 (Tue, 06 Mar 2007) | 9 lines

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

........
r58115 | murf | 2007-03-06 15:52:52 -0700 (Tue, 06 Mar 2007) | 1 line

Fix for 9220: Eyebeam cannot renew subscriptions for presence info. Reason: re-SUBSCRIBE requests don't include Accept headers, which the rfc says are optional (to put it tersely), (it uses MAY), and luckily, the sip_pvt struct has the format info stored, so we simply leave it if the format is set, and the accept header null.
........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58122 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 58119 via svnmerge from
Russell Bryant [Tue, 6 Mar 2007 23:01:30 +0000 (23:01 +0000)]
Merged revisions 58119 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58119 | russell | 2007-03-06 17:00:57 -0600 (Tue, 06 Mar 2007) | 3 lines

Clarify the documentation of the dialout and sendvoicemail options.
(issue #9000, caio1982 and serge-v)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58120 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoSync codec_zap with the one that is in the 1.4 branch so that it can actually
Russell Bryant [Tue, 6 Mar 2007 22:15:02 +0000 (22:15 +0000)]
Sync codec_zap with the one that is in the 1.4 branch so that it can actually
build here, too.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58101 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 58053 via svnmerge from
Olle Johansson [Tue, 6 Mar 2007 20:45:29 +0000 (20:45 +0000)]
Merged revisions 58053 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r58053 | oej | 2007-03-06 21:37:07 +0100 (Tue, 06 Mar 2007) | 10 lines

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

........
r58052 | oej | 2007-03-06 21:33:21 +0100 (Tue, 06 Mar 2007) | 2 lines

Change error message to proper message

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58055 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoDebug control, debug control.
Olle Johansson [Tue, 6 Mar 2007 20:41:21 +0000 (20:41 +0000)]
Debug control, debug control.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58054 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 58023 via svnmerge from
Russell Bryant [Tue, 6 Mar 2007 18:02:35 +0000 (18:02 +0000)]
Merged revisions 58023 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58023 | russell | 2007-03-06 12:01:20 -0600 (Tue, 06 Mar 2007) | 3 lines

Return an error of transmit_response is called without a session.
(issue #9002)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58025 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoBlocked revisions 57591 via svnmerge
Russell Bryant [Tue, 6 Mar 2007 18:02:07 +0000 (18:02 +0000)]
Blocked revisions 57591 via svnmerge

........
r57591 | russell | 2007-03-02 18:02:29 -0600 (Fri, 02 Mar 2007) | 1 line

add missing configuration template.  Thanks to Lacy Moore on asterisk-users for pointing this out\!
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58024 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agomove declaration to the beginning of a block
Luigi Rizzo [Tue, 6 Mar 2007 08:51:45 +0000 (08:51 +0000)]
move declaration to the beginning of a block

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57993 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoremove duplicate const
Luigi Rizzo [Tue, 6 Mar 2007 08:36:28 +0000 (08:36 +0000)]
remove duplicate const

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57979 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoAdd zap show version CLI command. This pulls the version/echo canceller in use direct...
Joshua Colp [Mon, 5 Mar 2007 20:13:51 +0000 (20:13 +0000)]
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

14 years agoMerged revisions 57914 via svnmerge from
Joshua Colp [Mon, 5 Mar 2007 19:20:45 +0000 (19:20 +0000)]
Merged revisions 57914 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r57914 | file | 2007-03-05 14:19:07 -0500 (Mon, 05 Mar 2007) | 2 lines

Since chan_iax2 does not support reception of DTMF with duration ensure that it is set to 0 on the frame. (issue #8521 reported by gdhgdh)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57915 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 57872 via svnmerge from
Joshua Colp [Mon, 5 Mar 2007 18:46:59 +0000 (18:46 +0000)]
Merged revisions 57872 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r57872 | file | 2007-03-05 13:39:28 -0500 (Mon, 05 Mar 2007) | 2 lines

Don't create a listen channel and record the conference unless the option is turned on. (issue #9204 reported by francesco_r)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57875 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoI like it when app_meetme builds under dev mode, don't you?
Joshua Colp [Mon, 5 Mar 2007 18:45:28 +0000 (18:45 +0000)]
I like it when app_meetme builds under dev mode, don't you?

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57873 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 57870 via svnmerge from
Joshua Colp [Mon, 5 Mar 2007 17:55:29 +0000 (17:55 +0000)]
Merged revisions 57870 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r57870 | file | 2007-03-05 12:52:03 -0500 (Mon, 05 Mar 2007) | 10 lines

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

........
r57869 | file | 2007-03-05 12:49:18 -0500 (Mon, 05 Mar 2007) | 2 lines

Make create_dirpath use our standard for return values. -1 is failure, 0 is success. (issue #9205 reported by ballares)

........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57871 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 57826 via svnmerge from
Steve Murphy [Mon, 5 Mar 2007 15:30:37 +0000 (15:30 +0000)]
Merged revisions 57826 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r57826 | murf | 2007-03-05 08:20:17 -0700 (Mon, 05 Mar 2007) | 9 lines

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

........
r57825 | murf | 2007-03-05 07:53:57 -0700 (Mon, 05 Mar 2007) | 1 line

Fixed a typo introduced via 9156 (either the gotos or their doc strings are wrong)
........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57827 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 57798 via svnmerge from
Joshua Colp [Mon, 5 Mar 2007 04:21:28 +0000 (04:21 +0000)]
Merged revisions 57798 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r57798 | file | 2007-03-04 23:19:53 -0500 (Sun, 04 Mar 2007) | 2 lines

Don't allow a NULL pointer to reach ast_frdup. (issue #9155 reported by cmaj)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57799 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoRemove no longer present CLI commands from sample extensions.conf. (issue #9193 repor...
Joshua Colp [Mon, 5 Mar 2007 03:41:48 +0000 (03:41 +0000)]
Remove no longer present CLI commands from sample extensions.conf. (issue #9193 reported by junky)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57772 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 57770 via svnmerge from
Joshua Colp [Mon, 5 Mar 2007 03:39:32 +0000 (03:39 +0000)]
Merged revisions 57770 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r57770 | file | 2007-03-04 22:35:03 -0500 (Sun, 04 Mar 2007) | 2 lines

Don't reference a potentially NULL pointer. (issue #9199 reported by klolik)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57771 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 57768 via svnmerge from
Joshua Colp [Mon, 5 Mar 2007 03:24:18 +0000 (03:24 +0000)]
Merged revisions 57768 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r57768 | file | 2007-03-04 22:22:17 -0500 (Sun, 04 Mar 2007) | 2 lines

Preserve marker bit when P2P bridging. (issue #9198 reported by edgreenberg)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57769 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoConvert stack apps to use ast_storage channel structure
Tilghman Lesher [Sat, 3 Mar 2007 16:43:36 +0000 (16:43 +0000)]
Convert stack apps to use ast_storage channel structure

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57736 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoupdated the regression tests
Steve Murphy [Sat, 3 Mar 2007 15:35:44 +0000 (15:35 +0000)]
updated the regression tests

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57708 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoExpand datastores to add the notion of inheritance. This will be needed for
Tilghman Lesher [Sat, 3 Mar 2007 14:40:18 +0000 (14:40 +0000)]
Expand datastores to add the notion of inheritance.  This will be needed for
the conversion of IAX2 variables from the current custom method to ast_storage.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57691 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 57649 via svnmerge from
Tilghman Lesher [Sat, 3 Mar 2007 06:46:24 +0000 (06:46 +0000)]
Merged revisions 57649 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r57649 | tilghman | 2007-03-03 00:45:00 -0600 (Sat, 03 Mar 2007) | 10 lines

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/trunk@57651 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 57620 via svnmerge from
Dwayne M. Hubbard [Sat, 3 Mar 2007 01:11:36 +0000 (01:11 +0000)]
Merged revisions 57620 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r57620 | dhubbard | 2007-03-02 18:59:24 -0600 (Fri, 02 Mar 2007) | 1 line

submitted patch for Georgian language, issue 9010, submitted by Alexander Shaduri
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57621 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoAdd the missing configuration template to the sample config file.
Russell Bryant [Sat, 3 Mar 2007 00:01:25 +0000 (00:01 +0000)]
Add the missing configuration template to the sample config file.

Thanks to Lacy Moore on the asterisk-users list for pointing out that this
was missing!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57590 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 57556 via svnmerge from
Russell Bryant [Fri, 2 Mar 2007 23:05:25 +0000 (23:05 +0000)]
Merged revisions 57556 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r57556 | russell | 2007-03-02 17:03:01 -0600 (Fri, 02 Mar 2007) | 3 lines

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/trunk@57557 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoDon't try to do recursive locking/unlocking when it isn't supported.
Joshua Colp [Fri, 2 Mar 2007 18:05:29 +0000 (18:05 +0000)]
Don't try to do recursive locking/unlocking when it isn't supported.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57519 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 57477 via svnmerge from
Joshua Colp [Fri, 2 Mar 2007 17:09:18 +0000 (17:09 +0000)]
Merged revisions 57477 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r57477 | file | 2007-03-02 12:06:52 -0500 (Fri, 02 Mar 2007) | 10 lines

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/trunk@57478 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 57473 via svnmerge from
Steve Murphy [Fri, 2 Mar 2007 17:03:47 +0000 (17:03 +0000)]
Merged revisions 57473 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r57473 | murf | 2007-03-02 09:55:16 -0700 (Fri, 02 Mar 2007) | 9 lines

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/trunk@57476 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoAdd the channel's Language to the "show channel" CLI command and the DumpChan
Russell Bryant [Fri, 2 Mar 2007 16:59:22 +0000 (16:59 +0000)]
Add the channel's Language to the "show channel" CLI command and the DumpChan
application.  (issue #9187, Junky)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57474 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 57426 via svnmerge from
Steve Murphy [Fri, 2 Mar 2007 05:57:06 +0000 (05:57 +0000)]
Merged revisions 57426 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r57426 | murf | 2007-03-01 22:21:36 -0700 (Thu, 01 Mar 2007) | 1 line

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/trunk@57438 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 57396 via svnmerge from
Russell Bryant [Fri, 2 Mar 2007 00:22:22 +0000 (00:22 +0000)]
Merged revisions 57396 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r57396 | russell | 2007-03-01 18:20:44 -0600 (Thu, 01 Mar 2007) | 4 lines

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/trunk@57397 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 57364 via svnmerge from
Russell Bryant [Thu, 1 Mar 2007 23:44:09 +0000 (23:44 +0000)]
Merged revisions 57364 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r57364 | russell | 2007-03-01 17:42:53 -0600 (Thu, 01 Mar 2007) | 16 lines

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/trunk@57365 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 57318 via svnmerge from
Joshua Colp [Thu, 1 Mar 2007 22:23:26 +0000 (22:23 +0000)]
Merged revisions 57318 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r57318 | file | 2007-03-01 17:21:44 -0500 (Thu, 01 Mar 2007) | 10 lines

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/trunk@57319 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoConstify the list of codec preferences.
Russell Bryant [Thu, 1 Mar 2007 20:24:59 +0000 (20:24 +0000)]
Constify the list of codec preferences.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57293 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years ago1. Corrected a typo for www.etsi.org. Thank Patrick.
TransNexus OSP Development [Thu, 1 Mar 2007 03:01:11 +0000 (03:01 +0000)]
1. Corrected a typo for etsi.org. Thank Patrick.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57259 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMinor code cleanup... nothing to write home about.
Joshua Colp [Thu, 1 Mar 2007 00:08:18 +0000 (00:08 +0000)]
Minor code cleanup... nothing to write home about.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57241 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 57207 via svnmerge from
Russell Bryant [Wed, 28 Feb 2007 23:02:49 +0000 (23:02 +0000)]
Merged revisions 57207 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r57207 | russell | 2007-02-28 17:01:52 -0600 (Wed, 28 Feb 2007) | 2 lines

minor tweaks to the sla docs

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57209 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 57203 via svnmerge from
Russell Bryant [Wed, 28 Feb 2007 22:09:33 +0000 (22:09 +0000)]
Merged revisions 57203 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r57203 | russell | 2007-02-28 16:07:05 -0600 (Wed, 28 Feb 2007) | 7 lines

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/trunk@57204 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoConvert the PBX core to use read/write locks. This yields a nifty performance improve...
Joshua Colp [Wed, 28 Feb 2007 20:46:01 +0000 (20:46 +0000)]
Convert the PBX core to use read/write locks. This yields a nifty performance improvement when it comes to simultaneous calls going through the dialplan. Using murf's test the old mutex based core took an average of 57.3 seconds while the rwlock based core took 31.1 seconds. That's a nifty 26.2 seconds performance improvement. The other good part is that if we do need to switch back then we just have to change the lock/unlock API calls. I converted everywhere that used to touch the mutex locks directly to use them.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57184 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 57146 via svnmerge from
Russell Bryant [Wed, 28 Feb 2007 19:59:26 +0000 (19:59 +0000)]
Merged revisions 57146 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r57146 | russell | 2007-02-28 13:58:56 -0600 (Wed, 28 Feb 2007) | 2 lines

Minor formatting change

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57147 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 57144 via svnmerge from
Russell Bryant [Wed, 28 Feb 2007 19:57:41 +0000 (19:57 +0000)]
Merged revisions 57144 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r57144 | russell | 2007-02-28 13:56:20 -0600 (Wed, 28 Feb 2007) | 6 lines

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/trunk@57145 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 57139 via svnmerge from
Steve Murphy [Wed, 28 Feb 2007 19:30:58 +0000 (19:30 +0000)]
Merged revisions 57139 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r57139 | murf | 2007-02-28 12:23:05 -0700 (Wed, 28 Feb 2007) | 9 lines

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/trunk@57140 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 57093 via svnmerge from
Joshua Colp [Wed, 28 Feb 2007 19:00:24 +0000 (19:00 +0000)]
Merged revisions 57093 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r57093 | file | 2007-02-28 13:57:52 -0500 (Wed, 28 Feb 2007) | 10 lines

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/trunk@57094 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 57089 via svnmerge from
Russell Bryant [Wed, 28 Feb 2007 18:21:47 +0000 (18:21 +0000)]
Merged revisions 57089 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r57089 | russell | 2007-02-28 12:20:05 -0600 (Wed, 28 Feb 2007) | 8 lines

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/trunk@57090 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 57055 via svnmerge from
Joshua Colp [Wed, 28 Feb 2007 17:56:04 +0000 (17:56 +0000)]
Merged revisions 57055 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r57055 | file | 2007-02-28 12:55:03 -0500 (Wed, 28 Feb 2007) | 2 lines

Picky compiler...

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57056 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 57053 via svnmerge from
Joshua Colp [Wed, 28 Feb 2007 17:47:41 +0000 (17:47 +0000)]
Merged revisions 57053 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r57053 | file | 2007-02-28 12:45:50 -0500 (Wed, 28 Feb 2007) | 2 lines

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/trunk@57054 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 57049 via svnmerge from
Steve Murphy [Wed, 28 Feb 2007 17:22:45 +0000 (17:22 +0000)]
Merged revisions 57049 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r57049 | murf | 2007-02-28 10:15:27 -0700 (Wed, 28 Feb 2007) | 1 line

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/trunk@57050 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoProperly hangup the original dialed channel, not the new channel that appeared from...
Joshua Colp [Tue, 27 Feb 2007 22:17:42 +0000 (22:17 +0000)]
Properly hangup the original dialed channel, not the new channel that appeared from the forwarding. (issue #9161 reported by PhilSmith)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57011 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years ago(also issue #9159)
Russell Bryant [Tue, 27 Feb 2007 17:38:57 +0000 (17:38 +0000)]
(also issue #9159)

Merged revisions 56975 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r56975 | russell | 2007-02-27 11:36:09 -0600 (Tue, 27 Feb 2007) | 4 lines

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/trunk@56976 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoIssue 7789 - some telcos want the TON set based on the number, but without the NANP...
Tilghman Lesher [Tue, 27 Feb 2007 00:11:32 +0000 (00:11 +0000)]
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

14 years agoBlocked revisions 56922 via svnmerge
Tilghman Lesher [Mon, 26 Feb 2007 22:02:54 +0000 (22:02 +0000)]
Blocked revisions 56922 via svnmerge

........
r56922 | tilghman | 2007-02-26 16:01:23 -0600 (Mon, 26 Feb 2007) | 2 lines

Picky, picky... show deprecation warning in application help, too (reported via list)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56926 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 56888 via svnmerge from
Russell Bryant [Mon, 26 Feb 2007 20:43:18 +0000 (20:43 +0000)]
Merged revisions 56888 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r56888 | russell | 2007-02-26 14:42:21 -0600 (Mon, 26 Feb 2007) | 4 lines

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/trunk@56889 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 56856 via svnmerge from
Joshua Colp [Mon, 26 Feb 2007 20:09:06 +0000 (20:09 +0000)]
Merged revisions 56856 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r56856 | file | 2007-02-26 15:07:18 -0500 (Mon, 26 Feb 2007) | 10 lines

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/trunk@56860 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 56847 via svnmerge from
Russell Bryant [Mon, 26 Feb 2007 20:04:53 +0000 (20:04 +0000)]
Merged revisions 56847 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r56847 | russell | 2007-02-26 14:04:13 -0600 (Mon, 26 Feb 2007) | 2 lines

Fix a crash in my last change to iax2_indicate(). (issue #9150)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56849 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 56839 via svnmerge from
Joshua Colp [Mon, 26 Feb 2007 19:34:59 +0000 (19:34 +0000)]
Merged revisions 56839 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r56839 | file | 2007-02-26 14:33:48 -0500 (Mon, 26 Feb 2007) | 2 lines

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/trunk@56840 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 56805 via svnmerge from
Joshua Colp [Mon, 26 Feb 2007 17:12:18 +0000 (17:12 +0000)]
Merged revisions 56805 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r56805 | file | 2007-02-26 12:09:53 -0500 (Mon, 26 Feb 2007) | 2 lines

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/trunk@56811 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 56785 via svnmerge from
Russell Bryant [Mon, 26 Feb 2007 16:54:17 +0000 (16:54 +0000)]
Merged revisions 56785 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r56785 | russell | 2007-02-26 10:51:18 -0600 (Mon, 26 Feb 2007) | 3 lines

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/trunk@56786 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 56783 via svnmerge from
Joshua Colp [Mon, 26 Feb 2007 16:38:10 +0000 (16:38 +0000)]
Merged revisions 56783 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r56783 | file | 2007-02-26 11:36:08 -0500 (Mon, 26 Feb 2007) | 2 lines

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/trunk@56784 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 56740 via svnmerge from
Russell Bryant [Mon, 26 Feb 2007 01:05:15 +0000 (01:05 +0000)]
Merged revisions 56740 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r56740 | russell | 2007-02-25 19:04:40 -0600 (Sun, 25 Feb 2007) | 2 lines

Move a comment to be in the correct struct.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56742 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoRemove redundant check to ensure that LOW_MEMORY is not defined.
Russell Bryant [Mon, 26 Feb 2007 00:38:49 +0000 (00:38 +0000)]
Remove redundant check to ensure that LOW_MEMORY is not defined.
(issue #9136, mvanbaak)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56732 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoThere is no need to look in the iaxs array for the pvt struct when we already
Russell Bryant [Mon, 26 Feb 2007 00:37:03 +0000 (00:37 +0000)]
There is no need to look in the iaxs array for the pvt struct when we already
have a pointer to it.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56731 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 56685 via svnmerge from
Tilghman Lesher [Sun, 25 Feb 2007 14:53:40 +0000 (14:53 +0000)]
Merged revisions 56685 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r56685 | tilghman | 2007-02-25 08:46:41 -0600 (Sun, 25 Feb 2007) | 11 lines

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/trunk@56686 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoDoxygen additions, corrections
Olle Johansson [Sat, 24 Feb 2007 20:29:41 +0000 (20:29 +0000)]
Doxygen additions, corrections

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56665 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoDoxygen updates and corrections
Olle Johansson [Sat, 24 Feb 2007 19:49:11 +0000 (19:49 +0000)]
Doxygen updates and corrections

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56648 65c4cc65-6c06-0410-ace0-fbb531ad65f3