Commit Graph

2444 Commits

Author SHA1 Message Date
Terry Wilson
0de177bc47 Merged revisions 139870 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r139870 | twilson | 2008-08-25 15:59:58 -0500 (Mon, 25 Aug 2008) | 10 lines

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

........
r139869 | twilson | 2008-08-25 15:46:10 -0500 (Mon, 25 Aug 2008) | 2 lines

Make SIPADDHEADER() propagate indefinitely

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@139872 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-25 21:05:57 +00:00
Mark Michelson
f084b49eed Merged revisions 139016 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r139016 | mmichelson | 2008-08-20 10:38:47 -0500 (Wed, 20 Aug 2008) | 14 lines

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

........
r139015 | mmichelson | 2008-08-20 10:37:56 -0500 (Wed, 20 Aug 2008) | 6 lines

sip_read should properly handle a NULL return from sip_rtp_read.

(closes issue #13257)
Reported by: travishein


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@139017 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-20 15:39:19 +00:00
Sean Bright
fe6ed321c8 Merged revisions 138778-138780 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r138778 | seanbright | 2008-08-18 20:08:27 -0400 (Mon, 18 Aug 2008) | 1 line

While we're at it, make this machine parseable too.
........
r138779 | seanbright | 2008-08-18 20:09:38 -0400 (Mon, 18 Aug 2008) | 1 line

And remove code we don't need anymore.
........
r138780 | seanbright | 2008-08-18 20:10:56 -0400 (Mon, 18 Aug 2008) | 1 line

Let it compile now, too (woops)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@138781 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-19 00:15:28 +00:00
Sean Bright
b688efae65 Merged revisions 138775 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r138775 | seanbright | 2008-08-18 19:42:36 -0400 (Mon, 18 Aug 2008) | 3 lines

Change event header to RegistrationTime to be more consistent (and avoid
breaking existing frameworks).  Pointed out by Laureano on #asterisk-dev.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@138776 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-18 23:43:54 +00:00
Tilghman Lesher
eec03bcf40 Merged revisions 138260 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r138260 | tilghman | 2008-08-15 17:54:57 -0500 (Fri, 15 Aug 2008) | 16 lines

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

........
r138258 | tilghman | 2008-08-15 17:33:42 -0500 (Fri, 15 Aug 2008) | 8 lines

More fixes for realtime peers.
(closes issue #12921)
 Reported by: Nuitari
 Patches: 
       20080804__bug12921.diff.txt uploaded by Corydon76 (license 14)
       20080815__bug12921.diff.txt uploaded by Corydon76 (license 14)
 Tested by: Corydon76

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@138262 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-15 23:03:06 +00:00
Jason Parker
17f520666d Merged revisions 137812 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r137812 | qwell | 2008-08-14 10:32:16 -0500 (Thu, 14 Aug 2008) | 8 lines

Make sure we set the socket port, so we don't try to use <ip address>:0.

(closes issue #13255)
Reported by: falves11
Patches:
      13255-socketport.diff uploaded by qwell (license 4)
Tested by: falves11

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@137814 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-14 15:37:35 +00:00
Jason Parker
c6681ec41d Merged revisions 137532 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r137532 | qwell | 2008-08-13 16:08:58 -0500 (Wed, 13 Aug 2008) | 8 lines

Correctly end locally ended calls.

(closes issue #12170)
Reported by: pj
Patches:
      20080702__issue12170_clear_pendinginvite.diff uploaded by bbryant (license 36)
Tested by: bbryant, pabelanger

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@137533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-13 21:09:36 +00:00
Tilghman Lesher
45253fa663 Merged revisions 135128 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r135128 | tilghman | 2008-08-01 12:09:50 -0500 (Fri, 01 Aug 2008) | 2 lines

Picky, picky, buildbot

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-01 17:10:29 +00:00
Tilghman Lesher
4802c70d3a Merged revisions 135126 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r135126 | tilghman | 2008-08-01 11:39:51 -0500 (Fri, 01 Aug 2008) | 9 lines

SIP should use the transport type set in the Moved Temporarily for the next
invite.
(closes issue #11843)
 Reported by: pestermann
 Patches: 
       20080723__issue11843_302_ignores_transport_16branch.diff uploaded by bbryant (license 36)
       20080723__issue11843_302_ignores_transport_trunk.diff uploaded by bbryant (license 36)
 Tested by: pabelanger

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135127 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-01 16:44:32 +00:00
Mark Michelson
d6b4e025b0 Merged revisions 134556 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r134556 | mmichelson | 2008-07-30 15:24:40 -0500 (Wed, 30 Jul 2008) | 7 lines

Fix the parsing of the "reason" parameter in the
Diversion: header.

(closes issue #13195)
Reported by: woodsfsg


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@134561 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-30 20:25:57 +00:00
Mark Michelson
19380639cb Merged revisions 133573 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r133573 | mmichelson | 2008-07-25 09:40:52 -0500 (Fri, 25 Jul 2008) | 15 lines

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

........
r133572 | mmichelson | 2008-07-25 09:40:10 -0500 (Fri, 25 Jul 2008) | 7 lines

We need to make sure to null-terminate the "name"
portion of SIP URI parameters so that there are no
bogus comparisons.

Thanks to bbryant for pointing this out.


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@133574 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-25 14:41:40 +00:00
Russell Bryant
6316323815 Merged revisions 133568 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r133568 | russell | 2008-07-25 08:01:59 -0500 (Fri, 25 Jul 2008) | 4 lines

Minor coding guidelines tweaks ...
 - Use ast_strlen_zero in one place
 - check for successful string comparison the way most of Asterisk code does it

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@133569 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-25 13:25:10 +00:00
Tilghman Lesher
640d750b3e Merged revisions 133509 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r133509 | tilghman | 2008-07-24 16:27:06 -0500 (Thu, 24 Jul 2008) | 11 lines

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

........
r133488 | tilghman | 2008-07-24 16:17:55 -0500 (Thu, 24 Jul 2008) | 3 lines

Fix rtautoclear and rtcachefriends
(Closes issue #12707)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@133524 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-24 21:31:29 +00:00
Brett Bryant
14bb7ff651 Merged revisions 133197 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r133197 | bbryant | 2008-07-23 15:33:22 -0500 (Wed, 23 Jul 2008) | 2 lines

Fix issue where tcp in sip is enabled by default, despite what it says in the config sample file. Also fix "sip show settings" for tcp connections.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@133218 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-23 20:39:37 +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
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
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
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
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
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
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
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
Olle Johansson
73c1f29476 Merged revisions 128287 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r128287 | oej | 2008-07-05 23:37:57 +0200 (Lör, 05 Jul 2008) | 3 lines

Adding TCP and TLS to "sip show settings". 
TLS needs to have one configuration per configured domain at some point.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@128291 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-05 21:56:33 +00:00
Olle Johansson
d011616e6e Merged revisions 128237 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r128237 | oej | 2008-07-05 22:39:54 +0200 (Lör, 05 Jul 2008) | 2 lines

Make TCP disabled by default (it's considered experimental)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@128239 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-05 20:49:40 +00:00
Steve Murphy
b8002ee93e Merged revisions 127793 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r127793 | murf | 2008-07-03 11:16:44 -0600 (Thu, 03 Jul 2008) | 38 lines

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

........
r127663 | murf | 2008-07-02 18:16:25 -0600 (Wed, 02 Jul 2008) | 30 lines

The CDRfix4/5/6 omnibus cdr fixes.

(closes issue #10927)
Reported by: murf
Tested by: murf, deeperror

(closes issue #12907)
Reported by: falves11
Tested by: murf, falves11


(closes issue #11849)
Reported by: greyvoip

As to 11849, I think these changes fix the core problems 
brought up in that bug, but perhaps not the more global
problems created by the limitations of CDR's themselves
not being oriented around transfers.

Reopen if necc, but bug reports are not the best
medium for enhancement discussions. We need to start
a second-generation CDR standardization effort to cover
transfers.

(closes issue #11093)
Reported by: rossbeer
Tested by: greyvoip, murf



........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@127830 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-03 19:12:14 +00:00
Olle Johansson
5098eedd6d Merged revisions 127791 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r127791 | oej | 2008-07-03 18:48:23 +0200 (Tor, 03 Jul 2008) | 5 lines

Make sure we stop session timers as soon as we start hanging up an active call.

May fix issue 12919.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@127792 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-03 16:50:43 +00:00
Olle Johansson
434c1b619e Merged revisions 127779 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r127779 | oej | 2008-07-03 18:25:59 +0200 (Tor, 03 Jul 2008) | 4 lines

Revert some logic for session timers. We do send in-dialog requests that should not have session-timer
require headers, like MESSAGE and REFER. So in the future, only add them on requests and responses
that are related to INVITEs and re-INVITEs.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@127790 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-03 16:33:05 +00:00
Tilghman Lesher
f53f5f1882 Merged revisions 127297 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r127297 | tilghman | 2008-07-01 21:48:43 -0500 (Tue, 01 Jul 2008) | 12 lines

Change the global timer B to be dependent on the value of the T1 timer, as
recommended in RFC 3261, instead of being hardcoded to 32 seconds.  This is
important for LANs, as it allows autocongestion to occur much more quickly, if
desired by the local PBX administrator.  It also corrects a bug: if the T1
timer was increased beyond 500ms, then timer B would have been set at a much
lower value than recommended.
(closes issue #12544)
 Reported by: kactus
 Patches: 
       20080616__bug12544.diff.txt uploaded by Corydon76 (license 14)
 Tested by: kactus

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@127298 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-02 02:49:57 +00:00
Brett Bryant
ecbd67d74e Merged revisions 127154 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r127154 | bbryant | 2008-07-01 16:03:52 -0500 (Tue, 01 Jul 2008) | 2 lines

Add a configuration option so the global outboundproxy can use tcptls without it being defined by each sip user.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@127163 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-01 21:19:59 +00:00
Olle Johansson
221f06f104 Merged revisions 126903 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r126903 | oej | 2008-07-01 17:03:59 +0200 (Tis, 01 Jul 2008) | 15 lines

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

........
r126902 | oej | 2008-07-01 16:59:31 +0200 (Tis, 01 Jul 2008) | 7 lines

Use domain part of SIP uri in register= configuration as fromdomain.

Reported by: one47
Patches: 
      sip-reg-fromdom2.dpatch uploaded by one47 (license 23)
(closes issue #12474)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@126904 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-01 15:05:19 +00:00
Olle Johansson
927a710cea Merged revisions 126900 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r126900 | oej | 2008-07-01 16:32:15 +0200 (Tis, 01 Jul 2008) | 16 lines

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

........
r126899 | oej | 2008-07-01 16:27:33 +0200 (Tis, 01 Jul 2008) | 8 lines

Handle escaped URI's in call pickups. Patch by oej and IgorG.

Reported by: IgorG
Patches: 
      bug12299-11062-v2.patch uploaded by IgorG (license 20)
Tested by: IgorG, oej
(closes issue #12299)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@126901 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-01 14:34:34 +00:00
Olle Johansson
b6318501ef Merged revisions 126790 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r126790 | oej | 2008-07-01 13:58:17 +0200 (Tis, 01 Jul 2008) | 14 lines

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

........
r126789 | oej | 2008-07-01 13:51:38 +0200 (Tis, 01 Jul 2008) | 6 lines

Report 200 OK to all in-dialog OPTIONs requests (to confirm that the dialog
exist). Don't bother checking the request URI.

(closes issue #11264)
Reported by: ibc

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@126791 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-01 12:02:41 +00:00
Olle Johansson
75ee025252 Merged revisions 126755 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r126755 | oej | 2008-07-01 11:51:22 +0200 (Tis, 01 Jul 2008) | 15 lines

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

........
r126735 | oej | 2008-07-01 09:49:15 +0200 (Tis, 01 Jul 2008) | 7 lines

Fix bad XML for hold notification.
Reported by: gowen72
Patches: 
      hold.patch uploaded by gowen72 (license 432)
(closes issue #12942)


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@126756 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-07-01 09:53:12 +00:00
Olle Johansson
48076d5903 Merged revisions 126517 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r126517 | oej | 2008-06-30 15:03:53 +0200 (MÃ¥n, 30 Jun 2008) | 20 lines

The following patch with some changes for trunk...

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

........
r126516 | oej | 2008-06-30 14:50:55 +0200 (MÃ¥n, 30 Jun 2008) | 10 lines

Send all responses to an INVITE reliably, so that we retransmit if we don't get an ACK and
also fail if we don't get the very same precious ACK. Based on patch by tsearle, with
my own additions.

(closes issue #12951)

Reported by: tsearle
Patches: 
      busy_retransmit.patch uploaded by tsearle (license 373)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@126518 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-30 13:07:19 +00:00
Tilghman Lesher
d0a5acecf4 Merged revisions 126057 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r126057 | tilghman | 2008-06-27 17:10:34 -0500 (Fri, 27 Jun 2008) | 12 lines

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

........
r126056 | tilghman | 2008-06-27 17:01:09 -0500 (Fri, 27 Jun 2008) | 4 lines

When we get a 408 Timeout, don't stop trying to re-register.
(closes issue #12863)
 Reported by: ricvil

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@126058 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-27 22:12:08 +00:00
Brett Bryant
9da0e24388 Merged revisions 125947 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r125947 | bbryant | 2008-06-27 12:35:41 -0500 (Fri, 27 Jun 2008) | 1 line

Small error in the function that converts peer transports to a string.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@125948 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-27 17:36:14 +00:00
Brett Bryant
06c98e7444 Merged revisions 125891 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r125891 | bbryant | 2008-06-27 11:28:06 -0500 (Fri, 27 Jun 2008) | 6 lines

Change the way that the transport option works for sip users. transport will now take multiple arguments, the first one listed will be the one used 
for new dialogs, and the rest listed will be acceptable ways for that peer to contact us. This fixes a minor bug where, because SIP TCP/UDP run on 
the same port, could cause a TCP peer to be saved in the ast_db. There will also be warnings when a transport is changed for an unexpected reason.

(issue #12799)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@125892 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-27 16:29:14 +00:00
Olle Johansson
ebb266391f Merged revisions 125385 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r125385 | oej | 2008-06-26 18:54:22 +0200 (Tor, 26 Jun 2008) | 12 lines


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

........
r125384 | oej | 2008-06-26 18:32:08 +0200 (Tor, 26 Jun 2008) | 3 lines

Add support for peer realm based auth (a few missing lines, the rest is well documented but never worked)


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@125388 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-26 17:07:47 +00:00
Mark Michelson
6f0c9715db Merged revisions 124243 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r124243 | mmichelson | 2008-06-20 10:20:11 -0500 (Fri, 20 Jun 2008) | 9 lines

Add a missing "ChannelType" header to one of the "PeerStatus" manager
events in chan_sip

(closes issue #12904)
Reported by: eliel
Patches:
      chan_sip.c.patch uploaded by eliel (license 64)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124244 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-20 15:20:46 +00:00