asterisk/asterisk.git
12 years agoMerged revisions 60712 via svnmerge from
Tilghman Lesher [Sun, 8 Apr 2007 14:20:42 +0000 (14:20 +0000)]
Merged revisions 60712 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60712 | tilghman | 2007-04-08 09:12:00 -0500 (Sun, 08 Apr 2007) | 2 lines

Fix --enable-dev-mode

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60714 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoBlocked revisions 60709 via svnmerge
Tilghman Lesher [Sun, 8 Apr 2007 13:48:44 +0000 (13:48 +0000)]
Blocked revisions 60709 via svnmerge

........
r60709 | tilghman | 2007-04-08 08:45:24 -0500 (Sun, 08 Apr 2007) | 2 lines

Off by one error, resulting in a crash (Issue 9500)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60710 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 60661 via svnmerge from
Tilghman Lesher [Sun, 8 Apr 2007 01:42:32 +0000 (01:42 +0000)]
Merged revisions 60661 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r60661 | tilghman | 2007-04-07 20:40:47 -0500 (Sat, 07 Apr 2007) | 10 lines

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

........
r60660 | tilghman | 2007-04-07 20:39:25 -0500 (Sat, 07 Apr 2007) | 2 lines

Bug 9486 - memory leak when opening a filestream

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60662 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoremoved GAIN preprocessor definition, removed needsgain from struct wav_desc, removed...
Dwayne M. Hubbard [Fri, 6 Apr 2007 22:29:53 +0000 (22:29 +0000)]
removed GAIN preprocessor definition, removed needsgain from struct wav_desc, removed unnecessary gain code from wav_read() and wav_write()

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60641 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoFilter out -Wundef so that the automatically generated C files will compile cleanly
Russell Bryant [Fri, 6 Apr 2007 21:43:14 +0000 (21:43 +0000)]
Filter out -Wundef so that the automatically generated C files will compile cleanly

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60623 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoRemove a bunch of files that weren't supposed to get added.
Russell Bryant [Fri, 6 Apr 2007 21:19:25 +0000 (21:19 +0000)]
Remove a bunch of files that weren't supposed to get added.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60605 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 60603 via svnmerge from
Russell Bryant [Fri, 6 Apr 2007 21:16:38 +0000 (21:16 +0000)]
Merged revisions 60603 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60603 | russell | 2007-04-06 15:58:43 -0500 (Fri, 06 Apr 2007) | 13 lines

To be able to achieve the things that we would like to achieve with the
Asterisk GUI project, we need a fully functional HTTP interface with access
to the Asterisk manager interface.  One of the things that was intended to be
a part of this system, but was never actually implemented, was the ability for
the GUI to be able to upload files to Asterisk.  So, this commit adds this in
the most minimally invasive way that we could come up with.

A lot of work on minimime was done by Steve Murphy.  He fixed a lot of bugs in
the parser, and updated it to be thread-safe.  The ability to check
permissions of active manager sessions was added by Dwayne Hubbard.  Then,
hacking this all together and do doing the modifications necessary to the HTTP
interface was done by me.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60604 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 60565 via svnmerge from
Russell Bryant [Fri, 6 Apr 2007 19:52:12 +0000 (19:52 +0000)]
Merged revisions 60565 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60565 | russell | 2007-04-06 14:50:52 -0500 (Fri, 06 Apr 2007) | 3 lines

When a station picks up a trunk that was on hold, make the hints reflect that
nobody has the trunk on hold anymore.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60566 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoUse the same parameter to the two "Registry" AMI events - ChannelDriver
Olle Johansson [Fri, 6 Apr 2007 19:26:01 +0000 (19:26 +0000)]
Use the same parameter to the two "Registry" AMI events - ChannelDriver

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60531 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 60521 via svnmerge from
Russell Bryant [Fri, 6 Apr 2007 18:59:42 +0000 (18:59 +0000)]
Merged revisions 60521 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60521 | russell | 2007-04-06 13:58:46 -0500 (Fri, 06 Apr 2007) | 16 lines

