Commit Graph

15133 Commits

Author SHA1 Message Date
Tilghman Lesher
175b5c09dc Merged revisions 114096 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114096 | tilghman | 2008-04-13 09:35:43 -0500 (Sun, 13 Apr 2008) | 3 lines

Use ast_mkdir instead of mkdir
(Closes issue #12430)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114097 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-13 14:38:35 +00:00
Matthew Fredrickson
35bf7be972 Make sure linkset is locked exiting ss7_start_call
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114095 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-12 16:22:44 +00:00
Matthew Fredrickson
808e06b1a9 Make sure we start incoming calls on SS7 with echo cancellation enabled. Also make sure when completing a COT we call ss7_start_call with the proper locks held. Lastly, make sure if we fail to get a channel from zt_new that we don't assume it's there.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114094 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-12 16:22:00 +00:00
Tilghman Lesher
903e7f1afd Merged revisions 114090 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114090 | tilghman | 2008-04-11 18:26:56 -0500 (Fri, 11 Apr 2008) | 3 lines

If any field is not null, but has no default, then it must be set or the insert will fail.
(Closes issue #12285)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114091 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-11 23:27:39 +00:00
Tilghman Lesher
7ef743b835 Merged revisions 114088 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114088 | tilghman | 2008-04-11 18:21:54 -0500 (Fri, 11 Apr 2008) | 3 lines

Make the sample config match the contributed LDAP schema
(Closes issue #12421)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114089 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-11 23:23:10 +00:00
Terry Wilson
8b58c0dd5a Merged revisions 114084 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114084 | twilson | 2008-04-11 17:48:52 -0500 (Fri, 11 Apr 2008) | 15 lines

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

........
r114083 | twilson | 2008-04-11 17:32:51 -0500 (Fri, 11 Apr 2008) | 7 lines

Several places in the code called find_callno() (which releases the lock on the pvt structure) and then immediately locked the call and did things with it. Unfortunately, the call can disappear between the find_callno and the lock, causing Bad Stuff(tm) to happen.

Added find_callno_locked() function to return the callno withtout unlocking for instances that it is needed.

(issue #12400)
Reported by: ztel

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-11 23:21:16 +00:00
Tilghman Lesher
50071e070c Merged revisions 114085 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114085 | tilghman | 2008-04-11 18:12:16 -0500 (Fri, 11 Apr 2008) | 7 lines

Use the correct function for free'ing objects, and maybe we won't crash.
(closes issue #12163)
 Reported by: gservat
 Patches: 
       20080411__bug12163.diff.txt uploaded by Corydon76 (license 14)
 Tested by: gservat

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114086 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-11 23:13:07 +00:00
Terry Wilson
87a4e63f6d Blocked revisions 114080 via svnmerge
........
r114080 | twilson | 2008-04-11 17:23:34 -0500 (Fri, 11 Apr 2008) | 2 lines

Make sure that ${LINE} is set even if linenumber is not set in users.conf

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114081 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-11 22:24:41 +00:00
Jason Parker
7db4d7d006 Merged revisions 114073 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114073 | qwell | 2008-04-11 16:39:44 -0500 (Fri, 11 Apr 2008) | 13 lines

Blocked revisions 114072 via svnmerge

Already fixed here.

........
r114072 | qwell | 2008-04-11 16:35:16 -0500 (Fri, 11 Apr 2008) | 4 lines

It's possible that a channel can have an async goto on the successful execution of an application as well.

Closes issue #12172.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114074 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-11 21:40:30 +00:00
Terry Wilson
c3747a1ace Blocked revisions 114067 via svnmerge
........
r114067 | twilson | 2008-04-11 16:04:46 -0500 (Fri, 11 Apr 2008) | 3 lines

Fix the fact that global_variables 1) weren't being updated on reload (thanks for the report, Doug), and 2) weren't actually being appended to the list of profile variables because build_profile was called before the list was populated. Also needed to free the contents returned by load_file().


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114068 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-11 21:08:02 +00:00
Mark Michelson
a3a59c0f89 Merged revisions 114064 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114064 | mmichelson | 2008-04-11 10:49:35 -0500 (Fri, 11 Apr 2008) | 19 lines

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

........
r114063 | mmichelson | 2008-04-11 10:44:28 -0500 (Fri, 11 Apr 2008) | 11 lines

Fix a race condition that may happen between a sip hangup
and a "core show channel" command. This patch adds locking
to prevent the resulting crash.

(closes issue #12155)
Reported by: tsearle
Patches:
      show_channels_crash2.patch uploaded by tsearle (license 373)
Tested by: tsearle


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-11 15:51:10 +00:00
Tilghman Lesher
f26629cd1e Merged revisions 114061 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114061 | tilghman | 2008-04-11 09:54:22 -0500 (Fri, 11 Apr 2008) | 6 lines

Errors are all greater than 0
(closes issue #12422)
 Reported by: nito
 Patches: 
       res_config_ldap_result_check_patch.diff uploaded by nito (license 340)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114062 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-11 14:56:12 +00:00
Mark Michelson
fcbd180cec Merged revisions 114052 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114052 | mmichelson | 2008-04-10 17:02:32 -0500 (Thu, 10 Apr 2008) | 11 lines

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

........
r114051 | mmichelson | 2008-04-10 15:59:49 -0500 (Thu, 10 Apr 2008) | 3 lines

Fix 1.4 build when LOW_MEMORY is enabled.


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114056 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-10 22:23:14 +00:00
Joshua Colp
74408cd537 Blocked revisions 114049 via svnmerge
........
r114049 | file | 2008-04-10 17:28:40 -0300 (Thu, 10 Apr 2008) | 2 lines

A 'b' option has been added which causes chan_local to return the actual channel that is behind it when queried. This is useful for transfer scenarios as the actual channel will be transferred, not the Local channel. If you have been using Local channels as queue members and having issues when the agent did a blind transfer this option may solve the issue.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114050 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-10 20:30:07 +00:00
Mark Michelson
3690b75234 Merged revisions 114046 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114046 | mmichelson | 2008-04-10 14:58:36 -0500 (Thu, 10 Apr 2008) | 14 lines

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

........
r114045 | mmichelson | 2008-04-10 14:55:33 -0500 (Thu, 10 Apr 2008) | 6 lines

Be sure that we're not about to set bridgepvt NULL prior to dereferencing it.

(closes issue #11775)
Reported by: fujin


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-10 19:59:27 +00:00
Tilghman Lesher
f997490e97 Merged revisions 114042 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114042 | tilghman | 2008-04-10 14:04:29 -0500 (Thu, 10 Apr 2008) | 7 lines

The hydra grows yet another head...
(closes issue #12401)
 Reported by: davevg
 Patches: 
       astcli.diff2 uploaded by davevg (license 209)
 Tested by: davevg, Corydon76

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114043 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-10 19:09:37 +00:00
Jason Parker
63336eb9f6 Merged revisions 114036 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114036 | qwell | 2008-04-10 12:27:16 -0500 (Thu, 10 Apr 2008) | 18 lines

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

........
r114035 | qwell | 2008-04-10 12:26:10 -0500 (Thu, 10 Apr 2008) | 10 lines

Only try to prefix language if we are not using an absolute path (suffix it otherwise).

en/var/lib/asterisk/sounds/blah.gsm is a very silly path.

(closes issue #12379)
Reported by: kuj
Patches:
      12379-absolutepath.diff uploaded by qwell (license 4)
Tested by: kuj, qwell

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-10 17:27:35 +00:00
Joshua Colp
bcdf05dc3d Blocked revisions 114033 via svnmerge
................
r114033 | file | 2008-04-10 12:59:13 -0300 (Thu, 10 Apr 2008) | 13 lines

Blocked revisions 114032 via svnmerge

........
r114032 | file | 2008-04-10 12:58:39 -0300 (Thu, 10 Apr 2008) | 6 lines

Forgot the 1.4 branch for russian language fix.
(closes issue #12404)
Reported by: IgorG
Patches:
      voicemail_ru_hardcoded-v1.patch uploaded by IgorG (license 20)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-10 16:00:25 +00:00
Joshua Colp
4f40fd35ab Merged revisions 114030 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114030 | file | 2008-04-10 12:10:47 -0300 (Thu, 10 Apr 2008) | 14 lines

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

........
r114029 | file | 2008-04-10 12:09:04 -0300 (Thu, 10 Apr 2008) | 6 lines

Create the directory where name recordings will go if it does not exist.
(closes issue #12311)
Reported by: rkeene
Patches:
      12311-mkdir.diff uploaded by qwell (license 4)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114031 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-10 15:11:34 +00:00
Joshua Colp
39d2b684ca Merged revisions 114027 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114027 | file | 2008-04-10 11:53:19 -0300 (Thu, 10 Apr 2008) | 6 lines

Don't hardcode ru into the digits filename so that languageprefix can work.
(closes issue #12404)
Reported by: IgorG
Patches:
      voicemail_ru_hardcoded-v1.patch uploaded by IgorG (license 20)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114028 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-10 14:54:01 +00:00
Joshua Colp
f850d7d9c0 Merged revisions 114024 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114024 | file | 2008-04-10 10:45:45 -0300 (Thu, 10 Apr 2008) | 4 lines

Fix spelling of existent in a few places.
(closes issue #12409)
Reported by: candlerb

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114025 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-10 13:46:33 +00:00
Joshua Colp
8c044be7be Merged revisions 114022 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114022 | file | 2008-04-10 10:28:30 -0300 (Thu, 10 Apr 2008) | 14 lines

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

........
r114021 | file | 2008-04-10 10:27:11 -0300 (Thu, 10 Apr 2008) | 6 lines

Don't add custom URI options if they don't exist OR they are empty.
(closes issue #12407)
Reported by: homesick
Patches:
      uri_options-1.4.diff uploaded by homesick (license 91)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-10 13:30:32 +00:00
Mark Michelson
3dd87d6d77 Merged revisions 113980 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r113980 | mmichelson | 2008-04-09 17:32:32 -0500 (Wed, 09 Apr 2008) | 8 lines

Fix a crash that happened due to accessing free'd memory

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

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113982 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-09 22:34:04 +00:00
Mark Michelson
2389278c4a Merged revisions 113928 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r113928 | mmichelson | 2008-04-09 15:56:14 -0500 (Wed, 09 Apr 2008) | 16 lines

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

........
r113927 | mmichelson | 2008-04-09 15:54:31 -0500 (Wed, 09 Apr 2008) | 8 lines

We need to set the persistant_route [sic] parameter for the sip_pvt
during the initial INVITE, no matter if we're building the route set from
an INVITE request or response.

(closes issue #12391)
Reported by: benjaminbohlmann
Tested by: benjaminbohlmann

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113929 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-09 20:56:51 +00:00
Tilghman Lesher
81136ad1fe Merged revisions 113875 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r113875 | tilghman | 2008-04-09 14:00:40 -0500 (Wed, 09 Apr 2008) | 12 lines

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

........
r113874 | tilghman | 2008-04-09 13:57:33 -0500 (Wed, 09 Apr 2008) | 4 lines

If the [csv] section does not exist in cdr.conf, then an unload/load sequence
is needed to correct the problem.  Track whether the load succeeded with a
variable, so we can fix this with a simple reload event, instead.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113876 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-09 19:02:27 +00:00
Joshua Colp
5699f7ce1e Blocked revisions 113840 via svnmerge
........
r113840 | file | 2008-04-09 15:05:40 -0300 (Wed, 09 Apr 2008) | 4 lines

Enable enough RTP bridging to allow P2P to work.
(closes issue #11901)
Reported by: pj

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113841 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-09 18:06:46 +00:00
Jason Parker
2c7bcd89b6 Merged revisions 113838 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r113838 | qwell | 2008-04-09 12:56:07 -0500 (Wed, 09 Apr 2008) | 2 lines

Fix a small file handle "leak" pointed out by jjshoe on #asterisk.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113839 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-09 17:56:28 +00:00
Mark Michelson
dc6dcc47c3 Merged revisions 113836 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r113836 | mmichelson | 2008-04-09 12:48:33 -0500 (Wed, 09 Apr 2008) | 14 lines

There was a subtle logical difference between 1.4 and trunk with regards to how timeouts
were handled. In 1.4, if the absolute timeout were reached on a call, no matter what
the return value of ast_spawn_extension was, the pbx would attempt to go to the 'T'
extension or hangup otherwise. The rearrangement of this function in trunk made this check
only happen in the case that ast_spawn_extension returned 0. If ast_spawn_extension returned
1, then the fact that the timeout expired resulted in a no-op, and would cause an infinite
loop to occur in __ast_pbx_run. This change fixes this problem. Now timeouts will
behave as they did in 1.4

(closes issue #11550)
Reported by: pj
Tested by: putnopvut


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113837 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-09 17:50:00 +00:00
Jason Parker
876f7bcc0a Blocked revisions 113834 via svnmerge
........
r113834 | qwell | 2008-04-09 12:41:09 -0500 (Wed, 09 Apr 2008) | 7 lines

Move all messages wrapped in skinnydebug from debug to verbose.

(closes issue #12224)
Reported by: DEA
Patches:
      chan_skinny-debug-log.txt uploaded by DEA (license 3)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113835 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-09 17:41:26 +00:00
Joshua Colp
950e46f357 Merged revisions 113785 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r113785 | file | 2008-04-09 13:52:04 -0300 (Wed, 09 Apr 2008) | 12 lines

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

........
r113784 | file | 2008-04-09 13:50:45 -0300 (Wed, 09 Apr 2008) | 4 lines

If we receive an AUTHREQ from the remote server and we are unable to reply (for example they have a secret configured, but we do not) then queue a hangup frame on the Asterisk channel. This will cause the channel to hangup and a HANGUP to be sent via IAX2 to the remote side which is the proper thing to do in this scenario.
(closes issue #12385)
Reported by: viraptor

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113786 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-09 16:53:52 +00:00
Tilghman Lesher
f18fbcd8c9 Blocked revisions 113752 via svnmerge
........
r113752 | tilghman | 2008-04-09 11:23:30 -0500 (Wed, 09 Apr 2008) | 2 lines

Mark recent additions from #11954 and #12254

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113758 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-09 16:24:47 +00:00
Tilghman Lesher
51bdc38e79 Blocked revisions 113731 via svnmerge
........
r113731 | tilghman | 2008-04-09 11:16:44 -0500 (Wed, 09 Apr 2008) | 6 lines

Permit message wrap-around during message retrieval.
(closes issue #12254)
 Reported by: andrew
 Patches: 
       bug-12253.diff uploaded by snuffy (license 35)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113732 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-09 16:18:13 +00:00
Mark Michelson
5f1b7ecd09 Merged revisions 113682 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r113682 | mmichelson | 2008-04-09 09:41:58 -0500 (Wed, 09 Apr 2008) | 17 lines

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

........
r113681 | mmichelson | 2008-04-09 09:40:05 -0500 (Wed, 09 Apr 2008) | 9 lines

If Asterisk receives a 488 on an INVITE (not a reinvite), then
we should not send a BYE.

(closes issue #12392)
Reported by: fnordian
Patches:
      chan_sip.patch uploaded by fnordian (license 110) with small modification from me


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113683 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-09 14:42:48 +00:00
Tilghman Lesher
00c18989b7 Blocked revisions 113649 via svnmerge
........
r113649 | tilghman | 2008-04-09 08:55:28 -0500 (Wed, 09 Apr 2008) | 6 lines

Permit callee to continue in the dialplan, after caller has hung up.
(closes issue #11954)
 Reported by: johan
 Patches: 
       app_dial_rev104031.patch uploaded by johan (license 334)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113650 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-09 13:56:32 +00:00
Tilghman Lesher
13366c64b8 Merged revisions 113647 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r113647 | tilghman | 2008-04-09 08:23:44 -0500 (Wed, 09 Apr 2008) | 6 lines

Additional enhancements
(closes issue #12390)
 Reported by: tzafrir
 Patches: 
       astcli_fixes.diff uploaded by tzafrir (license 46)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113648 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-09 13:24:50 +00:00
Terry Wilson
de98ac9a6c Merged revisions 113597 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r113597 | twilson | 2008-04-08 20:36:58 -0500 (Tue, 08 Apr 2008) | 10 lines

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

........
r113596 | twilson | 2008-04-08 20:34:25 -0500 (Tue, 08 Apr 2008) | 2 lines

Initialize fr->cacheable to make valgrind happy

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113598 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-09 01:40:50 +00:00
Tilghman Lesher
7857509e29 Merged revisions 113559 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r113559 | tilghman | 2008-04-08 16:33:11 -0500 (Tue, 08 Apr 2008) | 6 lines

Add commandline tool for doing CLI commands through AMI (instead of using asterisk -rx)
(closes issue #12389)
 Reported by: davevg
 Patches: 
       astcli uploaded by davevg (license 209)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113560 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-08 21:34:03 +00:00
Mark Michelson
c88831e436 Blocked revisions 113508 via svnmerge
................
r113508 | mmichelson | 2008-04-08 14:09:16 -0500 (Tue, 08 Apr 2008) | 15 lines

Blocked revisions 113507 via svnmerge

........
r113507 | mmichelson | 2008-04-08 14:07:38 -0500 (Tue, 08 Apr 2008) | 8 lines

Fix potential buffer overflow that could happen if more than 100 announce files
were specified when calling ParkAndAnnounce. This overflow is not exploitable remotely
and so there is no need for a security advisory.

(closes issue #12386)
Reported by: davidw


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113509 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-08 19:10:06 +00:00
Jason Parker
5e7a6ce8a3 Merged revisions 113505 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r113505 | qwell | 2008-04-08 13:49:21 -0500 (Tue, 08 Apr 2008) | 9 lines

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

........
r113504 | qwell | 2008-04-08 13:48:55 -0500 (Tue, 08 Apr 2008) | 1 line

Add a little more that is required for previously added devices.
........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113506 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-08 18:49:36 +00:00
Jason Parker
da72762cb6 Merged revisions 113455 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r113455 | qwell | 2008-04-08 13:08:35 -0500 (Tue, 08 Apr 2008) | 12 lines

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

........
r113454 | qwell | 2008-04-08 13:07:49 -0500 (Tue, 08 Apr 2008) | 4 lines

Add support for several new(ish) devices - most notably, 7942/7945, 7962/7965, 7975.

Thanks to Greg Oliver for providing me the required information.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113456 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-08 18:09:09 +00:00
Jason Parker
78f25bb0b8 Blocked revisions 113452 via svnmerge
........
r113452 | qwell | 2008-04-08 12:32:42 -0500 (Tue, 08 Apr 2008) | 9 lines

Move AST_FEATURE_FLAG_* and FEATURE_RETURN_* to features.h so that they can be used by modules.

(closes issue #12384)
Reported by: fnordian
Patches:
      features.patch uploaded by fnordian (license 110)

(patch modified by me, to give FEATURE_RETURN_* an AST_ prefix)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113453 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-08 17:32:59 +00:00
Jason Parker
2b454613e7 Merged revisions 113403 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r113403 | qwell | 2008-04-08 12:00:55 -0500 (Tue, 08 Apr 2008) | 9 lines

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

........
r113402 | qwell | 2008-04-08 11:56:52 -0500 (Tue, 08 Apr 2008) | 1 line

Work around some silliness caused by sys/capability.h - this should fix compile errors a number of users have been experiencing.
........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113404 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-08 17:01:41 +00:00
Tilghman Lesher
362adae65d Merged revisions 113400 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r113400 | tilghman | 2008-04-08 11:54:21 -0500 (Tue, 08 Apr 2008) | 14 lines

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

........
r113399 | tilghman | 2008-04-08 11:51:28 -0500 (Tue, 08 Apr 2008) | 6 lines

Add security note on astgenkey's manpage.
(closes issue #12373)
 Reported by: lmamane
 Patches: 
       20080406__bug12373.diff.txt uploaded by Corydon76 (license 14)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113401 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-08 16:56:43 +00:00
Tilghman Lesher
b22b4bb40c Merged revisions 113349 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r113349 | tilghman | 2008-04-08 10:48:58 -0500 (Tue, 08 Apr 2008) | 15 lines

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

........
r113348 | tilghman | 2008-04-08 10:39:16 -0500 (Tue, 08 Apr 2008) | 7 lines

Move check for still-bridged channels out a little further, to avoid possible
deadlocks.  (Closes issue #12252)
Reported by: callguy
 Patches: 
       20080319__bug12252.diff.txt uploaded by Corydon76 (license 14)
 Tested by: callguy

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113350 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-08 15:50:52 +00:00
Joshua Colp
55af227d7c Blocked revisions 112874 via svnmerge
........
r112874 | murf | 2008-04-04 22:33:13 -0300 (Fri, 04 Apr 2008) | 15 lines

Found a little problem with the sip request handling that could lead to a quick crash of asterisk, and a road to a DOS attack if left unfixed.

Attaching to a running asterisk with "telnet hostname 5060", I would input "something", then hit return three times, and asterisk crashes.

I traced it to handle_request_do(), which zeroes out the data (an ast_str ptr) if the string is too short. 
Instead of freeing the struct and nulling the pointer, it now just resets it, because this 
ast_str is expected by the calling routine to still be there after handle_request_do() returns.

This appears to fix the crash. I assume that it was introduced with ast_str's being adopted.  It's a subtle and easy-to-miss sort of problem.

I also found all the places where the req.data is freed, and made sure the ptr is Nulled out as well; 
no good leaving bad ptrs laying around-- I didn't need to do this, but it seemed a good thing to do...



........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113299 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-08 15:10:05 +00:00
Joshua Colp
6b383a1bb5 Merged revisions 113297 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r113297 | file | 2008-04-08 12:05:35 -0300 (Tue, 08 Apr 2008) | 12 lines

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

........
r113296 | file | 2008-04-08 12:03:43 -0300 (Tue, 08 Apr 2008) | 4 lines

If audio suddenly gets fed into one side of a channel after a lapse of frames flush the other factory so that old audio does not remain in the factory causing the sync code to not execute.
(closes issue #12296)
Reported by: jvandal

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113298 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-08 15:06:28 +00:00
Tilghman Lesher
7dca269ec0 Merged revisions 113245 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r113245 | tilghman | 2008-04-07 17:16:46 -0500 (Mon, 07 Apr 2008) | 2 lines

Additional note

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113246 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-07 22:17:53 +00:00
Jason Parker
143c8d59bc Merged revisions 113243 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r113243 | qwell | 2008-04-07 16:49:27 -0500 (Mon, 07 Apr 2008) | 1 line

Document 'originate' permission in manager sample config.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113244 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-07 21:49:50 +00:00
Jeff Peeler
b9935ade93 Merged revisions 113241 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r113241 | jpeeler | 2008-04-07 16:35:48 -0500 (Mon, 07 Apr 2008) | 23 lines

Merged revisions 113013 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
r113013 | jpeeler | 2008-04-07 10:18:10 -0500 (Mon, 07 Apr 2008) | 15 lines

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

........
r113012 | jpeeler | 2008-04-07 10:16:44 -0500 (Mon, 07 Apr 2008) | 7 lines

(closes issue #12362)
(closes issue #12372)
Reported by: vinsik
Tested by: tecnoxarxa

This one line change makes an if inside a for loop (in realtime_peer) check all the ast_variables the loop was intending to test rather than just the first one.

........

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

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113242 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-07 21:36:47 +00:00
Mark Michelson
9fb92870ba Blocked revisions 113207 via svnmerge
........
r113207 | mmichelson | 2008-04-07 15:22:06 -0500 (Mon, 07 Apr 2008) | 7 lines

This is a "fix" for something that's been bugging the crap out of me for a while.
The variable name "flag" to distinguish between whether a message is being forwarded or
is new is not a helpful name. The newly added doxygen documentation to app_voicemail is
tremendously helpful, but I still just...hate this variable name. I think is_new_message
is more indicative of what its purpose is.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-07 20:26:34 +00:00