Commit Graph

15243 Commits

Author SHA1 Message Date
Terry Wilson
df9a6370a3 Blocked revisions 114127 via svnmerge
........
r114127 | twilson | 2008-04-14 14:58:52 -0500 (Mon, 14 Apr 2008) | 2 lines

Need a new buffer for each loop

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-14 19:59:36 +00:00
Jason Parker
1aa20cb6c0 Merged revisions 114121 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114121 | qwell | 2008-04-14 13:34:17 -0500 (Mon, 14 Apr 2008) | 15 lines

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

........
r114120 | qwell | 2008-04-14 13:31:57 -0500 (Mon, 14 Apr 2008) | 7 lines

The call_token on the pvt can occasionally be NULL, causing a crash.

If it is NULL, we can skip this channel, since it can't the one we're looking for.

(closes issue #9299)
Reported by: vazir

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114122 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-14 18:34:37 +00:00
Mark Michelson
128e5426c4 Merged revisions 114118 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114118 | mmichelson | 2008-04-14 12:42:20 -0500 (Mon, 14 Apr 2008) | 19 lines

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

........
r114117 | mmichelson | 2008-04-14 12:41:03 -0500 (Mon, 14 Apr 2008) | 11 lines

Increase the retry count when attempting to show channels. This apparently
cleared an issue someone was seeing when attempting to show channels when
the load was high.

(closes issue #11667)
Reported by: falves11
Patches:
      11677.txt uploaded by russell (license 2)
Tested by: falves11


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114119 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-14 17:42:55 +00:00
Tilghman Lesher
6c96df8368 Merged revisions 114115 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114115 | tilghman | 2008-04-14 11:32:59 -0500 (Mon, 14 Apr 2008) | 2 lines

Make tab-completion work for all cases

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114116 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-14 16:33:59 +00:00
Mark Michelson
96e74f94f0 Merged revisions 114113 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114113 | mmichelson | 2008-04-14 11:25:09 -0500 (Mon, 14 Apr 2008) | 17 lines

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

........
r114112 | mmichelson | 2008-04-14 11:24:22 -0500 (Mon, 14 Apr 2008) | 9 lines

If the datastore has been moved to another channel due to a masquerade, then
freeing the datastore here causes an eventual double free when the new channel
hangs up. We should only free the datastore if we were able to successfully remove
it from the channel we are referencing (i.e. the datastore was not moved).

(closes issue #12359)
Reported by: pguido


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114114 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-14 16:25:57 +00:00
Joshua Colp
5b77e4588d Blocked revisions 114109 via svnmerge
........
r114109 | file | 2008-04-14 12:36:02 -0300 (Mon, 14 Apr 2008) | 2 lines

During hangup it is possible for p->chan or p->owner to be NULL, so just return what the channel is bridged to instead of what they are *really* bridged to. Thanks Matt Nicholson!

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114110 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-14 15:37:10 +00:00
Mark Michelson
c243c96214 Merged revisions 114107 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114107 | mmichelson | 2008-04-14 10:01:36 -0500 (Mon, 14 Apr 2008) | 13 lines

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

........
r114106 | mmichelson | 2008-04-14 09:58:02 -0500 (Mon, 14 Apr 2008) | 5 lines

Save a local copy of the generate callback prior to unlocking the channel in
case the generate callback goes NULL on us after the channel is unlocked. Thanks
to Russell for pointing this need out to me.


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114108 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-14 15:02:43 +00:00
Joshua Colp
e2f8a90b78 Merged revisions 114104 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114104 | file | 2008-04-14 11:53:33 -0300 (Mon, 14 Apr 2008) | 12 lines

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

........
r114103 | file | 2008-04-14 11:52:46 -0300 (Mon, 14 Apr 2008) | 4 lines

It is possible for the remote side to say they want T38 but not give any capabilities.
(closes issue #12414)
Reported by: MVF

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114105 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-14 14:54:17 +00:00
Joshua Colp
8d1e1eb09e Merged revisions 114101 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114101 | file | 2008-04-14 10:53:33 -0300 (Mon, 14 Apr 2008) | 12 lines

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

........
r114100 | file | 2008-04-14 10:52:49 -0300 (Mon, 14 Apr 2008) | 4 lines

Don't change the SSRC when a new source comes into play, this might happen quite often and depending on the remote side... they might not like this.
(closes issue #12353)
Reported by: dimas

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114102 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-14 13:54:25 +00:00
Tilghman Lesher
570cafe27e Merged revisions 114098 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114098 | tilghman | 2008-04-13 21:55:41 -0500 (Sun, 13 Apr 2008) | 3 lines

Add tab command-line completion
(Closes issue #12428)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114099 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-14 02:59:50 +00:00
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