Commit Graph

15997 Commits

Author SHA1 Message Date
Tilghman Lesher
b2ec2f1e49 Blocked revisions 136406 via svnmerge
........
r136406 | tilghman | 2008-08-07 10:10:53 -0500 (Thu, 07 Aug 2008) | 2 lines

Fix runtime symbol error

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@136407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-07 15:12:06 +00:00
Sean Bright
3d6280c057 Blocked revisions 136402 via svnmerge
........
r136402 | seanbright | 2008-08-07 10:36:59 -0400 (Thu, 07 Aug 2008) | 1 line

Merge in a few more changes.  This time the include/ directory.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@136403 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-07 14:37:24 +00:00
Tilghman Lesher
244174b9bc Blocked revisions 136349 via svnmerge
................
r136349 | tilghman | 2008-08-06 20:32:10 -0500 (Wed, 06 Aug 2008) | 10 lines

Blocked revisions 136348 via svnmerge

........
r136348 | tilghman | 2008-08-06 20:31:27 -0500 (Wed, 06 Aug 2008) | 3 lines

Also, parse useincomingcalleridonzaptransfer (and add appropriate deprecation
warnings).

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@136350 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-07 01:32:51 +00:00
Tilghman Lesher
ac10ad6d81 Blocked revisions 136305 via svnmerge
................
r136305 | tilghman | 2008-08-06 20:18:03 -0500 (Wed, 06 Aug 2008) | 10 lines

Blocked revisions 136304 via svnmerge

........
r136304 | tilghman | 2008-08-06 20:17:14 -0500 (Wed, 06 Aug 2008) | 3 lines

For backwards compatibility with previous 1.4 versions which used "zapchan"
in users.conf, ensure that we still support it.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@136306 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-07 01:18:39 +00:00
Sean Bright
bd551b8145 Blocked revisions 136302 via svnmerge
........
r136302 | seanbright | 2008-08-06 21:07:40 -0400 (Wed, 06 Aug 2008) | 2 lines

Continue merging in changes from resolve-shadow-warnings.  funcs/ this time.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@136303 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-07 01:08:04 +00:00
Sean Bright
845f98553c Blocked revisions 136300 via svnmerge
........
r136300 | seanbright | 2008-08-06 20:52:23 -0400 (Wed, 06 Aug 2008) | 2 lines

More from the resolve-shadow-warnings branch.  This time the cdr/ directory.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@136301 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-07 00:53:12 +00:00
Sean Bright
ad7bedfc61 Blocked revisions 136298 via svnmerge
........
r136298 | seanbright | 2008-08-06 20:44:55 -0400 (Wed, 06 Aug 2008) | 5 lines

Start moving in changes from my resolve-shadow-warnings branch.  Going to do
this in pieces so the diffs are a little bit smaller and more reviewable.

pbx/ and formats/ first.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@136299 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-07 00:45:59 +00:00
Dwayne M. Hubbard
38e9396e1f Blocked revisions 136245 via svnmerge
........
r136245 | dhubbard | 2008-08-06 16:22:56 -0500 (Wed, 06 Aug 2008) | 1 line

move taskprocessor CLI commands into the core namespace
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@136270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-06 21:28:37 +00:00
Mark Michelson
dbc5b5b357 Merged revisions 136239 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r136239 | mmichelson | 2008-08-06 15:43:58 -0500 (Wed, 06 Aug 2008) | 11 lines

Blocked revisions 136238 via svnmerge

........
r136238 | mmichelson | 2008-08-06 15:42:15 -0500 (Wed, 06 Aug 2008) | 4 lines

We only need to unregister the QueueStatus manager
command once on an unload


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@136240 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-06 20:45:45 +00:00
Tilghman Lesher
b0cb09c4aa Merged revisions 136191 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r136191 | tilghman | 2008-08-06 15:15:34 -0500 (Wed, 06 Aug 2008) | 12 lines

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

........
r136190 | tilghman | 2008-08-06 15:14:54 -0500 (Wed, 06 Aug 2008) | 4 lines

