Commit Graph

5175 Commits

Author SHA1 Message Date
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
Kevin P. Fleming
e04a7e8ec0 Merged revisions 125333 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r125333 | kpfleming | 2008-06-26 10:50:07 -0500 (Thu, 26 Jun 2008) | 13 lines

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

........
r125327 | kpfleming | 2008-06-26 10:30:33 -0500 (Thu, 26 Jun 2008) | 5 lines

ensure that (whenever possible) if we generate a log message because an ioctl() call to DAHDI/Zaptel failed, that we include the reason it failed by including the stringified error number

(issue AST-80)


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@125334 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-26 15:52:20 +00:00
Kevin P. Fleming
0b30f14b33 Merged revisions 125138 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r125138 | kpfleming | 2008-06-25 18:05:28 -0500 (Wed, 25 Jun 2008) | 18 lines

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

........
r125132 | kpfleming | 2008-06-25 17:21:30 -0500 (Wed, 25 Jun 2008) | 10 lines

allow tonezone to live in a different place than DAHDI/Zaptel, since dahdi-tools and dahdi-linux are now separate packages and can be installed in different places

don't include tonezone.h in dahdi_compat.h, because only a couple of modules need it

get app_rpt building again after the DAHDI changes

(closes issue #12911)
Reported by: tzafrir


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@125146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-25 23:20:35 +00:00
Tilghman Lesher
441da04c0b Merged revisions 124966 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r124966 | tilghman | 2008-06-24 20:08:37 -0500 (Tue, 24 Jun 2008) | 15 lines

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

........
r124965 | tilghman | 2008-06-24 19:46:24 -0500 (Tue, 24 Jun 2008) | 7 lines

Pvt deadlock causes some channels to get stuck in Reserved status.
(closes issue #12621)
 Reported by: fabianoheringer
 Patches: 
       20080612__bug12621.diff.txt uploaded by Corydon76 (license 14)
 Tested by: fabianoheringer

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124967 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-25 01:13:38 +00:00
Tilghman Lesher
fba1394ba0 Merged revisions 124316 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r124316 | tilghman | 2008-06-20 15:17:04 -0500 (Fri, 20 Jun 2008) | 16 lines

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

........
r124315 | tilghman | 2008-06-20 15:16:02 -0500 (Fri, 20 Jun 2008) | 8 lines

When using a Local channel, started by a call file, with a destination of an
AGI script, the AGI script does not always get notified of a hangup if the
underlying channel hangs up early.
(closes issue #11833)
 Reported by: IgorG
 Patches: 
       local_hangup-v1.diff uploaded by IgorG (license 20)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124317 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-20 20:18:08 +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
Tilghman Lesher
553c1e8aab Merged revisions 124183 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r124183 | tilghman | 2008-06-19 17:59:41 -0500 (Thu, 19 Jun 2008) | 15 lines

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

........
r124182 | tilghman | 2008-06-19 17:53:22 -0500 (Thu, 19 Jun 2008) | 7 lines

It's possible for a hangup to be received, even just after the initial cid
spill.
(closes issue #12453)
 Reported by: Alex728
 Patches: 
       20080604__bug12453.diff.txt uploaded by Corydon76 (license 14)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124184 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 23:02:49 +00:00
Brett Bryant
2652d0d528 Merged revisions 124024 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r124024 | bbryant | 2008-06-19 13:57:04 -0500 (Thu, 19 Jun 2008) | 2 lines

Fix bug in sip registration that sets the default port to 5060 for tls.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@124026 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-19 18:57:54 +00:00
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
Tilghman Lesher
e41ffcbca3 Merged revisions 123392 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r123392 | tilghman | 2008-06-17 13:57:45 -0500 (Tue, 17 Jun 2008) | 11 lines

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

........
r123391 | tilghman | 2008-06-17 13:56:53 -0500 (Tue, 17 Jun 2008) | 3 lines

Fix 3 more places where failure to lock the structure could cause the wrong lock to be
unlocked.  (Closes issue #12795)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123394 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-17 19:01:33 +00:00
Jeff Peeler
83eedba78a Merged revisions 123238 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r123238 | jpeeler | 2008-06-16 18:05:18 -0500 (Mon, 16 Jun 2008) | 1 line

Fix some (more) variables that were forgotten to be renamed, related to 117658
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123387 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-17 18:28:56 +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
Jeff Peeler
f089bbf663 Goodbye Zaptel, hello DAHDI. Removes Zaptel driver support with DAHDI. Configuration file and dialplan backwards compatability has been put in place where appropiate. Release announcement to follow.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123332 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-17 18:08:09 +00:00
Jeff Peeler
2248db67c7 Fix some variables that were forgotten to be renamed, related to 117658. Couldn't merge from trunk since the chan_dahdi transition has not occurred here yet
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@123178 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-16 21:20:08 +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
Russell Bryant
c1bc5f317e Merged revisions 122262 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r122262 | russell | 2008-06-12 13:23:54 -0500 (Thu, 12 Jun 2008) | 11 lines

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

........
r122259 | russell | 2008-06-12 13:22:44 -0500 (Thu, 12 Jun 2008) | 3 lines

Fix some race conditions that cause ast_assert() to report that chan_iax2 tried
to remove an entry that wasn't in the scheduler

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@122266 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-12 18:24:33 +00:00
Matthew Fredrickson
a7e622b086 Merged revisions 121914 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r121914 | mattf | 2008-06-11 13:53:10 -0500 (Wed, 11 Jun 2008) | 1 line

Fix pseudo channel allocation errors on startup when using SS7
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121915 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-11 18:57:15 +00:00
Tilghman Lesher
ec5a235672 Merged revisions 121867 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r121867 | tilghman | 2008-06-11 13:19:24 -0500 (Wed, 11 Jun 2008) | 11 lines

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

........
r121861 | tilghman | 2008-06-11 13:18:16 -0500 (Wed, 11 Jun 2008) | 3 lines

Make calls to ast_assert() actually test something, so that the error message
printed is not nonsensical (reported by mvanbaak via #asterisk-bugs).

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121872 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-11 18:20:18 +00:00
Matthew Fredrickson
53a3681770 Merged revisions 121857 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r121857 | mattf | 2008-06-11 12:50:17 -0500 (Wed, 11 Jun 2008) | 1 line

Make sure we hangup any calls we have and NULL out the ss7call value when we get a reset circuit message.  Fixes crash bug
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121858 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-11 17:59:43 +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
Russell Bryant
1b8dba640e Merged revisions 121407 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r121407 | russell | 2008-06-09 19:52:46 -0500 (Mon, 09 Jun 2008) | 2 lines

Bump up the debug level of a couple of messages

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121408 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-10 00:53:04 +00:00
Mark Michelson
51638f5aa6 Merged revisions 121230 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r121230 | mmichelson | 2008-06-09 10:08:58 -0500 (Mon, 09 Jun 2008) | 27 lines

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

(Note that this is being merged to trunk/1.6.0 because
it may affect non-callback agents with ackcall set)

........
r121229 | mmichelson | 2008-06-09 10:02:37 -0500 (Mon, 09 Jun 2008) | 16 lines

A unique situation of timeouts brought forth a failure situation for
autologoff in chan_agent. If using AgentCallbackLogin-style agents, 
then if the timeout specified by the Dial() to reach the agent's phone
was shorter than the timeout specified in queues.conf, then autologoff
would only work if the caller hung up while the agent's phone was ringing.
This patch allows autologoff to work in this situation when the call in
queue transfers to the next available agent (as it would have if the timeout
in queues.conf were less than the timeout in the Dial()).

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


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121231 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-09 15:10:08 +00:00
Jeff Peeler
3e98181722 Merged revisions 121163 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r121163 | jpeeler | 2008-06-07 20:41:59 -0500 (Sat, 07 Jun 2008) | 4 lines

This was accidentally reverted.
Fixes a bug where if a stream monitor thread was not created (caused from failure of opening or starting the stream) pthread_cancel was called with an invalid thread ID.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121164 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-08 01:43:16 +00:00
Russell Bryant
822355271d Merged revisions 121079 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r121079 | russell | 2008-06-07 09:18:44 -0500 (Sat, 07 Jun 2008) | 15 lines

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

........
r121078 | russell | 2008-06-07 09:10:56 -0500 (Sat, 07 Jun 2008) | 7 lines

Don't run LIST_HEAD_DESTROY on a STATIC list

(closes issue #12807)
Reported by: ys
Patches: 
      chan_agent_local.diff uploaded by ys (license 281)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121080 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-07 14:19:41 +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
Russell Bryant
ff438c5343 Merged revisions 120169 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r120169 | russell | 2008-06-03 16:35:11 -0500 (Tue, 03 Jun 2008) | 12 lines

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

........
r120168 | russell | 2008-06-03 16:34:55 -0500 (Tue, 03 Jun 2008) | 4 lines

Fix another place where peer->callno could change at a very bad time, and also
fix a place where a peer was used after the reference was released.
(inspired by rev 120001)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120170 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-03 21:35:46 +00:00
Tilghman Lesher
09d6c17864 Merged revisions 120012 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r120012 | tilghman | 2008-06-03 11:19:35 -0500 (Tue, 03 Jun 2008) | 17 lines

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

........
r120001 | tilghman | 2008-06-03 11:10:53 -0500 (Tue, 03 Jun 2008) | 9 lines

Save the callno when we're poking, because our peer structure could change
during destruction (and thus we unlock the wrong callno, causing a
cascade failure).
(closes issue #12717)
 Reported by: gewfie
 Patches: 
       20080525__bug12717.diff.txt uploaded by Corydon76 (license 14)
 Tested by: gewfie

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-03 16:24:08 +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
Russell Bryant
3cbe2984ef Merged revisions 119839 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r119839 | russell | 2008-06-02 15:08:24 -0500 (Mon, 02 Jun 2008) | 15 lines

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

........
r119838 | russell | 2008-06-02 15:08:04 -0500 (Mon, 02 Jun 2008) | 7 lines

Revert a change made for issue #12479.  This change caused a regression such that
a dial string such as (IAX2/foo) did not automatically fall back to dialing the 's'
extension anymore.

(closes issue #12770)
Reported by: dagmoller

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119840 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-02 20:08:48 +00:00
Philippe Sultan
029ac4cb4d Merged revisions 119741 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r119741 | phsultan | 2008-06-02 16:35:24 +0200 (Mon, 02 Jun 2008) | 13 lines

Do not link the guest account with any configured XMPP client (in
jabber.conf). The actual connection is made when a call comes in
Asterisk.

Apply this fix to Jingle too.

Fix the ast_aji_get_client function that was not able to retrieve an
XMPP client from its JID.

(closes issue #12085)
Reported by: junky
Tested by: phsultan

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119743 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-02 14:40:42 +00:00
Russell Bryant
e46eda0e00 Merged revisions 119586,119637 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r119586 | crichter | 2008-06-02 03:46:23 -0500 (Mon, 02 Jun 2008) | 9 lines

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

........
r119585 | crichter | 2008-06-02 10:35:28 +0200 (Mo, 02 Jun 2008) | 1 line

Added counter for unhandled_bmsg Print, this prevents the logs to be flooded to fast and save CPU in this error scenario. Added 'last_used' element to bc structure, when a bchannel changes from used to free this exact time will be marked in last_used. When a new channel is requested the find_free_chan function will check if the new empty channel was used within the last second, if yes it will search for the next channel, if no it will return this channel. This simple mechanism has prooven to prevent race conditions where the NT and TE tried to allocate the exact same channel at the same time (RELEASE cause: 44).
........

................
r119637 | crichter | 2008-06-02 04:35:04 -0500 (Mon, 02 Jun 2008) | 9 lines

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

........
r119636 | crichter | 2008-06-02 11:29:21 +0200 (Mo, 02 Jun 2008) | 1 line

fixed compile issue when dev-mode is enabled
........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119690 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-02 12:32:22 +00:00
Russell Bryant
aeceb3690c Merged revisions 119688 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r119688 | russell | 2008-06-02 07:30:42 -0500 (Mon, 02 Jun 2008) | 11 lines

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

........
r119687 | russell | 2008-06-02 07:30:17 -0500 (Mon, 02 Jun 2008) | 3 lines

Even of the first PING or LAGRQ doesn't get sent because it comes up too soon,
make sure to reschedule so it gets sent later.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119689 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-02 12:31:05 +00:00
Russell Bryant
8ba94bb258 Merged revisions 119534 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r119534 | russell | 2008-06-01 20:08:16 -0500 (Sun, 01 Jun 2008) | 10 lines

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

........
r119533 | russell | 2008-06-01 20:06:09 -0500 (Sun, 01 Jun 2008) | 2 lines

Change a debug message to an actual debug message

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119535 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-02 01:08:56 +00:00
Russell Bryant
ec42d8e877 Merged revisions 119239 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r119239 | russell | 2008-05-30 07:59:11 -0500 (Fri, 30 May 2008) | 23 lines

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

................
r119238 | russell | 2008-05-30 07:55:36 -0500 (Fri, 30 May 2008) | 15 lines

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

........
r119237 | russell | 2008-05-30 07:49:39 -0500 (Fri, 30 May 2008) | 7 lines

- Instead of only enforcing destination call number checking on an ACK, check
  all full frames except for PING and LAGRQ, which may be sent by older versions
  too quickly to contain the destination call number.
  (As suggested by Tim Panton on the asterisk-dev list)
- Merge changes from team/russell/iax2-frame-race, which prevents PING and LAGRQ
  from being sent before the destination call number is known.

........

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

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119240 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-30 13:01:05 +00:00
Tilghman Lesher
5df1e912c8 Merged revisions 119072 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r119072 | tilghman | 2008-05-29 15:25:33 -0500 (Thu, 29 May 2008) | 15 lines

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

........
r119071 | tilghman | 2008-05-29 15:24:11 -0500 (Thu, 29 May 2008) | 7 lines

Call waiting tone occurs too often, because it's getting serviced by both
subchannels.
(closes issue #11354)
 Reported by: cahen
 Patches: 
       20080512__bug11354.diff.txt uploaded by Corydon76 (license 14)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119073 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-29 20:26:18 +00:00
Russell Bryant
4da50bd4c1 Merged revisions 119010 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r119010 | russell | 2008-05-29 13:54:11 -0500 (Thu, 29 May 2008) | 24 lines

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

................
r119009 | russell | 2008-05-29 13:49:12 -0500 (Thu, 29 May 2008) | 16 lines

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

........
r119008 | russell | 2008-05-29 13:45:21 -0500 (Thu, 29 May 2008) | 7 lines

Merge changes from team/russell/iax2-another-fix-to-the-fix

As described in the following post to the asterisk-dev mailing list, only
enforce destination call numbers when processing an ACK.

http://lists.digium.com/pipermail/asterisk-dev/2008-May/033217.html

(closes issue #12631)
........

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

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-29 18:57:20 +00:00
Tilghman Lesher
ef98b16564 Merged revisions 118955,118957 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r118955 | tilghman | 2008-05-29 12:35:19 -0500 (Thu, 29 May 2008) | 11 lines

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

........
r118953 | tilghman | 2008-05-29 12:20:16 -0500 (Thu, 29 May 2008) | 3 lines

Add some debugging code that ensures that when we do deadlock avoidance, we
don't lose the information about how a lock was originally acquired.

........

................
r118957 | tilghman | 2008-05-29 12:39:50 -0500 (Thu, 29 May 2008) | 10 lines

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

........
r118954 | tilghman | 2008-05-29 12:33:01 -0500 (Thu, 29 May 2008) | 2 lines

Define also when not DEBUG_THREADS

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118958 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-29 17:42:28 +00:00
Michiel van Baak
283ebdb91a Merged revisions 118750 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r118750 | mvanbaak | 2008-05-28 19:58:21 +0200 (Wed, 28 May 2008) | 2 lines

remove unused astobj.h header file from chan_skinny.c

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118781 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-28 18:07:06 +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
Philippe Sultan
4d5394383f Merged revisions 118644 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r118644 | phsultan | 2008-05-28 16:10:48 +0200 (Wed, 28 May 2008) | 10 lines

Changed to temporary namespaces to match with latest XEPs. As soon as
Jingle is completely standardized, we can set those namespaces to their
final values.

Added two attributes to the jingle_pvt struct to store the content
name attributes. Reported by Robert McQueen on Telepathy's framework
mailing list :
http://lists.freedesktop.org/archives/telepathy/2008-May/001971.html

Keeping working on our Jingle stack!
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118645 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-28 14:13:16 +00:00
Philippe Sultan
93898d77d9 Merged revisions 118614 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r118614 | phsultan | 2008-05-28 10:39:10 +0200 (Wed, 28 May 2008) | 1 line

Code simplification
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118615 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-28 08:44:15 +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