asterisk/asterisk.git
12 years agoAdd a configure script check for spandsp
Russell Bryant [Mon, 2 Jun 2008 15:43:40 +0000 (15:43 +0000)]
Add a configure script check for spandsp

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

12 years agoMerged revisions 119742 via svnmerge from
Russell Bryant [Mon, 2 Jun 2008 14:41:55 +0000 (14:41 +0000)]
Merged revisions 119742 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119742 | russell | 2008-06-02 09:39:45 -0500 (Mon, 02 Jun 2008) | 5 lines

Improve CLI command blacklist checking for the command manager action.  Previously,
it did not handle case or whitespace properly.  This made it possible for blacklisted
commands to get executed anyway.
(closes issue #12765)

........

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

12 years agoDo not link the guest account with any configured XMPP client (in
Philippe Sultan [Mon, 2 Jun 2008 14:35:24 +0000 (14:35 +0000)]
Do not link the guest account with any configured XMPP client (in
jabber.conf). The actual connection is made when a call comes in
Asterisk.

Apply this fix to Jingle too.

Fix the ast_aji_get_client function that was not able to retrieve an
XMPP client from its JID.

(closes issue #12085)
Reported by: junky
Tested by: phsultan

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

12 years agoMerged revisions 119687 via svnmerge from
Russell Bryant [Mon, 2 Jun 2008 12:30:42 +0000 (12:30 +0000)]
Merged revisions 119687 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119687 | russell | 2008-06-02 07:30:17 -0500 (Mon, 02 Jun 2008) | 3 lines

Even of the first PING or LAGRQ doesn't get sent because it comes up too soon,
make sure to reschedule so it gets sent later.

........

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

12 years agoMerged revisions 119636 via svnmerge from
Christian Richter [Mon, 2 Jun 2008 09:35:04 +0000 (09:35 +0000)]
Merged revisions 119636 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119636 | crichter | 2008-06-02 11:29:21 +0200 (Mo, 02 Jun 2008) | 1 line

fixed compile issue when dev-mode is enabled
........

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

12 years agoMerged revisions 119585 via svnmerge from
Christian Richter [Mon, 2 Jun 2008 08:46:23 +0000 (08:46 +0000)]
Merged revisions 119585 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119585 | crichter | 2008-06-02 10:35:28 +0200 (Mo, 02 Jun 2008) | 1 line

Added counter for unhandled_bmsg Print, this prevents the logs to be flooded to fast and save CPU in this error scenario. Added 'last_used' element to bc structure, when a bchannel changes from used to free this exact time will be marked in last_used. When a new channel is requested the find_free_chan function will check if the new empty channel was used within the last second, if yes it will search for the next channel, if no it will return this channel. This simple mechanism has prooven to prevent race conditions where the NT and TE tried to allocate the exact same channel at the same time (RELEASE cause: 44).
........

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

12 years agoMerged revisions 119533 via svnmerge from
Russell Bryant [Mon, 2 Jun 2008 01:08:16 +0000 (01:08 +0000)]
Merged revisions 119533 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119533 | russell | 2008-06-01 20:06:09 -0500 (Sun, 01 Jun 2008) | 2 lines

Change a debug message to an actual debug message

........

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

12 years agoMerged revisions 119530 via svnmerge from
Russell Bryant [Mon, 2 Jun 2008 01:04:01 +0000 (01:04 +0000)]
Merged revisions 119530 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119530 | russell | 2008-06-01 20:03:22 -0500 (Sun, 01 Jun 2008) | 2 lines

Fix another typo in documentation

........

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

12 years agoMerged revisions 119478 via svnmerge from
Michiel van Baak [Sun, 1 Jun 2008 21:06:27 +0000 (21:06 +0000)]
Merged revisions 119478 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119478 | mvanbaak | 2008-06-01 22:47:55 +0200 (Sun, 01 Jun 2008) | 2 lines

small typo fix 'retires' => 'retries'

........

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

12 years agoFix a minor merge issue that caused a function to not get compiled in with
Russell Bryant [Fri, 30 May 2008 21:51:17 +0000 (21:51 +0000)]
Fix a minor merge issue that caused a function to not get compiled in with
DEBUG_THREADS like it was supposed to

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

12 years agoMerged revisions 119404 via svnmerge from
Tilghman Lesher [Fri, 30 May 2008 21:23:14 +0000 (21:23 +0000)]
Merged revisions 119404 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119404 | tilghman | 2008-05-30 16:17:45 -0500 (Fri, 30 May 2008) | 6 lines

When joinempty=strict, it only failed on join if there were busy members.  If
all members were logged out OR paused, then it (incorrectly) let callers join
the queue.
(closes issue #12451)
 Reported by: davidw

........

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

12 years agoMerged revisions 119354 via svnmerge from
Joshua Colp [Fri, 30 May 2008 19:47:30 +0000 (19:47 +0000)]
Merged revisions 119354 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119354 | file | 2008-05-30 16:46:37 -0300 (Fri, 30 May 2008) | 2 lines

Fix a bug I found while testing for another issue.

........

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

12 years agoMerged revisions 119301 via svnmerge from
Michiel van Baak [Fri, 30 May 2008 16:47:24 +0000 (16:47 +0000)]
Merged revisions 119301 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119301 | mvanbaak | 2008-05-30 18:44:39 +0200 (Fri, 30 May 2008) | 14 lines

dont use a bashism way to check the $VERSION variable.
The rc/init.d scripts, and safe_asterisk work on normal sh now again.
Tested on:
OpenBSD 4.2 (me)
Debian etch (me)
Ubuntu Hardy (me and loloski)
FC9 (loloski)

(closes issue #12687)
Reported by: loloski
Patches:
      20080529-12687-safe_asterisk-fixversion.diff.txt uploaded by mvanbaak (license 7)
  Tested by: loloski, mvanbaak

........

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

12 years agoSuppress warning about pbx structure already existing
Tilghman Lesher [Fri, 30 May 2008 16:40:13 +0000 (16:40 +0000)]
Suppress warning about pbx structure already existing

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

12 years agoAdd native AGI command GOSUB, as invoking Gosub with EXEC does not work
Tilghman Lesher [Fri, 30 May 2008 16:10:46 +0000 (16:10 +0000)]
Add native AGI command GOSUB, as invoking Gosub with EXEC does not work
properly.
(closes issue #12760)
 Reported by: Corydon76
 Patches:
       20080530__bug12760.diff.txt uploaded by Corydon76 (license 14)
 Tested by: tim_ringenbach, Corydon76

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

12 years agoMerged revisions 119238 via svnmerge from
Russell Bryant [Fri, 30 May 2008 12:59:11 +0000 (12:59 +0000)]
Merged revisions 119238 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r119238 | russell | 2008-05-30 07:55:36 -0500 (Fri, 30 May 2008) | 15 lines

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

........
r119237 | russell | 2008-05-30 07:49:39 -0500 (Fri, 30 May 2008) | 7 lines

- Instead of only enforcing destination call number checking on an ACK, check
  all full frames except for PING and LAGRQ, which may be sent by older versions
  too quickly to contain the destination call number.
  (As suggested by Tim Panton on the asterisk-dev list)
- Merge changes from team/russell/iax2-frame-race, which prevents PING and LAGRQ
  from being sent before the destination call number is known.

........

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

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

12 years agoPrefer T140 with REDundance before T140 without.
Olle Johansson [Fri, 30 May 2008 11:26:05 +0000 (11:26 +0000)]
Prefer T140 with REDundance before T140 without.

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

12 years agoMerged revisions 119156 via svnmerge from
Russell Bryant [Thu, 29 May 2008 22:28:50 +0000 (22:28 +0000)]
Merged revisions 119156 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119156 | russell | 2008-05-29 17:24:29 -0500 (Thu, 29 May 2008) | 10 lines

Fix a race condition in channel autoservice.  There was still a small window of opportunity
for a DTMF frame, or some other deferred frame type, to come in and get dropped.

(closes issue #12656)
(closes issue #12656)
Reported by: dimas
Patches:
      v3-12656.patch uploaded by dimas (license 88)
  -- with some modifications by me

........

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

12 years agoAdds support for changing logger settingss on remote consoles with a
Brett Bryant [Thu, 29 May 2008 21:30:37 +0000 (21:30 +0000)]
Adds support for changing logger settingss on remote consoles with a
new command "logger set level".

i.e. "logger set level debug off"

(closes issue #10891)

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

12 years agoBlocked revisions 119076 via svnmerge
Russell Bryant [Thu, 29 May 2008 20:49:48 +0000 (20:49 +0000)]
Blocked revisions 119076 via svnmerge

........
r119076 | russell | 2008-05-29 15:48:33 -0500 (Thu, 29 May 2008) | 3 lines

Oddly enough, all of the contents of audiohook.h were in there twice.  I have
removed the second copy.

........

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

12 years agoHad to move the ASTERISK_FILE_VERSION decl to just after the include of "asterisk.h"
Steve Murphy [Thu, 29 May 2008 20:26:42 +0000 (20:26 +0000)]
Had to move the ASTERISK_FILE_VERSION decl to just after the include of "asterisk.h"
or you get undefined variable errors when you are compiling under the influence
of MTX_PROFILE

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

12 years agoMerged revisions 119071 via svnmerge from
Tilghman Lesher [Thu, 29 May 2008 20:25:33 +0000 (20:25 +0000)]
Merged revisions 119071 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119071 | tilghman | 2008-05-29 15:24:11 -0500 (Thu, 29 May 2008) | 7 lines

Call waiting tone occurs too often, because it's getting serviced by both
subchannels.
(closes issue #11354)
 Reported by: cahen
 Patches:
       20080512__bug11354.diff.txt uploaded by Corydon76 (license 14)

........

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

12 years agoMake sure the nrfds and nefds are reset to NULL
Michiel van Baak [Thu, 29 May 2008 19:10:31 +0000 (19:10 +0000)]
Make sure the nrfds and nefds are reset to NULL
before we enter manage_parkinglot.
This will get rid of CLI warnings like:
__ast_read: Exception flag set on 'SIP/<NUMBER>-<ID>', but no exception handler

(closes issue #12748)
Reported by: nreinartz
Patches:
      asterisk-multiparking_initialize_filedescr_sets-0.0.1.patch uploaded by nreinartz (license 452)

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

12 years agoMerged revisions 119012 via svnmerge from
Russell Bryant [Thu, 29 May 2008 19:05:33 +0000 (19:05 +0000)]
Merged revisions 119012 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119012 | russell | 2008-05-29 14:04:52 -0500 (Thu, 29 May 2008) | 4 lines

 - Fix a typo in the argument to Playtones
 - use ast_safe_sleep() instead of calling the wait application
(thanks to tilghman for pointing these out!)

........

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

12 years agoMerged revisions 119009 via svnmerge from
Russell Bryant [Thu, 29 May 2008 18:54:11 +0000 (18:54 +0000)]
Merged revisions 119009 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r119009 | russell | 2008-05-29 13:49:12 -0500 (Thu, 29 May 2008) | 16 lines

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

........
r119008 | russell | 2008-05-29 13:45:21 -0500 (Thu, 29 May 2008) | 7 lines

Merge changes from team/russell/iax2-another-fix-to-the-fix

As described in the following post to the asterisk-dev mailing list, only
enforce destination call numbers when processing an ACK.

http://lists.digium.com/pipermail/asterisk-dev/2008-May/033217.html

(closes issue #12631)
........

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

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

12 years agoMerged revisions 118961 via svnmerge from
Russell Bryant [Thu, 29 May 2008 17:52:00 +0000 (17:52 +0000)]
Merged revisions 118961 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r118961 | russell | 2008-05-29 12:51:29 -0500 (Thu, 29 May 2008) | 3 lines

 - Mark app_milliwatt dependent on res_indications (thanks to jsmith)
 - fix a typo in a log message (thanks to qwell)

........

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

12 years agoMerged revisions 118956 via svnmerge from
Russell Bryant [Thu, 29 May 2008 17:46:04 +0000 (17:46 +0000)]
Merged revisions 118956 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r118956 | russell | 2008-05-29 12:38:38 -0500 (Thu, 29 May 2008) | 3 lines

Change milliwatt to use the proper tone by default (1004 Hz) instead of 1000 Hz.
An option is there to use 1000 Hz for anyone that might want it.

........

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

12 years agoMerged revisions 118954 via svnmerge from
Tilghman Lesher [Thu, 29 May 2008 17:39:50 +0000 (17:39 +0000)]
Merged revisions 118954 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r118954 | tilghman | 2008-05-29 12:33:01 -0500 (Thu, 29 May 2008) | 2 lines

Define also when not DEBUG_THREADS

........

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

12 years agoMerged revisions 118953 via svnmerge from
Tilghman Lesher [Thu, 29 May 2008 17:35:19 +0000 (17:35 +0000)]
Merged revisions 118953 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r118953 | tilghman | 2008-05-29 12:20:16 -0500 (Thu, 29 May 2008) | 3 lines

Add some debugging code that ensures that when we do deadlock avoidance, we
don't lose the information about how a lock was originally acquired.

........

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

12 years agoAvoid build warning when execinfo.h isn't available.
Sean Bright [Thu, 29 May 2008 12:12:07 +0000 (12:12 +0000)]
Avoid build warning when execinfo.h isn't available.

(closes issue #12751)
Reported by: ys
Patches:
      check_expr.diff uploaded by ys (license 281)

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

12 years agoMerged revisions 118858 via svnmerge from
Steve Murphy [Thu, 29 May 2008 01:29:09 +0000 (01:29 +0000)]
Merged revisions 118858 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r118858 | murf | 2008-05-28 18:25:28 -0600 (Wed, 28 May 2008) | 46 lines

(closes issue #10668)
(closes issue #11721)
(closes issue #12726)
Reported by: arkadia
Tested by: murf

These changes:

1. revert the changes made via bug 10668;
   I should have known that such changes,
   even tho they made sense at the time,
   seemed like an omission, etc, were actually
   integral to the CDR system via forkCDR.
   It makes sense to me now that forkCDR didn't
   natively end any CDR's, but rather depended
   on natively closing them all at hangup time
   via traversing and closing them all, whether
   locked or not. I still don't completely
   understand the benefits of setvar and answer
   operating on locked cdrs, but I've seen
   enough to revert those changes also, and
   stop messing up users who depended on that
   behavior. bug 12726 found reverting the changes
   fixed his changes, and after a long review
   and working on forkCDR, I can see why.
2. Apply the suggested enhancements proposed
   in 10668, but in a completely compatible
   way. ForkCDR will behave exactly as before,
   but now has new options that will allow some
   actions to be taken that will slightly
   modify the outcome and side-effects of
   forkCDR. Based on conversations I've had
   with various people, these small tweaks
   will allow some users to get the behavior
   they need. For instance, users executing
   forkCDR in an AGI script will find the
   answer time set, and DISPOSITION set,
   a situation not covered when the routines
  were first written.
3. A small problem in the cdr serializer
   would output answer and end times even
   when they were not set. This is now
   fixed.

........

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

12 years agoformatting changes.
Michiel van Baak [Wed, 28 May 2008 22:05:58 +0000 (22:05 +0000)]
formatting changes.
A lot of whitespace issues have been resolved in this commit
Also some doc updates, but that's only 6 lines

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

12 years agorename DialTone.h to chan_phone.h because chan_phone.c is the only file using it
Michiel van Baak [Wed, 28 May 2008 20:00:21 +0000 (20:00 +0000)]
rename DialTone.h to chan_phone.h because chan_phone.c is the only file using it

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

12 years agoUpdate to the janitor project for making sure to be thread-safe when
Mark Michelson [Wed, 28 May 2008 19:56:18 +0000 (19:56 +0000)]
Update to the janitor project for making sure to be thread-safe when
retrieving the value of a channel variable. This covers app_queue.

This commit also incorporates a logical change. Previously, if MixMonitor
is to be used to record the call, all the arguments were parsed first. Then
the MixMonitor app would be located. Now the order of these operations has
been swapped. Now the app is located first so that we only go through the
work of parsing the arguments if the app was found.

(closes issue #12742)
Reported by: snuffy
Patches:
      bug_12742.diff uploaded by snuffy (license 35)

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

12 years agoremove unused astobj.h header file from chan_skinny.c
Michiel van Baak [Wed, 28 May 2008 17:58:21 +0000 (17:58 +0000)]
remove unused astobj.h header file from chan_skinny.c

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

12 years agoFixes a bug in chan_iax that uses send_command to poke a peer while a channel is...
Brett Bryant [Wed, 28 May 2008 16:01:05 +0000 (16:01 +0000)]
Fixes a bug in chan_iax that uses send_command to poke a peer while a channel is unlocked in some cases, and because it can cause seemingly
random failures could be related to some bugs in the tracker...

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

12 years agoFix a linkage error related to the lock backtrace support
Russell Bryant [Wed, 28 May 2008 15:56:41 +0000 (15:56 +0000)]
Fix a linkage error related to the lock backtrace support

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

12 years agoMerged revisions 118646 via svnmerge from
Joshua Colp [Wed, 28 May 2008 14:29:01 +0000 (14:29 +0000)]
Merged revisions 118646 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r118646 | file | 2008-05-28 11:23:34 -0300 (Wed, 28 May 2008) | 4 lines

Add an option to use the source IP address of RTP as the destination IP address of UDPTL when a specific option is enabled. If the remote side is properly configured (ports forwarded) then UDPTL will flow.
(closes issue #10417)
Reported by: cstadlmann

........

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

12 years agoChanged to temporary namespaces to match with latest XEPs. As soon as
Philippe Sultan [Wed, 28 May 2008 14:10:48 +0000 (14:10 +0000)]
Changed to temporary namespaces to match with latest XEPs. As soon as
Jingle is completely standardized, we can set those namespaces to their
final values.

Added two attributes to the jingle_pvt struct to store the content
name attributes. Reported by Robert McQueen on Telepathy's framework
mailing list :
http://lists.freedesktop.org/archives/telepathy/2008-May/001971.html

Keeping working on our Jingle stack!

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

12 years agoCode simplification
Philippe Sultan [Wed, 28 May 2008 08:39:10 +0000 (08:39 +0000)]
Code simplification

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

12 years agoRemove loop from the detection of a sequence number that acknowledges
Brett Bryant [Tue, 27 May 2008 19:45:41 +0000 (19:45 +0000)]
Remove loop from the detection of a sequence number that acknowledges
the receiving of a packet that we've kept in memory just incase the
packet needs to be retransmitted.

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

12 years agoMerged revisions 118558 via svnmerge from
Joshua Colp [Tue, 27 May 2008 19:34:14 +0000 (19:34 +0000)]
Merged revisions 118558 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r118558 | file | 2008-05-27 16:32:38 -0300 (Tue, 27 May 2008) | 4 lines

Fix an issue where codec preferences were not set on dialogs that were not authenticated via a user or peer and allow framing to work without rtpmap in the SDP.
(closes issue #12501)
Reported by: slimey

........

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

12 years agoAdd printf format attribute for vasprintf().
Russell Bryant [Tue, 27 May 2008 19:27:48 +0000 (19:27 +0000)]
Add printf format attribute for vasprintf().
(closes issue #12729)
Reported by: snuffy
Patches:
      bug_12729.diff uploaded by snuffy (license 35)

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

12 years agoMerged revisions 118551 via svnmerge from
Tilghman Lesher [Tue, 27 May 2008 19:21:03 +0000 (19:21 +0000)]
Merged revisions 118551 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r118551 | tilghman | 2008-05-27 14:15:27 -0500 (Tue, 27 May 2008) | 6 lines

When showing an error message for a command, don't shorten the command output,
as it tends to confuse the user (it's fine for suggesting other commands,
however).
 Reported by: seanbright (on #asterisk-dev)
 Fixed by: me

........

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

12 years agoMerged revisions 118509 via svnmerge from
Mark Michelson [Tue, 27 May 2008 19:08:24 +0000 (19:08 +0000)]
Merged revisions 118509 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r118509 | mmichelson | 2008-05-27 14:07:26 -0500 (Tue, 27 May 2008) | 11 lines

Russell noted to me that in the case that separate threads use their
own addressing system, the fix I made for issue 12376 does not guarantee
uniqueness to the datastores' uids. Though I know of no system that works
this way, I am going to change this right now to prevent trying to track
down some future bug that may occur and cause untold hours of debugging
time to track down.

The change involves using a global counter which increases with each new
chanspy_ds which is created. This guarantees uniqueness.

........

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

12 years agoMerged revisions 118465 via svnmerge from
Tilghman Lesher [Tue, 27 May 2008 18:59:06 +0000 (18:59 +0000)]
Merged revisions 118465 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r118465 | tilghman | 2008-05-27 13:58:09 -0500 (Tue, 27 May 2008) | 8 lines

NULL character should terminate only commands back to the core, not log
messages to the console.
(closes issue #12731)
 Reported by: seanbright
 Patches:
       20080527__bug12731.diff.txt uploaded by Corydon76 (license 14)
 Tested by: seanbright

........

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

12 years agoZap is now DAHDI, mkay
Michiel van Baak [Tue, 27 May 2008 17:33:21 +0000 (17:33 +0000)]
Zap is now DAHDI, mkay

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

12 years agosmall update to the g() option of app_voicemail to
Michiel van Baak [Tue, 27 May 2008 17:21:12 +0000 (17:21 +0000)]
small update to the g() option of app_voicemail to
note that gain changes only work on zap channels right now.
issue #12578 shows it's not clear right now.

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

12 years agoMerged revisions 118365 via svnmerge from
Mark Michelson [Tue, 27 May 2008 16:43:36 +0000 (16:43 +0000)]
Merged revisions 118365 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r118365 | mmichelson | 2008-05-27 11:38:38 -0500 (Tue, 27 May 2008) | 14 lines

Add a unique id to the datastore allocated in app_chanspy since
it is possible that multiple spies may be listening to the same
channel.

(closes issue #12376)
Reported by: DougUDI
Patches:
      12376_chanspy_uid.diff uploaded by putnopvut (license 60)
Tested by: destiny6628

(closes issue #12243)
Reported by: atis

........

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

12 years agoMerged revisions 118358 via svnmerge from
Tilghman Lesher [Tue, 27 May 2008 15:46:58 +0000 (15:46 +0000)]
Merged revisions 118358 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r118358 | tilghman | 2008-05-27 10:45:37 -0500 (Tue, 27 May 2008) | 3 lines

Add a note that pbx_config.so is needed for Local channels.
(Closes issue #12671)

........

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

12 years agoAdd printf attribute to asprintf
Russell Bryant [Tue, 27 May 2008 14:51:13 +0000 (14:51 +0000)]
Add printf attribute to asprintf

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

12 years agoWhen binding anonymously, credentials are still needed.
Tilghman Lesher [Tue, 27 May 2008 13:30:10 +0000 (13:30 +0000)]
When binding anonymously, credentials are still needed.
(closes issue #12601)
 Reported by: suretec
 Patches:
       res_config_ldap.c.patch uploaded by suretec (license 70)

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

12 years agoIn compat14 mode, don't translate pipes inside expressions, as they aren't
Tilghman Lesher [Tue, 27 May 2008 13:13:17 +0000 (13:13 +0000)]
In compat14 mode, don't translate pipes inside expressions, as they aren't
argument delimiters, but rather 'or' symbols.
(Closes issue #12723)

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

12 years agoMerged revisions 118251 via svnmerge from
Tilghman Lesher [Sun, 25 May 2008 16:17:05 +0000 (16:17 +0000)]
Merged revisions 118251 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r118251 | tilghman | 2008-05-25 11:02:04 -0500 (Sun, 25 May 2008) | 12 lines

Realtime flag affects construction in multiple ways, so consulting whether
rtcachefriends was set was done too soon (needed to be done inside build_peer,
not just as a flag to build_peer).
Also, fullcontact needed to be reconstructed, because realtime separates the
embedded ';' into multiple fields.
(closes issue #12722)
 Reported by: barthpbx
 Patches:
       20080525__bug12722.diff.txt uploaded by Corydon76 (license 14)
 Tested by: barthpbx
 (Much of the discussion happened on #asterisk-dev for diagnosing this issue)

........

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

12 years agoChange space-zero to now evaluate to false, as is expected by a great many.
Tilghman Lesher [Sun, 25 May 2008 14:31:29 +0000 (14:31 +0000)]
Change space-zero to now evaluate to false, as is expected by a great many.
(Inspired by a post on the -users list)

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

12 years agoadd document describing API changes from 1.4.0 to 1.6.0
Jeff Peeler [Sat, 24 May 2008 01:14:41 +0000 (01:14 +0000)]
add document describing API changes from 1.4.0 to 1.6.0

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

12 years agoFixes segfault in parking, patch submitted by bmd.
Jeff Peeler [Sat, 24 May 2008 00:37:01 +0000 (00:37 +0000)]
Fixes segfault in parking, patch submitted by bmd.

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

12 years agoMake sure not to include non-existent headers if they indeed are non-existent
Mark Michelson [Fri, 23 May 2008 22:41:28 +0000 (22:41 +0000)]
Make sure not to include non-existent headers if they indeed are non-existent

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

12 years agoA new feature thanks to the fine folks at Switchvox!
Mark Michelson [Fri, 23 May 2008 22:35:50 +0000 (22:35 +0000)]
A new feature thanks to the fine folks at Switchvox!

If a deadlock is detected, then the typical lock information will be
printed along with a backtrace of the stack for the offending threads.
Use of this requires compiling with DETECT_DEADLOCKS and having glibc
installed.

Furthermore, issuing the "core show locks" CLI command will print the
normal lock information as well as a backtraces for each lock. This
requires that DEBUG_THREADS is enabled and that glibc is installed.

All the backtrace features may be disabled by running the configure
script with --without-execinfo as an argument

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

12 years agoMerged revisions 118163 via svnmerge from
Jeff Peeler [Fri, 23 May 2008 21:26:39 +0000 (21:26 +0000)]
Merged revisions 118163 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r118163 | jpeeler | 2008-05-23 16:21:35 -0500 (Fri, 23 May 2008) | 1 line

Fix a few things I missed to ensure zt_chan_conf structure is not modified in mkintf
........

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

12 years agoAdd new functionality to http server that requires manager authentication for any...
Brett Bryant [Fri, 23 May 2008 21:19:42 +0000 (21:19 +0000)]
Add new functionality to http server that requires manager authentication for any path that includes a directory named 'private'. This patch also
requires manager authentication for any POST's being sent to the server as well to help secure uploads.

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

12 years agoGet rid of warnings for those silly compilers which warn when freeing
Mark Michelson [Fri, 23 May 2008 20:55:02 +0000 (20:55 +0000)]
Get rid of warnings for those silly compilers which warn when freeing
a const pointer

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

12 years agoUse a deep copy on strings that come from ast_events. Otherwise it is
Mark Michelson [Fri, 23 May 2008 19:57:40 +0000 (19:57 +0000)]
Use a deep copy on strings that come from ast_events. Otherwise it is
likely that after the event is freed, we no longer refer to valid memory.

(closes issue #12712)
Reported by: tomo1657
Patches:
      12712.patch uploaded by putnopvut (license 60)
Tested by: tomo1657

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

12 years agoProtect the object from changing while the 'odbc show' CLI command is running
Tilghman Lesher [Fri, 23 May 2008 18:09:14 +0000 (18:09 +0000)]
Protect the object from changing while the 'odbc show' CLI command is running
(Closes issue #12704)

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

12 years agoadd option 'a' to chanisavail.
Michiel van Baak [Fri, 23 May 2008 17:12:04 +0000 (17:12 +0000)]
add option 'a' to chanisavail.
If you give chanisavail a list of channels, it will only
return the first available channel.
When this option is set, it will return all the available
channels from the given list.

(closes issue #12248)
Reported by: dagmoller
Patches:
      app_chanisavail-snv.patch-v2.txt uploaded by dagmoller (license 436)
   - major changes by me because russellb pointed out some buffer overflows
     and codeguideline issues.
 Converted it all to the ast_str_* api
Tested by: dagmoller, mvanbaak

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

12 years agoBlocked revisions 118055 via svnmerge
Tilghman Lesher [Fri, 23 May 2008 13:20:13 +0000 (13:20 +0000)]
Blocked revisions 118055 via svnmerge

........
r118055 | tilghman | 2008-05-23 08:18:44 -0500 (Fri, 23 May 2008) | 2 lines

Add format type checking for recently de-inlined function

........

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

12 years agoMerged revisions 118052 via svnmerge from
Tilghman Lesher [Fri, 23 May 2008 13:00:10 +0000 (13:00 +0000)]
Merged revisions 118052 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r118052 | tilghman | 2008-05-23 07:59:16 -0500 (Fri, 23 May 2008) | 3 lines

Add information on using the Asterisk console, including tab command line
completion.  (Closes issue #12681)

........

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

12 years agoMerged revisions 118048 via svnmerge from
Russell Bryant [Fri, 23 May 2008 12:37:31 +0000 (12:37 +0000)]
Merged revisions 118048 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r118048 | russell | 2008-05-23 07:30:53 -0500 (Fri, 23 May 2008) | 9 lines

Don't declare a function that takes variable arguments as inline, because it's
not valid, and on some compilers, will emit a warning.

http://gcc.gnu.org/onlinedocs/gcc/Inline.html#Inline

(closes issue #12289)
Reported by: francesco_r
Patches by Tilghman, final patch by me

........

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

12 years ago- remove whitespaces between tags in received XML packets before giving
Philippe Sultan [Fri, 23 May 2008 10:33:21 +0000 (10:33 +0000)]
- remove whitespaces between tags in received XML packets before giving
them to the parser ;
- report Gtalk error messages from a buddy to the console.

This patch makes Asterisk "Google Jingle" (chan_gtalk) implementation
work with Empathy. Note that this is only true for audio streams, not
video.

Thank you to PH for his great help!

(closes issue #12647)
Reported by: PH
Patches:
      trunk-12647-1.diff uploaded by phsultan (license 73)
Tested by: phsultan, PH

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

12 years agoSplit the compile flags out and wire up some dependencies
Sean Bright [Thu, 22 May 2008 21:43:54 +0000 (21:43 +0000)]
Split the compile flags out and wire up some dependencies

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

12 years agoAdd a compatibility option for upgrading realtime extensions
Tilghman Lesher [Thu, 22 May 2008 21:42:50 +0000 (21:42 +0000)]
Add a compatibility option for upgrading realtime extensions

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

12 years agoFix trunk breakage
Tilghman Lesher [Thu, 22 May 2008 21:27:00 +0000 (21:27 +0000)]
Fix trunk breakage

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

12 years agoA couple more places the frame data change was missed.
Sean Bright [Thu, 22 May 2008 20:01:33 +0000 (20:01 +0000)]
A couple more places the frame data change was missed.

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

12 years agoMerged revisions 117899 via svnmerge from
Tilghman Lesher [Thu, 22 May 2008 18:54:41 +0000 (18:54 +0000)]
Merged revisions 117899 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r117899 | tilghman | 2008-05-22 13:53:53 -0500 (Thu, 22 May 2008) | 2 lines

Also remove preamble from asynchronous events (reported by jsmith on #asterisk-dev)

........

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

12 years agoone more place I forgot
Michiel van Baak [Thu, 22 May 2008 17:50:40 +0000 (17:50 +0000)]
one more place I forgot

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

12 years agochan_console fixes because of ast_frame.data => ast_frame.data.ptr
Michiel van Baak [Thu, 22 May 2008 17:16:08 +0000 (17:16 +0000)]
chan_console fixes because of ast_frame.data => ast_frame.data.ptr

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

12 years agoFix a few places where frame data was used directly.
Jason Parker [Thu, 22 May 2008 17:10:53 +0000 (17:10 +0000)]
Fix a few places where frame data was used directly.

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

12 years agooops
Michiel van Baak [Thu, 22 May 2008 17:08:18 +0000 (17:08 +0000)]
oops

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

12 years agoforgot chan_misdn
Michiel van Baak [Thu, 22 May 2008 17:06:00 +0000 (17:06 +0000)]
forgot chan_misdn

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

12 years agoBlocked revisions 117809 via svnmerge
Tilghman Lesher [Thu, 22 May 2008 16:50:32 +0000 (16:50 +0000)]
Blocked revisions 117809 via svnmerge

........
r117809 | tilghman | 2008-05-22 11:47:03 -0500 (Thu, 22 May 2008) | 6 lines

Take into account the length of delimiters when calculating result string length.
(closes issue #12696)
 Reported by: adomjan
 Patches:
       func_realtime.c-longdelimiter.patch uploaded by adomjan (license 487)

........

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

12 years ago- revert change to ast_queue_hangup and create ast_queue_hangup_with_cause
Michiel van Baak [Thu, 22 May 2008 16:29:54 +0000 (16:29 +0000)]
- revert change to ast_queue_hangup and create ast_queue_hangup_with_cause
- make data member of the ast_frame struct a named union instead of a void

Recently the ast_queue_hangup function got a new parameter, the hangupcause
Feedback came in that this is no good and that instead a new function should be created.
This I did.

The hangupcause was stored in the seqno member of the ast_frame struct. This is not very
elegant, and since there's already a data member that one should be used.
Problem is, this member was a void *.
Now it's a named union so it can hold a pointer, an uint32 and there's a padding in case someone
wants to store another type in there in the future.

This commit is so massive, because all ast_frame.data uses have to be
altered to ast_frame.data.data

Thanks russellb and kpfleming for the feedback.

(closes issue #12674)
Reported by: mvanbaak

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

12 years agoCommitting a fix pointed out by Atis Lezdins on the asterisk-dev list. Thanks!
Mark Michelson [Thu, 22 May 2008 16:05:18 +0000 (16:05 +0000)]
Committing a fix pointed out by Atis Lezdins on the asterisk-dev list. Thanks!

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

12 years agoMinor text fix. roster -> resource.
Sean Bright [Thu, 22 May 2008 15:49:17 +0000 (15:49 +0000)]
Minor text fix.  roster -> resource.

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

12 years agoStore build-time options as a string in AST_BUILDOPTS in buildopts.h. Also,
Russell Bryant [Thu, 22 May 2008 13:40:52 +0000 (13:40 +0000)]
Store build-time options as a string in AST_BUILDOPTS in buildopts.h.  Also,
display this information in the "core show settings" CLI command.  This is
useful if you want to verify that you're running a build with DONT_OPTIMIZE,
DEBUG_THREADS, etc.

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

12 years agoEnhance ExternalIVR with new options and commands.
Tilghman Lesher [Thu, 22 May 2008 05:10:01 +0000 (05:10 +0000)]
Enhance ExternalIVR with new options and commands.
(closes issue #12705)
 Reported by: ctooley
 Patches:
       new_externalivr_argument_format-v2.diff uploaded by ctooley (license 136)
       new_externalivr_documentation.diff uploaded by ctooley (license 136)
       and a few additional fixes by me

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

12 years agoThis change makes it so that logs will report the correct source of verbose messages.
Mark Michelson [Wed, 21 May 2008 22:34:27 +0000 (22:34 +0000)]
This change makes it so that logs will report the correct source of verbose messages.
Until this change, all verbose messages in Asterisk's log files reported logger.c
as the source of the message.

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

12 years agoMerged revisions 117582 via svnmerge from
Jeff Peeler [Wed, 21 May 2008 21:31:17 +0000 (21:31 +0000)]
Merged revisions 117582 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r117582 | jpeeler | 2008-05-21 15:11:14 -0500 (Wed, 21 May 2008) | 2 lines

Ensure that passed in zt_chan_conf structure is not modified in mkintf.

........

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

12 years agoMerged revisions 117462 via svnmerge from
Jeff Peeler [Wed, 21 May 2008 20:44:04 +0000 (20:44 +0000)]
Merged revisions 117462 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r117462 | jpeeler | 2008-05-21 11:58:40 -0500 (Wed, 21 May 2008) | 3 lines

Pass a pointer for the conf parameter to the function mkintf rather than the whole zt_chan_conf structure.
Another commit is following to make sure the zt_chan_conf structure is not modified.

........

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

12 years agoAdd a new manager event, AgentRingNoAnswer to
Mark Michelson [Wed, 21 May 2008 20:27:45 +0000 (20:27 +0000)]
Add a new manager event, AgentRingNoAnswer to
app_queue.

(closes issue #12591)
Reported by: CCHAsteria
Patches:
      app_queue_RNA_event.diff uploaded by CCHAsteria (license 477)

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

12 years agoMerged revisions 117574 via svnmerge from
Joshua Colp [Wed, 21 May 2008 19:39:42 +0000 (19:39 +0000)]
Merged revisions 117574 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r117574 | file | 2008-05-21 16:38:28 -0300 (Wed, 21 May 2008) | 2 lines

Apply the autoframing setting to dialogs that do not get matched against a user or peer.

........

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

12 years agoBlocked revisions 117523 via svnmerge
Tilghman Lesher [Wed, 21 May 2008 18:45:26 +0000 (18:45 +0000)]
Blocked revisions 117523 via svnmerge

........
r117523 | tilghman | 2008-05-21 13:44:53 -0500 (Wed, 21 May 2008) | 2 lines

Revert accidental commit of the last change

........

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

12 years agoMerged revisions 117519 via svnmerge from
Tilghman Lesher [Wed, 21 May 2008 18:43:26 +0000 (18:43 +0000)]
Merged revisions 117519 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r117519 | tilghman | 2008-05-21 13:40:14 -0500 (Wed, 21 May 2008) | 3 lines

Strip the preamble from the output also when -rx is not being used
(Related to issue #12702)

........

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

12 years agoOptimize the update_realtime_member_field function by not having
Mark Michelson [Wed, 21 May 2008 18:31:05 +0000 (18:31 +0000)]
Optimize the update_realtime_member_field function by not having
to query the database for the member and instead using a cached
uniqueid.

Special thanks to atis for creating this and for keeping it up
to date with necessary changes

(closes issue #11896)
Reported by: atis
Patches:
      realtime_uniqueid_v6.patch uploaded by atis (license 242)
Tested by: atis

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

12 years agoMerged revisions 117514 via svnmerge from
Russell Bryant [Wed, 21 May 2008 18:29:05 +0000 (18:29 +0000)]
Merged revisions 117514 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r117514 | russell | 2008-05-21 13:28:46 -0500 (Wed, 21 May 2008) | 4 lines

Don't filter the magic character in the network verboser.  It gets filtered
once it reaches the client.
(related to issue #12702, pointed out by tilghman)

........

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

12 years agoMerged revisions 117507 via svnmerge from
Russell Bryant [Wed, 21 May 2008 18:20:11 +0000 (18:20 +0000)]
Merged revisions 117507 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r117507 | russell | 2008-05-21 13:19:34 -0500 (Wed, 21 May 2008) | 7 lines

1) Don't print the verbose marker in front of every message from ast_verbose()
   being sent to remote consoles.

2) Fix pbx_gtkconsole to filter out the verbose marker.

(related to issue #12702)

........

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

12 years agoMerged revisions 117479 via svnmerge from
Russell Bryant [Wed, 21 May 2008 18:12:19 +0000 (18:12 +0000)]
Merged revisions 117479 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r117479 | russell | 2008-05-21 13:11:51 -0500 (Wed, 21 May 2008) | 6 lines

Don't display the verbose marker for calls to ast_verbose() that do not include
a VERBOSE_PREFIX in front of the message.
(closes issue #12702)
Reported by: johnlange
Patched by me

........

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

12 years agoOn socket-based connections, there is no error FD, so don't try waiting on one.
Tilghman Lesher [Wed, 21 May 2008 13:39:41 +0000 (13:39 +0000)]
On socket-based connections, there is no error FD, so don't try waiting on one.
(closes issue #12697)
 Reported by: ctooley
 Patches:
       fix_externalivr_waitfor_nandfds-v3.diff uploaded by ctooley (license 136)

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

12 years agodo not die on SDL_ACTIVEEVENT reporting lost focus.
Luigi Rizzo [Wed, 21 May 2008 11:24:50 +0000 (11:24 +0000)]
do not die on SDL_ACTIVEEVENT reporting lost focus.

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

12 years agoBe sure that we cache included files for each source file which loads
Mark Michelson [Wed, 21 May 2008 02:20:31 +0000 (02:20 +0000)]
Be sure that we cache included files for each source file which loads
a configuration file.  As it was, only the first did so. This led to
a problem if the included file was changed (but not the configuration
file which includes it) and the second source file attempted to reload
the configuration. It would not see that the included file had changed.

In this particular example, res_phoneprov and chan_sip both loaded
sip.conf, which included a file call sip.peers.conf. Since res_phoneprov
was the first to load sip.conf, only it cached the fact that sip.conf
included sip.peers.conf. If sip.peers.conf were changed and sip.conf were
not and a sip reload were issued (meaning that chan_sip attempts to
reload sip.conf only if it and its included files have changed) the changes
made to sip.peers.conf would not be seen and therefore no action would be
taken.

(closes issue #12693)
Reported by: marsosa

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

12 years agoThese changes were made via the comments atis_work made at 4:30am (Mountain Time...
Steve Murphy [Wed, 21 May 2008 01:00:28 +0000 (01:00 +0000)]
These changes were made via the comments atis_work made at 4:30am (Mountain Time zone- US)
in #asterisk-dev on 20 May 2008. He noted that a backslash was being inserted before commas
in app call arguments in the extensions.conf.aeldump file that you get from aelparse with the
-w arg. This was being generated from code left over from 1.4, where commas were substituted
with '|', and any remaining commas needed to be escaped.

Many thanks to atis for his comment; please let us know if these changes break anything!

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