Commit Graph

15495 Commits

Author SHA1 Message Date
Mark Michelson
0ef5d9d15b Blocked revisions 114678 via svnmerge
........
r114678 | mmichelson | 2008-04-25 17:24:32 -0500 (Fri, 25 Apr 2008) | 11 lines

Adding a new option, 'B' to app_chanspy. This option allows the spy to
barge on the call. It is like the existing whisper option, except that
it allows the spy to talk to both sides of the conversation on which
he is spying.

This feature has existed in Switchvox, and this merges the functionality
into Asterisk.

(AST-32)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114680 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-25 22:25:48 +00:00
Russell Bryant
49ba484a53 Merged revisions 114676 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114676 | russell | 2008-04-25 17:04:46 -0500 (Fri, 25 Apr 2008) | 7 lines

Lock the channel around datastore access

(closes issue #12527)
Reported by: mnicholson
Patches:
      pbx_lua4.diff uploaded by mnicholson (license 96)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114677 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-25 22:05:26 +00:00
Russell Bryant
35c3c7770f Merged revisions 114674 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114674 | russell | 2008-04-25 17:00:35 -0500 (Fri, 25 Apr 2008) | 11 lines

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

........
r114673 | russell | 2008-04-25 16:54:40 -0500 (Fri, 25 Apr 2008) | 3 lines

Use consistent logic for checking to see if a call number has been chosen yet.
Also, remove some redundant logic I recently added in a fix.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114675 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-25 22:03:25 +00:00
Russell Bryant
583b8b1cb8 Blocked revisions 114650 via svnmerge
................
r114650 | tilghman | 2008-04-25 10:58:36 -0500 (Fri, 25 Apr 2008) | 13 lines

Blocked revisions 114649 via svnmerge

........
r114649 | tilghman | 2008-04-25 10:53:52 -0500 (Fri, 25 Apr 2008) | 6 lines

Reference documentation files that actually exist.
(closes issue #12516)
 Reported by: linuxmaniac
 Patches: 
       diff_rev114611.patch uploaded by linuxmaniac (license 472)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114672 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-25 21:46:36 +00:00
Russell Bryant
c9fdb8cd09 Blocked revisions 114655 via svnmerge
........
r114655 | russell | 2008-04-25 13:18:27 -0500 (Fri, 25 Apr 2008) | 10 lines

Merge code from team/russell/parking_updates

Add some additional features to the core park_call_full() function, and expose
them as options to the Park() application.  The functionality being added is the
ability to specify a custom return extension/context/priority, a custom timeout,
and a couple of options.  The options are to play ringing instead of MOH to the
parked caller, and to randomize parking spot selection.

(code inspired by the patch in AST-17, code from switchvox)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114671 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-25 21:46:11 +00:00
Tilghman Lesher
09c3e0f618 Blocked revisions 114667 via svnmerge
........
r114667 | tilghman | 2008-04-25 15:20:10 -0500 (Fri, 25 Apr 2008) | 2 lines

Whitespace changes only

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114668 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-25 20:20:54 +00:00
Tilghman Lesher
27ef21d404 Blocked revisions 114665 via svnmerge
........
r114665 | tilghman | 2008-04-25 14:39:26 -0500 (Fri, 25 Apr 2008) | 2 lines

Oops, this isn't necessarily AGI that is forking anymore

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114666 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-25 19:40:20 +00:00
Mark Michelson
070497048a Merged revisions 114663 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114663 | mmichelson | 2008-04-25 14:33:27 -0500 (Fri, 25 Apr 2008) | 12 lines

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

........
r114662 | mmichelson | 2008-04-25 14:32:02 -0500 (Fri, 25 Apr 2008) | 4 lines

Move the unlock of the spyee channel to outside the start_spying() function so that
the channel is not unlocked twice when using whisper mode.


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114664 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-25 19:34:11 +00:00
Jason Parker
bfdca9e0f2 Blocked revisions 114660 via svnmerge
........
r114660 | qwell | 2008-04-25 13:32:22 -0500 (Fri, 25 Apr 2008) | 12 lines

Merge app_pickupchan with app_directed_pickup, for AST-27.

Initially, this was to be a new feature, with a patch from Switchvox,
 but after discussions, it was noted that this feature already existed in trunk.

The resulting discussions ended in a comment that was along the lines of
 "the patch provided here is a lot smaller than what is already in trunk,
 because it doesn't create a new application and duplicate existing code"

It was decided that these two applications could be easily merged to reduce
 code duplication.  SO, that's what this does.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114661 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-25 19:09:08 +00:00
Mark Michelson
4a927adba5 Blocked revisions 114656 via svnmerge
........
r114656 | mmichelson | 2008-04-25 13:18:30 -0500 (Fri, 25 Apr 2008) | 13 lines

This patch allows for forwarding a message with a "comment" attachment
if using IMAP storage for voicemail. The comment will be recorded and attached
as a second attachment in addition to the original message. This will be invoked
if you choose to prepend a message the way you would with file or ODBC storage


(closes issue #12028)
Reported by: jaroth
Patches:
      forward_with_comment_v2.patch uploaded by jaroth (license 50)
Tested by: jaroth


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114658 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-25 18:20:01 +00:00
Russell Bryant
326c20838b Blocked revisions 114655 via svnmerge
........
r114655 | russell | 2008-04-25 13:18:27 -0500 (Fri, 25 Apr 2008) | 10 lines

Merge code from team/russell/parking_updates

Add some additional features to the core park_call_full() function, and expose
them as options to the Park() application.  The functionality being added is the
ability to specify a custom return extension/context/priority, a custom timeout,
and a couple of options.  The options are to play ringing instead of MOH to the
parked caller, and to randomize parking spot selection.

(code inspired by the patch in AST-17, code from switchvox)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114657 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-25 18:19:24 +00:00
Mark Michelson
c2f8b21868 Merged revisions 114651 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114651 | mmichelson | 2008-04-25 11:25:17 -0500 (Fri, 25 Apr 2008) | 4 lines

Fix a memory leak and protect against potential dereferences of a NULL
pointer.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114652 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-25 16:26:08 +00:00
Sean Bright
f35b986bfd Blocked revisions 114644 via svnmerge
........
r114644 | seanbright | 2008-04-25 09:56:05 -0400 (Fri, 25 Apr 2008) | 1 line

Speaking of building...
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114645 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-25 13:56:57 +00:00
Michiel van Baak
72bad89c93 Blocked revisions 114637 via svnmerge
........
r114637 | mvanbaak | 2008-04-25 00:16:48 +0200 (Fri, 25 Apr 2008) | 8 lines

Pass the hangup cause all the way to the calling app/channel.

(closes issue #11328)
Reported by: rain
Patches:
      20071207__pass_cause_in_hangup_control_frame.diff.txt uploaded by Corydon76 (license 14)
brought up-to-date to trunk by me

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114638 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-24 22:18:58 +00:00
Joshua Colp
7b66e9fcb5 Merged revisions 114635 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114635 | file | 2008-04-24 19:11:46 -0300 (Thu, 24 Apr 2008) | 4 lines

Hey look, it builds.
(closes issue #12519)
Reported by: falves11

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114636 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-24 22:14:03 +00:00
Mark Michelson
6f5321c1bf Merged revisions 114633 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114633 | mmichelson | 2008-04-24 16:35:39 -0500 (Thu, 24 Apr 2008) | 19 lines

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

........
r114632 | mmichelson | 2008-04-24 16:35:08 -0500 (Thu, 24 Apr 2008) | 11 lines

Re-invite RTP during a masquerade so that, for instance, an AMI
redirect of two channels which are natively bridged will preserve audio
on both channels. This prevents a problem with Asterisk not re-inviting
due to one of the channels having being a zombie.

(closes issue #12513)
Reported by: mneuhauser
Patches:
      asterisk-1.4-114602_restore-RTP-on-fixup.patch uploaded by mneuhauser (license 425)


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114634 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-24 21:36:05 +00:00
Mark Michelson
9ebf88ab3d Merged revisions 114629 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114629 | mmichelson | 2008-04-24 15:43:52 -0500 (Thu, 24 Apr 2008) | 16 lines

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

........
r114628 | mmichelson | 2008-04-24 15:43:03 -0500 (Thu, 24 Apr 2008) | 8 lines

Output of channel variables when eventwhencalled=vars was set
was being truncated two characters. This patch corrects the
problem.

(closes issue #12493)
Reported by: davidw


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114630 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-24 20:44:37 +00:00
Mark Michelson
0b3951288d Merged revisions 114625 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114625 | mmichelson | 2008-04-24 15:06:06 -0500 (Thu, 24 Apr 2008) | 18 lines

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

........
r114624 | mmichelson | 2008-04-24 15:04:24 -0500 (Thu, 24 Apr 2008) | 10 lines

Resolve a deadlock in chan_local by releasing the channel lock
temporarily.

(closes issue #11712)
Reported by: callguy
Patches:
      11712.patch uploaded by putnopvut (license 60)
Tested by: acunningham


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114626 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-24 20:06:38 +00:00
Tilghman Lesher
a48962b43d Merged revisions 114622 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114622 | tilghman | 2008-04-24 14:54:57 -0500 (Thu, 24 Apr 2008) | 12 lines

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

........
r114621 | tilghman | 2008-04-24 14:53:36 -0500 (Thu, 24 Apr 2008) | 4 lines

Ensure that when we set the accountcode, it actually shows up in the CDR.
(Fix for AMI Originate)
(Closes issue #12007)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114623 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-24 19:55:55 +00:00
Tilghman Lesher
b4a9866bd5 Merged revisions 114617 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114617 | tilghman | 2008-04-24 14:24:31 -0500 (Thu, 24 Apr 2008) | 6 lines

Fix DST calculation, and fix bug in calculation of whether conf has started yet or not
(Closes issue #12292)
 Reported by: DEA
 Patches: 
       app_meetme-rt-dst-sched-fix.txt uploaded by DEA (license 3)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114619 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-24 19:37:45 +00:00
Jason Parker
9668fba027 Merged revisions 114612 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114612 | qwell | 2008-04-24 11:47:01 -0500 (Thu, 24 Apr 2008) | 17 lines

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

(closes issue #12496)
Reported by: daniele
Patches:
      misdn-moh-1.6.0-beta7.1.patch uploaded by daniele (license 471)
Tested by: daniele

Technically, I didn't use the patch above except to find out what revision to merge - but it's the same thing as this revision.

........
r51989 | crichter | 2007-01-24 06:57:22 -0600 (Wed, 24 Jan 2007) | 1 line

added fix from #8899
........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114613 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-24 16:48:05 +00:00
Russell Bryant
7f3b41e6b3 Merged revisions 114609 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114609 | russell | 2008-04-24 10:56:55 -0500 (Thu, 24 Apr 2008) | 12 lines

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

........
r114608 | russell | 2008-04-24 10:55:21 -0500 (Thu, 24 Apr 2008) | 4 lines

Fix a silly mistake in a change I made yesterday that caused chan_iax2 to blow
up very quickly.
(issue #12515)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114610 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-24 15:57:24 +00:00
Olle Johansson
d6cf0c7823 Merged revisions 114606 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114606 | oej | 2008-04-24 16:59:05 +0200 (Tor, 24 Apr 2008) | 11 lines

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

........
r114603 | oej | 2008-04-24 16:55:18 +0200 (Tor, 24 Apr 2008) | 3 lines

Only have one max-forwards header in outbound REFERs.
Discovered in the Asterisk SIP Masterclass in Orlando. Thanks Joe!

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114607 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-24 15:00:50 +00:00
Russell Bryant
d8234a6f34 Merged revisions 114604 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114604 | russell | 2008-04-24 09:55:21 -0500 (Thu, 24 Apr 2008) | 3 lines

Change a verbose message to debug.
(closes issue #12514)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114605 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-24 14:56:44 +00:00
Russell Bryant
25eca96f81 Merged revisions 114601 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114601 | russell | 2008-04-23 17:53:20 -0500 (Wed, 23 Apr 2008) | 14 lines

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

........
r114600 | russell | 2008-04-23 17:18:12 -0500 (Wed, 23 Apr 2008) | 6 lines

Improve some broken cookie parsing code.  Previously, manager login over HTTP
would only work if the mansession_id cookie was first.  Now, the code builds
a list of all of the cookies in the Cookie header.  This fixes a problem
observed by users of the Asterisk GUI.
(closes AST-20)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114602 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-23 22:54:41 +00:00
Russell Bryant
e5c15bef2a Merged revisions 114598 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114598 | russell | 2008-04-23 15:53:05 -0500 (Wed, 23 Apr 2008) | 18 lines

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

........
r114597 | russell | 2008-04-23 15:49:18 -0500 (Wed, 23 Apr 2008) | 10 lines

Fix an issue that caused getting the correct next channel to not always work.
Also, remove setting the amount of time to wait for a digit from 5 seconds back
down to 1/10 of a second.  I believe this was so the beep didn't get played over
and over really fast, but a while back I put in another fix for that issue.

(closes issue #12498)
Reported by: jsmith
Patches:
      app_chanspy_channel_walk.trunk.patch uploaded by jsmith (license 15)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114599 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-23 20:53:27 +00:00
Jason Parker
9b9c0983eb Merged revisions 114595 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114595 | qwell | 2008-04-23 13:33:28 -0500 (Wed, 23 Apr 2008) | 16 lines

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

........
r114594 | qwell | 2008-04-23 13:28:44 -0500 (Wed, 23 Apr 2008) | 8 lines

Fix reload/unload for res_musiconhold module.

(closes issue #11575)
Reported by: sunder
Patches:
      M11575_14_rev3.diff uploaded by junky (license 177)
      bug11575_trunk.diff.txt uploaded by jamesgolovich (license 176)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-23 18:34:50 +00:00
Russell Bryant
94dddcf2a8 Merged revisions 114592 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114592 | russell | 2008-04-23 13:01:00 -0500 (Wed, 23 Apr 2008) | 13 lines

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

........
r114591 | russell | 2008-04-23 12:55:31 -0500 (Wed, 23 Apr 2008) | 5 lines

Store the manager session ID explicitly as 4 byte ID instead of a ulong.  The
mansession_id cookie is coded to be limited to 8 characters of hex, and this
could break logins from 64-bit machines in some cases.
(inspired by AST-20)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114593 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-23 18:01:42 +00:00
Russell Bryant
1b3ee9e4f0 Merged revisions 114588 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114588 | russell | 2008-04-23 12:18:29 -0500 (Wed, 23 Apr 2008) | 10 lines

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

........
r114587 | russell | 2008-04-23 12:16:32 -0500 (Wed, 23 Apr 2008) | 2 lines

Fix find_callno_locked() to actually return the callno locked in some more cases.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114589 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-23 17:18:59 +00:00
Olle Johansson
3435ef6663 Merged revisions 114585 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114585 | oej | 2008-04-23 18:53:34 +0200 (Ons, 23 Apr 2008) | 10 lines

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

........
r114584 | oej | 2008-04-23 18:51:41 +0200 (Ons, 23 Apr 2008) | 2 lines

Add 502 support for both directions, not only one...  (see r114571)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114586 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-23 16:57:28 +00:00
Joshua Colp
bfd90e4f11 Merged revisions 114580 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114580 | file | 2008-04-23 11:55:03 -0300 (Wed, 23 Apr 2008) | 12 lines

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

........
r114579 | file | 2008-04-23 11:54:11 -0300 (Wed, 23 Apr 2008) | 4 lines

Instead of stopping dialplan execution when SayNumber attempts to say a large number that it can not print out a message informing the user and continue on.
(closes issue #12502)
Reported by: bcnit

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114581 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-23 14:56:04 +00:00
Mark Michelson
2513d6d403 Blocked revisions 114577 via svnmerge
........
r114577 | mmichelson | 2008-04-22 19:58:49 -0500 (Tue, 22 Apr 2008) | 23 lines

Round 2 of IMAP_STORAGE app_voicemail.c fixes:

This fixes a bug that was thought to be fixed already.

app_voicemail, if using IMAP_STORAGE, has a problem because
the IMAP header files include syslog.h, which define LOG_WARNING
and LOG_DEBUG to be different than what Asterisk uses for those
same macros. This was "fixed" in the past by including all the 
IMAP header files prior to including asterisk.h. This fix worked...
unless you were to try to compile with MALLOC_DEBUG. MALLOC_DEBUG
prepends the inclusion of astmm.h to every file, which means that no
matter what order the includes are in in app_voicemail, the unexpected
values for LOG_WARNING and LOG_DEBUG will be in place.

The action taken for this fix was to define AST_LOG_* macros in addition
to the LOG_* macros already defined. These new macros are used in app_voicemail.c,
logger.h, and astobj.h right now, and their use will be encouraged in the future.

In consideration of those who have written third-party modules which use 
the LOG_* macros, these will NOT be removed from the source, however future use
of these macros is discouraged.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114578 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-23 01:00:54 +00:00
Mark Michelson
2ee5b15459 Merged revisions 114575 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114575 | mmichelson | 2008-04-22 19:40:30 -0500 (Tue, 22 Apr 2008) | 10 lines

Round 1 of IMAP_STORAGE-related app_voicemail changes

This makes IMAP_STORAGE include the proper headers if you
have specified the "system" option for --with-imap when running
the configure script and your IMAP-related headers exist in 
/usr/include/c-client.

This change is due to a hasty merge of a 1.4 change I made.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114576 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-23 00:41:12 +00:00
Tilghman Lesher
6d39bdb8cf Merged revisions 114572 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114572 | tilghman | 2008-04-22 18:58:19 -0500 (Tue, 22 Apr 2008) | 10 lines

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

........
r114571 | tilghman | 2008-04-22 18:51:44 -0500 (Tue, 22 Apr 2008) | 2 lines

Treat a 502 just like a 503, when it comes to processing a response code

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114573 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-22 23:59:11 +00:00
Russell Bryant
f3db442032 Merged revisions 114559 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114559 | russell | 2008-04-22 17:17:31 -0500 (Tue, 22 Apr 2008) | 13 lines

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

........
r114558 | russell | 2008-04-22 17:15:36 -0500 (Tue, 22 Apr 2008) | 5 lines

When we receive a full frame that is supposed to contain our call number,
ensure that it has the correct one.
(closes issue #10078)
(AST-2008-006)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114560 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-22 22:18:59 +00:00
Steve Murphy
7d7db965ad Merged revisions 114553 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114553 | murf | 2008-04-22 15:57:57 -0600 (Tue, 22 Apr 2008) | 14 lines


(closes issue #12469)
Reported by: triccyx

I had a bit a problem reproducing this in my setup (trying not to disturb my other stuff)
but finally, I got it. The problem appears to be that the extension is being added in
replace mode, which kinda assumes that the pattern trie has been formed, when in fact,
in this case, it was not. The checks being done are not nec. when the tree is not yet
formed, as changes like this will be summarized when the trie is formed in the future.

I tested the fix, and the crash no longer happens. Feel free to open the bug again if
this fix doesn't cure the problem.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114556 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-22 22:04:51 +00:00
Russell Bryant
a04a1268e3 Blocked revisions 114551 via svnmerge
................
r114551 | russell | 2008-04-22 16:15:41 -0500 (Tue, 22 Apr 2008) | 11 lines

Blocked revisions 114550 via svnmerge

........
r114550 | russell | 2008-04-22 16:14:55 -0500 (Tue, 22 Apr 2008) | 4 lines

I thought I was going to be able to leave 1.4 alone, but that was not the case.
I ran into some problems with G.722 in 1.4, so I have merged in all of the fixes
in this area that I have made in trunk/1.6.0, and things are happy again.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-22 21:16:15 +00:00
Russell Bryant
2a69116229 Merged revisions 114548 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114548 | russell | 2008-04-22 15:25:56 -0500 (Tue, 22 Apr 2008) | 2 lines

re-add a fix that got lost with a recent change

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114549 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-22 20:27:09 +00:00
Russell Bryant
ff9c78771f Blocked revisions 114546 via svnmerge
................
r114546 | russell | 2008-04-22 14:45:12 -0500 (Tue, 22 Apr 2008) | 9 lines

Blocked revisions 114545 via svnmerge

........
r114545 | russell | 2008-04-22 14:45:00 -0500 (Tue, 22 Apr 2008) | 2 lines

Trivial change to read the number of samples from a frame before calling ast_write()

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114547 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-22 19:45:25 +00:00
Russell Bryant
e1f8040a80 Blocked revisions 114543 via svnmerge
................
r114543 | russell | 2008-04-22 13:30:47 -0500 (Tue, 22 Apr 2008) | 10 lines

Blocked revisions 114542 via svnmerge

........
r114542 | russell | 2008-04-22 13:29:56 -0500 (Tue, 22 Apr 2008) | 3 lines

After a parked call times out, allow the call back to the parker to time out.
(closes issue #10890)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114544 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-22 18:31:00 +00:00
Jason Parker
8ec76fdc91 Merged revisions 114540 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114540 | qwell | 2008-04-22 13:14:09 -0500 (Tue, 22 Apr 2008) | 8 lines

Allow setqueuevar=yes (et al) to work, after changes to pbx_builtin_setvar()

(closes issue #12490)
Reported by: bcnit
Patches:
      12490-queuevars-3.diff uploaded by qwell (license 4)
Tested by: qwell

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114541 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-22 18:14:44 +00:00
Russell Bryant
f283f17f4d Merged revisions 114538 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114538 | russell | 2008-04-22 13:04:39 -0500 (Tue, 22 Apr 2008) | 17 lines

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

........
r114537 | russell | 2008-04-22 13:03:33 -0500 (Tue, 22 Apr 2008) | 9 lines

If the dial string passed to the call channel callback does not indicate an
extension, then consider the extension on the channel before falling back
to the default.

(closes issue #12479)
Reported by: darren1713
Patches:
      exten_dial_fix_chan_iax2.c.patch uploaded by darren1713 (license 116)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114539 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-22 18:06:35 +00:00
Russell Bryant
7a61cf5371 Blocked revisions 114533 via svnmerge
........
r114533 | russell | 2008-04-22 11:47:00 -0500 (Tue, 22 Apr 2008) | 4 lines

Add a c() option for the Jack() application and JACK_HOOK() funciton for supplying
a custom client name.  Using the channel name is still the default.  This was done
at the request of Jared Smith.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114534 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-22 16:47:21 +00:00
Joshua Colp
0a17789ab3 Blocked revisions 114529 via svnmerge
........
r114529 | file | 2008-04-22 12:54:06 -0300 (Tue, 22 Apr 2008) | 6 lines

Add support for authenticating on a NOTIFY request. This is useful for phones that require it when sending them a special packet to get them to do something (such as reload their configuration).
(closes issue #9896)
Reported by: IgorG
Patches:
      sipnotify-113980-v14.patch uploaded by IgorG (license 20)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114530 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-22 15:54:37 +00:00
Russell Bryant
4b8c7ee1c9 Merged revisions 114527 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114527 | russell | 2008-04-22 10:46:01 -0500 (Tue, 22 Apr 2008) | 8 lines

Correct action_ping() and action_events() with regards to Manager 1.1
documentation.  Also, fix a bug in xml_translate().

(closes issue #11649)
Reported by: ys
Patches:
      trunk_manager.c.diff uploaded by ys (license 281)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114528 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-22 15:46:49 +00:00
Russell Bryant
defe682c1d Blocked revisions 114523 via svnmerge
................
r114523 | russell | 2008-04-22 10:20:53 -0500 (Tue, 22 Apr 2008) | 20 lines

Blocked revisions 114522 via svnmerge

........
r114522 | russell | 2008-04-22 10:20:37 -0500 (Tue, 22 Apr 2008) | 13 lines

Merge changes from team/russell/issue_9520

These changes make sure that the reference count for sip_peer objects properly
reflects the fact that the peer is sitting in the scheduler for a scheduled
callback for qualifying peers or for expiring registrations.  Without this, it
was possible for these callbacks to happen at the same time that the peer was
being destroyed.  This was especially likely to happen with realtime peers, and
for people making use of the realtime prune CLI command.

(closes issue #9520)
Reported by: kryptolus
Committed patch by me

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114524 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-22 15:21:21 +00:00
Steve Murphy
d716d75ce4 Blocked revisions 114520 via svnmerge
........
r114520 | murf | 2008-04-22 08:38:46 -0600 (Tue, 22 Apr 2008) | 15 lines


Hopefully, this will resolve the issues that russellb had with this log_show_lock().
I gathered the code that filled the string, and put it in a different func which
I cryptically call "append_lock_information()".
Now, both log_show_lock(), and handle_show_locks() both call this code to do
the work. Tested, seems to work fine. 
Also, log_show_lock was modified to use the ast_str stuff, along with checking
for successful ast_str creation, and freeing the ast_str obj when finished.
A break was inserted to terminate the search for the lock; we should never
see it twice.

An example usage in chan_sip.c was created as a comment, for instructional
purposes.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114521 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-22 14:50:55 +00:00
Matthew Fredrickson
a49ac36ed8 Merged revisions 114389 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114389 | mattf | 2008-04-21 13:44:35 -0500 (Mon, 21 Apr 2008) | 1 line

Add support for generic name transmission (#12484) on SS7 in chan_zap
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114422 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-21 20:23:01 +00:00
Matthew Fredrickson
8ae8851835 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114421 65c4cc65-6c06-0410-ace0-fbb531ad65f3 2008-04-21 20:22:08 +00:00
Matthew Fredrickson
e2505e605f git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114420 65c4cc65-6c06-0410-ace0-fbb531ad65f3 2008-04-21 20:17:35 +00:00