asterisk/asterisk.git
13 years agoMerged revisions 53093 via svnmerge from
Russell Bryant [Thu, 1 Feb 2007 21:27:22 +0000 (21:27 +0000)]
Merged revisions 53093 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53093 | russell | 2007-02-01 15:24:52 -0600 (Thu, 01 Feb 2007) | 2 lines

Fix the FIELDQTY function to not crash. (reported by blitzrage and Corydon on IRC)

........

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

13 years agoMerged revisions 53085 via svnmerge from
Olle Johansson [Thu, 1 Feb 2007 21:17:08 +0000 (21:17 +0000)]
Merged revisions 53085 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53085 | oej | 2007-02-01 22:05:34 +0100 (Thu, 01 Feb 2007) | 4 lines

- Clean INC_COUNT flag when we decrement call counter
- If it's still set at time of dialog destruction, make sure we decrement the device call counter properly
  before we destroy the dialog

........

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

13 years agoMerged revisions 53088 via svnmerge from
Joshua Colp [Thu, 1 Feb 2007 21:12:26 +0000 (21:12 +0000)]
Merged revisions 53088 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r53088 | file | 2007-02-01 15:11:28 -0600 (Thu, 01 Feb 2007) | 10 lines

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

........
r53084 | file | 2007-02-01 15:03:10 -0600 (Thu, 01 Feb 2007) | 2 lines