-C option takes a filename, not a directory path.
(closes issue #13007)
 Reported by: klaus3000

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@136192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-06 20:16:13 +00:00
Tilghman Lesher
6f7680cccf Blocked revisions 136141 via svnmerge
........
r136141 | tilghman | 2008-08-06 12:33:48 -0500 (Wed, 06 Aug 2008) | 6 lines

Janitor ast_str project
(closes issue #13058)
 Reported by: pputman
 Patches: 
       app_meetme_aststr2.patch uploaded by pputman (license 81)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@136142 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-06 17:34:27 +00:00
Tilghman Lesher
af1d2d4538 Merged revisions 136112 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r136112 | tilghman | 2008-08-06 11:58:42 -0500 (Wed, 06 Aug 2008) | 7 lines

Persist DIALGROUP() values in astdb
(closes issue #13138)
 Reported by: Corydon76
 Patches: 
       20080725__bug13138.diff.txt uploaded by Corydon76 (license 14)
 Tested by: pj

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@136113 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-06 17:02:06 +00:00
Mark Michelson
b9dfa2fe6c Merged revisions 136063 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r136063 | mmichelson | 2008-08-06 10:59:29 -0500 (Wed, 06 Aug 2008) | 24 lines

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

........
r136062 | mmichelson | 2008-08-06 10:58:40 -0500 (Wed, 06 Aug 2008) | 16 lines

Since adding the AST_CONTROL_SRCUPDATE frame type,
there are places where ast_rtp_new_source may be called
where the tech_pvt of a channel may not yet have an
rtp structure allocated. This caused a crash in chan_skinny,
which was fixed earlier, but now the same crash has been 
reported against chan_h323 as well. It seems that the best 
solution is to modify ast_rtp_new_source to not attempt to 
set the marker bit if the rtp structure passed in is NULL.

This change to ast_rtp_new_source also allows the removal
of what is now a redundant pointer check from chan_skinny.

(closes issue #13247)
Reported by: pj


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@136064 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-06 16:00:07 +00:00
Tilghman Lesher
b4cb58175f Blocked revisions 136034 via svnmerge
........
r136034 | tilghman | 2008-08-06 09:51:51 -0500 (Wed, 06 Aug 2008) | 3 lines

Use a dynamic buffer for rendered SQL, instead of hardcoding 2048 bytes.  Also,
switch to using RWLISTs for the linked list of queries.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@136035 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-06 14:53:20 +00:00
Olle Johansson
88c17a771b Merged revisions 136005 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r136005 | oej | 2008-08-06 15:34:08 +0200 (Ons, 06 Aug 2008) | 6 lines

- Formatting
- Changing debug messages from VERBOSE to DEBUG channel
- Adding a few todo's
- Adding a few more "XMPP"'s to compliment Jabber...


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@136006 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-06 13:59:32 +00:00
Tilghman Lesher
d645fe1754 Merged revisions 135950 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r135950 | tilghman | 2008-08-05 22:55:49 -0500 (Tue, 05 Aug 2008) | 12 lines

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

........
r135949 | tilghman | 2008-08-05 22:53:36 -0500 (Tue, 05 Aug 2008) | 4 lines

Fix a longstanding bug in channel walking logic, and fix the explanation to
make sense.
(Closes issue #13124)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135951 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-06 03:56:30 +00:00
Tilghman Lesher
58c8e58fe5 Merged revisions 135938 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r135938 | tilghman | 2008-08-05 22:29:42 -0500 (Tue, 05 Aug 2008) | 12 lines

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

........
r135915 | tilghman | 2008-08-05 22:24:56 -0500 (Tue, 05 Aug 2008) | 4 lines

Since powerof() can return an error condition, it's foolhardy not to detect and
deal with that condition.
(Related to issue #13240)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135942 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-06 03:30:23 +00:00
Tilghman Lesher
4a854a5e5b Merged revisions 135900 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r135900 | tilghman | 2008-08-05 22:04:01 -0500 (Tue, 05 Aug 2008) | 12 lines

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

........
r135899 | tilghman | 2008-08-05 22:02:59 -0500 (Tue, 05 Aug 2008) | 4 lines

1) Bugfix for debugging code
2) Reduce compiler warnings for another section of debugging code
(Closes issue #13237)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135901 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-06 03:04:49 +00:00
Mark Michelson
8417f7bfb1 Merged revisions 135851 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r135851 | mmichelson | 2008-08-05 19:30:53 -0500 (Tue, 05 Aug 2008) | 48 lines

Merged revisions 135841,135847,135850 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r135841 | mmichelson | 2008-08-05 19:25:10 -0500 (Tue, 05 Aug 2008) | 27 lines

Merging the issue11259 branch.

The purpose of this branch was to take into account
"burps" which could cause jitterbuffers to misbehave.
One such example is if the L option to Dial() were used
to inject audio into a bridged conversation at regular
intervals. Since the audio here was not passed through
the jitterbuffer, it would cause a gap in the jitterbuffer's
timestamps which would cause a frames to be dropped for a 
brief period.

Now ast_generic_bridge will empty and reset the jitterbuffer
each time it is called. This causes injected audio to be handled
properly.

ast_generic_bridge also will empty and reset the jitterbuffer
if it receives an AST_CONTROL_SRCUPDATE frame since the change
in audio source could negatively affect the jitterbuffer.

All of this was made possible by adding a new public API call
to the abstract_jb called ast_jb_empty_and_reset.

(closes issue #11259)
Reported by: plack
Tested by: putnopvut


........
r135847 | mmichelson | 2008-08-05 19:27:54 -0500 (Tue, 05 Aug 2008) | 4 lines

Revert inadvertent changes to app_skel that occurred when
I was testing for a memory leak


........
r135850 | mmichelson | 2008-08-05 19:29:54 -0500 (Tue, 05 Aug 2008) | 3 lines

Remove properties that should not be here


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-06 00:31:28 +00:00
Steve Murphy
638711f573 Merged revisions 135821 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r135821 | murf | 2008-08-05 17:45:32 -0600 (Tue, 05 Aug 2008) | 42 lines

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

........
r135799 | murf | 2008-08-05 17:13:20 -0600 (Tue, 05 Aug 2008) | 34 lines

(closes issue #12982)
Reported by: bcnit
Tested by: murf

I discovered that also, in the previous bug fixes and changes,
the cdr.conf 'unanswered' option is not being obeyed, so
I fixed this.

And, yes, there are two 'answer' times involved in this
scenario, and I would agree with you, that the first 
answer time is the time that should appear in the CDR.
(the second 'answer' time is the time that the bridge
was begun).

I made the necessary adjustments, recording the first
answer time into the peer cdr, and then using that to
override the bridge cdr's value.

To get the 'unanswered' CDRs to appear, I purposely
output them, using the dial cmd to mark them as
DIALED (with a new flag), and outputting them if
they bear that flag, and you are in the right mode.

I also corrected one small mention of the Zap device
to equally consider the dahdi device.

I heavily tested 10-sec-wait macros in dial, and
without the macro call; I tested hangups while the
macro was running vs. letting the macro complete
and the bridge form. Looks OK. Removed all the
instrumentation and debug.



........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135822 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-05 23:52:14 +00:00
Tilghman Lesher
2085534aef Merged revisions 135748 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r135748 | tilghman | 2008-08-05 16:37:35 -0500 (Tue, 05 Aug 2008) | 17 lines

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

........
r135747 | tilghman | 2008-08-05 16:34:46 -0500 (Tue, 05 Aug 2008) | 9 lines

In a conversion to use ast_strlen_zero, the meaning of the flag IAX_HASCALLERID
was perverted.  This change reverts IAX2 to the original meaning, which was,
that the callerid set on the client should be overridden on the server, even if
that means the resulting callerid is blank.  In other words, if you set
"callerid=" in the IAX config, then the callerid should be overridden to blank,
even if set on the client.  Note that there's a distinction, even on realtime,
between the field not existing (NULL in databases) and the field existing, but
set to blank (override callerid to blank).

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135749 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-05 21:38:29 +00:00
Kevin P. Fleming
e658b7c083 Blocked revisions 135680-135681 via svnmerge
........
r135680 | kpfleming | 2008-08-05 11:56:11 -0500 (Tue, 05 Aug 2008) | 2 lines

make datastore creation and destruction a generic API since it is not really channel related, and add the ability to add/find/remove datastores to manager sessions

........
r135681 | kpfleming | 2008-08-05 12:05:34 -0500 (Tue, 05 Aug 2008) | 3 lines

datastore inheritance is a channel feature, so move this definition back


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135710 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-05 17:43:07 +00:00
Tilghman Lesher
7d93b5632f Blocked revisions 135648 via svnmerge
........
r135648 | tilghman | 2008-08-05 10:30:23 -0500 (Tue, 05 Aug 2008) | 3 lines

Always output a version string, even when we can't figure out what we are.
(Closes issue #13223)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135649 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-05 15:31:18 +00:00
Sean Bright
7d44270d33 Merged revisions 135598 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r135598 | seanbright | 2008-08-05 09:26:34 -0400 (Tue, 05 Aug 2008) | 9 lines

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

........
r135597 | seanbright | 2008-08-05 09:25:00 -0400 (Tue, 05 Aug 2008) | 1 line

Use PATH_MAX for filenames
........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135599 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-05 13:27:59 +00:00
Russell Bryant
83521808f4 Merged revisions 135537 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r135537 | russell | 2008-08-04 15:15:27 -0500 (Mon, 04 Aug 2008) | 10 lines

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

........
r135536 | russell | 2008-08-04 15:15:03 -0500 (Mon, 04 Aug 2008) | 2 lines

fix a config sample typo

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135538 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-04 20:15:46 +00:00
Tilghman Lesher
83f0de6aef Merged revisions 135485 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r135485 | tilghman | 2008-08-04 12:12:15 -0500 (Mon, 04 Aug 2008) | 3 lines

Rename Mandrake scripts to Mandriva
(Closes issue #13221)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-04 17:12:44 +00:00
Tilghman Lesher
ada9e611dc Merged revisions 135483 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r135483 | tilghman | 2008-08-04 12:08:42 -0500 (Mon, 04 Aug 2008) | 11 lines

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

........
r135482 | tilghman | 2008-08-04 12:07:52 -0500 (Mon, 04 Aug 2008) | 2 lines

Define ASTSBINDIR for script
(Closes issue #13221)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135484 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-04 17:09:17 +00:00
Tilghman Lesher
5cf295c4de Merged revisions 135480 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r135480 | tilghman | 2008-08-04 11:58:29 -0500 (Mon, 04 Aug 2008) | 14 lines

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

........
r135479 | tilghman | 2008-08-04 11:56:19 -0500 (Mon, 04 Aug 2008) | 6 lines

Memory leak on unload
(closes issue #13231)
 Reported by: eliel
 Patches: 
       app_voicemail.leak.patch uploaded by eliel (license 64)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135481 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-04 17:03:46 +00:00
Tilghman Lesher
7a8515e211 Blocked revisions 135476 via svnmerge
........
r135476 | tilghman | 2008-08-04 11:34:04 -0500 (Mon, 04 Aug 2008) | 6 lines

HTTP module memory leaks
(closes issue #13230)
 Reported by: eliel
 Patches: 
       res_http_post_leak.patch uploaded by eliel (license 64)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135478 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-04 16:35:44 +00:00
Russell Bryant
4f2e6ffa98 Merged revisions 135474 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r135474 | russell | 2008-08-04 11:28:07 -0500 (Mon, 04 Aug 2008) | 10 lines

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

........
r135473 | russell | 2008-08-04 11:26:17 -0500 (Mon, 04 Aug 2008) | 2 lines

Add a minor clarification to the documentation of mohinterpret and mohsuggest

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135475 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-04 16:28:25 +00:00
Russell Bryant
bf7ca7ec97 Merged revisions 135439 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r135439 | russell | 2008-08-04 10:02:12 -0500 (Mon, 04 Aug 2008) | 4 lines

Be explicit that we don't want a result from this callback.  The callback would
never indicate a match, so nothing would have been returned anyway, but it was
still a poor example of proper usage.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135440 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-04 15:02:44 +00:00
Sean Bright
6c09b18717 Blocked revisions 135405 via svnmerge
........
r135405 | seanbright | 2008-08-03 12:14:14 -0400 (Sun, 03 Aug 2008) | 3 lines

Merge in changes that allow Asterisk to be built against the Hoard
memory allocator.  See doc/hoard.txt for more details.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135406 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-03 16:15:10 +00:00
Michiel van Baak
ad8494bc11 Blocked revisions 135373 via svnmerge
........
r135373 | mvanbaak | 2008-08-03 02:03:53 +0200 (Sun, 03 Aug 2008) | 2 lines

whitespace fixes only.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135374 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-03 00:06:24 +00:00
Michiel van Baak
c2fb65d6c4 Blocked revisions 135371 via svnmerge
........
r135371 | mvanbaak | 2008-08-03 02:00:06 +0200 (Sun, 03 Aug 2008) | 8 lines

Dont coredump on register of non-configured devices

(closes issue #13224)
Reported by: mvanbaak
Patches:
      noncon.diff uploaded by wedhorn (license 30) with whitespace fixes by me
Tested by: wedhorn, mvanbaak

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-03 00:01:11 +00:00
Michiel van Baak
283d95d035 Blocked revisions 135300 via svnmerge
........
r135300 | mvanbaak | 2008-08-02 14:29:23 +0200 (Sat, 02 Aug 2008) | 8 lines

pass device instead of session to transmit_ functions.

(closes issue #10396)
Reported by: wedhorn
Patches:
      transmit3a.diff uploaded by wedhorn (license 30)
Tested by: wedhorn, mvanbaak

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135301 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-02 12:31:33 +00:00
Steve Murphy
88a4540726 Merged revisions 135265 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r135265 | murf | 2008-08-01 22:51:29 -0600 (Fri, 01 Aug 2008) | 31 lines

(closes issue #13202)
Reported by: falves11
Tested by: murf

falves11 ==

The changes I introduce here seem to clear up the problem
for me. However, if they do not for you, please reopen this
bug, and we'll keep digging.

The root of this problem seems to be a subtle memory corruption
introduced when creating an extension with an empty extension
name. While valgrind cannot detect it outside of DEBUG_MALLOC
mode, when compiled with DEBUG_MALLOC, this is certain death.

The code in main/features.c is a puzzle to me. On the initial
module load, the code is attempting to add the parking extension
before the features.conf file has even been opened!

I just wrapped the offending call with an if() that will not
try to add the extension if the extension name is empty. THis
seems to solve the corruption, and let the "memory show allocations"
work as one would expect.

But, really, adding an extension with an empty name is a seriously
bad thing to allow, as it will mess up all the pattern matching 
algorithms, etc. So, I added a statement to the add_extension2 code to return
a -1 if this is attempted.


in 1.6.0, the changes to only main/pbx.c were applicable,
as apparently the code added to main/features by jpeeler
were not included in 1.6.0.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135266 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-02 05:15:59 +00:00
Terry Wilson
17a509e4d6 Blocked revisions 135235 via svnmerge
........
r135235 | twilson | 2008-08-01 16:56:07 -0500 (Fri, 01 Aug 2008) | 2 lines

Fix mime parsing by re-adding support for passing headers to callback functions

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135236 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-01 21:58:06 +00:00
Sean Bright
3f6647d7ad Merged revisions 135197 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r135197 | seanbright | 2008-08-01 15:29:26 -0400 (Fri, 01 Aug 2008) | 6 lines

Remove some code that used to do something but does not anymore, mainly
to get rid of a shadow warning (but this seemed legitimate enough to fix
here instead of in my branch).

Thanks to putnopvut for taking a look as well.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135198 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-01 19:30:31 +00:00
Russell Bryant
60cc0566b0 Blocked revisions 135158 via svnmerge
........
r135158 | russell | 2008-08-01 13:16:24 -0500 (Fri, 01 Aug 2008) | 14 lines

Merge changes from team/bbryant/keyrotation

This set of changes enhances IAX2 encryption support by adding key rotation
to provide enhanced security.  The key used for encryption is rotated right 
after the call gets set up, and then again every few minutes.  This was
discussed at the last AstriDevCon.  For interoperability with older versions
of Asterisk, there is an option that disables key rotation.

(closes issue #13018)
Reported by: bbryant
Patches:
      07072008__iax2_key_rotation.diff uploaded by bbryant (license 36)
Tested by: russell, bbryant

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135159 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-01 18:17:22 +00:00
Tilghman Lesher
45253fa663 Merged revisions 135128 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r135128 | tilghman | 2008-08-01 12:09:50 -0500 (Fri, 01 Aug 2008) | 2 lines

Picky, picky, buildbot

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-01 17:10:29 +00:00
Tilghman Lesher
4802c70d3a Merged revisions 135126 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r135126 | tilghman | 2008-08-01 11:39:51 -0500 (Fri, 01 Aug 2008) | 9 lines

SIP should use the transport type set in the Moved Temporarily for the next
invite.
(closes issue #11843)
 Reported by: pestermann
 Patches: 
       20080723__issue11843_302_ignores_transport_16branch.diff uploaded by bbryant (license 36)
       20080723__issue11843_302_ignores_transport_trunk.diff uploaded by bbryant (license 36)
 Tested by: pabelanger

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135127 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-01 16:44:32 +00:00
Mark Michelson
52f334eacf Merged revisions 135067-135068 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r135067 | mmichelson | 2008-08-01 09:29:48 -0500 (Fri, 01 Aug 2008) | 13 lines

IMAP storage functioned under the assumption that folders
such as "Work" and "Family" would be subfolders of the
INBOX. This is an invalid assumption to make, but it could
be desirable to set up folders in this manner, so a new
option for voicemail.conf, "imapparentfolder" has been
added to allow for this.

(closes issue #13142)
Reported by: jaroth
Patches:
      parentfolder.patch uploaded by jaroth (license 50)


........
r135068 | mmichelson | 2008-08-01 09:42:24 -0500 (Fri, 01 Aug 2008) | 3 lines

IMAP-specific items must go in IMAP_STORAGE defines...


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135070 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-01 14:43:19 +00:00
Michiel van Baak
c82f22257d Blocked revisions 135061 via svnmerge
........
r135061 | mvanbaak | 2008-08-01 14:17:33 +0200 (Fri, 01 Aug 2008) | 8 lines

Make safe_asterisk work on dash/sh/bash etc.

(closes issue #13111)
Reported by: pabelanger
Patches:
      2008071901_issue13111_safe_asterisk.diff uploaded by mvanbaak (license 7)
Tested by: mvanbaak, pabelanger

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135062 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-01 12:18:18 +00:00
Michiel van Baak
f138b46450 Merged revisions 135059 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r135059 | mvanbaak | 2008-08-01 13:47:34 +0200 (Fri, 01 Aug 2008) | 10 lines

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

........
r135058 | mvanbaak | 2008-08-01 13:43:46 +0200 (Fri, 01 Aug 2008) | 2 lines

make app_ices compile on OpenBSD.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-01 11:57:38 +00:00
Michiel van Baak
5468f7fe62 Merged revisions 135056 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r135056 | mvanbaak | 2008-08-01 13:00:13 +0200 (Fri, 01 Aug 2008) | 16 lines

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

........
r135055 | mvanbaak | 2008-08-01 12:55:27 +0200 (Fri, 01 Aug 2008) | 8 lines

fix some potential deadlocks in chan_skinny

(closes issue #13215)
Reported by: qwell
Patches:
      2008080100_bug13215.diff.txt uploaded by mvanbaak (license 7)
Tested by: mvanbaak

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135057 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-01 11:03:07 +00:00
Kevin P. Fleming
e6c7675f32 Merged revisions 135016 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r135016 | kpfleming | 2008-07-31 17:28:42 -0500 (Thu, 31 Jul 2008) | 11 lines

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

........
r134983 | kpfleming | 2008-07-31 17:18:11 -0500 (Thu, 31 Jul 2008) | 3 lines

accomodate users who seem to lack a sense of humor :-)


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-31 22:34:44 +00:00
Tilghman Lesher
6d0cdb3f22 Merged revisions 134980 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r134980 | tilghman | 2008-07-31 16:55:42 -0500 (Thu, 31 Jul 2008) | 16 lines

Blocked revisions 134976 via svnmerge

........
r134976 | tilghman | 2008-07-31 16:53:19 -0500 (Thu, 31 Jul 2008) | 9 lines

Specify codecs in callfiles and manager, to allow video calls to be set up
from callfiles and AMI.
(closes issue #9531)
 Reported by: Geisj
 Patches: 
       20080715__bug9531__1.4.diff.txt uploaded by Corydon76 (license 14)
       20080715__bug9531__1.6.0.diff.txt uploaded by Corydon76 (license 14)
 Tested by: Corydon76

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@134981 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-31 21:58:26 +00:00
Tilghman Lesher
2ea9a77dc1 Merged revisions 134977 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r134977 | tilghman | 2008-07-31 16:53:59 -0500 (Thu, 31 Jul 2008) | 2 lines

Switch command order, to meet with current specs

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@134979 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-31 21:54:47 +00:00
Tilghman Lesher
511ebd6e50 Blocked revisions 134925 via svnmerge
........
r134925 | tilghman | 2008-07-31 15:10:39 -0500 (Thu, 31 Jul 2008) | 3 lines

Increase column size beyond the minimum required, since PostgreSQL won't let
us modify existing columns.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@134926 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-31 20:11:17 +00:00
Steve Murphy
7a26f22be2 Merged revisions 134922 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r134922 | murf | 2008-07-31 13:48:08 -0600 (Thu, 31 Jul 2008) | 63 lines

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

........
r134883 | murf | 2008-07-31 13:23:42 -0600 (Thu, 31 Jul 2008) | 51 lines

(closes issue #11849)
Reported by: greyvoip
Tested by: murf

OK, a few days of debugging, a bunch of instrumentation
in chan_sip, main/channel.c, main/pbx.c, etc. and 5 solid 
notebook pages of notes later, I  have made the small
tweek necc. to get the start time right on the second 
CDR when:

  A Calls B
  B answ.
  A hits Xfer button on sip phone,
  A dials C and hits the OK button,
  A hangs up
  C answers ringing phone
  B and C converse
  B and/or C hangs up

But does not harm the scenario where:

  A Calls B
  B answ.
  B hits xfer button on sip phone,
  B dials C and hits the OK button,
  B hangs up
  C answers ringing phone
  A and C converse
  A and/or C hangs up

The difference in start times on the second CDR is because
of a Masquerade on the B channel when the xfer number is 
sent. It ends up replacing the CDR on the B channel with
a duplicate, which ends up getting tossed out. We keep 
a pointer to the first CDR, and update *that* after the
bridge closes. But, only if the CDR has changed.

I hope this change is specific enough not to muck
up any current CDR-based apps. In my defence, I 
assert that the previous information was wrong,
and this change fixes it, and possibly other
similar scenarios.

I wonder if I should be doing the same thing
for the channel, as I did for the peer, but
I can't think of a scenario this might affect.
I leave it, then, as an exersize for the users,
to find the scenario where the chan's CDR 
changes and loses the proper start time.


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@134923 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-31 19:54:58 +00:00