Commit Graph

2193 Commits

Author SHA1 Message Date
Brett Bryant
6891a31c38 Merged revisions 123546 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r123546 | bbryant | 2008-06-17 16:46:57 -0500 (Tue, 17 Jun 2008) | 5 lines

Updates all usages of ast_tcptls_session_instance to be managed by reference counts so that they only get destroyed when all threads are done using 
them, and memory does not get free'd causing strange issues with SIP. 

This code was originally written by russellb in the team/group/issue_11972/ branch.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123547 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-17 21:57:15 +00:00
Mark Michelson
00d9f25e41 Merged revisions 123486 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r123486 | mmichelson | 2008-06-17 15:28:47 -0500 (Tue, 17 Jun 2008) | 12 lines

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

........
r123485 | mmichelson | 2008-06-17 15:26:38 -0500 (Tue, 17 Jun 2008) | 4 lines

Make chan_sip build under dev mode with compilers >= GCC 4.2
Thanks to jpeeler for alerting me of this


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123487 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-17 20:30:00 +00:00
Mark Michelson
01ec6ca9b1 Merged revisions 123334 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r123334 | mmichelson | 2008-06-17 13:09:54 -0500 (Tue, 17 Jun 2008) | 19 lines

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

........
r123333 | mmichelson | 2008-06-17 13:09:16 -0500 (Tue, 17 Jun 2008) | 11 lines

Cisco BTS sends SIP responses with a tab between the Cseq number and
SIP request method in the Cseq: header. Asterisk did not handle this
properly, but with this patch, all is well.

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


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123335 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-17 18:10:30 +00:00
Tilghman Lesher
0c73588085 Merged revisions 123114 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r123114 | tilghman | 2008-06-16 14:57:05 -0500 (Mon, 16 Jun 2008) | 10 lines

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

........
r123113 | tilghman | 2008-06-16 14:50:12 -0500 (Mon, 16 Jun 2008) | 2 lines

Port "hasvoicemail" change from SIP to other channel drivers

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123116 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-16 20:03:18 +00:00
Tilghman Lesher
acd50c01bc Merged revisions 123111 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r123111 | tilghman | 2008-06-16 14:23:51 -0500 (Mon, 16 Jun 2008) | 16 lines

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

........
r123110 | tilghman | 2008-06-16 14:21:58 -0500 (Mon, 16 Jun 2008) | 8 lines

