Commit Graph

5077 Commits

Author SHA1 Message Date
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
Jason Parker
1aa20cb6c0 Merged revisions 114121 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114121 | qwell | 2008-04-14 13:34:17 -0500 (Mon, 14 Apr 2008) | 15 lines

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

........
r114120 | qwell | 2008-04-14 13:31:57 -0500 (Mon, 14 Apr 2008) | 7 lines

The call_token on the pvt can occasionally be NULL, causing a crash.

If it is NULL, we can skip this channel, since it can't the one we're looking for.

(closes issue #9299)
Reported by: vazir

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114122 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-14 18:34:37 +00:00
Joshua Colp
e2f8a90b78 Merged revisions 114104 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

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

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

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

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

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114105 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-14 14:54:17 +00:00
Matthew Fredrickson
35bf7be972 Make sure linkset is locked exiting ss7_start_call
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114095 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-12 16:22:44 +00:00
Matthew Fredrickson
808e06b1a9 Make sure we start incoming calls on SS7 with echo cancellation enabled. Also make sure when completing a COT we call ss7_start_call with the proper locks held. Lastly, make sure if we fail to get a channel from zt_new that we don't assume it's there.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@114094 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-12 16:22:00 +00:00
Terry Wilson
8b58c0dd5a Merged revisions 114084 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r114084 | twilson | 2008-04-11 17:48:52 -0500 (Fri, 11 Apr 2008) | 15 lines

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

........
r114083 | twilson | 2008-04-11 17:32:51 -0500 (Fri, 11 Apr 2008) | 7 lines

Several places in the code called find_callno() (which releases the lock on the pvt structure) and then immediately locked the call and did things with it. Unfortunately, the call can disappear between the find_callno and the lock, causing Bad Stuff(tm) to happen.

Added find_callno_locked() function to return the callno withtout unlocking for instances that it is needed.

(issue #12400)
Reported by: ztel

........

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


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

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

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

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

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

(closes issue #11775)
Reported by: fujin


........

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


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

........
r114024 | file | 2008-04-10 10:45:45 -0300 (Thu, 10 Apr 2008) | 4 lines

Fix spelling of existent in a few places.
(closes issue #12409)
Reported by: candlerb

........


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

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

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

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

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

........

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


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

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

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

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

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

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

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113929 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-09 20:56:51 +00:00
Joshua Colp
950e46f357 Merged revisions 113785 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r113785 | file | 2008-04-09 13:52:04 -0300 (Wed, 09 Apr 2008) | 12 lines

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

........
r113784 | file | 2008-04-09 13:50:45 -0300 (Wed, 09 Apr 2008) | 4 lines

If we receive an AUTHREQ from the remote server and we are unable to reply (for example they have a secret configured, but we do not) then queue a hangup frame on the Asterisk channel. This will cause the channel to hangup and a HANGUP to be sent via IAX2 to the remote side which is the proper thing to do in this scenario.
(closes issue #12385)
Reported by: viraptor

........

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


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

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

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

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

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

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


........

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


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

................
r113597 | twilson | 2008-04-08 20:36:58 -0500 (Tue, 08 Apr 2008) | 10 lines

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

........
r113596 | twilson | 2008-04-08 20:34:25 -0500 (Tue, 08 Apr 2008) | 2 lines

Initialize fr->cacheable to make valgrind happy

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113598 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-09 01:40:50 +00:00
Jason Parker
5e7a6ce8a3 Merged revisions 113505 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r113505 | qwell | 2008-04-08 13:49:21 -0500 (Tue, 08 Apr 2008) | 9 lines

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

........
r113504 | qwell | 2008-04-08 13:48:55 -0500 (Tue, 08 Apr 2008) | 1 line

Add a little more that is required for previously added devices.
........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@113506 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-08 18:49:36 +00:00
Jason Parker
da72762cb6 Merged revisions 113455 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r113455 | qwell | 2008-04-08 13:08:35 -0500 (Tue, 08 Apr 2008) | 12 lines

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

........
r113454 | qwell | 2008-04-08 13:07:49 -0500 (Tue, 08 Apr 2008) | 4 lines

Add support for several new(ish) devices - most notably, 7942/7945, 7962/7965, 7975.

Thanks to Greg Oliver for providing me the required information.

........

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


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

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

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

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

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

........

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


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

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

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

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

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

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

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

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

........

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

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


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

................
r113119 | qwell | 2008-04-07 13:02:51 -0500 (Mon, 07 Apr 2008) | 16 lines

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

........
r113118 | qwell | 2008-04-07 13:00:09 -0500 (Mon, 07 Apr 2008) | 8 lines

Allow playback with noanswer (and add earlyrtp option).

(closes issue #9077)
Reported by: pj
Patches:
      earlyrtp.diff uploaded by wedhorn (license 30)
Tested by: pj, qwell, DEA, wedhorn

........

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


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

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

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

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

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

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

........

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


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

................
r112821 | phsultan | 2008-04-04 21:28:49 +0200 (Fri, 04 Apr 2008) | 9 lines

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

........
r112820 | phsultan | 2008-04-04 21:26:15 +0200 (Fri, 04 Apr 2008) | 1 line

Free newly allocated channel before returning
........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@112822 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-04 19:30:35 +00:00
Philippe Sultan
acf6ac5a7f Merged revisions 112785 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r112785 | phsultan | 2008-04-04 19:32:46 +0200 (Fri, 04 Apr 2008) | 15 lines

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

........
r112766 | phsultan | 2008-04-04 19:16:59 +0200 (Fri, 04 Apr 2008) | 7 lines

Prevent call connections when codecs don't match.

(closes issue #10604)
Reported by: keepitcool
Patches:
      branch-1.4-10604-2.diff uploaded by phsultan (license 73)
Tested by: phsultan
........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@112786 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-04 17:43:01 +00:00
Mark Michelson
472c4a22dd Merged revisions 112600 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r112600 | mmichelson | 2008-04-03 09:35:47 -0500 (Thu, 03 Apr 2008) | 17 lines

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

........
r112599 | mmichelson | 2008-04-03 09:32:20 -0500 (Thu, 03 Apr 2008) | 9 lines

Fix the testing of the "res" variable so that it is more logically correct and 
makes the correct warning and debug messages print.

(closes issue #12361)
Reported by: one47
Patches:
      chan_zap_deferred_digit.patch uploaded by one47 (license 23)


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@112601 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-03 14:42:58 +00:00
Joshua Colp
b928d453af Merged revisions 112431 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

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

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

........


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

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

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

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

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

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@112206 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-04-01 17:52:44 +00:00
Jason Parker
1b23f850e9 Merged revisions 111721 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r111721 | qwell | 2008-03-28 12:57:12 -0500 (Fri, 28 Mar 2008) | 9 lines

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

........
r111720 | qwell | 2008-03-28 12:55:05 -0500 (Fri, 28 Mar 2008) | 1 line

Remove unimplemented softkeys.  Prompted by issue #12325.
........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@111722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-28 17:57:31 +00:00
Joshua Colp
6506b05636 Merged revisions 111021 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

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

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

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

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

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@111023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-26 19:06:49 +00:00
Joshua Colp
838e70cdfa Merged revisions 111017 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r111017 | file | 2008-03-26 15:42:52 -0300 (Wed, 26 Mar 2008) | 12 lines

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

........
r110628 | file | 2008-03-25 11:37:35 -0300 (Tue, 25 Mar 2008) | 4 lines

Add an option (transmit_silence) which transmits silence during both Record() and DTMF generation. The reason this is an option is that in order to transmit silence we have to setup a translation path. This may not be needed/wanted in all cases.
(closes issue #10058)
Reported by: tracinet

........

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


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

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

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

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

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

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


........

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


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

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

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

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

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

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

(closes issue #12272)
Reported by: qq12345


........

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


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

................
r110615 | russell | 2008-03-24 12:36:04 -0500 (Mon, 24 Mar 2008) | 10 lines

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

........
r110614 | russell | 2008-03-24 12:34:56 -0500 (Mon, 24 Mar 2008) | 2 lines

Turn a NOTICE into a DEBUG message.

........

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


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

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

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

........


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

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

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

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

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

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

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

........

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

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-20 21:56:22 +00:00
Mark Michelson
7783cbdafa Merged revisions 109576 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r109576 | mmichelson | 2008-03-18 12:59:18 -0500 (Tue, 18 Mar 2008) | 14 lines

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

........
r109575 | mmichelson | 2008-03-18 12:58:11 -0500 (Tue, 18 Mar 2008) | 6 lines

Make sure an agent doesn't try to send dtmf to a NULL channel

closes issue #12242
Reported by Yourname


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@109577 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-18 17:59:49 +00:00
Kevin P. Fleming
26ea819943 Merged revisions 109475 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r109475 | kpfleming | 2008-03-18 11:23:05 -0500 (Tue, 18 Mar 2008) | 2 lines

fix up various warnings found via the addition of format string checking... some of these were really, really bad code

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@109487 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-18 16:26:59 +00:00
Russell Bryant
4af367c3a9 Merged revisions 109447 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r109447 | twilson | 2008-03-18 10:43:34 -0500 (Tue, 18 Mar 2008) | 3 lines

Go through and fix a bunch of places where character strings were being interpreted as format strings. Most of these changes are solely to make compiling with -Wsecurity and -Wformat=2 happy, and were not
actual problems, per se.  I also added format attributes to any printf wrapper functions I found that didn't have them.  -Wsecurity and -Wmissing-format-attribute added to --enable-dev-mode.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@109459 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-18 15:58:50 +00:00
Jason Parker
5996a61f4b Merged revisions 109389 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r109389 | qwell | 2008-03-18 10:07:04 -0500 (Tue, 18 Mar 2008) | 3 lines

Do not return with a successful authentication if the From header ends up empty.
(AST-2008-003)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@109395 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-18 15:11:25 +00:00