Return previous behavior of having MOH pick up where it was left off. (issue #8672 reported by sinistermidget)

........

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

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

13 years agoBlocked revisions 53086 via svnmerge
Joshua Colp [Thu, 1 Feb 2007 21:10:03 +0000 (21:10 +0000)]
Blocked revisions 53086 via svnmerge

........
r53086 | file | 2007-02-01 15:06:02 -0600 (Thu, 01 Feb 2007) | 2 lines

Make func_strings build under dev mode. Didn't I do this today already in the berkeley DB?

........

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

13 years agoMerged revisions 53081 via svnmerge from
Olle Johansson [Thu, 1 Feb 2007 20:44:49 +0000 (20:44 +0000)]
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

13 years agoImplementing "busy-limit".
Olle Johansson [Thu, 1 Feb 2007 20:43:49 +0000 (20:43 +0000)]
Implementing "busy-limit".

If you set call limit and busy limit, chan_sip will indicate BUSY for a device
that has reached the busy limit and allow calls up to the call limit, allowing
for call transfers (that generate a new call).

If you only set call limit, chan_sip will not indicate BUSY until that limit
is filled.

This affects SIP subscriptions, call queues and manager applications.

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

13 years agoMerged revisions 53079 via svnmerge from
Olle Johansson [Thu, 1 Feb 2007 20:33:59 +0000 (20:33 +0000)]
Merged revisions 53079 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53079 | oej | 2007-02-01 21:28:54 +0100 (Thu, 01 Feb 2007) | 2 lines

Cleaning up the devicestate callback function

........

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

13 years agoBlocked revisions 53077 via svnmerge
Tilghman Lesher [Thu, 1 Feb 2007 20:14:26 +0000 (20:14 +0000)]
Blocked revisions 53077 via svnmerge

........
r53077 | tilghman | 2007-02-01 14:13:40 -0600 (Thu, 01 Feb 2007) | 2 lines

Oops.

........

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

13 years agoMerged revisions 53075 via svnmerge from
Tilghman Lesher [Thu, 1 Feb 2007 20:12:56 +0000 (20:12 +0000)]
Merged revisions 53075 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r53075 | tilghman | 2007-02-01 14:09:52 -0600 (Thu, 01 Feb 2007) | 10 lines

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

........
r53074 | tilghman | 2007-02-01 14:07:35 -0600 (Thu, 01 Feb 2007) | 2 lines

Bug 8965 - Allow FIELDQTY to work with both variables and dialplan functions

........

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

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

13 years agoMerged revisions 53072 via svnmerge from
Joshua Colp [Thu, 1 Feb 2007 19:34:54 +0000 (19:34 +0000)]
Merged revisions 53072 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53072 | file | 2007-02-01 13:33:33 -0600 (Thu, 01 Feb 2007) | 2 lines

Add missing 'F' letter to getopt so it magically becomes a valid option. (issue #8960 reported by tzafrir)

........

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

13 years agoMerged revisions 53070 via svnmerge from
Tilghman Lesher [Thu, 1 Feb 2007 19:27:22 +0000 (19:27 +0000)]
Merged revisions 53070 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r53070 | tilghman | 2007-02-01 13:21:20 -0600 (Thu, 01 Feb 2007) | 10 lines

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

........
r53069 | tilghman | 2007-02-01 13:13:53 -0600 (Thu, 01 Feb 2007) | 2 lines

No wonder FIELDQTY doesn't work with functions... the documentation in pbx.c was wrong

........

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

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

13 years agoSignal HOLD status to phones that subscribe for status.
Olle Johansson [Thu, 1 Feb 2007 19:04:47 +0000 (19:04 +0000)]
Signal HOLD status to phones that subscribe for status.

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

13 years agoMerged revisions 53064 via svnmerge from
Joshua Colp [Thu, 1 Feb 2007 17:42:08 +0000 (17:42 +0000)]
Merged revisions 53064 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53064 | file | 2007-02-01 11:37:44 -0600 (Thu, 01 Feb 2007) | 2 lines

Fix silly logic. We really want to write UDPTL frames out when the call is up.

........

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

13 years agoMake trunk compile under dev mode.
Joshua Colp [Thu, 1 Feb 2007 17:41:02 +0000 (17:41 +0000)]
Make trunk compile under dev mode.

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

13 years agoMerged revisions 53062 via svnmerge from
Olle Johansson [Thu, 1 Feb 2007 16:42:24 +0000 (16:42 +0000)]
Merged revisions 53062 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53062 | oej | 2007-02-01 17:35:12 +0100 (Thu, 01 Feb 2007) | 2 lines

Add explanation of port= in combination with defaultip= (thanks jsmith)

........

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

13 years agoRemove duplicate calls to pthread_attr_destroy() that I put in yesterday
Russell Bryant [Thu, 1 Feb 2007 14:43:44 +0000 (14:43 +0000)]
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

13 years agoOops -- Merged revisions 53057 via svnmerge from
Paul Cadach [Thu, 1 Feb 2007 11:16:00 +0000 (11:16 +0000)]
Oops -- Merged revisions 53057 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53057 | pcadach | 2007-02-01 03:07:41 -0800 (Чтв, 01 Фев 2007) | 1 line

chan_h323 is very stable, so let it built by default
........

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

13 years agoBlocked revisions 53057 via svnmerge
Paul Cadach [Thu, 1 Feb 2007 11:10:35 +0000 (11:10 +0000)]
Blocked revisions 53057 via svnmerge

........
r53057 | pcadach | 2007-02-01 03:07:41 -0800 (Чтв, 01 Фев 2007) | 1 line

chan_h323 is very stable, so let it built by default
........

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

13 years agoFormatting changes
Olle Johansson [Thu, 1 Feb 2007 00:38:43 +0000 (00:38 +0000)]
Formatting changes

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

13 years agoMerged revisions 53052 via svnmerge from
Joshua Colp [Thu, 1 Feb 2007 00:24:50 +0000 (00:24 +0000)]
Merged revisions 53052 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53052 | file | 2007-01-31 18:24:20 -0600 (Wed, 31 Jan 2007) | 2 lines

When going on hold have the side that was put on hold reinvite back to Asterisk. When going off hold have the side that was taken off hold reinvited back to the other party.

........

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

13 years agoMerged revisions 53050 via svnmerge from
Joshua Colp [Thu, 1 Feb 2007 00:23:19 +0000 (00:23 +0000)]
Merged revisions 53050 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53050 | file | 2007-01-31 18:19:48 -0600 (Wed, 31 Jan 2007) | 2 lines

Add more frame types to forward in the RTP bridge loops.

........

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

13 years agoMerged revisions 53046 via svnmerge from
Russell Bryant [Wed, 31 Jan 2007 21:35:15 +0000 (21:35 +0000)]
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

13 years agoMerged revisions 53042 via svnmerge from
Russell Bryant [Wed, 31 Jan 2007 18:18:58 +0000 (18:18 +0000)]
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

13 years agoMerged revisions 53040 via svnmerge from
Russell Bryant [Wed, 31 Jan 2007 17:45:43 +0000 (17:45 +0000)]
Merged revisions 53040 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r53040 | russell | 2007-01-31 11:45:05 -0600 (Wed, 31 Jan 2007) | 11 lines

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

........
r53039 | russell | 2007-01-31 11:41:51 -0600 (Wed, 31 Jan 2007) | 3 lines

Use the proper format string to print unsigned values in the rtp debug output.
(issue #8954, wmis)

........

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

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

13 years agoMerged revisions 53037 via svnmerge from
Russell Bryant [Wed, 31 Jan 2007 17:39:55 +0000 (17:39 +0000)]
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

13 years agoMerged revisions 53035 via svnmerge from
Russell Bryant [Wed, 31 Jan 2007 17:35:14 +0000 (17:35 +0000)]
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

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

........
r53001 | russell | 2007-01-30 17:38:42 -0600 (Tue, 30 Jan 2007) | 2 lines

Update init script for SuSE 10.  (issue #8363, johnlange)

........

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

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

........
r52999 | russell | 2007-01-30 17:30:34 -0600 (Tue, 30 Jan 2007) | 2 lines

Add documentation for using cdr_pgsql.  (issue #8942, lters)

........

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

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

........
r52997 | russell | 2007-01-30 17:23:24 -0600 (Tue, 30 Jan 2007) | 5 lines

When we are checking for a system installed version of libgsm, we need to check
for gsm.h as well.  Furthermore, when checking for this header, it may be
located in a gsm/ sub directory, so check for that, as well.
(issue #8773)

........

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

13 years agoMerged revisions 52952 via svnmerge from
Russell Bryant [Tue, 30 Jan 2007 19:36:28 +0000 (19:36 +0000)]
Merged revisions 52952 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52952 | russell | 2007-01-30 13:33:12 -0600 (Tue, 30 Jan 2007) | 5 lines

Only set the DTMF flag on the rtp structure if the DTMF mode is actually
RFC2833, not just that it is not INFO.  This makes it get set for inband DTMF
as well, which is not valid.
(issue #8936)

........

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

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

................
r52904 | russell | 2007-01-30 11:19:39 -0600 (Tue, 30 Jan 2007) | 17 lines

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

........
r52903 | russell | 2007-01-30 11:12:04 -0600 (Tue, 30 Jan 2007) | 9 lines

The SIGHUP handler was implemented to allow admins to send SIGHUP to a running
Asterisk process to reload the configuration.  However, doing the actual reload
in the signal handler itself is a very bad thing to do, because the reload
process includes calling non-reentrant functions such as malloc/calloc/etc.
If Asterisk is running in the background, then the reload will happen
immediately.  However, if running in console mode, the reload doesn't work
until something is typed at the console.  That sort of defeats the purpose,
but I don't see an easy way to get around it at this point.

........

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

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

13 years agoUse provided variable for name instead of one in the structure since the structure...
Joshua Colp [Tue, 30 Jan 2007 15:39:09 +0000 (15:39 +0000)]
Use provided variable for name instead of one in the structure since the structure was just allocated and will be NULL. (issue #8938 reported by st41ker)

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

13 years agoBlocked revisions 52856 via svnmerge
Joshua Colp [Tue, 30 Jan 2007 15:36:07 +0000 (15:36 +0000)]
Blocked revisions 52856 via svnmerge

........
r52856 | file | 2007-01-30 10:29:50 -0500 (Tue, 30 Jan 2007) | 2 lines

Drop the deprecated show commands since the original ones were changed back. (issue #8937 reported by PCadach)

........

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

13 years agoBlocked revisions 52809 via svnmerge
Paul Cadach [Tue, 30 Jan 2007 09:13:03 +0000 (09:13 +0000)]
Blocked revisions 52809 via svnmerge

........
r52809 | pcadach | 2007-01-30 00:46:31 -0800 (Втр, 30 Янв 2007) | 1 line

Revert reprecation of h.323 gk cycle command from pre-1.4 version instead of duplicated h323 cycle gk
........

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

13 years agoMerged revisions 52808 via svnmerge from
Paul Cadach [Tue, 30 Jan 2007 09:10:09 +0000 (09:10 +0000)]
Merged revisions 52808 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52808 | pcadach | 2007-01-30 00:34:26 -0800 (Втр, 30 Янв 2007) | 1 line

Don't play with free()'d pointers
........

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

13 years agoMerged revisions 52807 via svnmerge from
Paul Cadach [Tue, 30 Jan 2007 09:08:17 +0000 (09:08 +0000)]
Merged revisions 52807 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52807 | pcadach | 2007-01-30 00:33:22 -0800 (Втр, 30 Янв 2007) | 1 line

Handle non-standard OpenH323/PWLib library names
........

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

13 years agoMerged revisions 52763 via svnmerge from
Russell Bryant [Tue, 30 Jan 2007 00:16:38 +0000 (00:16 +0000)]
Merged revisions 52763 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r52763 | russell | 2007-01-29 18:15:50 -0600 (Mon, 29 Jan 2007) | 13 lines

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

........
r52762 | russell | 2007-01-29 18:15:06 -0600 (Mon, 29 Jan 2007) | 5 lines

Fix the extraction of the timestamp from video frames.  It was using the
mapping for a mini-frame instead of a video-frame, which caused it to
get invalid data.
(issue #8795, mihai)

........

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

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

13 years agoMerged revisions 52717 via svnmerge from
Joshua Colp [Mon, 29 Jan 2007 23:45:39 +0000 (23:45 +0000)]
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

13 years agoMerged revisions 52695 via svnmerge from
Russell Bryant [Mon, 29 Jan 2007 22:58:35 +0000 (22:58 +0000)]
Merged revisions 52695 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52695 | russell | 2007-01-29 16:58:09 -0600 (Mon, 29 Jan 2007) | 2 lines

Add a missing quotation mark.  This was pointed out by jcmoore on #asterisk-dev.

........

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

13 years agoMerged revisions 52688 via svnmerge from
Russell Bryant [Mon, 29 Jan 2007 22:57:16 +0000 (22:57 +0000)]
Merged revisions 52688 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52688 | russell | 2007-01-29 16:55:41 -0600 (Mon, 29 Jan 2007) | 3 lines

Remove a recursive lock of the manager session.  This was pointed out by
zandbelt in issue #8711.

........

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

13 years agoMerged revisions 52679 via svnmerge from
Tilghman Lesher [Mon, 29 Jan 2007 22:13:56 +0000 (22:13 +0000)]
Merged revisions 52679 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52679 | tilghman | 2007-01-29 16:12:12 -0600 (Mon, 29 Jan 2007) | 2 lines

Argument number correction

........

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

13 years agoMerged revisions 52647 via svnmerge from
Russell Bryant [Mon, 29 Jan 2007 21:37:31 +0000 (21:37 +0000)]
Merged revisions 52647 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52647 | russell | 2007-01-29 15:36:56 -0600 (Mon, 29 Jan 2007) | 3 lines

ASTLDFLAGS needs to be passed to the editline configure script as LDFLAGS.
(issue #8928, zandbelt)

........

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

13 years agoMerged revisions 52645 via svnmerge from
Russell Bryant [Mon, 29 Jan 2007 21:27:34 +0000 (21:27 +0000)]
Merged revisions 52645 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52645 | russell | 2007-01-29 15:26:27 -0600 (Mon, 29 Jan 2007) | 6 lines

Fix a problem with packet-to-packet bridging and DTMF mode translation.  P2P
bridging can only be used when the DTMF modes don't match if the core is
monitoring DTMF in both directions.  Then, the core will handle the translation.
Otherwise, this bridging method can not be used.
(issue #8936)

........

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

13 years agoOnly use locking for bridge information if intense P2P bridging is enabled.
Joshua Colp [Mon, 29 Jan 2007 21:03:07 +0000 (21:03 +0000)]
Only use locking for bridge information if intense P2P bridging is enabled.

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

13 years agoThe changes for trunk are less extensive, but include
Russell Bryant [Mon, 29 Jan 2007 20:51:24 +0000 (20:51 +0000)]
The changes for trunk are less extensive, but include
 - changing the actionlock to a rwlock
 - not locking the session before doing the action callback
The crash issue in 8711 should not be an issue here.

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

........
r52611 | russell | 2007-01-29 14:39:20 -0600 (Mon, 29 Jan 2007) | 10 lines

The session lock can not be held while calling action callbacks.  If so, then
when the WaitEvent callback gets called, then no event can happen because the
session can't be locked by another thread.  Also, the session needs to be
locked in the HTTP callback when it reads out the output string.  This fixes
the deadlock reported in both 8711 and 8934.
Regarding issue 8711, there still may be an issue.  If there is a second action
requested before the processing of the first action is finished, there could
still be some corruption of the output string buffer used to build the result.
(issue #8711, #8934)

........

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

13 years agoResolve some warnings when not building with IMAP_STORAGE
Russell Bryant [Mon, 29 Jan 2007 20:47:43 +0000 (20:47 +0000)]
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

13 years agoChange vmstates list to use linked list macros.
Joshua Colp [Mon, 29 Jan 2007 20:22:08 +0000 (20:22 +0000)]
Change vmstates list to use linked list macros.

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

13 years agoCode cleanup of IMAP storage support in app_voicemail.
Joshua Colp [Mon, 29 Jan 2007 20:04:42 +0000 (20:04 +0000)]
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

13 years agoMerged revisions 52572 via svnmerge from
Joshua Colp [Mon, 29 Jan 2007 19:03:01 +0000 (19:03 +0000)]
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

13 years agoBlocked 52535 from trunk for 8778 (pt_BR backport to 1.4). Already done here for...
Steve Murphy [Mon, 29 Jan 2007 18:03:08 +0000 (18:03 +0000)]
Blocked 52535 from trunk for 8778 (pt_BR backport to 1.4). Already done here for 7663). See ancient history books for details.

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

13 years agoAdd core show channels count CLI command. (issue #8932 reported by mr_mehul_shah)
Joshua Colp [Mon, 29 Jan 2007 17:49:04 +0000 (17:49 +0000)]
Add core show channels count CLI command. (issue #8932 reported by mr_mehul_shah)

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

13 years agoMerged revisions 52523 via svnmerge from
Joshua Colp [Mon, 29 Jan 2007 17:39:09 +0000 (17:39 +0000)]
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

13 years agoMerged revisions 52494,52506 via svnmerge from
Russell Bryant [Mon, 29 Jan 2007 17:03:31 +0000 (17:03 +0000)]
Merged revisions 52494,52506 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52494 | jdixon | 2007-01-28 22:18:36 -0600 (Sun, 28 Jan 2007) | 4 lines

Fixed problem with jitterbuf, whereas it would not complain about, and
would allow itself to be overfilled (per the max_jitterbuf parameter). Now
it rejects any data over and above that size, and complains about it.

........
r52506 | russell | 2007-01-29 10:54:27 -0600 (Mon, 29 Jan 2007) | 5 lines

Clean up a few things in the last commit to the adaptive jitterbuffer code.
 - Specifically indicate to the compiler that the "dropem" variable only
   needs one but.
 - Change formatting to conform to coding guidelines.

........

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

13 years agoMerged revisions 52462 via svnmerge from
Tilghman Lesher [Sun, 28 Jan 2007 05:18:02 +0000 (05:18 +0000)]
Merged revisions 52462 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52462 | tilghman | 2007-01-27 23:15:07 -0600 (Sat, 27 Jan 2007) | 2 lines

Suggested change to fix normal usage of --with-tds=/usr/local (Sean Bright, via asterisk-dev mailing list)

........

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

13 years agoMerged revisions 52416 via svnmerge from
Joshua Colp [Sat, 27 Jan 2007 02:15:21 +0000 (02:15 +0000)]
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

13 years agoBlocked revisions 52373 via svnmerge
Joshua Colp [Sat, 27 Jan 2007 00:48:52 +0000 (00:48 +0000)]
Blocked revisions 52373 via svnmerge

........
r52373 | file | 2007-01-26 19:44:51 -0500 (Fri, 26 Jan 2007) | 2 lines

Have the manager interface send back an "Already logged in" message instead of "Invalid/Unknown Command" when the client authenticates for a second time. (issue #8509 reported by pari)

........

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

13 years agoMerged revisions 52370 via svnmerge from
Joshua Colp [Sat, 27 Jan 2007 00:10:19 +0000 (00:10 +0000)]
Merged revisions 52370 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r52370 | file | 2007-01-26 19:08:18 -0500 (Fri, 26 Jan 2007) | 10 lines

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

........
r52360 | file | 2007-01-26 19:03:23 -0500 (Fri, 26 Jan 2007) | 2 lines

Make the last context entry read in the dominant one. (issue #8918 reported by pj)

........

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

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

13 years agoMerged revisions 52335 via svnmerge from
Joshua Colp [Fri, 26 Jan 2007 23:49:29 +0000 (23:49 +0000)]
Merged revisions 52335 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52335 | file | 2007-01-26 18:46:47 -0500 (Fri, 26 Jan 2007) | 2 lines

Fix core show file formats CLI command.

........

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

13 years agoConvert some more stuff to read/write lists.
Joshua Colp [Fri, 26 Jan 2007 22:55:06 +0000 (22:55 +0000)]
Convert some more stuff to read/write lists.

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

13 years agoAdd DBDel and DBDelTree manager commands. (issue #8516 reported by dprado)
Joshua Colp [Thu, 25 Jan 2007 22:49:24 +0000 (22:49 +0000)]
Add DBDel and DBDelTree manager commands. (issue #8516 reported by dprado)

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

13 years agoMerged revisions 52265 via svnmerge from
Joshua Colp [Thu, 25 Jan 2007 19:20:51 +0000 (19:20 +0000)]
Merged revisions 52265 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r52265 | file | 2007-01-25 14:18:33 -0500 (Thu, 25 Jan 2007) | 10 lines

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

........
r52264 | file | 2007-01-25 14:15:29 -0500 (Thu, 25 Jan 2007) | 2 lines

Allow dequeueing of frames with negative timestamp by moving jitterbuffer frames check to jb_next. (issue #8546 reported by harmen)

........

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

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

13 years agoUse atomic operation functions for use/ringing/hold manipulation.
Joshua Colp [Thu, 25 Jan 2007 18:10:18 +0000 (18:10 +0000)]
Use atomic operation functions for use/ringing/hold manipulation.

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

13 years agoMerged revisions 52210 via svnmerge from
Joshua Colp [Thu, 25 Jan 2007 17:51:35 +0000 (17:51 +0000)]
Merged revisions 52210 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52210 | file | 2007-01-25 12:49:39 -0500 (Thu, 25 Jan 2007) | 2 lines

Drop out variables I accidentally put in.

........

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

13 years agoMerged revisions 52208 via svnmerge from
Joshua Colp [Thu, 25 Jan 2007 17:17:56 +0000 (17:17 +0000)]
Merged revisions 52208 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52208 | file | 2007-01-25 12:14:53 -0500 (Thu, 25 Jan 2007) | 2 lines

Decrement onHold count if we are hung up on and still on hold. (issue #8909 reported by alexh42)

........

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

13 years agoMerged revisions 52163 via svnmerge from
Joshua Colp [Thu, 25 Jan 2007 01:54:39 +0000 (01:54 +0000)]
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

13 years agoMerged revisions 52160 via svnmerge from
Russell Bryant [Thu, 25 Jan 2007 01:38:05 +0000 (01:38 +0000)]
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

13 years agoBlocked revisions 52158 via svnmerge
Russell Bryant [Thu, 25 Jan 2007 01:07:07 +0000 (01:07 +0000)]
Blocked revisions 52158 via svnmerge

........
r52158 | russell | 2007-01-24 19:05:46 -0600 (Wed, 24 Jan 2007) | 4 lines

Remove libnsl as a required lib for libiksemel to work.  This change was
already made in the trunk.
(issue #8762)

........

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

13 years agoMerged revisions 52107 via svnmerge from
Russell Bryant [Wed, 24 Jan 2007 21:43:22 +0000 (21:43 +0000)]
Merged revisions 52107 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52107 | russell | 2007-01-24 15:42:47 -0600 (Wed, 24 Jan 2007) | 3 lines

Fix the formatting of doxygen comments to properly indicate that the comment
documents the previous entity, as opposed to the next one.

........

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

13 years agoAs per bug 8859 (Add option to revert old ChanIsAvail() with 's' option behavior...
Steve Murphy [Wed, 24 Jan 2007 20:35:54 +0000 (20:35 +0000)]
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

13 years agoMerged revisions 52052 via svnmerge from
Steve Murphy [Wed, 24 Jan 2007 18:39:49 +0000 (18:39 +0000)]
Merged revisions 52052 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r52052 | murf | 2007-01-24 11:26:22 -0700 (Wed, 24 Jan 2007) | 9 lines

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

........
r52002 | murf | 2007-01-24 10:43:50 -0700 (Wed, 24 Jan 2007) | 1 line

updated check_expr via 8322 (refactoring of expression checking impl); elfring contributed a nice code reorg, I contributed some time to get it working again, better messages
........

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

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

13 years agoMerged revisions 52049 via svnmerge from
Joshua Colp [Wed, 24 Jan 2007 18:23:07 +0000 (18:23 +0000)]
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

13 years agoMerged revisions 52016 via svnmerge from
Joshua Colp [Wed, 24 Jan 2007 18:04:47 +0000 (18:04 +0000)]
Merged revisions 52016 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r52016 | file | 2007-01-24 12:59:55 -0500 (Wed, 24 Jan 2007) | 2 lines

Fix changing channel formats when joint capability changes and there are no audio formats... I didn't break it originally! (issue #8535 reported by ivoc)

........

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

13 years agoBlocked revisions 52000 via svnmerge
Russell Bryant [Wed, 24 Jan 2007 17:14:55 +0000 (17:14 +0000)]
Blocked revisions 52000 via svnmerge

........
r52000 | russell | 2007-01-24 11:14:11 -0600 (Wed, 24 Jan 2007) | 1 line

rebuild configure script to reflect last chan_h323 related changes.
........

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

13 years agoMerged revisions 51931 via svnmerge from
Olle Johansson [Wed, 24 Jan 2007 09:42:31 +0000 (09:42 +0000)]
Merged revisions 51931 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51931 | oej | 2007-01-24 10:30:21 +0100 (Wed, 24 Jan 2007) | 3 lines

Show capabilities *and* preference in general settings in "sip show settings"
(reported by Clona/Telio - Thanks!)

........

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

13 years agoDoxygen updates
Olle Johansson [Wed, 24 Jan 2007 09:31:26 +0000 (09:31 +0000)]
Doxygen updates

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

13 years agoDoxygen update
Olle Johansson [Wed, 24 Jan 2007 09:05:29 +0000 (09:05 +0000)]
Doxygen update

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

13 years agoAdding some doxygen for udptl.c
Olle Johansson [Wed, 24 Jan 2007 08:56:22 +0000 (08:56 +0000)]
Adding some doxygen for udptl.c

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

13 years agoBlocked revisions 51895 via svnmerge
Paul Cadach [Wed, 24 Jan 2007 08:07:19 +0000 (08:07 +0000)]
Blocked revisions 51895 via svnmerge

........
r51895 | pcadach | 2007-01-24 00:04:59 -0800 (Срд, 24 Янв 2007) | 1 line

Allow x64 builds of H.323 (please, rebuild configure)
........

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

13 years agoMerged revisions 51848 via svnmerge from
Russell Bryant [Wed, 24 Jan 2007 01:00:57 +0000 (01:00 +0000)]
Merged revisions 51848 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r51848 | russell | 2007-01-23 18:59:58 -0600 (Tue, 23 Jan 2007) | 14 lines

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

........
r51843 | russell | 2007-01-23 18:57:28 -0600 (Tue, 23 Jan 2007) | 6 lines

Fix an issue related to synchronization of recordings when using Monitor().
The bug is a miscalculation of the amount to seek the stream for writing to
disk when the number of samples coming in and out of a channel do not match up.
(issue #8298, #8887, report and patch by guillecabeza, patch files created and
 testing done by whoiswes)

........

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

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

13 years agoClose file after we do the translation, and map memory for both reading/writing....
Joshua Colp [Wed, 24 Jan 2007 00:22:50 +0000 (00:22 +0000)]
Close file after we do the translation, and map memory for both reading/writing. (issue #8886 reported by cwegener)

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

13 years agoMerged revisions 51829 via svnmerge from
Russell Bryant [Wed, 24 Jan 2007 00:21:32 +0000 (00:21 +0000)]
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

13 years agoMerged revisions 51788 via svnmerge from
Joshua Colp [Tue, 23 Jan 2007 22:59:55 +0000 (22:59 +0000)]
Merged revisions 51788 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51788 | file | 2007-01-23 17:46:31 -0500 (Tue, 23 Jan 2007) | 2 lines

Update channel drivers to use module referencing so that unloading them while in use will not result in crashes. (issue #8897 reported by junky)

........

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

13 years agoMerged revisions 51781 via svnmerge from
Russell Bryant [Tue, 23 Jan 2007 22:09:23 +0000 (22:09 +0000)]
Merged revisions 51781 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51781 | russell | 2007-01-23 16:04:01 -0600 (Tue, 23 Jan 2007) | 6 lines

Fix some bugs in process_message().  The manager session lock needs to be held
when sending some sort of response, or calling one of the manager action
callbacks.  This resolves an issue where people using the GUI would get random
crashes when they start clicking around a lot.
(issue #8711, reported and debugged by zandbelt)

........

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

13 years agoBlocked revisions 51755 via svnmerge
Russell Bryant [Tue, 23 Jan 2007 21:54:35 +0000 (21:54 +0000)]
Blocked revisions 51755 via svnmerge

........
r51755 | russell | 2007-01-23 15:52:52 -0600 (Tue, 23 Jan 2007) | 2 lines

Fix setting the default port of 8088 on 64-bit or big-endian machines.

........

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

13 years agoMerged revisions 51750 via svnmerge from
Russell Bryant [Tue, 23 Jan 2007 21:38:31 +0000 (21:38 +0000)]
Merged revisions 51750 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51750 | russell | 2007-01-23 15:33:15 -0600 (Tue, 23 Jan 2007) | 4 lines

When traversing the list of manager actions, the iterator needs to be
initialized to the list head *after* locking the list.  Also, lock the actions
list in one place it is being accessed where it was not being done.

........

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

13 years agoMerged revisions 51716 via svnmerge from
Steve Murphy [Tue, 23 Jan 2007 20:36:08 +0000 (20:36 +0000)]
Merged revisions 51716 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51716 | murf | 2007-01-23 13:32:54 -0700 (Tue, 23 Jan 2007) | 1 line

this mod from 8593 (dstchannel in cdr is empty when transfer call).
........

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

13 years agoMerged revisions 51683 via svnmerge from
Steve Murphy [Tue, 23 Jan 2007 19:11:53 +0000 (19:11 +0000)]
Merged revisions 51683 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51683 | murf | 2007-01-23 11:58:27 -0700 (Tue, 23 Jan 2007) | 1 line

via 8748 (callerid.c loses name when returning PRIVATE_NUMBER flag), the user suggested this mod, saying it would allow 'WITHHELD' to appear in the name field, which would be useful
........

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

13 years agoIssue #8817 - Registry corruption when packet retransmits fail. (tootai, patchy by...
Olle Johansson [Tue, 23 Jan 2007 15:36:01 +0000 (15:36 +0000)]
Issue #8817 - Registry corruption when packet retransmits fail. (tootai, patchy by oej)

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

13 years agoMerged revisions 51615 via svnmerge from
Paul Cadach [Tue, 23 Jan 2007 06:56:26 +0000 (06:56 +0000)]
Merged revisions 51615 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51615 | pcadach | 2007-01-22 22:51:51 -0800 (Пнд, 22 Янв 2007) | 1 line

Do not abort Asterisk startup if h323 configuration file not found (reported by mithraen)
........

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

13 years agoMake 'H' command do as advertised and add 'E' and 'V' commands to ExternalIVR. (issue...
Joshua Colp [Tue, 23 Jan 2007 04:45:43 +0000 (04:45 +0000)]
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

13 years agoAdd SRV Lookup support on outbound calls to chan_iax2. It's listed in the RFC so...
Joshua Colp [Tue, 23 Jan 2007 03:15:04 +0000 (03:15 +0000)]
Add SRV Lookup support on outbound calls to chan_iax2. It's listed in the RFC so we might want to support it and please don't hurt me Marko ... (issue #7812 reported by drorlb)

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

13 years agoMerged revisions 51558 via svnmerge from
Joshua Colp [Tue, 23 Jan 2007 03:02:09 +0000 (03:02 +0000)]
Merged revisions 51558 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51558 | file | 2007-01-22 22:00:12 -0500 (Mon, 22 Jan 2007) | 2 lines

Only change audio formats on the channel if we have an audio format to change to. (issue #8535 reported by ivoc)

........

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

13 years agoNo more conflicts on properties! svnmerge-block be gone!
Joshua Colp [Tue, 23 Jan 2007 01:51:22 +0000 (01:51 +0000)]
No more conflicts on properties! svnmerge-block be gone!

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

13 years agoMerged revisions 51513 via svnmerge from
Joshua Colp [Tue, 23 Jan 2007 01:47:55 +0000 (01:47 +0000)]
Merged revisions 51513 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r51513 | file | 2007-01-22 20:45:04 -0500 (Mon, 22 Jan 2007) | 10 lines

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

........
r51512 | file | 2007-01-22 20:41:35 -0500 (Mon, 22 Jan 2007) | 2 lines

Yield before reading from zaptel timing source under Solaris so that other threads get a chance to do things. (issue #7875 reported by bob)

........

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

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

13 years agoMight as well go crazy here too and make the autoservice list read/write.
Joshua Colp [Tue, 23 Jan 2007 00:16:55 +0000 (00:16 +0000)]
Might as well go crazy here too and make the autoservice list read/write.

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

13 years agoCosmetic changes. Make main source files better conform to coding guidelines and...
Joshua Colp [Tue, 23 Jan 2007 00:11:32 +0000 (00:11 +0000)]
Cosmetic changes. Make main source files better conform to coding guidelines and standards. (issue #8679 reported by johann8384)

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

13 years agoChange RTP protos list to be read/write. Most of the time it's only going to be read...
Joshua Colp [Mon, 22 Jan 2007 23:53:16 +0000 (23:53 +0000)]
Change RTP protos list to be read/write. Most of the time it's only going to be read so making it use mutex locks was a waste.

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

13 years agoMake the RTP stack better conform to coding guidelines. (issue #8679 reported by...
Joshua Colp [Mon, 22 Jan 2007 23:51:42 +0000 (23:51 +0000)]
Make the RTP stack better conform to coding guidelines. (issue #8679 reported by johann8384)

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

13 years agoMerged revisions 51409 via svnmerge from
Steve Murphy [Mon, 22 Jan 2007 19:42:28 +0000 (19:42 +0000)]
Merged revisions 51409 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r51409 | murf | 2007-01-22 12:28:51 -0700 (Mon, 22 Jan 2007) | 1 line

This fixes 8836, according to dnatural
........

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

13 years agoMerged revisions 51407 via svnmerge from
Joshua Colp [Mon, 22 Jan 2007 19:22:07 +0000 (19:22 +0000)]
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