asterisk/asterisk.git
12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 years agoCreating new doxygen macro "\extref" to create page that lists
Olle Johansson [Sat, 24 Feb 2007 19:27:50 +0000 (19:27 +0000)]
Creating new doxygen macro "\extref" to create page that lists
external libraries and URLs to these. Please help me add these
references.

We might want to create a similar macro "\linuxpackage" to list
the needed Linux packages in popular distributions.

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

12 years agoAdd some external references
Olle Johansson [Sat, 24 Feb 2007 18:03:17 +0000 (18:03 +0000)]
Add some external references

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

12 years agoDoxygen updates for AJI - The Asterisk Jabber API
Olle Johansson [Sat, 24 Feb 2007 17:51:23 +0000 (17:51 +0000)]
Doxygen updates for AJI - The Asterisk Jabber API

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

12 years agoAllow a Skinny device to monitor a dialplan hint (w00t!).
Jason Parker [Sat, 24 Feb 2007 02:23:43 +0000 (02:23 +0000)]
Allow a Skinny device to monitor a dialplan hint (w00t!).

See skinny.conf.sample for configuration example.

Note: Some devices (seen on 12SP+/30VIP) will lock up if they monitor too many hints.
This seems to be a hardware limitation - there isn't anything we can do about it.

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

12 years agoSupport devicestate requests.
Jason Parker [Sat, 24 Feb 2007 02:06:44 +0000 (02:06 +0000)]
Support devicestate requests.

Now you should be able to subscribe to a Skinny device/line.

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

12 years agoMerged revisions 56569 via svnmerge from
Jason Parker [Sat, 24 Feb 2007 02:04:34 +0000 (02:04 +0000)]
Merged revisions 56569 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r56569 | qwell | 2007-02-23 20:02:53 -0600 (Fri, 23 Feb 2007) | 4 lines

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..
Update softkey map when call is connected

........

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

12 years agoMake Meetme build again under dev mode.
Joshua Colp [Sat, 24 Feb 2007 01:56:41 +0000 (01:56 +0000)]
Make Meetme build again under dev mode.

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

12 years agoMerged revisions 56505 via svnmerge from
Russell Bryant [Fri, 23 Feb 2007 23:25:22 +0000 (23:25 +0000)]
Merged revisions 56505 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r56505 | russell | 2007-02-23 17:24:18 -0600 (Fri, 23 Feb 2007) | 16 lines

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

