Commit Graph

15307 Commits

Author SHA1 Message Date
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
Matthew Fredrickson
8b97c5fd92 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114390 65c4cc65-6c06-0410-ace0-fbb531ad65f3 2008-04-21 18:56:04 +00:00
Jeff Peeler
37b0abc1b7 Merged revisions 114327 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114327 | jpeeler | 2008-04-21 10:34:37 -0500 (Mon, 21 Apr 2008) | 2 lines

This removes an invalid warning message for an incorrectly entered pin, but more importantly removes an inapplicable check. If the first argument passed to app_authenticate does not contain a '/', the argument should be treated as the sole fixed "password" to match against and that is all. (Previous behavior was attempting to open a file based on the pin.)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114328 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-21 15:38:28 +00:00
Russell Bryant
2d4cff295e Blocked revisions 114325 via svnmerge
........
r114325 | russell | 2008-04-21 10:01:04 -0500 (Mon, 21 Apr 2008) | 2 lines

Add a simple janitor project

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114326 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-21 15:01:23 +00:00
Joshua Colp
877fc5a8c2 Merged revisions 114323 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114323 | file | 2008-04-21 11:40:33 -0300 (Mon, 21 Apr 2008) | 12 lines

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

........
r114322 | file | 2008-04-21 11:39:32 -0300 (Mon, 21 Apr 2008) | 4 lines