People expect that if "hasvoicemail" is set in users.conf, even if "mailbox"
isn't set, that SIP will detect a mailbox.
(closes issue #12855)
 Reported by: PLL
 Patches: 
       20080614__bug12855__2.diff.txt uploaded by Corydon76 (license 14)
 Tested by: PLL

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123112 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-16 19:24:44 +00:00
Joshua Colp
caedf75d2c Merged revisions 122920 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r122920 | file | 2008-06-16 09:32:02 -0300 (Mon, 16 Jun 2008) | 14 lines

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

........
r122919 | file | 2008-06-16 09:31:09 -0300 (Mon, 16 Jun 2008) | 6 lines

Only compare the first 15 characters so that even if the charset is specified we still accept it as SDP.
(closes issue #12803)
Reported by: lanzaandrea
Patches:
      chan_sip.c.diff uploaded by lanzaandrea (license 496)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122921 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-16 12:32:56 +00:00
Joshua Colp
eb2df0bf9e Merged revisions 122870 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r122870 | file | 2008-06-16 09:09:54 -0300 (Mon, 16 Jun 2008) | 14 lines

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

........
r122869 | file | 2008-06-16 09:08:28 -0300 (Mon, 16 Jun 2008) | 6 lines

Don't send a BYE on a dialog that is already gone during a REFER.
(closes issue #12865)
Reported by: flefoll
Patches:
      chan_sip.c.br14.121495.patch-ALREADYGONE uploaded by flefoll (license 244)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122871 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-16 12:10:50 +00:00
Joshua Colp
2494fa613b git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121505 65c4cc65-6c06-0410-ace0-fbb531ad65f3 2008-06-10 14:12:51 +00:00
Joshua Colp
987aadc097 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121498 65c4cc65-6c06-0410-ace0-fbb531ad65f3 2008-06-10 13:38:40 +00:00
Jeff Peeler
91945123a2 Merged revisions 120960 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r120960 | jpeeler | 2008-06-06 13:30:17 -0500 (Fri, 06 Jun 2008) | 9 lines

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

........
r120959 | jpeeler | 2008-06-06 13:29:14 -0500 (Fri, 06 Jun 2008) | 1 line

add another LOW_MEMORY define I forgot
........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120961 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-06 18:31:31 +00:00
Jeff Peeler
cd601b2b44 Merged revisions 120909 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r120909 | jpeeler | 2008-06-06 13:06:06 -0500 (Fri, 06 Jun 2008) | 9 lines

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

........
r120908 | jpeeler | 2008-06-06 13:05:15 -0500 (Fri, 06 Jun 2008) | 1 line

only define thread storage variable if necessary for LOW_MEMORY
........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120910 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-06 18:13:31 +00:00
Jeff Peeler
53aef9f034 Merged revisions 120906 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r120906 | jpeeler | 2008-06-06 12:50:05 -0500 (Fri, 06 Jun 2008) | 16 lines

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

........
r120863 | jpeeler | 2008-06-06 10:33:15 -0500 (Fri, 06 Jun 2008) | 3 lines

This fixes a crash when LOW_MEMORY is turned on. Two allocations of the ast_rtp struct that were previously allocated on the stack have been modified to use thread local storage instead.


........
r120885 | jpeeler | 2008-06-06 11:39:20 -0500 (Fri, 06 Jun 2008) | 2 lines

Correction to commmit 120863, make sure proper destructor function is called as well define two thread storage local variables.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120907 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-06 18:02:12 +00:00
Joshua Colp
5df551ca7c Merged revisions 119927 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r119927 | file | 2008-06-03 11:47:54 -0300 (Tue, 03 Jun 2008) | 10 lines

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

........
r119926 | file | 2008-06-03 11:46:24 -0300 (Tue, 03 Jun 2008) | 2 lines

Treat ECONNREFUSED as an error that will stop further retransmissions. (issue #AST-58, patch from Switchvox)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119928 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-03 14:48:53 +00:00
Joshua Colp
ad57cc89de Merged revisions 118647 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r118647 | file | 2008-05-28 11:29:01 -0300 (Wed, 28 May 2008) | 12 lines

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

........
r118646 | file | 2008-05-28 11:23:34 -0300 (Wed, 28 May 2008) | 4 lines

Add an option to use the source IP address of RTP as the destination IP address of UDPTL when a specific option is enabled. If the remote side is properly configured (ports forwarded) then UDPTL will flow.
(closes issue #10417)
Reported by: cstadlmann

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118648 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-28 14:31:42 +00:00
Joshua Colp
5c1d88af55 Merged revisions 118560 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r118560 | file | 2008-05-27 16:34:14 -0300 (Tue, 27 May 2008) | 12 lines

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

........
r118558 | file | 2008-05-27 16:32:38 -0300 (Tue, 27 May 2008) | 4 lines

Fix an issue where codec preferences were not set on dialogs that were not authenticated via a user or peer and allow framing to work without rtpmap in the SDP.
(closes issue #12501)
Reported by: slimey

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118561 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-27 19:35:47 +00:00
Tilghman Lesher
80f7c5ba35 Merged revisions 118252 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r118252 | tilghman | 2008-05-25 11:17:05 -0500 (Sun, 25 May 2008) | 20 lines

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

........
r118251 | tilghman | 2008-05-25 11:02:04 -0500 (Sun, 25 May 2008) | 12 lines

Realtime flag affects construction in multiple ways, so consulting whether
rtcachefriends was set was done too soon (needed to be done inside build_peer,
not just as a flag to build_peer).
Also, fullcontact needed to be reconstructed, because realtime separates the
embedded ';' into multiple fields.
(closes issue #12722)
 Reported by: barthpbx
 Patches: 
       20080525__bug12722.diff.txt uploaded by Corydon76 (license 14)
 Tested by: barthpbx
 (Much of the discussion happened on #asterisk-dev for diagnosing this issue)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118253 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-25 16:20:32 +00:00
Joshua Colp
2ded3ac61d Merged revisions 117575 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r117575 | file | 2008-05-21 16:39:42 -0300 (Wed, 21 May 2008) | 10 lines

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

........
r117574 | file | 2008-05-21 16:38:28 -0300 (Wed, 21 May 2008) | 2 lines

Apply the autoframing setting to dialogs that do not get matched against a user or peer.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@117576 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-21 19:45:41 +00:00
Russell Bryant
d39753ec59 Merged revisions 116919 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r116919 | russell | 2008-05-18 14:58:10 -0500 (Sun, 18 May 2008) | 3 lines

Remove duplicate colon on Reason header
(closes issue #12678)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@116922 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-18 19:59:32 +00:00
Olle Johansson
6d13b0bf81 Merged revisions 116234 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r116234 | oej | 2008-05-14 15:05:15 +0200 (Ons, 14 Maj 2008) | 11 lines

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

........
r116230 | oej | 2008-05-14 14:51:06 +0200 (Ons, 14 Maj 2008) | 3 lines

Accept text messages even with
Content-Type: text/plain;charset=Södermanländska

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@116236 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-14 13:13:18 +00:00
Russell Bryant
f42c651268 Merged revisions 115562 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r115562 | russell | 2008-05-08 11:14:08 -0500 (Thu, 08 May 2008) | 11 lines

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

........
r115561 | russell | 2008-05-08 11:11:33 -0500 (Thu, 08 May 2008) | 3 lines

Don't give up on attempting an outbound registration if we receive a 408 Timeout.
(closes issue #12323)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115563 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-08 16:14:53 +00:00
Russell Bryant
9a981dfa35 Merged revisions 115305 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r115305 | russell | 2008-05-05 14:50:24 -0500 (Mon, 05 May 2008) | 13 lines

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

........
r115304 | russell | 2008-05-05 14:49:25 -0500 (Mon, 05 May 2008) | 5 lines

Avoid putting opaque="" in Digest authentication.  This patch came from switchvox.
It fixes authentication with Primus in Canada, and has been in use for a very long
time without causing problems with any other providers.
(closes issue AST-36)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115306 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-05 19:50:43 +00:00
Mark Michelson
fe72ca1329 Make 1.6.0 compile
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114908 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-30 20:17:20 +00:00
Olle Johansson
71c72192ea Merged revisions 114899 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114899 | oej | 2008-04-30 18:55:49 +0200 (Ons, 30 Apr 2008) | 15 lines

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

........
r114890 | oej | 2008-04-30 18:23:17 +0200 (Ons, 30 Apr 2008) | 7 lines

Don't crash on bad SIP replys.
Fix created in Huntsville together with Mark M (putnopvut)

(closes issue #12363)
Reported by: jvandal
Tested by: putnopvut, oej

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114900 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-30 17:06:18 +00:00
Joshua Colp
7b66e9fcb5 Merged revisions 114635 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114635 | file | 2008-04-24 19:11:46 -0300 (Thu, 24 Apr 2008) | 4 lines

Hey look, it builds.
(closes issue #12519)
Reported by: falves11

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114636 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-24 22:14:03 +00:00
Mark Michelson
6f5321c1bf Merged revisions 114633 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114633 | mmichelson | 2008-04-24 16:35:39 -0500 (Thu, 24 Apr 2008) | 19 lines

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

........
r114632 | mmichelson | 2008-04-24 16:35:08 -0500 (Thu, 24 Apr 2008) | 11 lines

Re-invite RTP during a masquerade so that, for instance, an AMI
redirect of two channels which are natively bridged will preserve audio
on both channels. This prevents a problem with Asterisk not re-inviting
due to one of the channels having being a zombie.

(closes issue #12513)
Reported by: mneuhauser
Patches:
      asterisk-1.4-114602_restore-RTP-on-fixup.patch uploaded by mneuhauser (license 425)


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114634 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-24 21:36:05 +00:00
Olle Johansson
d6cf0c7823 Merged revisions 114606 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114606 | oej | 2008-04-24 16:59:05 +0200 (Tor, 24 Apr 2008) | 11 lines

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

........
r114603 | oej | 2008-04-24 16:55:18 +0200 (Tor, 24 Apr 2008) | 3 lines

Only have one max-forwards header in outbound REFERs.
Discovered in the Asterisk SIP Masterclass in Orlando. Thanks Joe!

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114607 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-24 15:00:50 +00:00
Russell Bryant
d8234a6f34 Merged revisions 114604 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114604 | russell | 2008-04-24 09:55:21 -0500 (Thu, 24 Apr 2008) | 3 lines

Change a verbose message to debug.
(closes issue #12514)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114605 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-24 14:56:44 +00:00
Olle Johansson
3435ef6663 Merged revisions 114585 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114585 | oej | 2008-04-23 18:53:34 +0200 (Ons, 23 Apr 2008) | 10 lines

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

........
r114584 | oej | 2008-04-23 18:51:41 +0200 (Ons, 23 Apr 2008) | 2 lines

Add 502 support for both directions, not only one...  (see r114571)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114586 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-23 16:57:28 +00:00
Tilghman Lesher
6d39bdb8cf Merged revisions 114572 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114572 | tilghman | 2008-04-22 18:58:19 -0500 (Tue, 22 Apr 2008) | 10 lines

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

........
r114571 | tilghman | 2008-04-22 18:51:44 -0500 (Tue, 22 Apr 2008) | 2 lines

Treat a 502 just like a 503, when it comes to processing a response code

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114573 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-22 23:59:11 +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
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
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
Joshua Colp
e2f8a90b78 Merged revisions 114104 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

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

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

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

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

........

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


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

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

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

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

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

(closes issue #11775)
Reported by: fujin


........

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


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

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

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

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

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

........

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


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

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

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

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

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

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

........

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


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

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

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

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

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

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


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113683 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-09 14:42:48 +00:00
Tilghman Lesher
b22b4bb40c Merged revisions 113349 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

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

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

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

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

........

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


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

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

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

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

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

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

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

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

........

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

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113242 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-07 21:36:47 +00:00
Jeff Peeler
d3b67ac906 Merged revisions 113013 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

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

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

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

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

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

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113042 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-07 15:28:23 +00:00
Joshua Colp
b928d453af Merged revisions 112431 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r112431 | file | 2008-04-02 12:26:51 -0300 (Wed, 02 Apr 2008) | 7 lines

Since the SIP request structure gets reused multiple times with TCP handling we have to clear the debug state or else we will keep spitting out debug even after it has been turned off.
(closes issue #12169)
Reported by: pj
Patches:
      12169-debugoff-2.diff uploaded by qwell (license 4)
Tested by: pj

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@112436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-02 15:27:56 +00:00
Joshua Colp
2dfca4e149 Merged revisions 112205 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r112205 | file | 2008-04-01 14:48:52 -0300 (Tue, 01 Apr 2008) | 12 lines

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

........
r112204 | file | 2008-04-01 14:43:46 -0300 (Tue, 01 Apr 2008) | 4 lines

Do not pass audio until the remote side has indicated they are providing early media, or if the channel has been answered.
(closes issue #11823)
Reported by: SDamm

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@112206 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-01 17:52:44 +00:00
Joshua Colp
6506b05636 Merged revisions 111021 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r111021 | file | 2008-03-26 16:05:42 -0300 (Wed, 26 Mar 2008) | 12 lines

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

........
r111020 | file | 2008-03-26 16:04:35 -0300 (Wed, 26 Mar 2008) | 4 lines

If we are requested to authenticate a reinvite make sure that it contains T38 SDP if need be.
(closes issue #11995)
Reported by: fall

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@111023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-26 19:06:49 +00:00
Jeff Peeler
e9f4445378 This one line change makes an if inside a for loop (in realtime_peer) check all the ast_variables the loop was intending to test rather than just the first one.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110778 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-25 22:11:03 +00:00
Mark Michelson
913e19eb60 Oops.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110638 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-25 15:43:24 +00:00
Mark Michelson
6f5612a7b0 Merged revisions 110636 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r110636 | mmichelson | 2008-03-25 10:41:33 -0500 (Tue, 25 Mar 2008) | 15 lines

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

........
r110635 | mmichelson | 2008-03-25 10:40:33 -0500 (Tue, 25 Mar 2008) | 7 lines

When reverting a commit, I accidentally left in this bit which was an experiment
to see what would happen. It passed the compile test, and I didn't notice I had
left this change in too.

So this is a revert of a revert...sort of.


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110637 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-25 15:42:50 +00:00
Mark Michelson
1a433add7a Merged revisions 110619 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r110619 | mmichelson | 2008-03-24 14:19:37 -0500 (Mon, 24 Mar 2008) | 23 lines

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

........
r110618 | mmichelson | 2008-03-24 14:17:41 -0500 (Mon, 24 Mar 2008) | 15 lines

This is a revert for revision 108288. The reason is that that revision
was not for an actual bug fix per se, and so it really should not have been in 1.4 in
the first place. Plus, people who compile with DO_CRASH are more likely
to encounter a crash due to this change. While I think the usage of DO_CRASH
in ast_sched_del is a bit absurd, this sort of change is beyond the scope of 1.4
and should be done instead in a developer branch based on trunk 
so that all scheduler functions are fixed at once.

I also am reverting the change to trunk and 1.6 since they also suffer from
the DO_CRASH potential.

(closes issue #12272)
Reported by: qq12345


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110620 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-24 19:20:30 +00:00
Joshua Colp
00bf34e216 Merged revisions 110610 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r110610 | file | 2008-03-24 12:28:25 -0300 (Mon, 24 Mar 2008) | 6 lines

Only print out the set_address_from_contact host verbose message if debugging is enabled on the dialog.
(closes issue #12280)
Reported by: rjain
Patches:
      chan_sip.c.diff uploaded by rjain (license 226)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110611 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-24 15:29:38 +00:00
Russell Bryant
573e35bba1 Merged revisions 110337 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r110337 | russell | 2008-03-20 16:55:50 -0500 (Thu, 20 Mar 2008) | 22 lines

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

................
r110336 | russell | 2008-03-20 16:54:58 -0500 (Thu, 20 Mar 2008) | 14 lines

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

........
r110335 | russell | 2008-03-20 16:53:27 -0500 (Thu, 20 Mar 2008) | 6 lines

Fix some very broken code that was introduced in 1.2.26 as a part of the security
fix.  The dnsmgr is not appropriate here.  The dnsmgr takes a pointer to an address
structure that a background thread continuously updates.  However, in these cases,
a stack variable was passed.  That means that the dnsmgr thread would be continuously
writing to bogus memory.

........

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

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-20 21:56:22 +00:00