Fix a few problems with SLA.  (issue #9459, reported by francesco_r, fixed by me)

* The original behavior was that if one station put a call on hold, another one
  picked it up, and then hung up, the code would still consider the call on
  hold by the first station, so the trunk would not be hung up.  However, to
  better comply with what most people seem to expect it to behave, it will now
  hang up the trunk.

* Fix a problem with "barge=no".  This was only intended to prevent people from
  joining calls that are in progress.  However, it also prevented other people
  from picking up a call that was on hold.  This has been fixed.

* When there are no active stations on a trunk and it is on hold, the code now
  indicates the HOLD and UNHOLD conditions to the trunk channel.  This allows
  music on hold to be played to the trunk when it is on hold.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60522 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 60485 via svnmerge from
Matthew Fredrickson [Fri, 6 Apr 2007 18:26:24 +0000 (18:26 +0000)]
Merged revisions 60485 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60485 | mattf | 2007-04-06 13:21:52 -0500 (Fri, 06 Apr 2007) | 2 lines

Make sure we check the faxdetect option before doing fax processing

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60487 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 60459 via svnmerge from
Matthew Fredrickson [Fri, 6 Apr 2007 18:25:38 +0000 (18:25 +0000)]
Merged revisions 60459 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r60459 | mattf | 2007-04-06 12:32:31 -0500 (Fri, 06 Apr 2007) | 10 lines

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

........
r60456 | mattf | 2007-04-06 12:03:15 -0500 (Fri, 06 Apr 2007) | 2 lines

There should only be one code path for doing DTMF conditionals on channels.  This fixes it.

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60486 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 60399 via svnmerge from
Kevin P. Fleming [Fri, 6 Apr 2007 14:53:13 +0000 (14:53 +0000)]
Merged revisions 60399 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r60399 | kpfleming | 2007-04-06 09:49:51 -0500 (Fri, 06 Apr 2007) | 10 lines

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

........
r60398 | kpfleming | 2007-04-06 09:41:37 -0500 (Fri, 06 Apr 2007) | 2 lines

remove undocumented 'cardsmode' parameter and stop searching for transcoders during reload()

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60400 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMajor res_speech cleanup. It looks much better now!
Joshua Colp [Fri, 6 Apr 2007 01:29:28 +0000 (01:29 +0000)]
Major res_speech cleanup. It looks much better now!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60363 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 60361 via svnmerge from
Joshua Colp [Fri, 6 Apr 2007 01:15:50 +0000 (01:15 +0000)]
Merged revisions 60361 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60361 | file | 2007-04-05 22:14:00 -0300 (Thu, 05 Apr 2007) | 2 lines

Add support for returning different types of results (ie: NBest).

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60362 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 60325 via svnmerge from
Dwayne M. Hubbard [Thu, 5 Apr 2007 23:08:07 +0000 (23:08 +0000)]
Merged revisions 60325 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60325 | dhubbard | 2007-04-05 17:58:01 -0500 (Thu, 05 Apr 2007) | 1 line

modified default GAIN for issue 5823, thanks jrwalliker
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60326 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 60323 via svnmerge from
Steve Murphy [Thu, 5 Apr 2007 22:40:42 +0000 (22:40 +0000)]
Merged revisions 60323 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60323 | murf | 2007-04-05 16:35:11 -0600 (Thu, 05 Apr 2007) | 1 line

Added some clarification to the example configs for CDRs, on how to select a backend. Also, made cdr-csv the default if you 'make samples', and no other changes.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60324 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 60268 via svnmerge from
Jason Parker [Thu, 5 Apr 2007 16:11:34 +0000 (16:11 +0000)]
Merged revisions 60268 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r60268 | qwell | 2007-04-05 11:10:48 -0500 (Thu, 05 Apr 2007) | 13 lines

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

........
r60267 | qwell | 2007-04-05 11:09:41 -0500 (Thu, 05 Apr 2007) | 5 lines

Just because we can't find the voicemail configuration file, doesn't
 mean that the module failed to load.  The user could be using realtime.

Issue #9473

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60269 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 60265 via svnmerge from
Russell Bryant [Thu, 5 Apr 2007 15:48:17 +0000 (15:48 +0000)]
Merged revisions 60265 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60265 | russell | 2007-04-05 10:47:17 -0500 (Thu, 05 Apr 2007) | 2 lines

Add the MIME type for gif by request from Pari

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60266 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 60214 via svnmerge from
Joshua Colp [Thu, 5 Apr 2007 12:57:35 +0000 (12:57 +0000)]
Merged revisions 60214 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r60214 | file | 2007-04-05 08:55:02 -0400 (Thu, 05 Apr 2007) | 10 lines

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

........
r60213 | file | 2007-04-05 08:52:50 -0400 (Thu, 05 Apr 2007) | 2 lines

Only unlock our pvt and net locks if we are actually going to try to lock the owner again. (issue #9472 reported by zoa)

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60215 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoast_shrink_phone_number() must ignore whitespace, otherwise my CIDCO callerid box...
Dwayne M. Hubbard [Wed, 4 Apr 2007 23:45:27 +0000 (23:45 +0000)]
ast_shrink_phone_number() must ignore whitespace, otherwise my CIDCO callerid box gets LINE ERROR

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60193 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 60137 via svnmerge from
Russell Bryant [Wed, 4 Apr 2007 17:41:37 +0000 (17:41 +0000)]
Merged revisions 60137 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r60137 | russell | 2007-04-04 12:40:10 -0500 (Wed, 04 Apr 2007) | 14 lines

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

........
r60134 | russell | 2007-04-04 12:38:47 -0500 (Wed, 04 Apr 2007) | 6 lines

It is valid to redirect channels via the manager interface that are not in the
UP state.  Instead of checking for that to prevent to ensure a dead channel
doesn't get redirected, just use the ast_check_hangup() API call.
(issue #9457, reported by Callmewind, patch by me)
(related to issue #8977)

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60141 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 60112 via svnmerge from
Russell Bryant [Wed, 4 Apr 2007 16:50:31 +0000 (16:50 +0000)]
Merged revisions 60112 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60112 | russell | 2007-04-04 11:49:45 -0500 (Wed, 04 Apr 2007) | 3 lines

Add a Content-Length of 0 to the response built by transmit_response_with_unsupported().
(issue #9454, reported by makoto, fixed by me)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60114 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 60088 via svnmerge from
Russell Bryant [Wed, 4 Apr 2007 16:40:01 +0000 (16:40 +0000)]
Merged revisions 60088 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r60088 | russell | 2007-04-04 11:39:04 -0500 (Wed, 04 Apr 2007) | 12 lines

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

........
r60083 | russell | 2007-04-04 11:37:04 -0500 (Wed, 04 Apr 2007) | 4 lines

Fix the return value of handle_common_options() so that it always properly
indicates whether it handled the option or not.
(issue #9455, reported by Netview, fixed by me)

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60091 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 60069 via svnmerge from
Russell Bryant [Wed, 4 Apr 2007 16:27:12 +0000 (16:27 +0000)]
Merged revisions 60069 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r60069 | russell | 2007-04-04 11:26:23 -0500 (Wed, 04 Apr 2007) | 4 lines

Fix a problem where if a trunk was hung up while it was on hold, all of the
hints would reflect the line still on hold, even though it should reflect that
it is back to not in use.  (issue #9459, reported by francesco_r, fixed by me)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60070 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoAdd support for RTP packetization in chan_jingle and chan_gtalk.
Russell Bryant [Tue, 3 Apr 2007 22:33:03 +0000 (22:33 +0000)]
Add support for RTP packetization in chan_jingle and chan_gtalk.
(issue #9416, phsultan)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60011 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59963 via svnmerge from
Joshua Colp [Tue, 3 Apr 2007 19:43:26 +0000 (19:43 +0000)]
Merged revisions 59963 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59963 | file | 2007-04-03 15:40:59 -0400 (Tue, 03 Apr 2007) | 2 lines

Don't clash when a person both speaks and uses DTMF.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59969 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59939 via svnmerge from
Russell Bryant [Tue, 3 Apr 2007 19:17:55 +0000 (19:17 +0000)]
Merged revisions 59939 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r59939 | russell | 2007-04-03 14:16:53 -0500 (Tue, 03 Apr 2007) | 12 lines

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

........
r59938 | russell | 2007-04-03 14:15:04 -0500 (Tue, 03 Apr 2007) | 4 lines

Don't attempt to report configuration errors in build_user().  oej pointed out
that for a "friend" entry, this won't work, because all user options are valid
for peers, but not the other way around.

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59940 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59936 via svnmerge from
Russell Bryant [Tue, 3 Apr 2007 18:57:52 +0000 (18:57 +0000)]
Merged revisions 59936 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r59936 | russell | 2007-04-03 13:55:57 -0500 (Tue, 03 Apr 2007) | 11 lines

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

........
r59916 | russell | 2007-04-03 13:43:54 -0500 (Tue, 03 Apr 2007) | 3 lines

Make chan_sip report when it encounters an unknown option.
(issue #9440, reported by nightcrawler)

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59937 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoRemove a duplicate function prototype. (issue #9444, junky)
Russell Bryant [Tue, 3 Apr 2007 18:34:14 +0000 (18:34 +0000)]
Remove a duplicate function prototype.  (issue #9444, junky)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59896 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59887 via svnmerge from
Russell Bryant [Tue, 3 Apr 2007 18:02:47 +0000 (18:02 +0000)]
Merged revisions 59887 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r59887 | russell | 2007-04-03 13:01:49 -0500 (Tue, 03 Apr 2007) | 13 lines

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

........
r59886 | russell | 2007-04-03 12:58:19 -0500 (Tue, 03 Apr 2007) | 5 lines

When doing a built-in blind or attended transfer, restore the ability to use '#'
to terminate the number and immediately do the transfer instead of having to
dial the number and just wait for the feature digit timeout.
(issue #8366, xueliangliang)

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59888 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59853 via svnmerge from
Russell Bryant [Tue, 3 Apr 2007 16:06:03 +0000 (16:06 +0000)]
Merged revisions 59853 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59853 | russell | 2007-04-03 11:03:35 -0500 (Tue, 03 Apr 2007) | 1 line

Ensure that menuselect gets executed in dependency check mode every time you run make.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59854 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59804 via svnmerge from
Nadi Sarrar [Tue, 3 Apr 2007 11:15:45 +0000 (11:15 +0000)]
Merged revisions 59804 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r59804 | nadi | 2007-04-03 13:02:46 +0200 (Di, 03 Apr 2007) | 15 lines

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

........
r59788 | nadi | 2007-04-03 11:37:00 +0200 (Di, 03 Apr 2007) | 2 lines

Use the new sysfs way of mISDN 1.2 to check if a port is NT or not.

........
r59803 | nadi | 2007-04-03 12:40:58 +0200 (Di, 03 Apr 2007) | 2 lines

ptp is the 5th bit, not the 4th.

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59805 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59724 via svnmerge from
Joshua Colp [Mon, 2 Apr 2007 19:01:04 +0000 (19:01 +0000)]
Merged revisions 59724 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r59724 | file | 2007-04-02 14:58:24 -0400 (Mon, 02 Apr 2007) | 10 lines

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

........
r59723 | file | 2007-04-02 14:55:25 -0400 (Mon, 02 Apr 2007) | 2 lines

Increase the maximum size for a string of mailboxes to 1024. (issue #9270 reported by rtucker)

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59725 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoThis hashing code is still causing some random crashes on my system, and
Russell Bryant [Mon, 2 Apr 2007 17:40:26 +0000 (17:40 +0000)]
This hashing code is still causing some random crashes on my system, and
probably others, too.  I don't really have time to work on it at the moment,
so I am just going to revert it for now.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59693 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59688 via svnmerge from
Steve Murphy [Mon, 2 Apr 2007 17:38:12 +0000 (17:38 +0000)]
Merged revisions 59688 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59688 | murf | 2007-04-02 11:31:32 -0600 (Mon, 02 Apr 2007) | 1 line

continue in for-loop should go to the incrementer, not the test. As per 9435, thanks to marcelbarbulescu
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59692 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59654 via svnmerge from
Russell Bryant [Mon, 2 Apr 2007 16:08:33 +0000 (16:08 +0000)]
Merged revisions 59654 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r59654 | russell | 2007-04-02 10:39:07 -0500 (Mon, 02 Apr 2007) | 14 lines

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

........
r59608 | russell | 2007-04-01 17:35:25 -0500 (Sun, 01 Apr 2007) | 6 lines

Add the SO_REUSEADDR flag to sockets handled by netsock.  This is needed by
the patch that went in for issue 7874.  chan_iax2 needs to be able to create
socket that is lisetning on INADDR_ANY, but also be able to bind sockets to
specific addresses.  (Thanks to Stevenson on the asterisk-dev mailing list
for explaining why this flag was needed.)

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59655 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59573 via svnmerge from
Jason Parker [Fri, 30 Mar 2007 22:54:01 +0000 (22:54 +0000)]
Merged revisions 59573 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59573 | qwell | 2007-03-30 17:50:31 -0500 (Fri, 30 Mar 2007) | 2 lines

Add linux-uclibc host arch..."thingy".  Sorry, I don't know what it's called...

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59574 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoUpdate to support multiple CIC groups and DPCs per linkset.
Matthew Fredrickson [Fri, 30 Mar 2007 20:54:42 +0000 (20:54 +0000)]
Update to support multiple CIC groups and DPCs per linkset.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59555 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59522 via svnmerge from
Steve Murphy [Fri, 30 Mar 2007 17:57:47 +0000 (17:57 +0000)]
Merged revisions 59522 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59522 | murf | 2007-03-30 11:51:17 -0600 (Fri, 30 Mar 2007) | 1 line

several changes via kpflemings review
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59523 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59486 via svnmerge from
Steve Murphy [Fri, 30 Mar 2007 14:37:21 +0000 (14:37 +0000)]
Merged revisions 59486 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59486 | murf | 2007-03-30 08:11:59 -0600 (Fri, 30 Mar 2007) | 1 line

These mods fix CDR issues from 8221, 8593, 8680, 8743, and perhaps others. Mainly with CDRs generated from transfer situations.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59500 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59452 via svnmerge from
Steve Murphy [Fri, 30 Mar 2007 01:16:22 +0000 (01:16 +0000)]
Merged revisions 59452 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59452 | murf | 2007-03-29 18:56:36 -0600 (Thu, 29 Mar 2007) | 1 line

A small clarification to keep bugs from being filed, and confusion from rising, if clearglobalvars is set, and globals are set in the AEL file. (9419)
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59453 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoReduce the ridiculous number of variables used in the load_config() function by
Russell Bryant [Thu, 29 Mar 2007 23:27:46 +0000 (23:27 +0000)]
Reduce the ridiculous number of variables used in the load_config() function by
just having one that can be re-used.  There is no functional change here (that
is intentional, anyway!).

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59433 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoAdd the ability for the "voicemail show users" CLI command to show users
Russell Bryant [Thu, 29 Mar 2007 20:53:12 +0000 (20:53 +0000)]
Add the ability for the "voicemail show users" CLI command to show users
configured in realtime.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59414 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoFix an issue with hashing iax2 pvt structures that caused random crashes on
Russell Bryant [Thu, 29 Mar 2007 18:31:35 +0000 (18:31 +0000)]
Fix an issue with hashing iax2 pvt structures that caused random crashes on
systems under heavy load such as IAXtel.
(possibly related to issue #9403)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59368 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59363 via svnmerge from
Russell Bryant [Thu, 29 Mar 2007 17:44:45 +0000 (17:44 +0000)]
Merged revisions 59363 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59363 | russell | 2007-03-29 12:43:52 -0500 (Thu, 29 Mar 2007) | 6 lines

When building a response to a subscription, the "from" must be the full Jabber
ID.  This fixes some problems where jabber users are not able to add their
Asterisk account to their user list, since they are unable to get Asterisk
to approve their subscription.  (issue #8210, reported by caspy, and verified
by bradtem)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59364 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59361 via svnmerge from
Joshua Colp [Thu, 29 Mar 2007 17:42:48 +0000 (17:42 +0000)]
Merged revisions 59361 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r59361 | file | 2007-03-29 13:38:55 -0400 (Thu, 29 Mar 2007) | 10 lines

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

........
r59360 | file | 2007-03-29 13:33:58 -0400 (Thu, 29 Mar 2007) | 2 lines

Keep a global array of variables indicating whether certain conference rooms are in use. This ensures that two people going into a new dynamic conference when the 'e' option is set don't go into the same conference room. (issue #8835 reported by eliel)

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59362 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59358 via svnmerge from
Russell Bryant [Thu, 29 Mar 2007 17:20:43 +0000 (17:20 +0000)]
Merged revisions 59358 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r59358 | russell | 2007-03-29 12:17:41 -0500 (Thu, 29 Mar 2007) | 13 lines

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

........
r59357 | russell | 2007-03-29 12:14:33 -0500 (Thu, 29 Mar 2007) | 5 lines

If an error occurs when reading from an RTP socket, and the error code does not
indicate that we should try again, then return NULL instead of a "null frame".
This will prevent Asterisk from trying over and over again, and eventually
causing the system to crash.  (issue #8285, john)

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59359 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59341 via svnmerge from
Russell Bryant [Thu, 29 Mar 2007 16:56:35 +0000 (16:56 +0000)]
Merged revisions 59341 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59341 | russell | 2007-03-29 11:55:39 -0500 (Thu, 29 Mar 2007) | 8 lines

When the IAX2 read callback gets called, return NULL instead of a "null frame".
This will cause Asterisk to hangup the call instead of keep trying whatever it
was doing.  Under normal conditions, this function would *never* be called.
However, the author of this patch says an error will occur that will cause it
to get called every 100 thousand calls or so.  When this does happen, it puts
the channel in a loop that eventually brings down the system.  So, hangup up
the call is certainly a better alternative.  (issue #8286, john)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59343 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59304 via svnmerge from
Russell Bryant [Thu, 29 Mar 2007 16:29:17 +0000 (16:29 +0000)]
Merged revisions 59304 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59304 | russell | 2007-03-29 11:25:41 -0500 (Thu, 29 Mar 2007) | 2 lines

Export the GTK2 library and include information to sub Makefiles.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59305 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59302 via svnmerge from
Tilghman Lesher [Thu, 29 Mar 2007 16:08:17 +0000 (16:08 +0000)]
Merged revisions 59302 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r59302 | tilghman | 2007-03-29 11:07:05 -0500 (Thu, 29 Mar 2007) | 11 lines

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

........
r59301 | tilghman | 2007-03-29 11:04:46 -0500 (Thu, 29 Mar 2007) | 3 lines

Issue 9415 - No point to getting a diagnostic field if we aren't doing anything with the information.
(Plus, it tends to crash the Postgres ODBC driver.)

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59303 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59289 via svnmerge from
Tilghman Lesher [Wed, 28 Mar 2007 03:40:19 +0000 (03:40 +0000)]
Merged revisions 59289 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59289 | tilghman | 2007-03-27 22:38:09 -0500 (Tue, 27 Mar 2007) | 2 lines

Another crash that I thought we had fixed already - Issue 9396

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59290 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoadded filtering options to 'zap show channels' to implement functionality described...
Dwayne M. Hubbard [Wed, 28 Mar 2007 00:09:25 +0000 (00:09 +0000)]
added filtering options to 'zap show channels' to implement functionality described in issue 6520

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59286 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59284 via svnmerge from
Tilghman Lesher [Tue, 27 Mar 2007 23:38:22 +0000 (23:38 +0000)]
Merged revisions 59284 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r59284 | tilghman | 2007-03-27 18:37:31 -0500 (Tue, 27 Mar 2007) | 10 lines

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

........
r59283 | tilghman | 2007-03-27 18:36:49 -0500 (Tue, 27 Mar 2007) | 2 lines

Oops

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59285 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59281 via svnmerge from
Tilghman Lesher [Tue, 27 Mar 2007 23:34:57 +0000 (23:34 +0000)]
Merged revisions 59281 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r59281 | tilghman | 2007-03-27 18:32:46 -0500 (Tue, 27 Mar 2007) | 10 lines

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

........
r59280 | tilghman | 2007-03-27 18:31:20 -0500 (Tue, 27 Mar 2007) | 2 lines

Fix a few remaining bad mmap(2) return values

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59282 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59278 via svnmerge from
Russell Bryant [Tue, 27 Mar 2007 23:22:03 +0000 (23:22 +0000)]
Merged revisions 59278 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r59278 | russell | 2007-03-27 18:20:22 -0500 (Tue, 27 Mar 2007) | 11 lines

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

........
r59277 | russell | 2007-03-27 18:19:41 -0500 (Tue, 27 Mar 2007) | 3 lines

Fix the check of the return value from mmap().  Thanks to Corydon for catching
this one.

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59279 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59275 via svnmerge from
Russell Bryant [Tue, 27 Mar 2007 23:16:54 +0000 (23:16 +0000)]
Merged revisions 59275 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59275 | russell | 2007-03-27 18:16:27 -0500 (Tue, 27 Mar 2007) | 3 lines

Fix app_directory to actually compile with ODBC_STORAGE, and update the code to
the latest res_odbc API.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59276 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59273 via svnmerge from
Russell Bryant [Tue, 27 Mar 2007 23:03:09 +0000 (23:03 +0000)]
Merged revisions 59273 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59273 | russell | 2007-03-27 18:02:12 -0500 (Tue, 27 Mar 2007) | 4 lines

Fix app_directory when ODBC_STORAGE is being used.  The Makefile did not
properly ensure that this information got copied from what was selected
for app_voicemail.  (issue #9224)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59274 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoUse better english. Renegotiate! Repeat after me: renegotiate.
Joshua Colp [Tue, 27 Mar 2007 20:11:11 +0000 (20:11 +0000)]
Use better english. Renegotiate! Repeat after me: renegotiate.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59272 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59261 via svnmerge from
Steve Murphy [Tue, 27 Mar 2007 18:21:50 +0000 (18:21 +0000)]
Merged revisions 59261 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59261 | murf | 2007-03-27 12:16:32 -0600 (Tue, 27 Mar 2007) | 1 line

via 9373 (duplicate context in AEL crashes asterisk), kpfleming pointed on asterisk-dev, that DECLINE in this case the proper thing to do. This change now has it doing the proper thing.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59264 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59262 via svnmerge from
Russell Bryant [Tue, 27 Mar 2007 18:18:36 +0000 (18:18 +0000)]
Merged revisions 59262 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59262 | russell | 2007-03-27 13:17:47 -0500 (Tue, 27 Mar 2007) | 3 lines

Fix the check that ensures that the CHANNEL function's first argument is "rtpqos".
Thanks, Corydon.  :)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59263 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59259 via svnmerge from
Russell Bryant [Tue, 27 Mar 2007 18:08:59 +0000 (18:08 +0000)]
Merged revisions 59259 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r59259 | russell | 2007-03-27 13:05:46 -0500 (Tue, 27 Mar 2007) | 12 lines

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

........
r59258 | russell | 2007-03-27 13:04:02 -0500 (Tue, 27 Mar 2007) | 4 lines

Fix the use of the "sourceaddress" option when "bindaddr" is set to 0.0.0.0
instead of having each interface explicitly listed.
(issue #7874, patch by stevens)

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59260 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59256 via svnmerge from
Russell Bryant [Tue, 27 Mar 2007 16:25:02 +0000 (16:25 +0000)]
Merged revisions 59256 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59256 | russell | 2007-03-27 11:20:53 -0500 (Tue, 27 Mar 2007) | 4 lines

Convert the RTPQOS function to just be additional parameter of the CHANNEL
function.  This way, it will be possible for other RTP based channel drivers
to expose this information in the future.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59257 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoEnhancement via 8118: Realtime API extension: add methods store_func and destroy_func...
Steve Murphy [Tue, 27 Mar 2007 14:09:12 +0000 (14:09 +0000)]
Enhancement via 8118: Realtime API extension: add methods store_func and destroy_func, to make Realtime a complete database abstraction

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59253 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoadded the no. 18 regression test
Steve Murphy [Mon, 26 Mar 2007 22:24:16 +0000 (22:24 +0000)]
added the no. 18 regression test

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59236 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoupdated the regressions with regards to 9373, the crash on double contexts, and broug...
Steve Murphy [Mon, 26 Mar 2007 22:17:37 +0000 (22:17 +0000)]
updated the regressions with regards to 9373, the crash on double contexts, and brought other regressions up to date

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59234 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59228 via svnmerge from
Steve Murphy [Mon, 26 Mar 2007 21:47:37 +0000 (21:47 +0000)]
Merged revisions 59228 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59228 | murf | 2007-03-26 15:41:32 -0600 (Mon, 26 Mar 2007) | 1 line

fix for 9373 (duplicate context in AEL crashes asterisk). I turned a duplicate context from a WARNING to an ERROR. Now you get a module load failure, and asterisk just exits. That's better than a crash, right\?
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59233 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoBlocked revisions 59230 via svnmerge
Tilghman Lesher [Mon, 26 Mar 2007 21:46:32 +0000 (21:46 +0000)]
Blocked revisions 59230 via svnmerge

........
r59230 | tilghman | 2007-03-26 16:45:44 -0500 (Mon, 26 Mar 2007) | 2 lines

Oops, this should be case insensitive

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59231 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59227 via svnmerge from
Tilghman Lesher [Mon, 26 Mar 2007 21:44:59 +0000 (21:44 +0000)]
Merged revisions 59227 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59227 | tilghman | 2007-03-26 16:37:41 -0500 (Mon, 26 Mar 2007) | 2 lines

Change this to a single dp function to make oej happy.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59229 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59225 via svnmerge from
Steve Murphy [Mon, 26 Mar 2007 20:27:02 +0000 (20:27 +0000)]
Merged revisions 59225 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59225 | murf | 2007-03-26 14:06:12 -0600 (Mon, 26 Mar 2007) | 1 line

Fix for 9257; by eliminating the globals in main/config.c, we make it thread-safe, which is a minimum requirement.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59226 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59223 via svnmerge from
Joshua Colp [Mon, 26 Mar 2007 19:35:24 +0000 (19:35 +0000)]
Merged revisions 59223 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59223 | file | 2007-03-26 16:34:14 -0300 (Mon, 26 Mar 2007) | 2 lines

Add ability to specify no timeout. This means as soon as the prompt is done playing it moves on to the next priority.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59224 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59217 via svnmerge from
Russell Bryant [Mon, 26 Mar 2007 18:34:41 +0000 (18:34 +0000)]
Merged revisions 59217 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59217 | russell | 2007-03-26 13:33:50 -0500 (Mon, 26 Mar 2007) | 4 lines

Somehow the code for building the email for voicemail got out of sync.  This
change makes a few tweaks to get 1.4 in sync with trunk.
(issue #9301)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59218 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59215 via svnmerge from
Russell Bryant [Mon, 26 Mar 2007 18:29:10 +0000 (18:29 +0000)]
Merged revisions 59215 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59215 | russell | 2007-03-26 13:28:29 -0500 (Mon, 26 Mar 2007) | 3 lines

Fix some codec negotiation problems when CallerID support is not enabled in SLA.
(issue #9308, reported by twilson)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59216 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59213 via svnmerge from
Joshua Colp [Mon, 26 Mar 2007 18:14:33 +0000 (18:14 +0000)]
Merged revisions 59213 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59213 | file | 2007-03-26 14:13:06 -0400 (Mon, 26 Mar 2007) | 2 lines

Make SpeechBackground obey the digit timeout value.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59214 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59209 via svnmerge from
Russell Bryant [Mon, 26 Mar 2007 17:57:50 +0000 (17:57 +0000)]
Merged revisions 59209 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59209 | russell | 2007-03-26 12:53:07 -0500 (Mon, 26 Mar 2007) | 1 line

Rename the new dialplan functions to match the variable name
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59211 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59206 via svnmerge from
Steve Murphy [Mon, 26 Mar 2007 17:56:26 +0000 (17:56 +0000)]
Merged revisions 59206 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59206 | murf | 2007-03-26 11:38:29 -0600 (Mon, 26 Mar 2007) | 1 line

A fix for the flex input files, DONT_COMPILE, and STANDALONE_AEL
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59210 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59207 via svnmerge from
Russell Bryant [Mon, 26 Mar 2007 17:51:27 +0000 (17:51 +0000)]
Merged revisions 59207 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59207 | russell | 2007-03-26 12:45:55 -0500 (Mon, 26 Mar 2007) | 7 lines

The AUDIORTPQOS and VIDEORTPQOS variables are not fully functional in some
because they get set in sip_hangup.  So, there are common situations where
the variables will not be available in the dialplan at all.  So, this patch
provides an alternate method for getting to this information by introducing
AUDIORTPQOS and VIDEORTPQOS dialplan functions.
(issue #9370, patch by Corydon76, with some testing by blitzrage)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59208 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoFix bug in which parameter type we are passing. This shouldn't be a problem
Matthew Fredrickson [Mon, 26 Mar 2007 16:48:29 +0000 (16:48 +0000)]
Fix bug in which parameter type we are passing.  This shouldn't be a problem
since both types are the same underneath.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59205 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoSmall API related SS7 updates.
Matthew Fredrickson [Mon, 26 Mar 2007 16:46:07 +0000 (16:46 +0000)]
Small API related SS7 updates.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59204 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59202 via svnmerge from
Nadi Sarrar [Mon, 26 Mar 2007 15:59:56 +0000 (15:59 +0000)]
Merged revisions 59202 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59202 | nadi | 2007-03-26 17:25:53 +0200 (Mo, 26 Mär 2007) | 4 lines

* mISDN >= 1.2 provides a dsp pipeline for i.e. echo cancellation modules, make chan_misdn use it.
* add a check for linux/mISDNdsp.h to configure.ac and update the autogenerated files: 'configure', 'autoconfig.h.in'
  (the 'configure' script was not in sync with the latest configure.ac, so the diff is a bit bigger than expected).

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59203 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59200 via svnmerge from
Joshua Colp [Mon, 26 Mar 2007 15:20:17 +0000 (15:20 +0000)]
Merged revisions 59200 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59200 | file | 2007-03-26 11:16:29 -0400 (Mon, 26 Mar 2007) | 2 lines

Have ast_copy_string magically appear in the aelparse binary! DONT_OPTIMIZE should now work once again.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59201 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59195 via svnmerge from
Joshua Colp [Sat, 24 Mar 2007 01:42:11 +0000 (01:42 +0000)]
Merged revisions 59195 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r59195 | file | 2007-03-23 21:39:44 -0400 (Fri, 23 Mar 2007) | 10 lines

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

........
r59194 | file | 2007-03-23 21:35:49 -0400 (Fri, 23 Mar 2007) | 2 lines

Only try to handle a response if it has a response code. (ASA-2007-011)

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59196 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoUpdate modules.txt to new loader. (issue #9358 reported by eliel)
Joshua Colp [Fri, 23 Mar 2007 16:41:18 +0000 (16:41 +0000)]
Update modules.txt to new loader. (issue #9358 reported by eliel)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59191 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59188 via svnmerge from
Steve Murphy [Fri, 23 Mar 2007 16:17:57 +0000 (16:17 +0000)]
Merged revisions 59188 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r59188 | murf | 2007-03-23 10:09:01 -0600 (Fri, 23 Mar 2007) | 9 lines

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

........
r59186 | murf | 2007-03-23 09:57:26 -0600 (Fri, 23 Mar 2007) | 1 line

Added a few words in the Macro doc strings about the behavior of macros with hangups (et al.), as per 9337
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59190 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59182 via svnmerge from
Kevin P. Fleming [Thu, 22 Mar 2007 23:41:37 +0000 (23:41 +0000)]
Merged revisions 59182 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59182 | kpfleming | 2007-03-22 16:40:01 -0700 (Thu, 22 Mar 2007) | 2 lines

don't allow string input to overrun the buffer to hold it (ASA-2007-010)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59183 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59180 via svnmerge from
Kevin P. Fleming [Thu, 22 Mar 2007 23:39:26 +0000 (23:39 +0000)]
Merged revisions 59180 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59180 | kpfleming | 2007-03-22 16:34:22 -0700 (Thu, 22 Mar 2007) | 2 lines

remove variables that are no longer used (--enable-dev-mode is good, developers should be using it)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59181 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59145 via svnmerge from
Steve Murphy [Thu, 22 Mar 2007 14:48:09 +0000 (14:48 +0000)]
Merged revisions 59145 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59145 | murf | 2007-03-22 08:40:53 -0600 (Thu, 22 Mar 2007) | 1 line

The stuff in utils was compiling with -O6 even if DONT_OPTIMIZE is set in menuconfig. Added the include to fix that
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59146 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59089 via svnmerge from
Joshua Colp [Wed, 21 Mar 2007 18:10:01 +0000 (18:10 +0000)]
Merged revisions 59089 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59089 | file | 2007-03-21 14:08:57 -0400 (Wed, 21 Mar 2007) | 2 lines

Add svg mimetype for pari.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59090 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59087 via svnmerge from
Joshua Colp [Wed, 21 Mar 2007 18:06:59 +0000 (18:06 +0000)]
Merged revisions 59087 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r59087 | file | 2007-03-21 14:04:58 -0400 (Wed, 21 Mar 2007) | 10 lines

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

........
r59086 | file | 2007-03-21 14:03:20 -0400 (Wed, 21 Mar 2007) | 2 lines

Indicate the filename changed when it is changed. (issue #9311 reported by jsmith)

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59088 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMinor tweak. Only queue up an unhold control frame if we are actually on hold. This...
Joshua Colp [Wed, 21 Mar 2007 03:33:57 +0000 (03:33 +0000)]
Minor tweak. Only queue up an unhold control frame if we are actually on hold. This would have shown itself when a call was initially being setup and the SDP data was being parsed in.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59083 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59081 via svnmerge from
Joshua Colp [Wed, 21 Mar 2007 03:27:58 +0000 (03:27 +0000)]
Merged revisions 59081 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59081 | file | 2007-03-20 23:25:48 -0400 (Tue, 20 Mar 2007) | 2 lines

Until we can do media level parsing for sendrecv/etc just use the first value found. This crept up when a phone was offered audio+video and returned an inactive video stream. chan_sip thought the phone said to put the person on hold but that was totally wrong. (issue #9319 reported by benbrown)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59082 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMake the database show command spit out how many results it got. (issue #9332 reporte...
Joshua Colp [Wed, 21 Mar 2007 02:46:02 +0000 (02:46 +0000)]
Make the database show command spit out how many results it got. (issue #9332 reported by junky)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59080 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59078 via svnmerge from
Tilghman Lesher [Tue, 20 Mar 2007 21:06:11 +0000 (21:06 +0000)]
Merged revisions 59078 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59078 | tilghman | 2007-03-20 16:04:52 -0500 (Tue, 20 Mar 2007) | 2 lines

Fix defines for inline stack backtraces (only used by developers anyway)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59079 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59076 via svnmerge from
Joshua Colp [Tue, 20 Mar 2007 20:44:58 +0000 (20:44 +0000)]
Merged revisions 59076 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59076 | file | 2007-03-20 16:42:46 -0400 (Tue, 20 Mar 2007) | 2 lines

Copy len variable as well, should fix remaining IAX2 DTMF issues.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59077 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoThe fix for the AEL <<security hole>> (bug 9316) is here...
Steve Murphy [Tue, 20 Mar 2007 18:18:06 +0000 (18:18 +0000)]
The fix for the AEL <<security hole>> (bug 9316) is here...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59073 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoblocking 59070... it was just a repair, doesn't need to be here
Steve Murphy [Tue, 20 Mar 2007 18:15:56 +0000 (18:15 +0000)]
blocking 59070... it was just a repair, doesn't need to be here

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59072 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoblocking 59069... will commit these changes with separate patch
Steve Murphy [Tue, 20 Mar 2007 18:15:03 +0000 (18:15 +0000)]
blocking 59069... will commit these changes with separate patch

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59071 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoIt is possible for mod to become invalid after we unload it (if it's a dynamic module...
Joshua Colp [Mon, 19 Mar 2007 22:32:40 +0000 (22:32 +0000)]
It is possible for mod to become invalid after we unload it (if it's a dynamic module) so move it around a bit.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59051 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoMerged revisions 59049 via svnmerge from
Tilghman Lesher [Mon, 19 Mar 2007 22:31:14 +0000 (22:31 +0000)]
Merged revisions 59049 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59049 | tilghman | 2007-03-19 17:29:56 -0500 (Mon, 19 Mar 2007) | 2 lines

Oops, this should have been a %d all along

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59050 65c4cc65-6c06-0410-ace0-fbb531ad65f3

12 years agoBlocked revisions 59042 via svnmerge
Joshua Colp [Mon, 19 Mar 2007 15:54:42 +0000 (15:54 +0000)]
Blocked revisions 59042 via svnmerge

........
r59042 | file | 2007-03-19 11:52:28 -0400 (Mon, 19 Mar 2007) | 2 lines

Fix typo in help for CDR function. (issue #9295 reported by ajohnson)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59043 65c4cc65-6c06-0410-ace0-fbb531ad65f3