Only drop audio if we receive it without a progress indication. We allow other frames through such as DTMF because they may be needed to complete the call.
(closes issue #12440)
Reported by: aragon

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114324 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-21 14:42:03 +00:00
Joshua Colp
6299cfdad7 Merged revisions 114320 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114320 | file | 2008-04-21 11:34:06 -0300 (Mon, 21 Apr 2008) | 6 lines

Only print out the error message if ldap_modify_ext_s actually returns an error, and not success.
(closes issue #12438)
Reported by: gservat
Patches:
      res_config_ldap.c-patch-code uploaded by gservat (license 466)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114321 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-21 14:35:53 +00:00
Sean Bright
5d820fd20a Blocked revisions 114314 via svnmerge
........
r114314 | seanbright | 2008-04-20 10:52:07 -0400 (Sun, 20 Apr 2008) | 1 line

Minor logging cleanups
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114315 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-20 14:52:52 +00:00
Matthew Fredrickson
7cfd909969 SS7:Added - Generic Name / Access Transport / Redirecting Number handling. #12425
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-19 17:00:15 +00:00
Russell Bryant
27cf0cc766 Merged revisions 114285 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114285 | russell | 2008-04-18 16:51:05 -0500 (Fri, 18 Apr 2008) | 10 lines

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

........
r114284 | russell | 2008-04-18 16:48:06 -0500 (Fri, 18 Apr 2008) | 2 lines

Don't destroy a manager session if poll() returns an error of EAGAIN.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114286 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-18 21:51:32 +00:00
Russell Bryant
1cd288d8b8 Merged revisions 114279 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114279 | russell | 2008-04-18 15:01:47 -0500 (Fri, 18 Apr 2008) | 10 lines

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

........
r114278 | russell | 2008-04-18 15:01:09 -0500 (Fri, 18 Apr 2008) | 2 lines

ensure directories are created before we try to install stuff into them

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114280 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-18 20:02:05 +00:00
Russell Bryant
bb6f2f32c7 Merged revisions 114276 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114276 | russell | 2008-04-18 14:59:17 -0500 (Fri, 18 Apr 2008) | 10 lines

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

........
r114275 | russell | 2008-04-18 14:58:55 -0500 (Fri, 18 Apr 2008) | 2 lines

SUBDIRS_INSTALL is already listed as a subtarget for bininstall

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114277 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-18 19:59:36 +00:00
Joshua Colp
feda76658e Merged revisions 114271 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114271 | file | 2008-04-18 16:35:33 -0300 (Fri, 18 Apr 2008) | 4 lines

Make sure ADSI is marked as unavailable on Unistim channels so voicemail does not try to do some ADSI jazz.
(closes issue #12460)
Reported by: PerryB

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-18 19:36:26 +00:00
Joshua Colp
07e6364afa Blocked revisions 114261 via svnmerge
........
r114261 | file | 2008-04-18 15:15:11 -0300 (Fri, 18 Apr 2008) | 6 lines

Add MEETME_INFO dialplan function that allows querying various properties of a Meetme conference.
(closes issue #11691)
Reported by: junky
Patches:
      meetme_info.patch uploaded by jpeeler (license 325)

........


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

................
r114259 | mmichelson | 2008-04-18 13:03:06 -0500 (Fri, 18 Apr 2008) | 14 lines

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

........
r114257 | mmichelson | 2008-04-18 12:44:29 -0500 (Fri, 18 Apr 2008) | 6 lines

Clearing up error messages so they make a bit more sense. Also removing a redundant error
message.

Issue AST-15


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114260 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-18 18:04:05 +00:00
Joshua Colp
1281ed267b Merged revisions 114254 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114254 | file | 2008-04-18 13:11:27 -0300 (Fri, 18 Apr 2008) | 4 lines

If the parsing of the config file fails make sure we unlock ldap_lock.
(closes issue #12477)
Reported by: IgorG

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114255 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-18 16:12:45 +00:00
Russell Bryant
adcc4d810d Blocked revisions 114249 via svnmerge
................
r114249 | russell | 2008-04-18 10:25:50 -0500 (Fri, 18 Apr 2008) | 12 lines

Blocked revisions 114248 via svnmerge

........
r114248 | russell | 2008-04-18 10:24:09 -0500 (Fri, 18 Apr 2008) | 5 lines

Ensure that we don't ast_strdupa(NULL)
(closes issue #12476)
Reported by: davidw
Patch by me

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114250 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-18 15:26:15 +00:00
Sean Bright
0f70968ff5 Merged revisions 114246 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114246 | seanbright | 2008-04-18 09:38:07 -0400 (Fri, 18 Apr 2008) | 9 lines

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

........
r114245 | seanbright | 2008-04-18 09:33:32 -0400 (Fri, 18 Apr 2008) | 1 line

Only complete the SIP channel name once for 'sip show channel <channel>'
........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114247 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-18 13:40:28 +00:00
Tilghman Lesher
69c922d088 Merged revisions 114243 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114243 | tilghman | 2008-04-18 01:53:47 -0500 (Fri, 18 Apr 2008) | 11 lines

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

........
r114242 | tilghman | 2008-04-18 01:49:16 -0500 (Fri, 18 Apr 2008) | 3 lines

For consistency sake, ensure that the values that ${CALLINGPRES} returns are valid as an
input to SetCallingPres.  (Closes issue #12472)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114244 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-18 06:54:39 +00:00
Russell Bryant
2192aa0cfc Merged revisions 114151 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114151 | oej | 2008-04-15 15:39:29 -0500 (Tue, 15 Apr 2008) | 10 lines

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

........
r114148 | oej | 2008-04-15 22:26:05 +0200 (Tis, 15 Apr 2008) | 2 lines

Handle subscribe queues in all situations... Thanks to festr_ on irc for telling me about this bug.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114241 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-17 23:09:10 +00:00
Russell Bryant
bb661f904b Merged revisions 114150 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114150 | oej | 2008-04-15 15:31:08 -0500 (Tue, 15 Apr 2008) | 2 lines

Adding chanvar to SIPPEER from 1.4 branch

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114240 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-17 23:08:31 +00:00
Russell Bryant
147fa552bd Blocked revisions 114194 via svnmerge
........
r114194 | seanbright | 2008-04-17 07:25:23 -0500 (Thu, 17 Apr 2008) | 1 line

Update the CHANGES file with yesterday's ChanSpy change.  Sorry Kevin, just saw your e-mail.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114239 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-17 23:08:02 +00:00
Russell Bryant
7e0f51dc0d Blocked revisions 114229 via svnmerge
........
r114229 | jpeeler | 2008-04-17 16:09:37 -0500 (Thu, 17 Apr 2008) | 1 line

added info describing DNS manager
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114238 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-17 23:07:32 +00:00
Russell Bryant
a98f2831d4 Blocked revisions 114181 via svnmerge
................
r114181 | tilghman | 2008-04-16 15:00:27 -0500 (Wed, 16 Apr 2008) | 10 lines

Blocked revisions 114180 via svnmerge

........
r114180 | tilghman | 2008-04-16 14:59:37 -0500 (Wed, 16 Apr 2008) | 3 lines

Backport revisions for latest vpb drivers to 1.4
(Closes issue #12457)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114237 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-17 23:07:14 +00:00
Russell Bryant
4ae5289d1d Blocked revisions 114077 via svnmerge
........
r114077 | dbailey | 2008-04-11 17:09:04 -0500 (Fri, 11 Apr 2008) | 2 lines

Change the number of line keys per registration from 2 to 1 

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114236 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-17 23:03:40 +00:00
Russell Bryant
59082b1829 Merged revisions 114233 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114233 | russell | 2008-04-17 17:24:00 -0500 (Thu, 17 Apr 2008) | 14 lines

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

........
r114230 | russell | 2008-04-17 17:15:43 -0500 (Thu, 17 Apr 2008) | 6 lines

Remove redundant safety net.  The check for the autoservice channel list state
accomplishes the same goal in a better way.

(issue #12470)
Reported By: atis

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114234 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-17 22:24:20 +00:00
Russell Bryant
4ee2ba0704 Blocked revisions 114231 via svnmerge
........
r114231 | russell | 2008-04-17 17:21:32 -0500 (Thu, 17 Apr 2008) | 3 lines

Make this file compile.  The variable str is never set anywhere.  Furthermore,
it duplicates a lot of code.  I will leave it to murf to clean up.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114232 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-17 22:21:52 +00:00
Mark Michelson
392b19e844 Merged revisions 114227 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114227 | mmichelson | 2008-04-17 16:04:40 -0500 (Thu, 17 Apr 2008) | 17 lines

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

........
r114226 | mmichelson | 2008-04-17 16:03:29 -0500 (Thu, 17 Apr 2008) | 9 lines

Declaration of the peer channel in this scope was making it so the peer variable defined
in the outer scope was never set properly, therefore making iterating through the channel
list always restart from the beginning. This bug would have affected anyone who called
chanspy without specifying a first argument.

(closes issue #12461)
Reported by: stever28


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114228 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-17 21:05:27 +00:00
Steve Murphy
f067a409ec Blocked revisions 114201 via svnmerge
........
r114201 | murf | 2008-04-17 08:45:16 -0600 (Thu, 17 Apr 2008) | 1 line

Thanks to snuff for finding these omissions
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114225 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-17 20:29:42 +00:00
Steve Murphy
535549d60b Blocked revisions 114190 via svnmerge
........
r114190 | murf | 2008-04-16 17:53:27 -0600 (Wed, 16 Apr 2008) | 1 line

This is the scariest commit I've done in a long time. This is the astobj2-ification of chan_sip. I've tested a number of scenarios like crazy. It used to have 4x the call setup/teardown performance of trunk, but now it's roughly at parity. I will attempt to find the bottlenecks and get it back to the 4x mark. The changes made were somewhat invasive, but the value to the community of these upgrades outweighs waiting further for more testing. Every change being made to chan_sip was lousing this code up when we tried to merge. Peers, Users, Dialogs, are all now astobj2 objects, indexed via hashtables. Refcounting is used to track objects and free them at the bitter end of their lives. Please file issues on bugs.digium.com, and PLEASE, please, please be patient. One natural advantage to all the hash-table work is that loading large sip.conf files full of thousands of peers now goes much faster. One more please: PLEASE help thrash this code and test it.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114224 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-17 20:28:24 +00:00
Steve Murphy
9fa2d84191 Blocked revisions 114187 via svnmerge
........
r114187 | murf | 2008-04-16 14:54:41 -0600 (Wed, 16 Apr 2008) | 1 line

A small enhancement-- I added the routine log_show_lock to utils.c, which if the mentioned lock has been acquired, this routine will log to the console the normal info about that lock you'd see from the CLI when you do a 'core show locks'. It's solely for debug-- if the lock is NOT acquired, there is no output. I use it to show 'unexpected' locks, to see where/why a lock is pre-locked. This command is to be called from points of interest, like just before a trylock, and helps to spot fleeting, highly temporal locks that normally are not locked...
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114223 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-17 20:27:52 +00:00
Steve Murphy
25c534180d Blocked revisions 114183 via svnmerge
........
r114183 | murf | 2008-04-16 14:28:08 -0600 (Wed, 16 Apr 2008) | 1 line

Introducing a small optimization to event_unsubscribe; events now use a Doubly-Linked list for events, gives fast deletions, for the sake of channel driver mwi events. From team/murf/bug11210.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114222 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-17 20:27:17 +00:00
Steve Murphy
3e3e4b6e0c Blocked revisions 114182 via svnmerge
........
r114182 | murf | 2008-04-16 14:09:39 -0600 (Wed, 16 Apr 2008) | 1 line

Introducing a small upgrade to the ast_sched_xxx  facility, to keep it from eating up lots of cpu cycles. See CHANGES. From the team/murf/bug11210 branch.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-17 20:26:45 +00:00
Steve Murphy
d29597b342 Blocked revisions 114175 via svnmerge
........
r114175 | murf | 2008-04-16 11:45:28 -0600 (Wed, 16 Apr 2008) | 1 line

Introducing various astobj2 enhancements, chief being a refcount tracing feature, and various documentation updates in astobj2.h, and the addition of standalone utility, refcounter, that will filter the trace output for unbalanced, unfreed objects. This comes from the team/murf/bug11210 branch.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114220 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-17 20:26:06 +00:00
Steve Murphy
51ff51929b Blocked revisions 114172 via svnmerge
........
r114172 | murf | 2008-04-16 11:14:18 -0600 (Wed, 16 Apr 2008) | 1 line

Introducing doubly linked lists to trunk from branch team/murf/bug11210.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114219 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-17 20:25:13 +00:00
Mark Michelson
a85a24b719 Blocked revisions 114212 via svnmerge
................
r114212 | mmichelson | 2008-04-17 11:51:09 -0500 (Thu, 17 Apr 2008) | 11 lines

Blocked revisions 114211 via svnmerge

........
r114211 | mmichelson | 2008-04-17 11:50:46 -0500 (Thu, 17 Apr 2008) | 4 lines

Add prototype for ast_dsp_frame_freed. I'm not sure how this was
compiling before...


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-17 16:51:34 +00:00
Mark Michelson
1dd0e2df7c Merged revisions 114208 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114208 | mmichelson | 2008-04-17 11:40:12 -0500 (Thu, 17 Apr 2008) | 20 lines

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

........
r114207 | mmichelson | 2008-04-17 11:28:03 -0500 (Thu, 17 Apr 2008) | 12 lines

It was possible for a reference to a frame which was part of a freed DSP to still be
referenced, leading to memory corruption and eventual crashes. This code change ensures
that the dsp is freed when we are finished with the frame. This change is very similar
to a change Russell made with translators back a month or so ago.

(closes issue #11999)
Reported by: destiny6628
Patches:
      11999.patch uploaded by putnopvut (license 60)
Tested by: destiny6628, victoryure


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114210 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-17 16:48:47 +00:00
Russell Bryant
a52d360944 Merged revisions 114205 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114205 | russell | 2008-04-17 11:25:29 -0500 (Thu, 17 Apr 2008) | 11 lines

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

........
r114204 | russell | 2008-04-17 11:23:45 -0500 (Thu, 17 Apr 2008) | 3 lines

Fix the bininstall target to install from subdirs, as well.
(closes issue AST-8, patch from bmd at switchvox)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114206 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-17 16:26:02 +00:00
Tilghman Lesher
8479b5c666 Merged revisions 114202 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114202 | tilghman | 2008-04-17 10:12:52 -0500 (Thu, 17 Apr 2008) | 2 lines

fileio.h does not exist; io.h does, though.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114203 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-17 15:17:20 +00:00
Philippe Sultan
c35209317d Merged revisions 114199 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114199 | phsultan | 2008-04-17 15:46:17 +0200 (Thu, 17 Apr 2008) | 10 lines

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

........
r114198 | phsultan | 2008-04-17 15:42:23 +0200 (Thu, 17 Apr 2008) | 2 lines

Use keepalives effectively in order diagnose bug #12432.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-17 13:55:10 +00:00