Commit Graph

5114 Commits

Author SHA1 Message Date
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
Matthew Fredrickson
77705a0808 Merged revisions 115600 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r115600 | mattf | 2008-05-10 22:23:05 -0500 (Sat, 10 May 2008) | 1 line

Add Zap MTP2 support to chan_zap
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115601 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-11 03:27:05 +00:00
Matthew Fredrickson
1e42ac8e05 Merged revisions 115598 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r115598 | mattf | 2008-05-10 21:19:21 -0500 (Sat, 10 May 2008) | 1 line

Open up audio channel when we get ACM on SS7 event
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115599 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-11 02:24:39 +00:00
Russell Bryant
3ec3e555c0 Merged revisions 115569 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r115569 | russell | 2008-05-08 14:20:35 -0500 (Thu, 08 May 2008) | 10 lines

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

........
r115568 | russell | 2008-05-08 14:19:50 -0500 (Thu, 08 May 2008) | 2 lines

Remove debug output.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115570 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-08 19:21:08 +00:00
Russell Bryant
24d6ade06e Merged revisions 115566 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r115566 | russell | 2008-05-08 14:17:04 -0500 (Thu, 08 May 2008) | 41 lines

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

................
r115565 | russell | 2008-05-08 14:15:25 -0500 (Thu, 08 May 2008) | 33 lines

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

........
r115564 | russell | 2008-05-08 14:14:04 -0500 (Thu, 08 May 2008) | 25 lines

Fix a race condition that bbryant just found while doing some IAX2 testing.
He was running Asterisk trunk running IAX2 calls through a few Asterisk boxes,
however, the audio was extremely choppy.  We looked at a packet trace and saw
a storm of INVAL and VNAK frames being sent from one box to another.

It turned out that what had happened was that one box tried to send a CONTROL
frame before the 3 way handshake had completed.  So, that frame did not include
the destination call number, because it didn't have it yet.  Part of our recent
work for security issues included an additional check to ensure that frames that
are supposed to include the destination call number have the correct one.  This
caused the frame to be rejected with an INVAL.  The frame would get retransmitted
for forever, rejected every time ...

This race condition exists in all versions that got the security changes,
in theory.  However, it is really only likely that this would cause a problem in
Asterisk trunk.  There was a control frame being sent (SRCUPDATE) at the _very_
beginning of the call, which does not exist in 1.2 or 1.4.  However, I am fixing
all versions that could potentially be affected by the introduced race condition.

These changes are what bbryant and I came up with to fix the issue.  Instead of
simply dropping control frames that get sent before the handshake is complete,
the code attempts to wait a little while, since in most cases, the handshake
will complete very quickly.  If it doesn't complete after yielding for a little
while, then the frame gets dropped.

........

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

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115567 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-08 19:18:10 +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
Matthew Fredrickson
886d1aef09 Merged revisions 115548 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r115548 | mattf | 2008-05-08 10:04:45 -0500 (Thu, 08 May 2008) | 1 line

Remove unused code as well as demote an error message to a debug message
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115549 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-08 15:08:26 +00:00
Russell Bryant
ae3dda883f Merged revisions 115519 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r115519 | russell | 2008-05-07 13:24:51 -0500 (Wed, 07 May 2008) | 2 lines

Let chan_h323 build in dev mode

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115520 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-07 18:25:08 +00:00
Russell Bryant
09d71ed55f Merged revisions 115513 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r115513 | russell | 2008-05-07 12:28:19 -0500 (Wed, 07 May 2008) | 19 lines

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

................
r115512 | russell | 2008-05-07 11:24:09 -0500 (Wed, 07 May 2008) | 11 lines

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

........
r115511 | russell | 2008-05-07 11:22:49 -0500 (Wed, 07 May 2008) | 3 lines

Remove remnants of dlinkedlists.  I didn't actually use them in the final version
of my IAX2 improvements.

