Commit Graph

5255 Commits

Author SHA1 Message Date
Mark Michelson
880a6f5215 Merged revisions 133041 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r133041 | mmichelson | 2008-07-23 12:54:03 -0500 (Wed, 23 Jul 2008) | 15 lines

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

........
r133038 | mmichelson | 2008-07-23 12:50:01 -0500 (Wed, 23 Jul 2008) | 7 lines

Small cleanup. Move the declaration of the DAHDI_SPANINFO
variable to the block where it is used. This allows one
less #ifdef HAVE_PRI to clutter things up.

Thanks to Tzafrir for pointing this out on #asterisk-dev


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@133042 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-23 17:55:49 +00:00
Tilghman Lesher
817985e1be Merged revisions 132981 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r132981 | tilghman | 2008-07-23 12:20:43 -0500 (Wed, 23 Jul 2008) | 6 lines

Yet another conversion of '|' to ','
(closes issue #13137)
 Reported by: eliel
 Patches: 
       chan_iax2trunk-IAXPEER.patch uploaded by eliel (license 64)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@132983 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-23 17:21:51 +00:00
Kevin P. Fleming
61e8f3a559 Merged revisions 132883,132966 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r132883 | crichter | 2008-07-23 07:07:15 -0500 (Wed, 23 Jul 2008) | 9 lines

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

........
r132826 | crichter | 2008-07-23 13:37:50 +0200 (Mi, 23 Jul 2008) | 1 line

another Fix because of r119585, this commit has broken high frequented BRI Ports, there was a possibility that a channel, that was marked as in_use would be reused later, the corresponding port could got stuck then. So it is recommended to upgrade for chan_misdn users.
........

................
r132966 | kpfleming | 2008-07-23 11:38:28 -0500 (Wed, 23 Jul 2008) | 2 lines

use correct function name... please compile with --enable-dev-mode

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@132967 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-23 16:42:28 +00:00
Olle Johansson
5881728776 Merged revisions 132823 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r132823 | oej | 2008-07-23 10:13:07 +0200 (Ons, 23 Jul 2008) | 8 lines

Well, the content of a channel variable may be longer than the size of a pointer...
Thanks, eliel!

Reported by: eliel
Patches: 
      chan_siptrunk.SIPPEER.patch uploaded by eliel (license 64)
(closes issue #13135)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@132824 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-23 08:18:59 +00:00
Mark Michelson
6985ec34a8 Merged revisions 132795 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r132795 | mmichelson | 2008-07-22 17:17:09 -0500 (Tue, 22 Jul 2008) | 11 lines

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

........
Allow Spiraled INVITEs to work correctly within Asterisk.

Prior to this change, a spiraled INVITE would cause a 482
Loop Detected to be sent to the caller. With this change,
if a potential loop is detected, the Request-URI is inspected
to see if it has changed from what was originally received. If
pedantic mode is on, then this inspection is fully RFC 3261
compliant. If pedantic mode is not on, then a string comparison
is used to test the equality of the two R-URIs.

This has been tested by using OpenSER to rewrite the R-URI
and send the INVITE back to Asterisk.

(closes issue #7403)
Reported by: stephen_dredge


Modified:
    branches/1.4/channels/chan_sip.c


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@132797 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-22 22:20:50 +00:00
Kevin P. Fleming
b70cace390 Merged revisions 132791 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r132791 | kpfleming | 2008-07-22 17:14:37 -0500 (Tue, 22 Jul 2008) | 2 lines

correct fix made in r132777... the code *did* compile in dev-mode, as long as libpri was installed and enabled

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@132793 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-22 22:15:54 +00:00
Olle Johansson
62c2359763 Merged revisions 132703 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r132703 | oej | 2008-07-22 22:46:11 +0200 (Tis, 22 Jul 2008) | 17 lines

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

........
r132645 | oej | 2008-07-22 22:10:26 +0200 (Tis, 22 Jul 2008) | 9 lines

The most common question on the #asterisk iRC channel and on mailing lists
seems to be in regards to an error message when retransmit fails. This
is frequently misunderstood as a failure of Asterisk, not a failure of
the network to reach the other party.

This document tries to assist the Asterisk user in sorting out these
issues by explaining the logic and pointing at some possible 
causes. Hopefully, we will get other questions now :-)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@132782 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-22 21:59:38 +00:00
Tilghman Lesher
2ab5c16e5f Merged revisions 132778 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r132778 | tilghman | 2008-07-22 16:53:40 -0500 (Tue, 22 Jul 2008) | 18 lines

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

................
r132713 | tilghman | 2008-07-22 16:19:39 -0500 (Tue, 22 Jul 2008) | 10 lines

Merged revisions 132711 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r132711 | tilghman | 2008-07-22 16:14:10 -0500 (Tue, 22 Jul 2008) | 2 lines

Fixes for AST-2008-010 and AST-2008-011

........

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

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@132780 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-22 21:55:06 +00:00
Mark Michelson
1e742cc32f Merged revisions 132777 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r132777 | mmichelson | 2008-07-22 16:52:24 -0500 (Tue, 22 Jul 2008) | 3 lines

Get chan_dahdi to compile in devmode


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@132779 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-22 21:54:21 +00:00
Kevin P. Fleming
fdebba2a52 Merged revisions 132721 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r132721 | kpfleming | 2008-07-22 16:21:56 -0500 (Tue, 22 Jul 2008) | 14 lines

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

........
r132712 | kpfleming | 2008-07-22 16:17:23 -0500 (Tue, 22 Jul 2008) | 6 lines

ensure that if any alarms exist at channel creation time, they are handled identically to if they occurred later, so that later alarm clearing will work properly and 'make sense'

(closes issue #12160)
Reported by: tzafrir


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@132729 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-22 21:23:41 +00:00
Kevin P. Fleming
de75687750 Merged revisions 132643 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r132643 | kpfleming | 2008-07-22 14:59:10 -0500 (Tue, 22 Jul 2008) | 10 lines

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

........
r132641 | kpfleming | 2008-07-22 14:49:11 -0500 (Tue, 22 Jul 2008) | 2 lines

use renamed libpri API call for controlling this feature (was improperly named before)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@132644 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-22 20:03:35 +00:00
Kevin P. Fleming
c5552225dd Merged revisions 132573 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r132573 | kpfleming | 2008-07-21 17:51:16 -0500 (Mon, 21 Jul 2008) | 10 lines

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

........
r132571 | kpfleming | 2008-07-21 17:45:16 -0500 (Mon, 21 Jul 2008) | 2 lines

teach chan_dahdi how to find the D-channel on BRI spans, and don't attempt to use channel 24 as a D-channel on spans of unexpected sizes

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@132574 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-21 22:52:36 +00:00
Brett Bryant
63634dedbe Merged revisions 132468 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r132468 | bbryant | 2008-07-21 12:42:45 -0500 (Mon, 21 Jul 2008) | 5 lines

Fix bug where ast_parse_arg would inadvertantly enable sip tcp when parsing a tcpbindaddr if it was disabled.

(closes issue #13117)
Reported by: pj

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@132469 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-21 17:43:29 +00:00
Brett Bryant
3224dcc7c7 Merged revisions 132466 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r132466 | bbryant | 2008-07-21 12:22:02 -0500 (Mon, 21 Jul 2008) | 3 lines

Fix an issue in iax2 where a call that's been rejected still kept an open channel on the side that attempted to make the call (not the side of the 
call that rejected the call). Changes were load tested and also approved by Russell.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@132467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-21 17:25:09 +00:00
Jeff Peeler
a5962c87e2 Merged revisions 132425 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r132425 | jpeeler | 2008-07-21 10:33:13 -0500 (Mon, 21 Jul 2008) | 2 lines

make buffers config option (chan_dahdi.conf) parsing safer and added logging in case of failure

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@132426 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-21 15:34:21 +00:00
Matthew Fredrickson
c1c0583b01 Merged revisions 132108 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r132108 | mattf | 2008-07-18 13:50:00 -0500 (Fri, 18 Jul 2008) | 1 line

Make sure we break the poll so that messages queued will be sent on the SS7 when using CLI commands for blocking and blocking of CICs and linksets.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@132111 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-18 18:53:54 +00:00
Tilghman Lesher
5abbe30e52 Merged revisions 131982 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r131982 | tilghman | 2008-07-18 11:33:56 -0500 (Fri, 18 Jul 2008) | 10 lines

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

........
r131970 | tilghman | 2008-07-18 11:30:31 -0500 (Fri, 18 Jul 2008) | 2 lines

Make the ast_assert call within ast_sched_del report something useful.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131984 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-18 16:36:39 +00:00
Jeff Peeler
c27203aedb Merged revisions 131868 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r131868 | jpeeler | 2008-07-17 17:40:00 -0500 (Thu, 17 Jul 2008) | 6 lines

Add configuration option to chan_dahdi.conf to allow buffering policy and number of buffers to be configured per channel. Syntax:

buffers=<num of buffers>,<policy>

Where the number of buffers is some non-negative integer and the policy is either "full", "half", or "immediate".

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-17 22:45:50 +00:00
Tilghman Lesher
160f124ffc Merged revisions 131791 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r131791 | tilghman | 2008-07-17 15:37:14 -0500 (Thu, 17 Jul 2008) | 15 lines

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

........
r131790 | tilghman | 2008-07-17 15:35:44 -0500 (Thu, 17 Jul 2008) | 7 lines

Revert part of issue #5620 (revision 6965) as it appears that it was in error.
This should fix talk call progress on analog lines.
(closes issue #12178)
 Reported by: michael-fig
 Patches: 
       20080717__bug12178.diff.txt uploaded by Corydon76 (license 14)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131792 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-17 20:38:07 +00:00
Brett Bryant
da77ba005f Merged revisions 131492 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r131492 | bbryant | 2008-07-16 17:17:36 -0500 (Wed, 16 Jul 2008) | 14 lines

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

........
r131491 | bbryant | 2008-07-16 17:17:07 -0500 (Wed, 16 Jul 2008) | 6 lines

Fix a bug in iax2 registration that allowed peers to register with 
case-insensitive names (user_cmp_cb and peer_cmp_cb are now both 
case-sensitive).

(closes issue #13091)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131493 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-16 22:18:12 +00:00
Russell Bryant
1d83b13558 Merged revisions 131422 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r131422 | russell | 2008-07-16 15:48:27 -0500 (Wed, 16 Jul 2008) | 15 lines

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

........
r131421 | russell | 2008-07-16 15:47:53 -0500 (Wed, 16 Jul 2008) | 7 lines

Always ensure that the channel's tech_pvt reference is NULL after calling the
destroy callback.
(closes issue #13060)
Reported by: jpgrayson
Patches:
      chan_iax2_tech_pvt_crash.patch uploaded by jpgrayson (license 492)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-16 20:48:49 +00:00
Luigi Rizzo
accfd377e7 add missing terminator argument for ast_event_subscribe().
Without it the function will randomly walk on the stack
possibly causing a panic


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131206 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-16 15:04:25 +00:00
Tilghman Lesher
3570646e54 Merged revisions 131044 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r131044 | tilghman | 2008-07-15 13:25:34 -0500 (Tue, 15 Jul 2008) | 16 lines

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

........
r130959 | tilghman | 2008-07-15 12:19:13 -0500 (Tue, 15 Jul 2008) | 8 lines

astman_send_error does not need a newline appended -- the API takes care of
that for us.
(closes issue #13068)
 Reported by: gknispel_proformatique
 Patches: 
       asterisk_1_4_astman_send.patch uploaded by gknispel (license 261)
       asterisk_trunk_astman_send.patch uploaded by gknispel (license 261)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@131060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-15 18:29:31 +00:00
Steve Murphy
e45d4f3bf1 Merged revisions 130145 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

Merging this rev from trunk to 1.6.0 was not
simple. Why? Because we've enhanced trunk to
do a [fast] merge-and-delete operation which 
also solved problems with contexts having 
entries from different registrars.
Fast as in the amount of time the contexts
are locked down. That *is* fast, but traversing
the entire dialplan looking for priorities to
delete takes more time overall.
This particular fix involved pulling in those
enhancements from trunk, along with all the
various fixes and refinements made along the
way.

Merging all this from trunk into 1.6 involved:
a. mergetrunk6 in the stuff from 130145;
b. revert all but the prop changes
c. catalog all revisions to pbx.c since 1.6.0 was forked
   (at rev 105596).
d. catalog all revisions to pbx.c in trunk since 1.6.0
   was forked, making special note of all revs that
   were not merged into 1.6.0.
e. study each rev in trunk not applied to 1.6.0, and
   determine if it was involved in the merge_and_delete
   enhancements in trunk. 25 commits were done in 1.6.0,
   all but one (106306) was a merge from trunk.
   Trunk had 22 additional changes, of which 7 were
   involved in the merge_and_delete enhancements:
    106757
    108894
    109169
    116461
    123358
    130145
    130297
f. Go to trunk and collect patches, one by one,
   of the changes made by each rev across the
   entire source tree, using svn diff -c <num> > pfile
g. Apply each patch in order to 1.6.0, and 
   resolve all failures and compilation problems
   before proceding to the next patch.
h. test the stuff.
i. profit!


........
r130145 | murf | 2008-07-11 12:24:31 -0600 (Fri, 11 Jul 2008) | 40 lines

(closes issue #13041)
Reported by: eliel
Tested by: murf

(closes issue #12960)
Reported by: mnicholson

In this 'omnibus' fix, I **think** I solved both
the problem in 13041, where unloading pbx_ael.so
caused crashes, or incomplete removal of previous
registrar'ed entries. And I added code to completely
remove all includes, switches, and ignorepats that
had a matching registrar entry, which should
appease 12960.

I also added a lot of seemingly useless brackets
around single statement if's, which helped debug 
so much that I'm leaving them there.

I added a routine to check the correlation between
the extension tree lists and the hashtab 
tables. It can be amazingly helpful when you have
lots of dialplan stuff, and need to narrow
down where a problem is occurring. It's ifdef'd
out by default.

I cleaned up the code around the new CIDmatch code.
It was leaving hanging extens with bad ptrs, getting confused
over which objects to remove, etc. I tightened
up the code and changed the call to remove_exten
in the merge_and_delete code.

I added more conditions to check for empty context
worthy of deletion. It's not empty if there are
any includes, switches, or ignorepats present.

If I've missed anything, please re-open this bug,
and be prepared to supply example dialplan code.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130946 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-15 13:14:07 +00:00
Tilghman Lesher
d962a11e55 Merged revisions 130890 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r130890 | tilghman | 2008-07-14 18:59:54 -0500 (Mon, 14 Jul 2008) | 16 lines

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

........
r130889 | tilghman | 2008-07-14 18:59:13 -0500 (Mon, 14 Jul 2008) | 8 lines

Override the callerid in all cases when the callerid is set in the user, not
just when a remote callerid is set.  Also, if not set in the user, allow the
remote CallerID to pass through.
(closes issue #12875)
 Reported by: dimas
 Patches: 
       20080714__bug12875.diff.txt uploaded by Corydon76 (license 14)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130891 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-15 00:00:34 +00:00
Tilghman Lesher
21e2e2de49 Merged revisions 130515 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r130515 | tilghman | 2008-07-13 12:58:47 -0500 (Sun, 13 Jul 2008) | 12 lines

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

........
r130514 | tilghman | 2008-07-13 12:56:10 -0500 (Sun, 13 Jul 2008) | 4 lines

Reverting 2 changesets, as it breaks incoming IAX2 calls
(Related to issue #12963)
Reported by: mvanbaak

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130516 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-13 17:59:34 +00:00
Tilghman Lesher
d7bda637b5 Merged revisions 130444 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r130444 | tilghman | 2008-07-12 21:34:32 -0500 (Sat, 12 Jul 2008) | 2 lines

Unlock list before returning

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130445 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-13 02:35:22 +00:00
Matthew Fredrickson
6e55f169dd Merged revisions 130293 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r130293 | mattf | 2008-07-11 16:36:26 -0500 (Fri, 11 Jul 2008) | 1 line

Support new TRANSPORT definitions in libss7
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130294 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-11 21:39:48 +00:00
Tilghman Lesher
9b5c5f096a Merged revisions 130230 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r130230 | tilghman | 2008-07-11 14:40:55 -0500 (Fri, 11 Jul 2008) | 2 lines

Fix trunk breakage

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130231 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-11 19:45:25 +00:00
Tilghman Lesher
f5e6714b87 Merged revisions 130170 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r130170 | tilghman | 2008-07-11 13:52:42 -0500 (Fri, 11 Jul 2008) | 15 lines

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

........
r130169 | tilghman | 2008-07-11 13:51:56 -0500 (Fri, 11 Jul 2008) | 7 lines

Ensure that a destination callno of 0 will not match for frames that do not
start a dialog (new, lagrq, and ping).
(closes issue #12963)
 Reported by: russellb
 Patches: 
       chan_iax2_dup_new_fix4.patch uploaded by jpgrayson (license 492)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130171 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-11 18:53:22 +00:00
Sean Bright
2d96db5069 Merged revisions 130167 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r130167 | seanbright | 2008-07-11 14:32:26 -0400 (Fri, 11 Jul 2008) | 1 line

Missed one.  Formatting only.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130168 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-11 18:33:24 +00:00
Brett Bryant
559bbfc457 Merged revisions 130129 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r130129 | bbryant | 2008-07-11 13:09:35 -0500 (Fri, 11 Jul 2008) | 8 lines

Janitor patch to change uses of sizeof to ARRAY_LEN

(closes issue #13054)
Reported by: pabelanger
Patches:
      ARRAY_LEN.patch2 uploaded by pabelanger (license 224)
Tested by: seanbright

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130130 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-11 18:14:27 +00:00
Tilghman Lesher
05df0355d9 Merged revisions 130126 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r130126 | tilghman | 2008-07-11 12:29:24 -0500 (Fri, 11 Jul 2008) | 17 lines

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

........
r130102 | tilghman | 2008-07-11 11:50:42 -0500 (Fri, 11 Jul 2008) | 9 lines

Pass the devicestate from an underlying channel up through the Agent channel.
This should make the Agent always report the correct device state, even when
the underlying channel is used for other purposes.
(closes issue #12773)
 Reported by: davidw
 Patches: 
       20080710__bug12773.diff.txt uploaded by Corydon76 (license 14)
 Tested by: davidw

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130127 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-11 17:30:07 +00:00
Kevin P. Fleming
f95462f418 Merged revisions 130040 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r130040 | kpfleming | 2008-07-11 10:57:17 -0500 (Fri, 11 Jul 2008) | 12 lines

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

........
r130039 | kpfleming | 2008-07-11 10:41:56 -0500 (Fri, 11 Jul 2008) | 4 lines

add support for a configuration parameter for 'inband audio during RELEASE', which is currently mandatory in libpri-1.4.4 but will become configurable in libpri-1.4.5 later today

(related to issue #13042)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@130041 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-11 16:05:02 +00:00
Tilghman Lesher
334b1ee95f Merged revisions 129804 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r129804 | tilghman | 2008-07-10 17:06:07 -0500 (Thu, 10 Jul 2008) | 16 lines

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

........
r129803 | tilghman | 2008-07-10 16:57:05 -0500 (Thu, 10 Jul 2008) | 8 lines

Correctly deal with duplicate NEW frames (due to retransmission).  Also, fixup
the destination call number matching to be more strict and reliable.
(closes issue #12963)
 Reported by: jpgrayson
 Patches: 
       chan_iax2_dup_new_fix3.patch uploaded by jpgrayson (license 492)
 Tested by: jpgrayson, Corydon76

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129805 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-10 22:07:12 +00:00
Sean Bright
03a55751dc Merged revisions 129642 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r129642 | seanbright | 2008-07-10 14:19:17 -0400 (Thu, 10 Jul 2008) | 1 line

A couple more minor text changes
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-10 18:20:22 +00:00
Sean Bright
663c3a4f2e Merged revisions 129638 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r129638 | seanbright | 2008-07-10 14:16:21 -0400 (Thu, 10 Jul 2008) | 1 line

Remove extraneous \n.  Pointed out by eliel on #asterisk-dev.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129640 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-10 18:18:07 +00:00
Tilghman Lesher
7d9d663991 Merged revisions 129152 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r129152 | tilghman | 2008-07-08 15:30:29 -0500 (Tue, 08 Jul 2008) | 16 lines

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

........
r129149 | tilghman | 2008-07-08 15:27:47 -0500 (Tue, 08 Jul 2008) | 8 lines

Cause SIP to return a 480 instead of a 404 when a sip peer exists, but is not
registered.
(closes issue #12885)
 Reported by: ibc
 Patches: 
       20080701__bug12885__2.diff.txt uploaded by Corydon76 (license 14)
 Tested by: ibc

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129153 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-08 20:31:43 +00:00
Tilghman Lesher
297ac91c79 Merged revisions 129048 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r129048 | tilghman | 2008-07-08 11:49:01 -0500 (Tue, 08 Jul 2008) | 15 lines

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

........
r129047 | tilghman | 2008-07-08 11:45:23 -0500 (Tue, 08 Jul 2008) | 7 lines

Timestamp decoding for video mini-frames is bogus, because the timestamp only
includes 15 bits, unlike voice frames, which contain a 16-bit timestamp.
(closes issue #13013)
 Reported by: jpgrayson
 Patches: 
       chan_iax2_unwrap_ts.patch uploaded by jpgrayson (license 492)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129049 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-08 16:50:29 +00:00
Brett Bryant
b065565bd4 Merged revisions 129045 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r129045 | bbryant | 2008-07-08 11:40:28 -0500 (Tue, 08 Jul 2008) | 7 lines

Janitor project to convert sizeof to ARRAY_LEN macro.

(closes issue #13002)
Reported by: caio1982
Patches:
      janitor_arraylen5.diff uploaded by caio1982 (license 22)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-08 16:41:31 +00:00
Brett Bryant
bc6553eeec Merged revisions 127621 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r127621 | bbryant | 2008-07-02 17:16:29 -0500 (Wed, 02 Jul 2008) | 1 line

Update transport= in sip so that the option is not broken from a recent commit.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129042 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-08 14:43:30 +00:00
Brett Bryant
096d899b71 Merged revisions 127434 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r127434 | bbryant | 2008-07-02 12:27:36 -0500 (Wed, 02 Jul 2008) | 1 line

Fix to sip_parse_host so that it passes the correct information to sip_registry.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@129041 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-08 14:42:03 +00:00
Olle Johansson
9e194be89a Merged revisions 128951 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r128951 | oej | 2008-07-08 12:02:12 +0200 (Tis, 08 Jul 2008) | 19 lines

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

........
r128950 | oej | 2008-07-08 11:52:21 +0200 (Tis, 08 Jul 2008) | 11 lines

Don't hangup the call if we can't resolve the Contact if there's a proxy
route set for the call.
----
This comment was added a while ago and today it hit me badly. 

/* OEJ: Possible issue that may need a check:
	If we have a proxy route between us and the device,
	should we care about resolving the contact
	or should we just send it?
*/

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@128952 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-08 10:06:32 +00:00
Olle Johansson
91dd2f68bf Merged revisions 128927 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r128927 | oej | 2008-07-08 11:26:37 +0200 (Tis, 08 Jul 2008) | 15 lines

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

........
r128912 | oej | 2008-07-08 11:06:08 +0200 (Tis, 08 Jul 2008) | 7 lines

Fix issues where repeated messages where ignored, but retransmitted reliably instead of unreliably.
Reported by: johan
Patches: 
      12746.txt uploaded by oej (license 306)
Tested by: johan
(issue #12746)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@128933 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-08 09:28:56 +00:00
Russell Bryant
0b2f1a8975 Merged revisions 128796 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r128796 | russell | 2008-07-07 17:42:30 -0500 (Mon, 07 Jul 2008) | 16 lines

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

........
r128795 | russell | 2008-07-07 17:41:48 -0500 (Mon, 07 Jul 2008) | 8 lines

Fix handling of when a pvt disappears.  Properly return the pvt locked
and don't hold the pvt lock while destroying the ast_channel.

(closes issue #13014)
Reported by: jpgrayson
Patches:
      chan_iax2_ast_iax2_new2.patch uploaded by jpgrayson (license 492)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@128797 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-07 22:44:49 +00:00
Sean Bright
316061549c Merged revisions 128738 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r128738 | seanbright | 2008-07-07 16:50:29 -0400 (Mon, 07 Jul 2008) | 17 lines

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

........
r128737 | seanbright | 2008-07-07 16:47:56 -0400 (Mon, 07 Jul 2008) | 9 lines

Remove spurious trailing whitespace from log messages and fix a spelling error
in a log message.

(closes issue #13017)
Reported by: jpgrayson
Patches:
      chan_iax2_space_after_newline.patch uploaded by jpgrayson (license 492)
      chan_iax2_spelling.patch uploaded by jpgrayson (license 492)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@128739 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-07 20:51:48 +00:00
Mark Michelson
959cf9cdee Merged revisions 128640 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r128640 | mmichelson | 2008-07-07 12:09:11 -0500 (Mon, 07 Jul 2008) | 18 lines

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

........
r128639 | mmichelson | 2008-07-07 12:02:28 -0500 (Mon, 07 Jul 2008) | 10 lines

By using the iaxdynamicthreadcount to identify a thread, it was possible
for thread identifiers to be duplicated. By using a globally-unique monotonically-
increasing integer, this is now avoided.

(closes issue #13009)
Reported by: jpgrayson
Patches:
      chan_iax2_dyn_threadnum.patch uploaded by jpgrayson (license 492)


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@128641 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-07 17:10:14 +00:00
Olle Johansson
781482ec4a Merged revisions 128524 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r128524 | oej | 2008-07-06 22:11:37 +0200 (Sön, 06 Jul 2008) | 5 lines

- Fixing issues with "sip show settings"
- Adding IP address for TCP and/or TLS too if auto-domain is enabled and
  binding to a different IP address
- Fixing documentation in sip.conf.sample

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@128539 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-06 20:22:09 +00:00
Olle Johansson
207b9c07e4 Merged revisions 128491 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r128491 | oej | 2008-07-06 21:14:06 +0200 (Sön, 06 Jul 2008) | 3 lines

- Remove unused variable "expiry"
- Set global_outboundproxy.force at reload.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@128523 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-06 19:56:10 +00:00
Olle Johansson
10aaad920e Merged revisions 128290 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r128290 | oej | 2008-07-05 23:55:57 +0200 (Lör, 05 Jul 2008) | 5 lines

Adding doxygen comments to missing parts, moving some #define

...trying to get my head around the thoughts behind the TCP/TLS stuff
and figure out what needs to be done to make it useful...

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@128293 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-05 22:04:19 +00:00