Commit Graph

15511 Commits

Author SHA1 Message Date
Russell Bryant
3abaf28d74 Merged revisions 121282 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r121282 | russell | 2008-06-09 11:37:08 -0500 (Mon, 09 Jun 2008) | 18 lines

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

........
r121280 | russell | 2008-06-09 11:35:40 -0500 (Mon, 09 Jun 2008) | 10 lines

Do not attempt to do emulation if an END digit is received and the length is
less than the defined minimum digit length, and the other end only wants END
digits (SIP INFO, for example).

(closes issue #12778)
Reported by: tsearle
Patches:
      12778.rev1.txt uploaded by russell (license 2)
Tested by: tsearle

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-09 16:37:36 +00:00
Tilghman Lesher
d623090d7e Merged revisions 121279 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r121279 | tilghman | 2008-06-09 11:35:06 -0500 (Mon, 09 Jun 2008) | 6 lines

Implement FINDLABEL matching for the new extension matching engine.
(closes issue #12800)
 Reported by: chris-mac
 Patches: 
       20080608__bug12800.diff.txt uploaded by Corydon76 (license 14)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121281 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-09 16:36:24 +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
Michiel van Baak
63d35b9c38 Blocked revisions 121197 via svnmerge
........
r121197 | mvanbaak | 2008-06-08 13:40:44 +0200 (Sun, 08 Jun 2008) | 12 lines

add a new argument to PrivacyManager to specify a context
where the entered phone number is checked.

You can now define a set of extensions/exten patterns that describe
valid phone numbers. PrivacyManager will check that context for a match
with the given phone number.
This way you get better control. For example people blindly hitting
10 digits just to get past privacymanager

Example line in extensions.conf:
exten => incoming,n,PrivacyManager(3,10,route-outgoing)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121198 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-08 11:42:28 +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
Jeff Peeler
5680387bea Merged revisions 121131 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r121131 | jpeeler | 2008-06-07 20:16:25 -0500 (Sat, 07 Jun 2008) | 2 lines

Fixes segfault when using ParkAndAnnounce. Also, loop made more efficient as announce template only needs to be checked until the number of colon separated arguments run out, not the entire pointer storage array. Was done in a similiar fashion in 1.4, but here we're using less variables.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121138 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-08 01:18:52 +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
Tilghman Lesher
0b8cef4b18 Blocked revisions 121042 via svnmerge
........
r121042 | tilghman | 2008-06-06 15:24:11 -0500 (Fri, 06 Jun 2008) | 6 lines

Added a facility for sending arbitrary SIP notify commands from AMI.
(closes issue #12562)
 Reported by: michael-fig
 Patches: 
       20080515__bug12562.diff.txt uploaded by Corydon76 (license 14)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-06 20:25:20 +00:00
Tilghman Lesher
9a4ef078a4 Merged revisions 121010 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r121010 | tilghman | 2008-06-06 14:55:08 -0500 (Fri, 06 Jun 2008) | 6 lines

Make extension match characters case-insensitive.
(closes issue #12777)
 Reported by: jsmith
 Patches: 
       lower_case_patterns-trunk-v1.patch uploaded by jsmith (license 15)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@121011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-06 19:56:08 +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
Tilghman Lesher
76bce983e2 Merged revisions 120904 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r120904 | tilghman | 2008-06-06 12:34:21 -0500 (Fri, 06 Jun 2008) | 3 lines

For the purpose of making the changed syntax to ExecIf easier to transition,
allow the deprecated syntax (fixed for jmls on -dev).

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-06 17:35:03 +00:00
Tilghman Lesher
b636496aa1 Blocked revisions 120789 via svnmerge
........
r120789 | tilghman | 2008-06-05 14:07:27 -0500 (Thu, 05 Jun 2008) | 3 lines

Merge the adaptive realtime branch, which will make adding new required fields
to realtime less painful in the future.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-06 15:39:29 +00:00
Steve Murphy
c24bc84355 Merged revisions 120828 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r120828 | murf | 2008-06-05 15:34:42 -0600 (Thu, 05 Jun 2008) | 1 line

a small fix for a crash that occurs when compiling AEL with global vars
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120829 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-05 21:39:24 +00:00
Philippe Sultan
8c1b4ef44d Merged revisions 120676 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r120676 | phsultan | 2008-06-05 19:02:39 +0200 (Thu, 05 Jun 2008) | 10 lines

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

........
r120675 | phsultan | 2008-06-05 18:56:15 +0200 (Thu, 05 Jun 2008) | 2 lines

Ignore appended resource when comparing JIDs.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120677 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-05 17:17:28 +00:00
Brett Bryant
2c8228fdd2 Blocked revisions 120673 via svnmerge
........
r120673 | bbryant | 2008-06-05 11:41:36 -0500 (Thu, 05 Jun 2008) | 1 line

Update CHANGES file for the things done in revision 120635.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120674 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-05 16:42:00 +00:00
Brett Bryant
c745206a72 Blocked revisions 120635 via svnmerge
........
r120635 | bbryant | 2008-06-05 11:24:19 -0500 (Thu, 05 Jun 2008) | 14 lines

This patch adds more detailed statistics for RTP channels, and provides an API call to access it, including maximums, minimums, standard deviatinos, 
and normal deviations. Currently this is implemented for chan_sip, but could be added to the func_channel_read callbacks for the CHANNEL function 
for any channel that uses RTP.

(closes issue #10590)
Reported by: gasparz
Patches:
      chan_sip_c.diff uploaded by gasparz (license 219)
      rtp_c.diff uploaded by gasparz (license 219)
      rtp_h.diff uploaded by gasparz (license 219)
      audioqos-trunk.diff uploaded by snuffy (license 35)
      rtpqos-trunk-r119891.diff uploaded by sergee (license 138)
Tested by: jsmith, gasparz, snuffy, marsosa, chappell, sergee

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120643 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-05 16:25:55 +00:00
Tilghman Lesher
ca20011d2c Merged revisions 120602 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r120602 | tilghman | 2008-06-05 10:58:11 -0500 (Thu, 05 Jun 2008) | 4 lines

Conditionally load the AGI command gosub, depending on whether or not res_agi
has been loaded, fix a return value in the loader, and ensure that the help
workhorse header does not print on load.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120603 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-05 16:01:32 +00:00
Tilghman Lesher
c6dc1218fc Merged revisions 120567 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r120567 | tilghman | 2008-06-05 09:35:47 -0500 (Thu, 05 Jun 2008) | 2 lines

Add info on the [compat] section of asterisk.conf.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120568 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-05 14:36:32 +00:00
Tilghman Lesher
c5bbfbbd1e Fix frame API for 1.6.0 (Closes issue #12793)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-05 12:42:44 +00:00
Mark Michelson
a067ee471a Merged revisions 120514 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r120514 | mmichelson | 2008-06-04 17:07:37 -0500 (Wed, 04 Jun 2008) | 14 lines

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

........
r120513 | mmichelson | 2008-06-04 17:05:33 -0500 (Wed, 04 Jun 2008) | 6 lines

Make sure that the string we set will survive the unref of
the queue member.

Thanks to Russell, who pointed this out.


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120515 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-04 22:08:09 +00:00
Tilghman Lesher
816d355d89 Merged revisions 120477 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r120477 | tilghman | 2008-06-04 15:34:52 -0500 (Wed, 04 Jun 2008) | 2 lines

MSet doesn't necessarily need chan to be set

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120478 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-04 20:35:38 +00:00
Joshua Colp
faddb24782 Merged revisions 120337 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r120337 | file | 2008-06-04 12:38:00 -0300 (Wed, 04 Jun 2008) | 2 lines

We like tabs.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-04 15:38:56 +00:00
Mark Michelson
d192aa7cca Merged revisions 120286 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r120286 | mmichelson | 2008-06-04 09:12:45 -0500 (Wed, 04 Jun 2008) | 15 lines

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

........
r120285 | mmichelson | 2008-06-04 09:11:12 -0500 (Wed, 04 Jun 2008) | 7 lines

Tab completion when removing a member should give the member's interface,
not the name, since the interface is what is expected for the command.

(closes issue #12783)
Reported by: davevg


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120287 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-04 14:13:23 +00:00
Joshua Colp
8e26afa2c1 Merged revisions 120283 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r120283 | file | 2008-06-04 10:33:59 -0300 (Wed, 04 Jun 2008) | 14 lines

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

........
r120282 | file | 2008-06-04 10:31:09 -0300 (Wed, 04 Jun 2008) | 6 lines

Fix a log message and add a message for when the dialplan is done reloading.
(closes issue #12716)
Reported by: chappell
Patches:
      dialplan_reload_2.diff uploaded by chappell (license 8)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120284 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-04 13:34:45 +00:00
Tilghman Lesher
70ab525211 Blocked revisions 120230 via svnmerge
........
r120230 | tilghman | 2008-06-03 18:17:33 -0500 (Tue, 03 Jun 2008) | 7 lines

Add a function, CHANNELS(), which retrieves a list of all active channels.
(closes issue #11330)
 Reported by: rain
 Patches: 
       func_channel-channel_list_function.diff uploaded by rain (license 327)
       (with some additional changes by me, mostly to meet coding guidelines)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120234 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-03 23:18:11 +00:00
Tilghman Lesher
5183c444bb Merged revisions 120227 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r120227 | tilghman | 2008-06-03 17:42:03 -0500 (Tue, 03 Jun 2008) | 16 lines

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

........
r120226 | tilghman | 2008-06-03 17:41:04 -0500 (Tue, 03 Jun 2008) | 8 lines

Due to incorrect use of the AST_LIST_INSERT_HEAD() macro the loopback switch
cannot perform any translation on the extension number before searching for it
in the target context.
(closes issue #12473)
 Reported by: chappell
 Patches: 
       pbx_loopback.c.diff uploaded by chappell (license 8)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120228 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-03 22:42:40 +00:00
Jeff Peeler
4954c77f80 Merged revisions 120174 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r120174 | jpeeler | 2008-06-03 17:17:07 -0500 (Tue, 03 Jun 2008) | 14 lines

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

........
r120173 | jpeeler | 2008-06-03 17:15:33 -0500 (Tue, 03 Jun 2008) | 6 lines

(closes issue #11594)
Reported by: yem
Tested by: yem

This change decreases the buffer size allocated on the stack substantially in config_text_file_load when LOW_MEMORY is turned on. This change combined with the fix from revision 117462 (making mkintf not copy the zt_chan_conf structure) was enough to prevent the crash.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120178 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-03 22:18:15 +00:00
Tilghman Lesher
ac54d54fc5 Merged revisions 120171 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r120171 | tilghman | 2008-06-03 17:05:16 -0500 (Tue, 03 Jun 2008) | 5 lines

Move compatibility options into asterisk.conf, default them to on for upgrades,
and off for new installations.  This includes the translation from pipes to commas
for pbx_realtime and the EXEC command for AGI, as well as the change to the Set
application not to support multiple variables at once.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120172 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-03 22:08:56 +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
Mark Michelson
b30c8019b1 Blocked revisions 120166 via svnmerge
........
r120166 | mmichelson | 2008-06-03 16:22:52 -0500 (Tue, 03 Jun 2008) | 13 lines

Adding two new queue log events. The ADDMEMBER event is logged when
a dynamic realtime queue member is added to the queue, and the 
REMOVEMEMBER event is logged when a dynamic realtime member is
removed. Since no calling channel is associated with these events
the string "REALTIME" is placed where the channel's unique id is
normally placed.

(closes issue #12774)
Reported by: atis
Patches:
      queue_log_rt_members.patch uploaded by atis (license 242)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120167 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-03 21:23:33 +00:00
Russell Bryant
0774aac0ef Blocked revisions 120129 via svnmerge
........
r120129 | russell | 2008-06-03 14:48:37 -0500 (Tue, 03 Jun 2008) | 2 lines

Use proper return values for a few application modules

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120130 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-03 19:48:56 +00:00
Russell Bryant
b2f1231fa0 Blocked revisions 120066 via svnmerge
........
r120066 | russell | 2008-06-03 13:43:01 -0500 (Tue, 03 Jun 2008) | 2 lines

fix build for non debug threads

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-03 18:44:29 +00:00
Russell Bryant
a321695170 Blocked revisions 120064 via svnmerge
........
r120064 | russell | 2008-06-03 13:26:51 -0500 (Tue, 03 Jun 2008) | 10 lines

Add lock tracking for rwlocks.  Previously, lock.h only had the ability to
hold tracking information for mutexes.  Now, the "core show locks" output
will output information about who is holding a rwlock when a thread is
waiting on it.

(closes issue #11279)
Reported by: ys
Patches:
      trunk_lock_utils.v8.diff uploaded by ys (license 281)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-03 18:27:26 +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
Steve Murphy
a83e2b2672 Merged revisions 119998 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r119998 | murf | 2008-06-03 09:49:34 -0600 (Tue, 03 Jun 2008) | 16 lines

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

........
r119966 | murf | 2008-06-03 09:26:56 -0600 (Tue, 03 Jun 2008) | 8 lines

Updated the regressions on AEL. Hadn't updated
this for the changes I made to preserve ${EXTEN}
in switches, which affected several tests because
it adds extra priorities, and at least one needed to be updated
because of the removal of the empty extension warning
message.


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@120000 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-03 15:57:26 +00:00
Steve Murphy
5c1b2dedc5 Merged revisions 119930 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r119930 | murf | 2008-06-03 09:07:20 -0600 (Tue, 03 Jun 2008) | 24 lines

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

........
r119929 | murf | 2008-06-03 08:49:46 -0600 (Tue, 03 Jun 2008) | 16 lines

as per http://lists.digium.com/pipermail/asterisk-users/2008-June/212934.html,
which is a message from Philipp Kempgen, requesting that the WARNING
that an extension is empty be reduced to a NOTICE or less, as empty
extensions are syntactically possible, and no big deal.

With which I agree, and have removed that WARNING message entirely.
I think it is not necessary to see this message. It didn't 
state that a NoOp() was inserted automatically on your behalf,
and really, as users, who cares? Why freak out dialplan writers
with unnecessary warnings? The details of the machinations a compiler goes
thru to produce working assembly code is of little interest
to most programmers-- we will follow the unix principal of
doing our work silently.



........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119931 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-03 15:12:28 +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
f2374dc751 Merged revisions 119892 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r119892 | russell | 2008-06-03 08:29:16 -0500 (Tue, 03 Jun 2008) | 9 lines

Do a deep copy of file and function strings to avoid a potential crash when
modules are unloaded.

(closes issue #12780)
Reported by: ys
Patches:
      logger.diff uploaded by ys (license 281)
	  -- modified by me for coding guidelines

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119893 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-03 13:30:39 +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
Russell Bryant
99982db334 Merged revisions 119801 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r119801 | russell | 2008-06-02 11:14:15 -0500 (Mon, 02 Jun 2008) | 4 lines

Add app_fax from asterisk-addons, with some additional changes to resolve compiler
warnings, as well as update to the APIs in spandsp 0.0.5.  Spandsp 0.0.5 is being
distributed under the LGPL, so we can move this module into the main tree.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119802 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-02 16:14:37 +00:00
Russell Bryant
19721dea99 Merged revisions 119799 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r119799 | russell | 2008-06-02 10:57:43 -0500 (Mon, 02 Jun 2008) | 4 lines

After determining that the version of spandsp installed is an acceptable version,
do a build and link test to ensure that the library is usable, and that libtiff
is also available

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119800 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-02 15:58:41 +00:00
Russell Bryant
d206a81d8d Merged revisions 119795 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r119795 | russell | 2008-06-02 10:43:40 -0500 (Mon, 02 Jun 2008) | 2 lines

Add a configure script check for spandsp

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119796 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-02 15:46:07 +00:00
Russell Bryant
6785df630c Merged revisions 119744 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r119744 | russell | 2008-06-02 09:41:55 -0500 (Mon, 02 Jun 2008) | 13 lines

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

........
r119742 | russell | 2008-06-02 09:39:45 -0500 (Mon, 02 Jun 2008) | 5 lines

Improve CLI command blacklist checking for the command manager action.  Previously,
it did not handle case or whitespace properly.  This made it possible for blacklisted
commands to get executed anyway.
(closes issue #12765)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119745 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-02 14:44:47 +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
e60f5750ad Merged revisions 119531 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r119531 | russell | 2008-06-01 20:04:01 -0500 (Sun, 01 Jun 2008) | 10 lines

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

........
r119530 | russell | 2008-06-01 20:03:22 -0500 (Sun, 01 Jun 2008) | 2 lines

Fix another typo in documentation

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@119532 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-02 01:04:30 +00:00