........

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

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115514 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-07 17:36:44 +00:00
Russell Bryant
b46f8226e1 Merged revisions 115315 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r115315 | russell | 2008-05-05 15:28:17 -0500 (Mon, 05 May 2008) | 2 lines

Remove my rant, since I have now replaced the rant with code.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@115316 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-05 20:28:37 +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
Jason Parker
76e257a8f9 Merged revisions 114922 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114922 | qwell | 2008-05-01 11:49:24 -0500 (Thu, 01 May 2008) | 10 lines

Allow dringXrange to properly default to 10, as was done in 1.4.

dringXrange is a new feature that was added, and it attempted to default, but only when the option was specified.

(closes issue #12536)
Reported by: bjm
Patches:
      12536-dringXrange.diff uploaded by qwell (license 4)
Tested by: bjm

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114923 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-01 16:52:07 +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
Russell Bryant
567cb9a041 Merged revisions 114892 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114892 | russell | 2008-04-30 11:34:24 -0500 (Wed, 30 Apr 2008) | 36 lines

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

........
r114891 | russell | 2008-04-30 11:30:01 -0500 (Wed, 30 Apr 2008) | 28 lines

Merge changes from team/russell/iax2_find_callno and iax2_find_callno_1.4

These changes address a critical performance issue introduced in the latest
release.  The fix for the latest security issue included a change that made
Asterisk randomly choose call numbers to make them more difficult to guess by
attackers.  However, due to some inefficient (this is by far, an understatement)
code, when Asterisk chose high call numbers, chan_iax2 became unusable after
just a small number of calls.  On a small embedded platform, it would not be
able to handle a single call.  On my Intel Core 2 Duo @ 2.33 GHz, I couldn't
run more than about 16 IAX2 channels.  Ouch.

These changes address some performance issues of the find_callno() function
that have bothered me for a very long time.  On every incoming media frame,
it iterated through every possible call number trying to find a matching
active call.  This involved a mutex lock and unlock for each call number
checked.  So, if the random call number chosen was 20000, then every media
frame would cause 20000 locks and unlocks.  Previously, this problem was
not as obvious since Asterisk always chose the lowest call number it could.

A second container for IAX2 pvt structs has been added.  It is an astobj2
hash table.  When we know the remote side's call number, the pvt goes into
the hash table with a hash value of the remote side's call number.  Then,
lookups for incoming media frames are a very fast hash lookup instead of an
absolutely insane array traversal.

In a quick test, I was able to get more than 3600% more IAX2 channels
on my machine with these changes.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114893 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-30 16:41:33 +00:00
Jeff Peeler
d4f34710bf Merged revisions 114888 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114888 | jpeeler | 2008-04-30 11:14:43 -0500 (Wed, 30 Apr 2008) | 3 lines

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@114889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-30 16:15:36 +00:00
Kevin P. Fleming
ced1cda76c Merged revisions 114884 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114884 | kpfleming | 2008-04-30 09:49:51 -0500 (Wed, 30 Apr 2008) | 10 lines

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

........
r114880 | kpfleming | 2008-04-30 09:46:57 -0500 (Wed, 30 Apr 2008) | 2 lines

use the ARRAY_LEN macro for indexing through the iaxs/iaxsl arrays so that the size of the arrays can be adjusted in one place, and change the size of the arrays from 32768 calls to 2048 calls when LOW_MEMORY is defined

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114886 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-30 14:55:16 +00:00
Jeff Peeler
d868e4643c Merged revisions 114866 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114866 | jpeeler | 2008-04-29 17:54:14 -0500 (Tue, 29 Apr 2008) | 2 lines

Fixes a problem where all the templates were marked as dead no matter what. The templates should only be marked as dead if a configuration file has been successfully loaded and has changes. Bug found while making API documentation for 1.6.0.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114867 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-29 22:55:13 +00:00
Matthew Fredrickson
d27eb35d56 Merged revisions 114776 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114776 | mattf | 2008-04-28 12:00:38 -0500 (Mon, 28 Apr 2008) | 1 line

Fix deadlock issue in chan_zap with libss7 due to channel variables being set with the channel pvt lock being held. #12512
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114777 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-28 17:04:23 +00:00
Tilghman Lesher
4ab60760e3 Merged revisions 114709 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114709 | tilghman | 2008-04-27 23:53:20 -0500 (Sun, 27 Apr 2008) | 13 lines

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

........
r114708 | tilghman | 2008-04-27 23:47:39 -0500 (Sun, 27 Apr 2008) | 5 lines

When modules are embedded, they take on a different name, without the ".so"
extension.  Specifically check for this name, when we're checking if a module
is loaded.
(Closes issue #12534)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114710 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-28 04:54:13 +00:00
Michiel van Baak
ba2d863314 Merged revisions 114700 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

Merged to 1.6 because it fixes a crash.

........
r114700 | mvanbaak | 2008-04-27 17:17:18 +0200 (Sun, 27 Apr 2008) | 8 lines

Make MWI in chan_skinny event based modeled after chan_zap and chan_mgcp.

(closes issue #12214)
Reported by: DEA
Patches:
      chan_skinny-vm-events-v3.txt uploaded by DEA (license 3)
	  Tested by: DEA and me

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114701 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-27 15:20:45 +00:00
Russell Bryant
35c3c7770f Merged revisions 114674 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114674 | russell | 2008-04-25 17:00:35 -0500 (Fri, 25 Apr 2008) | 11 lines

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

........
r114673 | russell | 2008-04-25 16:54:40 -0500 (Fri, 25 Apr 2008) | 3 lines

Use consistent logic for checking to see if a call number has been chosen yet.
Also, remove some redundant logic I recently added in a fix.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114675 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-25 22:03:25 +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
Mark Michelson
0b3951288d Merged revisions 114625 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114625 | mmichelson | 2008-04-24 15:06:06 -0500 (Thu, 24 Apr 2008) | 18 lines

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

........
r114624 | mmichelson | 2008-04-24 15:04:24 -0500 (Thu, 24 Apr 2008) | 10 lines

Resolve a deadlock in chan_local by releasing the channel lock
temporarily.

(closes issue #11712)
Reported by: callguy
Patches:
      11712.patch uploaded by putnopvut (license 60)
Tested by: acunningham


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114626 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-24 20:06:38 +00:00
Tilghman Lesher
a48962b43d Merged revisions 114622 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114622 | tilghman | 2008-04-24 14:54:57 -0500 (Thu, 24 Apr 2008) | 12 lines

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

........
r114621 | tilghman | 2008-04-24 14:53:36 -0500 (Thu, 24 Apr 2008) | 4 lines

Ensure that when we set the accountcode, it actually shows up in the CDR.
(Fix for AMI Originate)
(Closes issue #12007)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114623 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-24 19:55:55 +00:00
Jason Parker
9668fba027 Merged revisions 114612 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114612 | qwell | 2008-04-24 11:47:01 -0500 (Thu, 24 Apr 2008) | 17 lines

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

(closes issue #12496)
Reported by: daniele
Patches:
      misdn-moh-1.6.0-beta7.1.patch uploaded by daniele (license 471)
Tested by: daniele

Technically, I didn't use the patch above except to find out what revision to merge - but it's the same thing as this revision.

........
r51989 | crichter | 2007-01-24 06:57:22 -0600 (Wed, 24 Jan 2007) | 1 line

added fix from #8899
........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114613 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-24 16:48:05 +00:00
Russell Bryant
7f3b41e6b3 Merged revisions 114609 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114609 | russell | 2008-04-24 10:56:55 -0500 (Thu, 24 Apr 2008) | 12 lines

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

........
r114608 | russell | 2008-04-24 10:55:21 -0500 (Thu, 24 Apr 2008) | 4 lines

Fix a silly mistake in a change I made yesterday that caused chan_iax2 to blow
up very quickly.
(issue #12515)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114610 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-24 15:57:24 +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
Russell Bryant
1b3ee9e4f0 Merged revisions 114588 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114588 | russell | 2008-04-23 12:18:29 -0500 (Wed, 23 Apr 2008) | 10 lines

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

........
r114587 | russell | 2008-04-23 12:16:32 -0500 (Wed, 23 Apr 2008) | 2 lines

Fix find_callno_locked() to actually return the callno locked in some more cases.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114589 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-23 17:18:59 +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
Russell Bryant
f3db442032 Merged revisions 114559 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114559 | russell | 2008-04-22 17:17:31 -0500 (Tue, 22 Apr 2008) | 13 lines

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

........
r114558 | russell | 2008-04-22 17:15:36 -0500 (Tue, 22 Apr 2008) | 5 lines

When we receive a full frame that is supposed to contain our call number,
ensure that it has the correct one.
(closes issue #10078)
(AST-2008-006)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114560 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-22 22:18:59 +00:00
Russell Bryant
f283f17f4d Merged revisions 114538 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114538 | russell | 2008-04-22 13:04:39 -0500 (Tue, 22 Apr 2008) | 17 lines

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

........
r114537 | russell | 2008-04-22 13:03:33 -0500 (Tue, 22 Apr 2008) | 9 lines

If the dial string passed to the call channel callback does not indicate an
extension, then consider the extension on the channel before falling back
to the default.

(closes issue #12479)
Reported by: darren1713
Patches:
      exten_dial_fix_chan_iax2.c.patch uploaded by darren1713 (license 116)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114539 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-22 18:06:35 +00:00
Matthew Fredrickson
a49ac36ed8 Merged revisions 114389 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114389 | mattf | 2008-04-21 13:44:35 -0500 (Mon, 21 Apr 2008) | 1 line

Add support for generic name transmission (#12484) on SS7 in chan_zap
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114422 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-21 20:23:01 +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
Matthew Fredrickson
7cfd909969 SS7:Added - Generic Name / Access Transport / Redirecting Number handling. #12425
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-19 17:00:15 +00:00
Joshua Colp
feda76658e Merged revisions 114271 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114271 | file | 2008-04-18 16:35:33 -0300 (Fri, 18 Apr 2008) | 4 lines

Make sure ADSI is marked as unavailable on Unistim channels so voicemail does not try to do some ADSI jazz.
(closes issue #12460)
Reported by: PerryB

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-18 19:36:26 +00:00
Mark Michelson
ef448d123d Merged revisions 114259 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114259 | mmichelson | 2008-04-18 13:03:06 -0500 (Fri, 18 Apr 2008) | 14 lines

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

........
r114257 | mmichelson | 2008-04-18 12:44:29 -0500 (Fri, 18 Apr 2008) | 6 lines

Clearing up error messages so they make a bit more sense. Also removing a redundant error
message.

Issue AST-15


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114260 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-18 18:04:05 +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
Kevin P. Fleming
5cf95ff6d0 Merged revisions 114185 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114185 | kpfleming | 2008-04-16 15:47:30 -0500 (Wed, 16 Apr 2008) | 14 lines

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

........
r114184 | kpfleming | 2008-04-16 15:46:38 -0500 (Wed, 16 Apr 2008) | 6 lines

use the ZT_SET_DIALPARAMS ioctl properly by initializing the structure to all zeroes in case it contains fields that we don't write values into (which it does as of Zaptel 1.4.10)

(closes issue #12456)
Reported by: fnordian


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114186 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-16 20:48:19 +00:00
Jason Parker
8a9eb5810c Merged revisions 114141 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r114141 | qwell | 2008-04-15 12:21:58 -0500 (Tue, 15 Apr 2008) | 8 lines

Shorten the mac address pattern, since some phones use different identifiers (such as the i2050 softphone).

(closes issue #12398)
Reported by: c_hans
Patches:
      chan_unistim_svn.diff uploaded by c (license 460)
Tested by: c_hans

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114142 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-15 17:22:23 +00:00