Commit Graph

5158 Commits

Author SHA1 Message Date
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
Jeff Peeler
13616f1b68 Merged revisions 118164 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r118164 | jpeeler | 2008-05-23 16:26:39 -0500 (Fri, 23 May 2008) | 9 lines

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

........
r118163 | jpeeler | 2008-05-23 16:21:35 -0500 (Fri, 23 May 2008) | 1 line

Fix a few things I missed to ensure zt_chan_conf structure is not modified in mkintf
........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118165 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-23 21:31:59 +00:00
Philippe Sultan
01f7b2b579 Merged revisions 118020 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r118020 | phsultan | 2008-05-23 12:33:21 +0200 (Fri, 23 May 2008) | 15 lines

- remove whitespaces between tags in received XML packets before giving
them to the parser ;
- report Gtalk error messages from a buddy to the console.

This patch makes Asterisk "Google Jingle" (chan_gtalk) implementation
work with Empathy. Note that this is only true for audio streams, not
video.

Thank you to PH for his great help!

(closes issue #12647)
Reported by: PH
Patches:
      trunk-12647-1.diff uploaded by phsultan (license 73)
Tested by: phsultan, PH
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@118021 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-23 11:02:21 +00:00
Jeff Peeler
da8a5856be Merged revisions 117658 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r117658 | jpeeler | 2008-05-21 16:31:17 -0500 (Wed, 21 May 2008) | 10 lines

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

........
r117582 | jpeeler | 2008-05-21 15:11:14 -0500 (Wed, 21 May 2008) | 2 lines

Ensure that passed in zt_chan_conf structure is not modified in mkintf.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@117660 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-21 22:01:10 +00:00
Jeff Peeler
ef9c60d095 Merged revisions 117628 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r117628 | jpeeler | 2008-05-21 15:44:04 -0500 (Wed, 21 May 2008) | 12 lines

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

........
r117462 | jpeeler | 2008-05-21 11:58:40 -0500 (Wed, 21 May 2008) | 3 lines

Pass a pointer for the conf parameter to the function mkintf rather than the whole zt_chan_conf structure.
Another commit is following to make sure the zt_chan_conf structure is not modified.


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@117659 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-21 21:59:25 +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
Joshua Colp
9256e457f4 Merged revisions 117082 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r117082 | file | 2008-05-19 12:24:44 -0300 (Mon, 19 May 2008) | 14 lines

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

........
r117081 | file | 2008-05-19 12:22:10 -0300 (Mon, 19 May 2008) | 6 lines

Make chan_h323 work with pwlib 1.12.0
(closes issue #12682)
Reported by: bamby
Patches:
      pwlib_nopipe.diff uploaded by bamby (license 430)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@117083 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-19 15:27:28 +00:00
Russell Bryant
27f6220a41 Merged revisions 116979 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r116979 | russell | 2008-05-18 22:44:28 -0500 (Sun, 18 May 2008) | 12 lines

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

........
r116978 | russell | 2008-05-18 22:44:04 -0500 (Sun, 18 May 2008) | 4 lines

Avoid access of uninitialized memory.  This caused a bunch of crashes for me
while doing load testing of development branch where I'm working on some
performance improvements.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@116980 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-19 03:44:51 +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
Joshua Colp
d26ee10058 Merged revisions 116800 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r116800 | file | 2008-05-16 17:30:24 -0300 (Fri, 16 May 2008) | 12 lines

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

........
r116799 | file | 2008-05-16 17:28:11 -0300 (Fri, 16 May 2008) | 4 lines

Check to make sure an RTP structure exists before calling ast_rtp_new_source on it.
(closes issue #12669)
Reported by: sbisker

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@116849 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-16 21:35:33 +00:00
Matthew Fredrickson
7a6e7a7ec1 Merged revisions 116797 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r116797 | mattf | 2008-05-16 15:00:04 -0500 (Fri, 16 May 2008) | 1 line

Try to see if we can make our ringback situation a little better
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@116798 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-16 20:03:31 +00:00
Russell Bryant
8b3150e282 Merged revisions 116469 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r116469 | russell | 2008-05-14 16:40:43 -0500 (Wed, 14 May 2008) | 12 lines

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

........
r116463 | russell | 2008-05-14 16:32:00 -0500 (Wed, 14 May 2008) | 4 lines

Add ast_assert(), which can be used to handle fatal errors.  It is only compiled
in if dev-mode is enabled, and only aborts if DO_CRASH is defined.
(inspired by issue #12650)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@116470 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-14 21:41:09 +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
20925d6a81 Merged revisions 116039 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r116039 | russell | 2008-05-13 16:18:55 -0500 (Tue, 13 May 2008) | 32 lines

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

........
r116038 | russell | 2008-05-13 16:17:23 -0500 (Tue, 13 May 2008) | 24 lines

Fix a deadlock involving channel autoservice and chan_local that was debugged
and fixed by mmichelson and me.

We observed a system that had a bunch of threads stuck in ast_autoservice_stop().
The reason these threads were waiting around is because this function waits to
ensure that the channel list in the autoservice thread gets rebuilt before the
stop() function returns.  However, the autoservice thread was also locked, so
the autoservice channel list was never getting rebuilt.

The autoservice thread was stuck waiting for the channel lock on a local channel.
However, the local channel was locked by a thread that was stuck in the autoservice
stop function.

It turned out that the issue came down to the local_queue_frame() function in
chan_local.  This function assumed that one of the channels passed in as an
argument was locked when called.  However, that was not always the case.  There
were multiple cases in which this channel was not locked when the function was
called.  We fixed up chan_local to indicate to this function whether this channel
was locked or not.  The previous assumption had caused local_queue_frame() to
improperly return with the channel locked, where it would then never get unlocked.

(closes issue #12584)
(related to issue #12603)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@116040 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-13 21:19:21 +00:00
Joshua Colp
e422336191 Merged revisions 115945 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r115945 | file | 2008-05-13 17:29:27 -0300 (Tue, 13 May 2008) | 12 lines

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

........
r115944 | file | 2008-05-13 17:28:23 -0300 (Tue, 13 May 2008) | 4 lines

Use the right flag to open the audio in non-blocking.
(closes issue #12616)
Reported by: nicklewisdigiumuser

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115946 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-13 20:30:21 +00:00
Matthew Fredrickson
e1417afe8c Merged revisions 115941 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r115941 | mattf | 2008-05-13 15:18:04 -0500 (Tue, 13 May 2008) | 1 line

Need to clear calling_party_cat variable after we retrieve it
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115942 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-13 20:19:58 +00:00
Matthew Fredrickson
5b12bbaf43 Merged revisions 115939 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r115939 | mattf | 2008-05-13 15:11:20 -0500 (Tue, 13 May 2008) | 1 line

Add support for receiving calling party category
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115940 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-13 20:13:39 +00:00
Brett Bryant
c9d6041a8b Merged revisions 115669 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r115669 | bbryant | 2008-05-12 10:17:32 -0500 (Mon, 12 May 2008) | 3 lines

A small change to fix iax2 native bridging.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115672 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-12 15:18:10 +00:00