Commit Graph

2457 Commits

Author SHA1 Message Date
Jason Parker 83c00e346e Add 'c' option to app_queue which allows for continuing in the dialplan if the callee hangs up.
Issue 9284, patch by lyl, modified a little bit by me (I felt 'continue' was better than 'keepalive')


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64243 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-14 17:38:36 +00:00
Olle Johansson 283ddaa092 Fixing reload. Thanks to Mats Karlsson!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63730 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-10 15:19:57 +00:00
Tilghman Lesher e31c4fca7d Merged revisions 63566 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r63566 | tilghman | 2007-05-09 09:50:33 -0500 (Wed, 09 May 2007) | 10 lines

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

........
r63565 | tilghman | 2007-05-09 09:48:06 -0500 (Wed, 09 May 2007) | 2 lines

Replicate fix from 51158 (app_voicemail) to app_directory (Issue 9224)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63567 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-09 14:52:13 +00:00
Tilghman Lesher 49b0369545 Merged revisions 63478 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r63478 | tilghman | 2007-05-08 17:38:02 -0500 (Tue, 08 May 2007) | 10 lines

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

........
r63477 | tilghman | 2007-05-08 17:19:15 -0500 (Tue, 08 May 2007) | 2 lines

Issue 9602 - segfault in app_macro

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-08 22:40:21 +00:00
Tilghman Lesher 2b12544f79 Merged revisions 63360 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r63360 | tilghman | 2007-05-08 01:22:37 -0500 (Tue, 08 May 2007) | 10 lines

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

........
r63359 | tilghman | 2007-05-08 01:20:16 -0500 (Tue, 08 May 2007) | 2 lines