12 years agoMake the hashing function calculate something that makes more sense.
Russell Bryant [Fri, 23 Feb 2007 22:26:00 +0000 (22:26 +0000)]
Make the hashing function calculate something that makes more sense.
(Thanks to bmd on #asterisk-dev for pointing out my pointless math).

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

12 years agoMerged revisions 56457 via svnmerge from
Joshua Colp [Fri, 23 Feb 2007 21:57:07 +0000 (21:57 +0000)]
Merged revisions 56457 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r56457 | file | 2007-02-23 16:53:41 -0500 (Fri, 23 Feb 2007) | 2 lines

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

12 years agoMerge team/russell/iax2_performance.
Russell Bryant [Fri, 23 Feb 2007 21:20:33 +0000 (21:20 +0000)]
Merge team/russell/iax2_performance.

There is not a large amount of code here and the changes are not very invasive.
However, they should significantly improve performance of chan_iax2 under load.

IAX2 media frames only carry the *source* call number.  So, when one arrives,
the correct session that it is a part of has to be matched on IP address, port
number, and call number, instead of just a call number.  Had these frames
carried the *destination* call number, this would not be an issue, because that
would be a unique identifier that would make it easy to immediately identify
the correct session.

The way that chan_iax2 did this matching was extremely inefficient.  It starts
at the first available call number and traverses each call number sequentially,
locking and unlocking a mutex for each one, to try to match against it.  It
would do this regardless of whether the call number was in use or not.  So,
for a call with a local call number of 25000, every single incoming media
frame would require a traversal that required 25000 mutex lock and unlock
operations.  (Note that the max call number is about 32k).

I have introduced a hash table of active IAX2 calls to improve this lookup
process.  The hash is done on the IP address, port number, and call number.
So, for the previous example, a few lock/unlock operations may be done versus
25000 for each frame.

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

12 years agoNote that the entries in the CHANGES file only list functionality changes
Russell Bryant [Fri, 23 Feb 2007 21:12:28 +0000 (21:12 +0000)]
Note that the entries in the CHANGES file only list functionality changes

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

12 years agoAdd GetConfigJSON to the CHANGES file.
Russell Bryant [Fri, 23 Feb 2007 21:08:25 +0000 (21:08 +0000)]
Add GetConfigJSON to the CHANGES file.

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

12 years agoMerged revisions 56407 via svnmerge from
Russell Bryant [Fri, 23 Feb 2007 20:21:35 +0000 (20:21 +0000)]
Merged revisions 56407 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r56407 | russell | 2007-02-23 14:20:00 -0600 (Fri, 23 Feb 2007) | 12 lines

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

12 years agoMerged revisions 56372 via svnmerge from
Kevin P. Fleming [Fri, 23 Feb 2007 19:00:23 +0000 (19:00 +0000)]
Merged revisions 56372 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r56372 | kpfleming | 2007-02-23 12:59:09 -0600 (Fri, 23 Feb 2007) | 2 lines

build special version strings for AADK/S800i builds

........

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

12 years agoMerged revisions 56341 via svnmerge from
Russell Bryant [Fri, 23 Feb 2007 18:01:11 +0000 (18:01 +0000)]
Merged revisions 56341 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r56341 | russell | 2007-02-23 11:58:57 -0600 (Fri, 23 Feb 2007) | 8 lines

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

12 years agoIntroduce a new manager action, GetConfigJSON, which is intended to improve
Russell Bryant [Fri, 23 Feb 2007 00:45:04 +0000 (00:45 +0000)]
Introduce a new manager action, GetConfigJSON, which is intended to improve
performance of the GUI.  This encodes the configuration into the JSON format
in a manager header, "JSON: ".  The encoded information can be directly used
as a javascript object, so no parsing is needed.  For large configuration
files, this can greatly improve loading times in the GUI. Furthermore, the
encoding takes up a lot less space when being transmitted than the other
alternatives.  (Inspired by discussion with Pari)

Here is an example of what you get:
http://localhost:8088/asterisk/rawman?action=getconfigjson&filename=users.conf

Response: Success
JSON: {"general":["hasvoicemail=yes"],"6000":["fullname=russell","secret=1234"]}

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

12 years agoMerged revisions 56277 via svnmerge from
Russell Bryant [Thu, 22 Feb 2007 23:12:26 +0000 (23:12 +0000)]
Merged revisions 56277 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r56277 | russell | 2007-02-22 17:08:36 -0600 (Thu, 22 Feb 2007) | 18 lines

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

12 years agoMerged revisions 56231 via svnmerge from
Joshua Colp [Thu, 22 Feb 2007 18:53:22 +0000 (18:53 +0000)]
Merged revisions 56231 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r56231 | file | 2007-02-22 13:49:39 -0500 (Thu, 22 Feb 2007) | 10 lines

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

12 years agomove the ast_module_info structure into the special section as well, otherwise when...
Kevin P. Fleming [Thu, 22 Feb 2007 17:36:46 +0000 (17:36 +0000)]
move the ast_module_info structure into the special section as well, otherwise when restore_globals() is called it will lose its pointer to the ast_module structure that the loader put there

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

12 years agoSince I'm a nice guy... let's increment the clean count since last night's module...
Joshua Colp [Thu, 22 Feb 2007 16:48:31 +0000 (16:48 +0000)]
Since I'm a nice guy... let's increment the clean count since last night's module changes require a rebuild of everything essentially.

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

12 years agoFix some compilation problems in app_voicemail. There was a parenthesis missing
Russell Bryant [Thu, 22 Feb 2007 16:25:22 +0000 (16:25 +0000)]
Fix some compilation problems in app_voicemail.  There was a parenthesis missing
in a function prototype, and "#elifdef" is not a valid preprocessor directive.
(issue #9122, akohlsmith)

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

12 years agoUpdate OSP documention for v1.6.
TransNexus OSP Development [Thu, 22 Feb 2007 13:58:21 +0000 (13:58 +0000)]
Update OSP documention for v1.6.

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

12 years agoMerged revisions 56125 via svnmerge from
Olle Johansson [Thu, 22 Feb 2007 10:46:09 +0000 (10:46 +0000)]
Merged revisions 56125 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r56125 | oej | 2007-02-22 11:33:55 +0100 (Thu, 22 Feb 2007) | 2 lines

Move message from verbose to debug

........

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

12 years agoMerged revisions 56094 via svnmerge from
Steve Murphy [Thu, 22 Feb 2007 02:48:29 +0000 (02:48 +0000)]
Merged revisions 56094 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r56094 | murf | 2007-02-21 19:39:58 -0700 (Wed, 21 Feb 2007) | 1 line

updated the sound tarball versions in Makefile
........

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

12 years agogive embedded modules a helping hand by backing up and restoring their global variabl...
Kevin P. Fleming [Thu, 22 Feb 2007 02:36:00 +0000 (02:36 +0000)]
give embedded modules a helping hand by backing up and restoring their global variables when they are loaded and unloaded

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

12 years agoMerged revisions 56055 via svnmerge from
Russell Bryant [Thu, 22 Feb 2007 01:26:22 +0000 (01:26 +0000)]
Merged revisions 56055 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r56055 | russell | 2007-02-21 19:24:10 -0600 (Wed, 21 Feb 2007) | 3 lines

Restructure a little bit of code to reduce nesting.  There is no functionality
change here.

........

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

12 years agoMerged revisions 56011 via svnmerge from
Russell Bryant [Thu, 22 Feb 2007 00:59:17 +0000 (00:59 +0000)]
Merged revisions 56011 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r56011 | russell | 2007-02-21 18:57:36 -0600 (Wed, 21 Feb 2007) | 11 lines

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

12 years agoMerged revisions 56008 via svnmerge from
Joshua Colp [Thu, 22 Feb 2007 00:38:46 +0000 (00:38 +0000)]
Merged revisions 56008 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r56008 | file | 2007-02-21 19:35:55 -0500 (Wed, 21 Feb 2007) | 2 lines

Print out deprecation notice on usage output of CLI commands. (issue #8925 reported by blitzrage)

........

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

12 years agoBlocked revisions 56006 via svnmerge
Kevin P. Fleming [Thu, 22 Feb 2007 00:09:27 +0000 (00:09 +0000)]
Blocked revisions 56006 via svnmerge

........
r56006 | kpfleming | 2007-02-21 18:08:54 -0600 (Wed, 21 Feb 2007) | 2 lines

disable unloading of embedded modules... there is a fundamental problem with doing so that will not be fixed in this version of Asterisk due to its invasiveness

........

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

12 years agoMake filename on email follow subject message number, purely for cosmetic purposes...
Joshua Colp [Thu, 22 Feb 2007 00:05:00 +0000 (00:05 +0000)]
Make filename on email follow subject message number, purely for cosmetic purposes for individuals like *cough* jsmith *cough*. (issue #9111 reported by sshah)

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

12 years agoMerged revisions 55957 via svnmerge from
Joshua Colp [Wed, 21 Feb 2007 20:41:53 +0000 (20:41 +0000)]
Merged revisions 55957 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r55957 | file | 2007-02-21 15:35:40 -0500 (Wed, 21 Feb 2007) | 10 lines

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

........
r55956 | file | 2007-02-21 15:32:16 -0500 (Wed, 21 Feb 2007) | 2 lines

Change naughty warning message to provide useful information. If a write now fails on a channel in meetme it will tell you the channel name instead of spitting out the wrong error message.

........

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

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

12 years agoMerged revisions 55954 via svnmerge from
Jason Parker [Wed, 21 Feb 2007 20:30:54 +0000 (20:30 +0000)]
Merged revisions 55954 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r55954 | qwell | 2007-02-21 14:27:08 -0600 (Wed, 21 Feb 2007) | 4 lines

Fix locking issue, and accept "transport-accept" as a valid accept message.

This should solve issues 8970 and 8503.

........

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

12 years agoClarify in the doxygen docs abou RFC2833 compensation flag.
Joshua Colp [Wed, 21 Feb 2007 20:26:43 +0000 (20:26 +0000)]
Clarify in the doxygen docs abou RFC2833 compensation flag.

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

12 years agoMerged revisions 55951 via svnmerge from
Russell Bryant [Wed, 21 Feb 2007 20:23:03 +0000 (20:23 +0000)]
Merged revisions 55951 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r55951 | russell | 2007-02-21 14:22:33 -0600 (Wed, 21 Feb 2007) | 3 lines

Simplify the last change to app_meetme, and move the call to dispose_conf()
up into the block where we know a conf exists.

........

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

12 years agoMerged revisions 55949 via svnmerge from
Joshua Colp [Wed, 21 Feb 2007 20:18:16 +0000 (20:18 +0000)]
Merged revisions 55949 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r55949 | file | 2007-02-21 15:16:34 -0500 (Wed, 21 Feb 2007) | 2 lines

Only dispose of the conference if one was created.

........

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

12 years agoMerged revisions 55947 via svnmerge from
Joshua Colp [Wed, 21 Feb 2007 20:05:15 +0000 (20:05 +0000)]
Merged revisions 55947 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r55947 | file | 2007-02-21 15:03:38 -0500 (Wed, 21 Feb 2007) | 2 lines

Only start playing the next file if we have not been quieted.

........

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

12 years agoMerged revisions 55914 via svnmerge from
Joshua Colp [Wed, 21 Feb 2007 17:23:42 +0000 (17:23 +0000)]
Merged revisions 55914 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r55914 | file | 2007-02-21 12:18:19 -0500 (Wed, 21 Feb 2007) | 2 lines

Add a flag that indicates whether a SIP dialog is an outgoing call or not. SIP_OUTGOING originally did it but it was repurposed to the direction of the last transaction, which can cause update_call_counter to falsely decrease the wrong counters. (please don't hurt me oej) (issue #8943 reported by mdu113)

........

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

12 years agoMerged revisions 55869 via svnmerge from
Kevin P. Fleming [Wed, 21 Feb 2007 14:07:43 +0000 (14:07 +0000)]
Merged revisions 55869 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r55869 | kpfleming | 2007-02-21 08:06:47 -0600 (Wed, 21 Feb 2007) | 10 lines

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

........
r55868 | kpfleming | 2007-02-21 08:03:11 -0600 (Wed, 21 Feb 2007) | 2 lines

use new tag version script

........

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

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

12 years agoMerged revisions 55834 via svnmerge from
Olle Johansson [Wed, 21 Feb 2007 08:39:15 +0000 (08:39 +0000)]
Merged revisions 55834 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r55834 | oej | 2007-02-21 09:32:34 +0100 (Wed, 21 Feb 2007) | 2 lines

Issue #8848 - Turn off lamp more quickly after transfer (decrement inuse early on transferer's call leg)

........

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

12 years agoMerged revisions 55799 via svnmerge from
Jason Parker [Wed, 21 Feb 2007 02:04:10 +0000 (02:04 +0000)]
Merged revisions 55799 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r55799 | qwell | 2007-02-20 20:01:36 -0600 (Tue, 20 Feb 2007) | 4 lines

Fix segfault when buddy couldn't be found.

Issue 7764, patch by sailer

........

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

12 years agoReturn trunk to a state where it compiles under Darwin. The byte order stuff is ugly...
Joshua Colp [Wed, 21 Feb 2007 01:05:26 +0000 (01:05 +0000)]
Return trunk to a state where it compiles under Darwin. The byte order stuff is ugly, if anyone wants to clean it up... by all means do so.

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