Issue 9527 - upon entering a folder, no message is selected (curmsg == -1), so deleting causes memory corruption (beyond bounds)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63361 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-08 06:26:02 +00:00
Russell Bryant b678b946c0 Make a minor tweak to admin_exec() - don't lock the conference list until it
is actually necessary.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63326 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-07 22:17:40 +00:00
Russell Bryant bffbfcbcbc Add a new application, MeetMeChannelAdmin, which is similar to MeetMeAdmin,
except it lets you operate on a channel by name instead of conference member
number.  It is very useful in combination with the 'X' option to ChanSpy.
(issue #9671, patch by mnicholson, with some small modifications by me)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63319 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-07 22:14:09 +00:00
Russell Bryant a6ec2bd182 When a conference is created, the UNIQUEID of the channel that caused it to be
created will now be stored. Then, every channel that joins the conference will
have the MEETMEUNIQUEID channel variable set with this ID.  This can be used to
relate callers that come and go from long standing conferences.
(issue #7295, patch by softins)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62794 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-02 23:50:07 +00:00
Tilghman Lesher 2059f767dd Merged revisions 62545 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r62545 | tilghman | 2007-05-01 16:34:43 -0500 (Tue, 01 May 2007) | 2 lines

Bug 9590 - Memory leaks around find_user() (found by rayjay, different fixes by me)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62546 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-01 21:41:48 +00:00
Russell Bryant 683417407e This patch adds additional information to the EXITWITHKEY and EXITWITHTIMEOUT
entries in the queue log.
(issue #7561, reported and originally patched by fkasumovic, patch slightly
 modified and updated to trunk by me)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62462 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-30 16:46:49 +00:00
Russell Bryant dd601f4f38 Enable the functionality of the 'o' option to "optimize talker" by default.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62297 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-28 21:54:44 +00:00
Russell Bryant b6b1bf3213 Merge changes from team/russell/events
This set of changes introduces a new generic event API for use within Asterisk.
I am still working on a way for events to be shared between servers, but this
part is ready and can already be used inside of Asterisk.

This set of changes introduces the first use of the API, as well.  I have
restructured the way that MWI (message waiting indication) is handled.  It is
now event based instead of polling based.  For example, if there are a bunch
of SIP phones subscribed to mailboxes, then chan_sip will not have to
constantly poll the mailboxes for changes.  app_voicemail will generate events
when changes occur.

See UPGRADE.txt and CHANGES for some more information on the effects of these
changes from the user perspective.  For developer information, see the text in
include/asterisk/event.h.

As always, additional feedback is welcome on the asterisk-dev mailing list.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62292 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-28 21:01:44 +00:00
Russell Bryant 672fbc1f81 Add a min-announce-frequency option to queues.conf which allows you to control the
minimum amount of time between queue announcements for use when the caller's queue
position changes frequently.
(issue #9604, patch by Matthew Roth)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62242 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-27 22:08:54 +00:00
Jason Parker 52ae7d58f7 Merged revisions 61694 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r61694 | qwell | 2007-04-20 14:51:49 -0500 (Fri, 20 Apr 2007) | 13 lines

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

........
r61692 | qwell | 2007-04-20 14:49:54 -0500 (Fri, 20 Apr 2007) | 5 lines

If the '* to hangup' option is not enabled, we don't need to disable * as a valid exit key.
  If it was enabled, this statement would've never been checked in the first place.

Issue #9552

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61695 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-20 19:54:54 +00:00
Russell Bryant 97d0661327 Merged revisions 61690 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61690 | russell | 2007-04-20 13:19:18 -0500 (Fri, 20 Apr 2007) | 4 lines

Fix the UpdateConfig manager action to properly treat "variables" and "objects"
differently (a=b versus a=>b).
(issue #9568, reported by pari, patch by me)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-20 18:23:24 +00:00
Olle Johansson c72efe27be Mini-voicemail - an embryo for a new voicemail system based on building
blocks instead of one large monolithic app. Supports multiple templates
and is designed mostly for voicemail delivery over e-mail.

There's a todo with a list of ideas in the source code if you want
to contribute. Feedback is appreciated!


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61671 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-18 07:57:18 +00:00
Joshua Colp e2871220e2 Merged revisions 61656 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r61656 | file | 2007-04-13 15:17:08 -0400 (Fri, 13 Apr 2007) | 10 lines

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

........
r61655 | file | 2007-04-13 15:15:12 -0400 (Fri, 13 Apr 2007) | 2 lines

Add OUTBOUND_GROUP_ONCE variable to app_dial. This behaves the same as OUTBOUND_GROUP except it will get unset after use so it won't get accidentally inherited. (issue #BE-140)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61657 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-13 19:18:46 +00:00
Joshua Colp 67302c5411 Merged revisions 61651 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61651 | file | 2007-04-13 14:08:02 -0400 (Fri, 13 Apr 2007) | 2 lines

Do not bother looking for a result if none are present.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61652 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-13 18:09:29 +00:00
Russell Bryant 710a2e8ea6 Merged revisions 61645 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61645 | russell | 2007-04-13 12:10:19 -0500 (Fri, 13 Apr 2007) | 3 lines

Eliminate a compiler warning with ODBC_STORAGE enabled so that it will build
under dev-mode.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-13 17:15:45 +00:00
Steve Murphy 13d44de57e via 8119, a patch to allow voicemail data to be stored in RealTime.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-11 14:09:26 +00:00
Steve Murphy ecaf781933 Merged revisions 60989 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60989 | murf | 2007-04-09 12:32:07 -0600 (Mon, 09 Apr 2007) | 1 line

This is a big improvement over the current CDR fixes. It may still need refinement, but this won't have as many folks bothered.
This also adds the mods from 1.4/r.61136;
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-10 05:41:34 +00:00
Russell Bryant be874b92d3 Remove unused instances of unnamed enums.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61116 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 22:49:32 +00:00
Jason Parker 0cb6714ce8 Merged revisions 61022 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r61022 | qwell | 2007-04-09 14:05:48 -0500 (Mon, 09 Apr 2007) | 4 lines

Use the appropriate interface name with COMPLETECALLER.

Issue 9395.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 19:06:36 +00:00
Jason Parker a84ca79445 Merged revisions 60936 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r60936 | qwell | 2007-04-09 12:22:59 -0500 (Mon, 09 Apr 2007) | 13 lines

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

........
r60935 | qwell | 2007-04-09 12:22:15 -0500 (Mon, 09 Apr 2007) | 5 lines

Allow matching on names shorter than 3 chars.
This also fixes the case where somebody wants to match on less then 3 chars.

Issue 9071

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60937 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 17:23:55 +00:00
Joshua Colp 840f1e61e0 Merged revisions 60798 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r60798 | file | 2007-04-08 21:03:14 -0400 (Sun, 08 Apr 2007) | 10 lines

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

........
r60797 | file | 2007-04-08 20:59:29 -0400 (Sun, 08 Apr 2007) | 2 lines

When calling a device that then forwards us elsewhere... we have to make our channels compatible if it is the only channel being dialed. (issue #9445 reported by marcelbarbulescu)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60799 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-09 01:06:56 +00:00
Joshua Colp 9ab4327d8b Merged revisions 60762 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60762 | file | 2007-04-08 13:04:44 -0400 (Sun, 08 Apr 2007) | 2 lines

Allow app_queue to use MONITOR_EXEC even if MONITOR_OPTIONS is not set. (issue #9495 reported by cduffy)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60763 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-08 17:13:39 +00:00
Tilghman Lesher 072347fa40 Merged revisions 60713 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r60713 | tilghman | 2007-04-08 09:14:29 -0500 (Sun, 08 Apr 2007) | 10 lines

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

........
r60711 | tilghman | 2007-04-08 09:00:22 -0500 (Sun, 08 Apr 2007) | 2 lines

Gosub called within a Macro resets the arguments improperly and causes general weirdness. (Issue 8329)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60715 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-08 14:23:16 +00:00
Russell Bryant e3192c77f2 Merged revisions 60565 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60565 | russell | 2007-04-06 14:50:52 -0500 (Fri, 06 Apr 2007) | 3 lines

When a station picks up a trunk that was on hold, make the hints reflect that
nobody has the trunk on hold anymore.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06 19:52:12 +00:00
Russell Bryant bdd6e89dcd Merged revisions 60521 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60521 | russell | 2007-04-06 13:58:46 -0500 (Fri, 06 Apr 2007) | 16 lines

Fix a few problems with SLA.  (issue #9459, reported by francesco_r, fixed by me)

* The original behavior was that if one station put a call on hold, another one
  picked it up, and then hung up, the code would still consider the call on
  hold by the first station, so the trunk would not be hung up.  However, to
  better comply with what most people seem to expect it to behave, it will now
  hang up the trunk.

* Fix a problem with "barge=no".  This was only intended to prevent people from
  joining calls that are in progress.  However, it also prevented other people
  from picking up a call that was on hold.  This has been fixed.

* When there are no active stations on a trunk and it is on hold, the code now
  indicates the HOLD and UNHOLD conditions to the trunk channel.  This allows
  music on hold to be played to the trunk when it is on hold.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60522 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06 18:59:42 +00:00
Joshua Colp 4b618442a0 Merged revisions 60361 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60361 | file | 2007-04-05 22:14:00 -0300 (Thu, 05 Apr 2007) | 2 lines

Add support for returning different types of results (ie: NBest).

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60362 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-06 01:15:50 +00:00
Jason Parker 02f03d9aeb Merged revisions 60268 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r60268 | qwell | 2007-04-05 11:10:48 -0500 (Thu, 05 Apr 2007) | 13 lines

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

........
r60267 | qwell | 2007-04-05 11:09:41 -0500 (Thu, 05 Apr 2007) | 5 lines

Just because we can't find the voicemail configuration file, doesn't
 mean that the module failed to load.  The user could be using realtime.

Issue #9473

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60269 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-05 16:11:34 +00:00
Russell Bryant e9e26370be Merged revisions 60069 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60069 | russell | 2007-04-04 11:26:23 -0500 (Wed, 04 Apr 2007) | 4 lines

Fix a problem where if a trunk was hung up while it was on hold, all of the
hints would reflect the line still on hold, even though it should reflect that
it is back to not in use.  (issue #9459, reported by francesco_r, fixed by me)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60070 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-04 16:27:12 +00:00
Joshua Colp d6f029b4f7 Merged revisions 59963 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59963 | file | 2007-04-03 15:40:59 -0400 (Tue, 03 Apr 2007) | 2 lines

Don't clash when a person both speaks and uses DTMF.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59969 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-03 19:43:26 +00:00
Joshua Colp a6d7b13160 Merged revisions 59724 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r59724 | file | 2007-04-02 14:58:24 -0400 (Mon, 02 Apr 2007) | 10 lines

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

........
r59723 | file | 2007-04-02 14:55:25 -0400 (Mon, 02 Apr 2007) | 2 lines

Increase the maximum size for a string of mailboxes to 1024. (issue #9270 reported by rtucker)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59725 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-04-02 19:01:04 +00:00
Russell Bryant fcc7c358a5 Reduce the ridiculous number of variables used in the load_config() function by
just having one that can be re-used.  There is no functional change here (that
is intentional, anyway!).


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-29 23:27:46 +00:00
Russell Bryant e94dde199c Add the ability for the "voicemail show users" CLI command to show users
configured in realtime.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59414 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-29 20:53:12 +00:00
Joshua Colp 15c9972839 Merged revisions 59361 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r59361 | file | 2007-03-29 13:38:55 -0400 (Thu, 29 Mar 2007) | 10 lines

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

........
r59360 | file | 2007-03-29 13:33:58 -0400 (Thu, 29 Mar 2007) | 2 lines

Keep a global array of variables indicating whether certain conference rooms are in use. This ensures that two people going into a new dynamic conference when the 'e' option is set don't go into the same conference room. (issue #8835 reported by eliel)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59362 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-29 17:42:48 +00:00
Tilghman Lesher 185fc8711d Merged revisions 59284 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r59284 | tilghman | 2007-03-27 18:37:31 -0500 (Tue, 27 Mar 2007) | 10 lines

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

........
r59283 | tilghman | 2007-03-27 18:36:49 -0500 (Tue, 27 Mar 2007) | 2 lines

Oops

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59285 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-27 23:38:22 +00:00
Tilghman Lesher f7178b7bfe Merged revisions 59281 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r59281 | tilghman | 2007-03-27 18:32:46 -0500 (Tue, 27 Mar 2007) | 10 lines

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

........
r59280 | tilghman | 2007-03-27 18:31:20 -0500 (Tue, 27 Mar 2007) | 2 lines

Fix a few remaining bad mmap(2) return values

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59282 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-27 23:34:57 +00:00
Russell Bryant f901158670 Merged revisions 59278 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r59278 | russell | 2007-03-27 18:20:22 -0500 (Tue, 27 Mar 2007) | 11 lines

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

........
r59277 | russell | 2007-03-27 18:19:41 -0500 (Tue, 27 Mar 2007) | 3 lines

Fix the check of the return value from mmap().  Thanks to Corydon for catching
this one.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-27 23:22:03 +00:00
Russell Bryant 0d4406748d Merged revisions 59275 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59275 | russell | 2007-03-27 18:16:27 -0500 (Tue, 27 Mar 2007) | 3 lines

Fix app_directory to actually compile with ODBC_STORAGE, and update the code to
the latest res_odbc API.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-27 23:16:54 +00:00
Russell Bryant 469ac55753 Merged revisions 59273 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59273 | russell | 2007-03-27 18:02:12 -0500 (Tue, 27 Mar 2007) | 4 lines

Fix app_directory when ODBC_STORAGE is being used.  The Makefile did not
properly ensure that this information got copied from what was selected
for app_voicemail.  (issue #9224)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59274 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-27 23:03:09 +00:00
Joshua Colp e2c9d8b43b Merged revisions 59223 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59223 | file | 2007-03-26 16:34:14 -0300 (Mon, 26 Mar 2007) | 2 lines

Add ability to specify no timeout. This means as soon as the prompt is done playing it moves on to the next priority.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59224 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-26 19:35:24 +00:00
Russell Bryant 1e3a59b69b Merged revisions 59215 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59215 | russell | 2007-03-26 13:28:29 -0500 (Mon, 26 Mar 2007) | 3 lines

Fix some codec negotiation problems when CallerID support is not enabled in SLA.
(issue #9308, reported by twilson)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59216 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-26 18:29:10 +00:00
Joshua Colp 722962dec4 Merged revisions 59213 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59213 | file | 2007-03-26 14:13:06 -0400 (Mon, 26 Mar 2007) | 2 lines

Make SpeechBackground obey the digit timeout value.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59214 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-26 18:14:33 +00:00
Steve Murphy 36642f6982 Merged revisions 59188 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r59188 | murf | 2007-03-23 10:09:01 -0600 (Fri, 23 Mar 2007) | 9 lines

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

........
r59186 | murf | 2007-03-23 09:57:26 -0600 (Fri, 23 Mar 2007) | 1 line

Added a few words in the Macro doc strings about the behavior of macros with hangups (et al.), as per 9337
........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59190 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-23 16:17:57 +00:00
BJ Weschke 39857b78e7 Merged revisions 59035 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59035 | bweschke | 2007-03-18 12:36:44 -0400 (Sun, 18 Mar 2007) | 3 lines

 Don't return a non-zero return code if the profile doesn't exist, to match what the documentation says it already does. (#9307 Reported by kkiely)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59036 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-18 16:59:48 +00:00
Joshua Colp bbcbf46aae Merged revisions 58992 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58992 | file | 2007-03-16 12:12:28 -0400 (Fri, 16 Mar 2007) | 2 lines

Wait for the async thread to exit when hanging up all of the paged phones under all circumstances. (issue #9181 reported by PhilSmith)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58995 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-16 16:14:04 +00:00
Russell Bryant 1cf3a12047 Merged revisions 58931 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r58931 | russell | 2007-03-15 17:25:12 -0500 (Thu, 15 Mar 2007) | 13 lines

Merge changes from svn/asterisk/team/russell/LaTeX_docs.

* Convert most of the doc directory into a single LaTeX formatted document
  so that we can generate a PDF, HTML, or other formats from this
  information.
* Add a CLI command to dump the application documentation into LaTeX format
  which will only be include if the configure script is run with 
  --enable-dev-mode.
* The PDF turned out to be close to 1 MB, so it is not included.  However, you
  can simply run "make asterisk.pdf" to generate it yourself.  We may include
  it in release tarballs or have automatically generated ones on the web site,
  but that has yet to be decided.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58932 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-15 22:29:45 +00:00
Russell Bryant 2ea01c893c 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
2007-03-14 16:34:03 +00:00
Russell Bryant 6bf6ed59db 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
2007-03-13 23:20:41 +00:00
Russell Bryant 83fd14cde7 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
2007-03-10 04:01:07 +00:00
Joshua Colp 96f7036c99 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
2007-03-09 21:10:20 +00:00
Russell Bryant b1678e3b50 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
2007-03-08 23:21:44 +00:00
Russell Bryant da28f77d4a 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
2007-03-08 20:56:57 +00:00
Kevin P. Fleming 4a1a0993f2 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
2007-03-08 13:21:38 +00:00
Olle Johansson 061df74259 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
2007-03-07 08:08:46 +00:00
Russell Bryant f0aeab730f 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
2007-03-06 23:20:57 +00:00
Olle Johansson eed095c276 Debug control, debug control.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58054 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-06 20:41:21 +00:00
Luigi Rizzo e9dd63e77c remove duplicate const
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57979 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-06 08:36:28 +00:00
Joshua Colp 6743eb2117 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
2007-03-05 18:46:59 +00:00
Joshua Colp 1be69d516b 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
2007-03-05 18:45:28 +00:00
Joshua Colp be92ac73b4 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
2007-03-05 17:55:29 +00:00
Tilghman Lesher d9bd122fce 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
2007-03-03 16:43:36 +00:00
Tilghman Lesher 7839f111a0 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
2007-03-03 06:46:24 +00:00
Russell Bryant 40e95cd19d 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
2007-03-02 16:59:22 +00:00
Russell Bryant 3d6e6e07ef 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
2007-03-01 23:44:09 +00:00
Russell Bryant 9c58ead89b 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
2007-02-28 22:09:33 +00:00
Joshua Colp e7b03a991e 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
2007-02-28 20:46:01 +00:00
Russell Bryant 00ab6324e8 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
2007-02-28 19:59:26 +00:00
Russell Bryant 69b0eb24ed 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
2007-02-28 19:57:41 +00:00
Russell Bryant 4fd59356ef 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
2007-02-28 18:21:47 +00:00
Joshua Colp 902319882c 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
2007-02-28 17:47:41 +00:00
Joshua Colp 726928cb60 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
2007-02-27 22:17:42 +00:00
Joshua Colp 750635b501 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
2007-02-26 19:34:59 +00:00
Russell Bryant 12432b9b9e 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
2007-02-26 01:05:15 +00:00
Olle Johansson 75d387acbc Doxygen additions, corrections
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56665 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-24 20:29:41 +00:00
Olle Johansson bc01e39174 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
2007-02-24 19:27:50 +00:00
Joshua Colp e6bd19bfa5 Make Meetme build again under dev mode.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-24 01:56:41 +00:00
Russell Bryant d94c511bb3 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
2007-02-23 18:01:11 +00:00
Russell Bryant 9138e53bc9 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
2007-02-22 23:12:26 +00:00
Russell Bryant 05a4b32f2a 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
2007-02-22 16:25:22 +00:00
Joshua Colp 80bab41671 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
2007-02-22 00:05:00 +00:00
Joshua Colp 7e06a97fdd 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
2007-02-21 20:41:53 +00:00
Russell Bryant f5bd40d925 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
2007-02-21 20:23:03 +00:00
Joshua Colp 80e8ca4f9b 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
2007-02-21 20:18:16 +00:00
Joshua Colp 5030e05632 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
2007-02-21 20:05:15 +00:00
Russell Bryant e57e5aca4a Merged revisions 55758 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r55758 | russell | 2007-02-20 19:03:25 -0600 (Tue, 20 Feb 2007) | 4 lines

Improve the reference counting to fix bugs where people report seeing
conferences listed that have no members.
(issue #9073)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55762 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-21 01:05:00 +00:00
Joshua Colp ee980f4350 Merged revisions 55741 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r55741 | file | 2007-02-20 19:11:20 -0500 (Tue, 20 Feb 2007) | 2 lines

Better handle dropped IMAP connections. (issue #9054 reported by bsmithurst)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55748 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-21 00:14:07 +00:00
Tilghman Lesher fb626350c6 Merged revisions 55435 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r55435 | tilghman | 2007-02-19 12:11:48 -0600 (Mon, 19 Feb 2007) | 10 lines

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

........
r55434 | tilghman | 2007-02-19 12:09:09 -0600 (Mon, 19 Feb 2007) | 2 lines

forcename and forcegreetings options should check to see if the recording already exists

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-19 18:15:52 +00:00
Joshua Colp 6ad66e51ae Allow both an external application and SMDI to do voicemail notification at the same time. (issue #8625 reported by lters)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55410 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-19 15:57:24 +00:00
Olle Johansson ec4eb25d8a Formatting changes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-18 22:07:21 +00:00
Kevin P. Fleming 74f31a51bc add -Wundef to the --enable-dev-mode flags, so that mistyped macro names in #if expressions will be caught
convert various #if expressions to #ifdef for macros that may not be defined (and where the value is not important)
Note: two of these changes are in bison generated files which is going to be inconvenient when they are regenerated


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-18 15:03:42 +00:00
Olle Johansson ab7f71fd96 Merged revisions 55278 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r55278 | oej | 2007-02-18 13:35:54 +0100 (Sun, 18 Feb 2007) | 10 lines

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

........
r55277 | oej | 2007-02-18 13:32:13 +0100 (Sun, 18 Feb 2007) | 2 lines

Documentation update (#9053, jsmith)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-18 12:52:58 +00:00
Joshua Colp f95a15ed58 Merged revisions 55219 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r55219 | file | 2007-02-17 12:39:32 -0500 (Sat, 17 Feb 2007) | 2 lines

Add missing membername option to AddQueueMember documentation. (issue #9088 reported by seanbright)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55220 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-17 17:41:47 +00:00
Joshua Colp 177953c8f1 We want to skip the queue if the name doesn't match the specified one, not if they *do*.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55198 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-17 16:48:20 +00:00
Joshua Colp d4c75e57c0 Increase "queue show" buffer size from 80 to 240. This should be more then enough for most cases. (issue #9089 reported by mvanbaak)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55197 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-17 16:39:24 +00:00
Joshua Colp fb9e48ca9e Merged revisions 55154 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r55154 | file | 2007-02-16 22:55:30 -0500 (Fri, 16 Feb 2007) | 10 lines

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

........
r55153 | file | 2007-02-16 22:53:45 -0500 (Fri, 16 Feb 2007) | 2 lines

Answer the channel before recording privacy information. (issue #8926 reported by lmamane)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55155 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-17 03:57:23 +00:00
Joshua Colp 213983dee2 Merged revisions 55129 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r55129 | file | 2007-02-16 21:59:50 -0500 (Fri, 16 Feb 2007) | 2 lines

Make the 'i' option of Queue actually work. (issue #8986 reported by utis)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55132 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-17 03:01:38 +00:00
Russell Bryant f11d0b3d54 Merged revisions 55006 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r55006 | russell | 2007-02-16 16:49:42 -0600 (Fri, 16 Feb 2007) | 17 lines

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

........
r55005 | russell | 2007-02-16 16:48:22 -0600 (Fri, 16 Feb 2007) | 9 lines

Revert the change I did in revisions 54955, 54969, and 54970, in 1.2, 1.4, 
and trunk.  I decided that once a conference is created from meetme.conf,
it is acceptable behavior that the pin can not be changed until the
conference goes away.  I also added a note in meetme.conf to describe this
behavior.

We still have another issue in 1.4 and trunk where some conferences with no
users don't go away.  That is the real bug that needs to be addressed here.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55007 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 22:50:22 +00:00
Russell Bryant 12dadb330e Print the raw read/write formats in the DumpChan application.
(issue #9083, junky)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55004 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 22:21:16 +00:00
Russell Bryant 566c71d0f7 Merged revisions 54969 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r54969 | russell | 2007-02-16 15:12:18 -0600 (Fri, 16 Feb 2007) | 13 lines

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

........
r54955 | russell | 2007-02-16 14:56:58 -0600 (Fri, 16 Feb 2007) | 5 lines

For conferences that are configured in meetme.conf, check the configuration
file every time someone joins the conference instead of only when the
conference is first created.  This is to ensure that changes to the pin
numbers in the config file are always honored.  (issue #9073)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54970 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 21:13:51 +00:00
Joshua Colp 8e92c73a1d Merged revisions 54924 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r54924 | file | 2007-02-16 13:51:15 -0500 (Fri, 16 Feb 2007) | 2 lines

Need to check macro extension as well as macro context for directed pickup.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54925 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 18:53:17 +00:00
Joshua Colp 821c941976 Merged revisions 54884 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r54884 | file | 2007-02-16 12:02:35 -0500 (Fri, 16 Feb 2007) | 2 lines

Allow directed pickup to pick up the real context instead of the macro context if a Macro is used. (issue #8984 reported by jamesb63)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54885 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 17:07:10 +00:00
Olle Johansson 401133e544 More cleanups of app_voicemail
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54861 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 14:11:53 +00:00
Joshua Colp 8fdd98b568 Add 'o' option to Chanspy which causes it to only listen to audio coming from the channel, and the 'X' option which allows the user to exit to a valid single digit extension. (issue #8137 reported by mnicholson)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54748 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 01:17:25 +00:00
Joshua Colp 56095555da Merged revisions 54714 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r54714 | file | 2007-02-15 19:48:48 -0500 (Thu, 15 Feb 2007) | 2 lines

Don't let dtmf leak over into the engine and let it skew the results... also give DTMF results priority. (issue #9014 reported by surftek)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54715 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-16 00:54:10 +00:00
Olle Johansson 0f51f6577d - add some notes, asking for help
- insert a few ast_strlen_zero
- Doxygen additions
- A few more spaces


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54686 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-15 20:29:37 +00:00
Joshua Colp a11b56a8e5 Merged revisions 54623 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r54623 | file | 2007-02-15 11:19:39 -0500 (Thu, 15 Feb 2007) | 10 lines

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

........
r54622 | file | 2007-02-15 11:14:40 -0500 (Thu, 15 Feb 2007) | 2 lines

Use a separate variable to indicate execution should continue instead of the return value. (issue #8842 reported by pluto70)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54624 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-15 16:24:13 +00:00
Joshua Colp db868d0807 Few more code clean ups.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54534 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-15 02:02:30 +00:00
Joshua Colp fd3630715b Clean up app_milliwatt code.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54528 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-15 01:52:10 +00:00
Joshua Colp 68a66656e6 Merged revisions 54481 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r54481 | file | 2007-02-14 16:07:23 -0500 (Wed, 14 Feb 2007) | 2 lines

Forward begin DTMF frames as well as end. (issue #9068 reported by mhardeman)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54489 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-14 21:10:53 +00:00
Russell Bryant f60efe347a This introduces a new dialplan function, DEVSTATE, which allows you to do some
pretty cool things.

First, you can get the device state of anything in the dialplan:
  NoOp(SIP/mypeer has state ${DEVSTATE(SIP/mypeer)})
  NoOp(The conference room 1234 has state ${DEVSTATE(MeetMe:1234)})

Most importantly, this allows you to create custom device states so you can
control phone lamps directly from the dialplan.
  Set(DEVSTATE(Custom:mycustomlamp)=BUSY)
  ...
  exten => mycustomlamp,hint,Custom:mycustomlamp


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54261 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-13 22:02:20 +00:00
Russell Bryant 2a5477b35e Merged revisions 54066 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r54066 | russell | 2007-02-12 11:58:43 -0600 (Mon, 12 Feb 2007) | 4 lines

- Add the ability to register a callback to monitor state changes in an
  asynchronous dial operation.
- Rename the various references to "status" to "state" in the dial API

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-12 18:01:15 +00:00
Paul Cadach 6b88680e51 Merged revisions 53880 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53880 | pcadach | 2007-02-10 01:08:55 -0800 (Сбт, 10 Фев 2007) | 1 line

Much simpler than previous one ;-)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53884 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-10 09:22:15 +00:00
Russell Bryant 5715b49c30 Merged revisions 53810 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53810 | russell | 2007-02-09 18:35:09 -0600 (Fri, 09 Feb 2007) | 24 lines

Merge team/russell/sla_rewrite

This is a completely new implementation of the SLA functionality introduced in
Asterisk 1.4.  It is now functional and ready for testing.  However, I will be
adding some additional features over the next week, as well.

For information on how to set this up, see configs/sla.conf.sample 
and doc/sla.txt.

In addition to the changes in app_meetme.c for the SLA implementation itself,
this merge brings in various other changes:

chan_sip:
 - Add the ability to indicate HOLD state in NOTIFY messages.
 - Queue HOLD and UNHOLD control frames even if the channel is not bridged to
   another channel.

linkedlists.h:
 - Add support for rwlock based linked lists.

dial.c:
 - Add the ability to run ast_dial_start() without a reference channel to
   inherit information from.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53817 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-10 00:40:57 +00:00
Russell Bryant 66641e8a63 Merged revisions 53783 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53783 | russell | 2007-02-09 18:15:50 -0600 (Fri, 09 Feb 2007) | 4 lines

When the Echo() application receives the digit '#', echo that back as well.
Since we already sent the BEGIN frame for that digit, it makes sense to send
the END as well.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-10 00:16:22 +00:00
Kevin P. Fleming e758ef09b3 Merged revisions 53779-53781 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53779 | kpfleming | 2007-02-09 17:51:29 -0600 (Fri, 09 Feb 2007) | 2 lines

fix awk scripts to work when both MODULEINFO and MAKEOPTS are present in a source file

........
r53780 | kpfleming | 2007-02-09 17:51:41 -0600 (Fri, 09 Feb 2007) | 2 lines

add some inter-module dependencies

........
r53781 | kpfleming | 2007-02-09 17:52:44 -0600 (Fri, 09 Feb 2007) | 2 lines

another dependency

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53782 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-09 23:53:51 +00:00
Joshua Colp 32cd307d6f Merged revisions 53749 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53749 | file | 2007-02-09 14:33:31 -0500 (Fri, 09 Feb 2007) | 2 lines

Temporarily change musicclass on channel to one specified in Dial so that the 'm' option functions properly. (issue #8969 reported by christianbee)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53750 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-09 19:39:26 +00:00
Joshua Colp 655da6da05 Clean up documentation of Queue application. (issue #9022 reported by seanbright)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53717 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-09 17:14:10 +00:00
Joshua Colp bcb5daf74d Merged revisions 53601 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53601 | file | 2007-02-08 12:54:32 -0500 (Thu, 08 Feb 2007) | 2 lines

Fix timeout issue when utterance is longer then timeout itself.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53602 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-08 17:56:53 +00:00
Tilghman Lesher 460f377cdb Merged revisions 53530 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r53530 | tilghman | 2007-02-08 07:40:02 -0600 (Thu, 08 Feb 2007) | 10 lines

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

........
r53529 | tilghman | 2007-02-08 07:36:10 -0600 (Thu, 08 Feb 2007) | 2 lines

Issue 9003 - If fullname is empty, quote() passes back "\"" 

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53531 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-08 13:43:06 +00:00
Joshua Colp 8513682d15 Merged revisions 53399 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53399 | file | 2007-02-07 12:04:44 -0500 (Wed, 07 Feb 2007) | 2 lines

Directly load say.conf in load_module instead of calling the reload function. (issue #8946 reported by junky)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53400 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-07 17:06:34 +00:00
Tilghman Lesher 786deaee8a Merged revisions 53355 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r53355 | tilghman | 2007-02-07 09:33:51 -0600 (Wed, 07 Feb 2007) | 10 lines

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

........
r53354 | tilghman | 2007-02-07 09:30:02 -0600 (Wed, 07 Feb 2007) | 2 lines

Issue 7440 - Macro called from Macro from the h extension exits prematurely

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53356 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-07 15:35:44 +00:00
Joshua Colp 4553ab9eab Merged revisions 53152 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53152 | file | 2007-02-05 11:06:18 -0600 (Mon, 05 Feb 2007) | 2 lines

Ensure say_cfg is NULL when the module is loaded. (issue #8946 reported by junky)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53153 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-05 17:06:56 +00:00
Joshua Colp 2101e5be28 Merged revisions 53150 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53150 | file | 2007-02-05 10:02:00 -0600 (Mon, 05 Feb 2007) | 2 lines

Unregister Playback CLI commands as well as dialplan application. (issue #8946 reported by junky)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53151 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-05 16:03:23 +00:00
Tilghman Lesher c59714fbfc Add CALLERPRES dialplan function and deprecate SetCallerPres application
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53141 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-03 22:05:02 +00:00
Russell Bryant ce321f87e9 Merged revisions 53136 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r53136 | russell | 2007-02-03 14:44:20 -0600 (Sat, 03 Feb 2007) | 12 lines

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

........
r53133 | russell | 2007-02-03 14:38:13 -0600 (Sat, 03 Feb 2007) | 4 lines

set the DIALSTATUS variable to contain "INVALIDARGS" when the dial application
exits early because of invalid arguments instead of just leaving it empty.
(issue #8975)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53137 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-03 20:46:36 +00:00
Olle Johansson d07e640c6f Merged revisions 53081 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53081 | oej | 2007-02-01 21:38:58 +0100 (Thu, 01 Feb 2007) | 2 lines

Change debug level for state change message that is not really informative when debugging app_queue

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53083 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-01 20:44:49 +00:00
Russell Bryant 782cd26efa Remove duplicate calls to pthread_attr_destroy() that I put in yesterday
by accident.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53061 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-01 14:43:44 +00:00
Russell Bryant b233892198 Merged revisions 53046 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r53046 | russell | 2007-01-31 15:32:08 -0600 (Wed, 31 Jan 2007) | 11 lines

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

........
r53045 | russell | 2007-01-31 15:25:11 -0600 (Wed, 31 Jan 2007) | 3 lines

Fix a bunch of places where pthread_attr_init() was called, but
pthread_attr_destroy() was not.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-31 21:35:15 +00:00
Russell Bryant 78587a8402 Merged revisions 53042 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53042 | russell | 2007-01-31 12:18:25 -0600 (Wed, 31 Jan 2007) | 2 lines

Remove an extra \r\n from manager user events.  (issue #8955, mnicholson)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53043 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-31 18:18:58 +00:00
Russell Bryant 26a33b2ffc Merged revisions 53037 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53037 | russell | 2007-01-31 11:39:28 -0600 (Wed, 31 Jan 2007) | 3 lines

Only changed the paused status in an existing queue member if the paused
column exists.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53038 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-31 17:39:55 +00:00
Russell Bryant 59b382021e Merged revisions 53035 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53035 | russell | 2007-01-31 11:34:22 -0600 (Wed, 31 Jan 2007) | 4 lines

Instead of always creating a realtime queue member as unpaused, read the
"paused" column and use that value for the paused status of the member.
(issue #8949, jmls)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53036 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-31 17:35:14 +00:00
Joshua Colp 095b911df1 Merged revisions 52717 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r52717 | file | 2007-01-29 18:43:40 -0500 (Mon, 29 Jan 2007) | 10 lines

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

........
r52716 | file | 2007-01-29 18:39:39 -0500 (Mon, 29 Jan 2007) | 2 lines

Now that filename is part of the structure and since it comes before postprocess... we have to add it to our postprocess line. (reported on asterisk-dev by Boris Bakchiev)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52718 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 23:45:39 +00:00
Russell Bryant e0944a6fc9 Resolve some warnings when not building with IMAP_STORAGE
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52612 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 20:47:43 +00:00
Joshua Colp 89bcae322d Change vmstates list to use linked list macros.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52610 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 20:22:08 +00:00
Joshua Colp 0fbb5a24e0 Code cleanup of IMAP storage support in app_voicemail.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52607 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 20:04:42 +00:00
Joshua Colp 6a7f296faf Merged revisions 52572 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52572 | file | 2007-01-29 13:59:41 -0500 (Mon, 29 Jan 2007) | 2 lines

Use ast_calloc instead of malloc.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52580 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 19:03:01 +00:00
Joshua Colp 6b02211f03 Merged revisions 52523 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52523 | file | 2007-01-29 12:33:19 -0500 (Mon, 29 Jan 2007) | 2 lines

Set quota information to 0 when creating a vm_state. (issue #8924 reported by neutrino88)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52524 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-29 17:39:09 +00:00
Joshua Colp 44beb7c475 Merged revisions 52416 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r52416 | file | 2007-01-26 21:13:41 -0500 (Fri, 26 Jan 2007) | 10 lines

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

........
r52415 | file | 2007-01-26 21:09:10 -0500 (Fri, 26 Jan 2007) | 2 lines

Make COMPLETECALLER and COMPLETEAGENT output to queue_log follow documentation. (issue #7677 reported by amilcar)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52417 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-27 02:15:21 +00:00
Joshua Colp 48e707b6aa Merged revisions 52163 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r52163 | file | 2007-01-24 20:51:35 -0500 (Wed, 24 Jan 2007) | 10 lines

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

........
r52162 | file | 2007-01-24 20:48:52 -0500 (Wed, 24 Jan 2007) | 2 lines

Add another note about audio files being played back to each bridged party. (issue #8718 reported by ppyy)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52168 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-25 01:54:39 +00:00
Russell Bryant 174606b4bd Merged revisions 52160 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52160 | russell | 2007-01-24 19:37:16 -0600 (Wed, 24 Jan 2007) | 2 lines

By suggestion from kpfleming last week, change "vmpassword" to "vmsecret".

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52161 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-25 01:38:05 +00:00
Steve Murphy ad06bf844c As per bug 8859 (Add option to revert old ChanIsAvail() with 's' option behavior), this update makes the 't' option available, which calls ast_parse_device_state instead of ast_device_state. This option will not dive into the channel driver to find the status of the device (which could be good if sip devicestate isn't returning full status, for various reasons).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52086 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 20:35:54 +00:00
Joshua Colp 9826fc599b Merged revisions 52049 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52049 | file | 2007-01-24 13:20:05 -0500 (Wed, 24 Jan 2007) | 2 lines

Merge in dialing API and the app_page that uses it. (issue #BE-118)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52050 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 18:23:07 +00:00
Russell Bryant 19a8da7bed Merged revisions 51829 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r51829 | russell | 2007-01-23 18:19:55 -0600 (Tue, 23 Jan 2007) | 12 lines

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

........
r51828 | russell | 2007-01-23 18:17:50 -0600 (Tue, 23 Jan 2007) | 4 lines

Don't set a new value for the END_ variable on the channel before using the
old value.  If you do, it will lead to accessing a memory address that has
been free()'d.  (issue #8895, arkadia)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51830 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-24 00:21:32 +00:00
Joshua Colp 1fda861ff8 Make 'H' command do as advertised and add 'E' and 'V' commands to ExternalIVR. (issue #8165 reported by mnicholson)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51592 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-23 04:45:43 +00:00
Joshua Colp ea17720d1e Merged revisions 51407 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r51407 | file | 2007-01-22 14:13:44 -0500 (Mon, 22 Jan 2007) | 10 lines

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

........
r51406 | file | 2007-01-22 14:08:52 -0500 (Mon, 22 Jan 2007) | 2 lines

Move filestream creation to Mixmonitor loop. This will prevent a blank file from being created if no frames ever pass through to be recorded. (issue #7589 reported by steve_mcneil)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51408 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-22 19:22:07 +00:00
Russell Bryant d26bb9ccb6 Merged revisions 51343 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51343 | russell | 2007-01-19 18:13:06 -0600 (Fri, 19 Jan 2007) | 2 lines

Remove an unused instance of an unnamed enum.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51344 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-20 00:13:52 +00:00
Russell Bryant c39e1b8246 Merged revisions 51341 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51341 | russell | 2007-01-19 16:19:10 -0600 (Fri, 19 Jan 2007) | 2 lines

Remove another duplicated definition

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51342 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 22:34:13 +00:00
Russell Bryant cde480e400 Merged revisions 51339 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51339 | russell | 2007-01-19 15:20:20 -0600 (Fri, 19 Jan 2007) | 2 lines

Remove a variable that was declared twice.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51340 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 21:21:03 +00:00
Luigi Rizzo 1b35a441d9 include "asterisk/zapata.h" instead of testing for
the location of the header files.

On passing, add a cast to insure -Werror clean compilation
on FreeBSD 6.x, where time_t does not match %ld



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51293 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 16:21:24 +00:00
Luigi Rizzo dc31eaa025 include "asterisk/zapata.h" instead of looking
directly for the zaptel.h and tonezone.h



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51292 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-19 16:16:19 +00:00
Jason Parker 5d25265403 Merged revisions 51265 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51265 | qwell | 2007-01-18 16:50:23 -0600 (Thu, 18 Jan 2007) | 4 lines

Add some more checks for option_debug before ast_log(LOG_DEBUG, ...) calls.

Issue 8832, patch(es) by tgrman

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51266 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 22:56:35 +00:00
Joshua Colp 68d39c2b72 Merged revisions 51251 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51251 | file | 2007-01-18 14:17:34 -0500 (Thu, 18 Jan 2007) | 2 lines

Only start timeout once we reach the end of the files to play back.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51252 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 19:19:24 +00:00
Joshua Colp dd23f68d18 Add 's' option to Page application which checks devicestate before dialing. (issue #8673 reported by sunder)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51215 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 05:24:08 +00:00
Joshua Colp 180eb47bcb Merged revisions 51213 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51213 | file | 2007-01-17 19:48:55 -0500 (Wed, 17 Jan 2007) | 2 lines

Build the IMAP remote directory string better and properly. Fix an issue with encoding the GSM voicemail when attaching to the voicemail. (issue #8808 reported by akohlsmith)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51214 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-18 00:49:58 +00:00
Jason Parker ce5d9ab661 Merged revisions 51186 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51186 | qwell | 2007-01-17 11:36:53 -0600 (Wed, 17 Jan 2007) | 2 lines

re-add "password" for realtime voicemail

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51189 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-17 17:37:56 +00:00
Kevin P. Fleming 87fad338e6 Merged revisions 51176 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51176 | kpfleming | 2007-01-16 19:29:12 -0600 (Tue, 16 Jan 2007) | 2 lines

a few more coding style cleanups and one bug fix (from AnthonyL)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51177 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-17 01:30:04 +00:00
Jason Parker 73bc822fa8 Merged revisions 51167 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51167 | qwell | 2007-01-16 16:50:19 -0600 (Tue, 16 Jan 2007) | 6 lines

Fix an issue with IMAP storage and realtime voicemail.

Also update the vmdb sql script for IMAP specific options.

Issue 8819, initial patches by bsmithurst (slightly modified by me)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51168 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-16 22:53:13 +00:00
Tilghman Lesher 8cda34b5fc Merged revisions 51159 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r51159 | tilghman | 2007-01-16 15:28:39 -0600 (Tue, 16 Jan 2007) | 10 lines

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

........
r51158 | tilghman | 2007-01-16 15:26:06 -0600 (Tue, 16 Jan 2007) | 2 lines

Postgres driver doesn't like a NULL pointer when retrieving the length (Bug 8513)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51160 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-16 21:33:57 +00:00
Kevin P. Fleming 8bd73ec01b remove pointless DEBUG message (watch those patch merges, people!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51155 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-16 19:01:42 +00:00
Matt O'Gorman 7dd96f284b Merged revisions 51150 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.4

........
r51150 | mogorman | 2007-01-16 11:46:12 -0600 (Tue, 16 Jan 2007) | 2 lines

minor things i missed before i get jumped on

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51151 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-16 17:47:26 +00:00
Matt O'Gorman a4640ee9d8 Patch allows for changing voicemail password in users.conf from voicemail main, written by AnthonyL bug #8436
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51031 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-16 00:29:25 +00:00
Matt O'Gorman da9d86bfc2 Merged revisions 50957 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.4

................
r50957 | mogorman | 2007-01-15 15:08:07 -0600 (Mon, 15 Jan 2007) | 12 lines

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

........
r50946 | mogorman | 2007-01-15 14:44:53 -0600 (Mon, 15 Jan 2007) | 4 lines

Solves issue with forwarding voicemails from folders other than inbox.
patch by anthonyl.


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50958 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-15 21:12:56 +00:00
Joshua Colp 4aba5a78d9 Merged revisions 50433 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50433 | file | 2007-01-10 15:25:44 -0500 (Wed, 10 Jan 2007) | 2 lines

Merge speech-multi branch which adds support for joining multiple sound files together to be played one after another in SpeechBackground.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50434 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-10 20:26:55 +00:00
Joshua Colp a378353ecc Merged revisions 50298 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r50298 | file | 2007-01-09 23:55:13 -0500 (Tue, 09 Jan 2007) | 10 lines

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

........
r50295 | file | 2007-01-09 23:51:06 -0500 (Tue, 09 Jan 2007) | 2 lines

Add another return value to dial_exec_full that indicates execution is going to continuing at a new extension/context/priority and to just let it slide. (issue #8598 reported by jon)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50302 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-10 04:56:48 +00:00
Tilghman Lesher 3b3a66e54b Merged revisions 50151 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r50151 | tilghman | 2007-01-09 07:40:45 -0600 (Tue, 09 Jan 2007) | 12 lines

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

........
r50150 | tilghman | 2007-01-09 07:30:04 -0600 (Tue, 09 Jan 2007) | 4 lines

The advent of realtime has enabled people to use commas in the fullname field.
This could cause an issue with sending voicemails, when the field is unquoted.
(Issue 8595)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-09 13:45:14 +00:00
Jason Parker 3a98c6af87 Merged revisions 50098 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r50098 | qwell | 2007-01-08 17:39:12 -0600 (Mon, 08 Jan 2007) | 4 lines

Fix an issue with voicemail and users.conf, where it wouldn't ever parse a password, since it was using "secret" instead of "password"

Issue 8761, reported by and patch suggestion from ssokol.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50099 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-08 23:40:28 +00:00
Matt O'Gorman 70b945c4f1 Merged revisions 50073 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.4

........
r50073 | mogorman | 2007-01-08 15:11:16 -0600 (Mon, 08 Jan 2007) | 1 line

we can't unlock a channel if we cant find it. - AnthonyL bug #8741
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50074 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-08 21:17:51 +00:00
Tilghman Lesher 52ea03bd86 Merged revisions 49834 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r49834 | tilghman | 2007-01-07 15:44:52 -0600 (Sun, 07 Jan 2007) | 10 lines

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

........
r49833 | tilghman | 2007-01-07 15:43:10 -0600 (Sun, 07 Jan 2007) | 2 lines

If openstream fails, then we crash (Issue 8564)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49835 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-07 21:46:38 +00:00
Kevin P. Fleming cd73a483f1 const-ify some more APIs, and fix rev 49710 from branch-1.4 in a better way here
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49711 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-05 23:32:42 +00:00
Kevin P. Fleming 87b9abc892 Merged revisions 49676 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r49676 | kpfleming | 2007-01-05 16:16:33 -0600 (Fri, 05 Jan 2007) | 2 lines

reduce stack consumption for AMI and AMI/HTTP requests by nearly 20K in most cases

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-05 22:43:18 +00:00
Matt O'Gorman d618580449 Merged revisions 49459 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.4

................
r49459 | mogorman | 2007-01-04 12:11:19 -0600 (Thu, 04 Jan 2007) | 10 lines

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

........
r49447 | mogorman | 2007-01-04 11:45:16 -0600 (Thu, 04 Jan 2007) | 2 lines

converted a lot of 256 to PATH_MAX and some white space fixes.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49464 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-04 18:28:50 +00:00
Matt O'Gorman 29434b4b93 Merged revisions 49413 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.4

................
r49413 | mogorman | 2007-01-04 10:50:56 -0600 (Thu, 04 Jan 2007) | 11 lines

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

........
r49412 | mogorman | 2007-01-04 10:48:43 -0600 (Thu, 04 Jan 2007) | 3 lines

good catch russell sorry i missed that.
fix magic number with proper sizeof

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49414 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-04 16:52:38 +00:00
Matt O'Gorman aa2e61f0de Merged revisions 49355 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.4

................
r49355 | mogorman | 2007-01-03 17:32:03 -0600 (Wed, 03 Jan 2007) | 14 lines

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

........
r49354 | mogorman | 2007-01-03 17:22:47 -0600 (Wed, 03 Jan 2007) | 6 lines

When using ODBC_STORAGE VoicemailMain doesn't create the
subdirectories for a mailbox such as the INBOX directory.

this patch solves that problem, was written by anthony
be-125

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49356 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-03 23:41:19 +00:00
Tilghman Lesher 94d71436ec 1. Rename 'maxmessage' to 'maxsecs' to differentiate from 'maxmsg'.
2. Rename 'minmessage' to 'minsecs' for parity.
3. Make 'maxsecs' a per-user option, in addition to global.
(Issue # 8624)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49075 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-31 04:54:20 +00:00
Olle Johansson 253e1daa49 From coding guidelines:
Comments should explain what the code does, not when something was changed
  or who changed it. If you have done a larger contribution, make sure
  that you are added to the CREDITS file.




git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48984 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-27 16:58:03 +00:00
Joshua Colp b3ca8342fd Merged revisions 48966 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48966 | file | 2006-12-26 00:20:08 -0500 (Tue, 26 Dec 2006) | 2 lines

Get rid of a needless memory allocation and only create a conference structure in find_conf_realtime if data was read from realtime. (issue #8669 reported by robl)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48967 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-26 05:23:25 +00:00
Luigi Rizzo 09f75aa6dc rename the structs struct tone_zone_sound and struct tone_zone
defined in indications.h to ind_tone_zone_sound and ind_tone_zone,
to avoid conflicts with the structs with the same names
defined in tonezone.h

Hope i haven't missed any instance.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48958 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-25 06:38:09 +00:00
Luigi Rizzo 5727170842 improve readability of a few macros.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48857 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-22 10:35:20 +00:00
Luigi Rizzo 51f9566199 make sms_hexdump() thread safe;
restructure and reduce indentation on some blocks.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48844 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-21 23:33:44 +00:00
Luigi Rizzo 250c74d10c make isodate thread-safe
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-21 22:15:03 +00:00
Luigi Rizzo 99359a4b27 - use the standard option parsing routines;
- document existing but undocumented parameters to send a message
  (untested but unchanged;

- ad a new option p(N) to set the initial message delay to N ms
  so this can be adapted from the dialplan to various countries;
 



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48825 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-21 22:03:54 +00:00
Luigi Rizzo fbe6afd136 put generator functions next to each other.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48768 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-21 19:52:18 +00:00
Steve Murphy 7b338004bf a quick fix to app_sms.c to get rid of cursed compiler warnings so I can compile under --enable-dev-mode
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-21 19:44:20 +00:00
Luigi Rizzo 1080c61d04 reduce indentation
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48752 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-21 18:54:17 +00:00
Luigi Rizzo 067573020d restructure a block to reduce nesting
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48750 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-21 18:35:22 +00:00
Luigi Rizzo 1ce6943f4f Add a bit of documentation on this code, including pointers
to relevant documents and comment on timing issues.

Initial merge of the code in

	http://bugs.digium.com/view.php?id=8586

by Filippo Grassilli (Hyppo) to support
the SMS Protocol 2.

In this commit i have tried to minimize the diffs, so further
code cleanup will come in subsequent commits.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48736 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-21 16:50:26 +00:00
Joshua Colp 1546495afc Clean up app_page
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48639 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-20 04:32:59 +00:00
Joshua Colp e54265a914 Merged revisions 48637 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48637 | file | 2006-12-19 21:56:09 -0500 (Tue, 19 Dec 2006) | 2 lines

vms doesn't exist on non-IMAP storage builds.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48638 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-20 02:58:13 +00:00
Luigi Rizzo 6ef9c2a16c more formatting cleanup.
Move some code into a function sms_compose1() in preparation
for supporting protocol 2 as well.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48599 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-20 00:13:23 +00:00
Luigi Rizzo 21556620d0 formatting and code cleanup.
Still a lot of copy&pasted code here...



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48598 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-19 23:56:08 +00:00
Joshua Colp 75b125b96e Merged revisions 48596 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r48596 | file | 2006-12-19 18:04:30 -0500 (Tue, 19 Dec 2006) | 2 lines

Pass 'vms' pointer to record_and_review so it is then passed to the IMAP store file function. (issue #8614 reported by punknow)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-19 23:05:57 +00:00
Luigi Rizzo 8a26d19b7c start documenting this code.
On passing, fix the bogus datalen on outgoing frames
just fixed in 1.4 rev.48583



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48588 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-19 21:29:55 +00:00
Luigi Rizzo 83f52ed5e2 better name for struct dial_localuser.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48581 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-19 16:36:45 +00:00
Luigi Rizzo a755ec928a introduce a temporary variable for tmp->chan to shorten expressions.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48575 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-19 09:58:40 +00:00
Luigi Rizzo 9c81431c93 stop what i think is a memory leak in case Dial fails to
connect to a channel.

Before committing to 1.4 i would like some other people to
review and test this fix - thanks.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48574 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-19 09:33:57 +00:00
Luigi Rizzo 9d4531d636 move a large block related to privacy handling to a separate function.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48573 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-19 09:15:23 +00:00
Luigi Rizzo ccebf3511c convert the final clients of ast_build_string to use ast_str_*()
Now the only module left using it is chan_sip.c



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-12-18 15:38:50 +00:00