asterisk/asterisk.git
12 years agoAdd two new dialplan functions: ENUMQUERY and ENUMRESULT. These functions
Russell Bryant [Tue, 15 May 2007 23:05:20 +0000 (23:05 +0000)]
Add two new dialplan functions: ENUMQUERY and ENUMRESULT.  These functions
allow you to initiate an ENUM query using ENUMQUERY, and then access the
details of all of the results using ENUMRESULT.  Previously, if you wanted
to access multiple results, Asterisk would have to do a new DNS lookup every
time.  (patch by bbryant)

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

12 years agoMake sure that DUNDIRESULT is given an ID.
Russell Bryant [Tue, 15 May 2007 22:57:01 +0000 (22:57 +0000)]
Make sure that DUNDIRESULT is given an ID.

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

12 years agoXXX-XXX-XXX appears to be the standard ANSI pointcode format
Matthew Fredrickson [Tue, 15 May 2007 20:45:20 +0000 (20:45 +0000)]
XXX-XXX-XXX appears to be the standard ANSI pointcode format

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

12 years agoMerged revisions 64426 via svnmerge from
Russell Bryant [Tue, 15 May 2007 19:57:02 +0000 (19:57 +0000)]
Merged revisions 64426 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r64426 | russell | 2007-05-15 14:52:18 -0500 (Tue, 15 May 2007) | 3 lines

Properly fix a problem that occurs when you set PARKINGEXTEN to an exten where
a call is already parked.  (issue #9723, patch by me)

........

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

12 years agothis does not belong here
Kevin P. Fleming [Mon, 14 May 2007 23:43:28 +0000 (23:43 +0000)]
this does not belong here

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

12 years agoOnly print the SS7 UP once. Not every time we get the test messages on the
Matthew Fredrickson [Mon, 14 May 2007 22:25:56 +0000 (22:25 +0000)]
Only print the SS7 UP once.  Not every time we get the test messages on the
line.

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

12 years agoWith libmmime.a as a .PHONY target, asterisk gets rebuilt every time, but without...
Jason Parker [Mon, 14 May 2007 21:51:03 +0000 (21:51 +0000)]
With libmmime.a as a .PHONY target, asterisk gets rebuilt every time, but without proper ASTCFLAGS.
This caused a problem with the buildinfo.o file not being able to find asterisk/build.h

This was affecting DESTDIR, but I *think* that if asterisk had never been installed before, it would've failed also.

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

12 years agoMerged revisions 64353 via svnmerge from
Russell Bryant [Mon, 14 May 2007 21:17:52 +0000 (21:17 +0000)]
Merged revisions 64353 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r64353 | russell | 2007-05-14 16:16:39 -0500 (Mon, 14 May 2007) | 4 lines

When someone requests a specific parking space using the PARKINGEXTEN variable,
ensure that no other caller is already there.
(issue #9723, reported by mdu113, patch by me)

........

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

12 years agoMerged revisions 64324 via svnmerge from
Olle Johansson [Mon, 14 May 2007 19:35:58 +0000 (19:35 +0000)]
Merged revisions 64324 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r64324 | oej | 2007-05-14 21:26:50 +0200 (Mon, 14 May 2007) | 2 lines

Change -2 to XMIT_ERROR to clarify a bit more

........

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

12 years agoBlocking patch already committed to trunk
Olle Johansson [Mon, 14 May 2007 19:22:30 +0000 (19:22 +0000)]
Blocking patch already committed to trunk

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

12 years agoMerged revisions 64306 via svnmerge from
Russell Bryant [Mon, 14 May 2007 19:21:31 +0000 (19:21 +0000)]
Merged revisions 64306 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r64306 | russell | 2007-05-14 14:13:00 -0500 (Mon, 14 May 2007) | 3 lines

Properly handle AST_CONTROL_PROGRESS by just ignoring it.  An unknown indication
will trigger an error and cause sounds to stop, which in this case, is ringing.

........

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

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

........
r64278 | file | 2007-05-14 14:48:33 -0400 (Mon, 14 May 2007) | 2 lines

Properly set datalen field when doing PLC in codec_speex. (issue #9722 reported by mihai)

........

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

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

................
r64276 | file | 2007-05-14 14:36:34 -0400 (Mon, 14 May 2007) | 10 lines

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

........
r64275 | file | 2007-05-14 14:34:06 -0400 (Mon, 14 May 2007) | 2 lines

Only perform stripping of - strings from the channel name for Zap channels. Anywhere else we might remove a legitimate part of a device name. (issue #9668 reported by stevedavies)

........

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

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

12 years agoIf no port is specified in the outboundproxy setting then use the standard SIP port...
Joshua Colp [Mon, 14 May 2007 18:21:30 +0000 (18:21 +0000)]
If no port is specified in the outboundproxy setting then use the standard SIP port. (issue #9665 reported by tootai)

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

12 years agooops - silly typo there
Jason Parker [Mon, 14 May 2007 18:14:56 +0000 (18:14 +0000)]
oops - silly typo there

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

12 years agoDon't allow rounding seconds to weird values that may cause "unexpected" results.
Jason Parker [Mon, 14 May 2007 18:08:54 +0000 (18:08 +0000)]
Don't allow rounding seconds to weird values that may cause "unexpected" results.

Issue 9514.

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

12 years agoAdd 'c' option to app_queue which allows for continuing in the dialplan if the callee...
Jason Parker [Mon, 14 May 2007 17:38:36 +0000 (17:38 +0000)]
Add 'c' option to app_queue which allows for continuing in the dialplan if the callee hangs up.

Issue 9284, patch by lyl, modified a little bit by me (I felt 'continue' was better than 'keepalive')

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

12 years agoMerged revisions 64240 via svnmerge from
Joshua Colp [Mon, 14 May 2007 17:25:25 +0000 (17:25 +0000)]
Merged revisions 64240 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r64240 | file | 2007-05-14 13:23:51 -0400 (Mon, 14 May 2007) | 2 lines

Fix scenario where if a phone that simply called Echo() put itself on hold it could never get off hold.

........

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

12 years agoRegenerate configure script after last change to acinclude.m4
Russell Bryant [Mon, 14 May 2007 16:08:48 +0000 (16:08 +0000)]
Regenerate configure script after last change to acinclude.m4

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

12 years agoRemove an extra space from the macro that checks for C defines.
Russell Bryant [Mon, 14 May 2007 16:08:19 +0000 (16:08 +0000)]
Remove an extra space from the macro that checks for C defines.
(issue #9715, tzafrir)

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

12 years agoMerged revisions 64193 via svnmerge from
Steve Murphy [Mon, 14 May 2007 14:13:45 +0000 (14:13 +0000)]
Merged revisions 64193 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r64193 | murf | 2007-05-14 07:58:42 -0600 (Mon, 14 May 2007) | 1 line

As per 9570, worrisome CDR warnings have been removed, that are either not helpful, or not relevant.
........

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

12 years agoMerged revisions 64157 via svnmerge from
Olle Johansson [Mon, 14 May 2007 10:40:50 +0000 (10:40 +0000)]
Merged revisions 64157 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r64157 | oej | 2007-05-14 12:39:12 +0200 (Mon, 14 May 2007) | 2 lines

Add hangupcause when we lack codecs for transcoding

........

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

12 years agoImprove handling network errors on transmission to hosts that don't reply or are...
Olle Johansson [Sun, 13 May 2007 19:20:36 +0000 (19:20 +0000)]
Improve handling network errors on transmission to hosts that don't reply or are unreachable

With this code, the call will fail as soon as we get a network error. This may happen on
first xmit or a later one, so the retransmit code handles this too.

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

12 years agoMerged revisions 64114 via svnmerge from
Joshua Colp [Sat, 12 May 2007 22:28:09 +0000 (22:28 +0000)]
Merged revisions 64114 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r64114 | file | 2007-05-12 18:27:04 -0400 (Sat, 12 May 2007) | 2 lines

This concludes my final adventure with bitmasks and the onhold flag. Would anyone care for some peanuts?

........

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

12 years agoMerged revisions 64086 via svnmerge from
Joshua Colp [Sat, 12 May 2007 21:12:18 +0000 (21:12 +0000)]
Merged revisions 64086 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r64086 | file | 2007-05-12 17:10:45 -0400 (Sat, 12 May 2007) | 2 lines

Tweak hold flags some more. They can be of three states when active: active, inactive, one direction.

........

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

12 years agoIssue 9716 - doc/enum.txt no longer exists in trunk
Tilghman Lesher [Sat, 12 May 2007 19:38:03 +0000 (19:38 +0000)]
Issue 9716 - doc/enum.txt no longer exists in trunk

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

12 years agoMerged revisions 64044 via svnmerge from
Joshua Colp [Sat, 12 May 2007 16:33:34 +0000 (16:33 +0000)]
Merged revisions 64044 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r64044 | file | 2007-05-12 12:32:15 -0400 (Sat, 12 May 2007) | 2 lines

Ensure the onhold flag is set no matter what when being put on hold.

........

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

12 years agoAdd/fix support for Redial, Speeddial, and Messages buttons.
Jason Parker [Fri, 11 May 2007 22:52:36 +0000 (22:52 +0000)]
Add/fix support for Redial, Speeddial, and Messages buttons.

Combined effort by DEA and mvanbaak.

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

12 years agooops.. Fix the logic of the last commit.
Jason Parker [Fri, 11 May 2007 21:16:39 +0000 (21:16 +0000)]
oops..  Fix the logic of the last commit.

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

12 years agoBetter fallback method for autosystemname.
Jason Parker [Fri, 11 May 2007 21:15:30 +0000 (21:15 +0000)]
Better fallback method for autosystemname.

Issue 9713, patch by Juggie with minor mods by me.

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

12 years agoMerged revisions 63982 via svnmerge from
Jason Parker [Fri, 11 May 2007 20:16:56 +0000 (20:16 +0000)]
Merged revisions 63982 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r63982 | qwell | 2007-05-11 15:16:17 -0500 (Fri, 11 May 2007) | 7 lines

Hide manager password from "manager show user foo".

I realize that there are other ways to get this,
 but we really don't need to just show it in plain text so easily.

Issue 9273, patch by junky

........

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

12 years agoAdd autosystemname setting to asterisk.conf
Jason Parker [Fri, 11 May 2007 19:56:57 +0000 (19:56 +0000)]
Add autosystemname setting to asterisk.conf

When enabled, it will set the systemname to be the hostname of the system

Issue 9713, patch by Juggie - slightly modified by me, to "failover" to localhost

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

12 years agoFix some syntax errors.
Russell Bryant [Fri, 11 May 2007 18:31:36 +0000 (18:31 +0000)]
Fix some syntax errors.

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

12 years agoMerged revisions 63905 via svnmerge from
Tilghman Lesher [Fri, 11 May 2007 16:37:16 +0000 (16:37 +0000)]
Merged revisions 63905 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r63905 | tilghman | 2007-05-11 11:35:51 -0500 (Fri, 11 May 2007) | 10 lines

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

........
r63903 | tilghman | 2007-05-11 11:31:03 -0500 (Fri, 11 May 2007) | 2 lines

Issue 9121 - fixups for safe_asterisk script

........

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

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

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

........
r63886 | russell | 2007-05-11 11:05:43 -0500 (Fri, 11 May 2007) | 6 lines

When MD5 authentication is not possible because there is no challenge present,
either because the Challenge action was never issued, or some other reason,
give a proper error message and return an error instead of claiming that the
user wasn't found.
(reported by jsmith on IRC)

........

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

12 years agoAdd gender support for AGI SAY NUMBER.
Russell Bryant [Fri, 11 May 2007 16:16:50 +0000 (16:16 +0000)]
Add gender support for AGI SAY NUMBER.
(issue #9537, patch by chappell)

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

12 years agoMerged revisions 63872 via svnmerge from
Joshua Colp [Fri, 11 May 2007 15:48:38 +0000 (15:48 +0000)]
Merged revisions 63872 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r63872 | file | 2007-05-11 11:43:14 -0400 (Fri, 11 May 2007) | 2 lines

Make the PARKINGEXTEN feature of parking actually work. (issue #9708 reported by mdu113)

........

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

12 years agoMerged revisions 63830 via svnmerge from
Jason Parker [Thu, 10 May 2007 23:16:33 +0000 (23:16 +0000)]
Merged revisions 63830 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r63830 | qwell | 2007-05-10 18:15:37 -0500 (Thu, 10 May 2007) | 12 lines

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

........
r63828 | qwell | 2007-05-10 18:14:55 -0500 (Thu, 10 May 2007) | 4 lines

Fix an issue with trying to kill a thread before it gets created.

Issue 9709, patch by nic_bellamy.

........

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

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

12 years agoMerged revisions 63804 via svnmerge from
Russell Bryant [Thu, 10 May 2007 22:25:54 +0000 (22:25 +0000)]
Merged revisions 63804 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r63804 | russell | 2007-05-10 17:23:42 -0500 (Thu, 10 May 2007) | 4 lines

Strip terminal escape sequences from CLI command output that is going to be
sent out over the manager interface.
(issue #9659, reported by pari, fixed by me)

........

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

12 years agoAdded check for negative offset in cid spill to prevent infinite loops
Doug Bailey [Thu, 10 May 2007 21:25:05 +0000 (21:25 +0000)]
Added check for negative offset in cid spill to prevent infinite loops

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

12 years agoMerged revisions 63749 via svnmerge from
Olle Johansson [Thu, 10 May 2007 20:51:59 +0000 (20:51 +0000)]
Merged revisions 63749 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r63749 | oej | 2007-05-10 22:46:41 +0200 (Thu, 10 May 2007) | 12 lines

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

........
r63748 | oej | 2007-05-10 22:38:54 +0200 (Thu, 10 May 2007) | 4 lines

Do not allocate SIP pvt's for PEERs we can not reach.

This was seen as a lot of dialogs being created then immediately destroyed at reload/restart of the SIP channel.

........

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

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

12 years agoFixing reload. Thanks to Mats Karlsson!
Olle Johansson [Thu, 10 May 2007 15:19:57 +0000 (15:19 +0000)]
Fixing reload. Thanks to Mats Karlsson!

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

12 years agoMerged revisions 63698 via svnmerge from
Joshua Colp [Wed, 9 May 2007 19:24:27 +0000 (19:24 +0000)]
Merged revisions 63698 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r63698 | file | 2007-05-09 15:22:39 -0400 (Wed, 09 May 2007) | 2 lines

Use the DTMF frame on the channel when returning a DTMF frame from AST_FRAME_NULL or AST_FRAME_VOICE.

........

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

12 years agoMerged revisions 63612 via svnmerge from
Russell Bryant [Wed, 9 May 2007 19:21:35 +0000 (19:21 +0000)]
Merged revisions 63612 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r63612 | russell | 2007-05-09 11:55:27 -0500 (Wed, 09 May 2007) | 5 lines

Modify ast_senddigit_begin() to use the same assumptions used elsewhere in the
code in that if a channel does not have a send_digit_begin() callback, it only
cares about DTMF END events.  (pointed out by Michael Neuhauser on the
asterisk-dev list)

........

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

12 years agoBlocked revisions 63656 via svnmerge
Joshua Colp [Wed, 9 May 2007 17:46:02 +0000 (17:46 +0000)]
Blocked revisions 63656 via svnmerge

........
r63656 | file | 2007-05-09 13:43:30 -0400 (Wed, 09 May 2007) | 2 lines

Do not prematurely go on hold if sendonly was not actually set.

........

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

12 years agoMerged revisions 63654 via svnmerge from
Matthew Fredrickson [Wed, 9 May 2007 17:35:54 +0000 (17:35 +0000)]
Merged revisions 63654 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r63654 | mattf | 2007-05-09 12:25:21 -0500 (Wed, 09 May 2007) | 10 lines

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

........
r63653 | mattf | 2007-05-09 12:20:20 -0500 (Wed, 09 May 2007) | 2 lines

Make sure we only create a DSP if it's requested on SUB_REAL

........

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

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

12 years agoMerged revisions 63611 via svnmerge from
Joshua Colp [Wed, 9 May 2007 16:56:45 +0000 (16:56 +0000)]
Merged revisions 63611 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r63611 | file | 2007-05-09 12:54:56 -0400 (Wed, 09 May 2007) | 10 lines

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

........
r63610 | file | 2007-05-09 12:51:03 -0400 (Wed, 09 May 2007) | 2 lines

Properly handle hints that point to multiple devices in chan_sip. Why chan_sip is even doing this I have no idea but I would rather not go into a rant. (issue #9536 reported by rlister)

........

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

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

12 years agoMerged revisions 63608 via svnmerge from
Russell Bryant [Wed, 9 May 2007 16:44:33 +0000 (16:44 +0000)]
Merged revisions 63608 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r63608 | russell | 2007-05-09 11:43:50 -0500 (Wed, 09 May 2007) | 5 lines

Only call ast_senddigit_begin() in ast_senddigit() if the channel has a
send_digit_begin() callback.  Checking the END_DTMF_ONLY flag was the
wrong thing to do, because that flag indicates that a *bridged* channel
only wants DTMF END events coming from this channel.

........

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

12 years agoMerged revisions 63566 via svnmerge from
Tilghman Lesher [Wed, 9 May 2007 14:52:13 +0000 (14:52 +0000)]
Merged revisions 63566 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r63566 | tilghman | 2007-05-09 09:50:33 -0500 (Wed, 09 May 2007) | 10 lines

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

........
r63565 | tilghman | 2007-05-09 09:48:06 -0500 (Wed, 09 May 2007) | 2 lines

Replicate fix from 51158 (app_voicemail) to app_directory (Issue 9224)

........

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

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

12 years agoMerged revisions 63535 via svnmerge from
Russell Bryant [Wed, 9 May 2007 13:24:38 +0000 (13:24 +0000)]
Merged revisions 63535 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r63535 | russell | 2007-05-09 08:24:03 -0500 (Wed, 09 May 2007) | 6 lines

I have seen multiple people post questions trying to figure out what the
message "The configure script must be executed before running 'make'" means.
So, add another like that says to specifically run ./configure.  If this isn't
obvious enough, then they should be using something like AsteriskNOW and not
installing from source.

........

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

12 years agoMerged revisions 63532 via svnmerge from
Olle Johansson [Wed, 9 May 2007 13:07:44 +0000 (13:07 +0000)]
Merged revisions 63532 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r63532 | oej | 2007-05-09 15:04:14 +0200 (Wed, 09 May 2007) | 2 lines

Don't retransmit 200 OK's on ignore status. (Reported on asterisk-users)

........

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

12 years agoMerged revisions 63478 via svnmerge from
Tilghman Lesher [Tue, 8 May 2007 22:40:21 +0000 (22:40 +0000)]
Merged revisions 63478 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r63478 | tilghman | 2007-05-08 17:38:02 -0500 (Tue, 08 May 2007) | 10 lines

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

........
r63477 | tilghman | 2007-05-08 17:19:15 -0500 (Tue, 08 May 2007) | 2 lines

Issue 9602 - segfault in app_macro

........

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

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

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

........
r63448 | russell | 2007-05-08 11:53:09 -0500 (Tue, 08 May 2007) | 4 lines

I mixed up the use of the find_feature() function, so I renamed it
find_dynamic_feature, and changed the code to use the correct lock when
using it.

........

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

12 years agoI noted this on the dev list but got no response, so I just did it myself.
Russell Bryant [Tue, 8 May 2007 16:41:35 +0000 (16:41 +0000)]
I noted this on the dev list but got no response, so I just did it myself.
Lock the call features when being used in chan_sip.

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

12 years agoMerged revisions 63445 via svnmerge from
Russell Bryant [Tue, 8 May 2007 16:31:16 +0000 (16:31 +0000)]
Merged revisions 63445 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r63445 | russell | 2007-05-08 11:30:43 -0500 (Tue, 08 May 2007) | 2 lines

Use a read/write lock when accessing the built-in features.

........

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

12 years agoMerged revisions 63403 via svnmerge from
Russell Bryant [Tue, 8 May 2007 15:11:31 +0000 (15:11 +0000)]
Merged revisions 63403 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r63403 | russell | 2007-05-08 10:10:37 -0500 (Tue, 08 May 2007) | 3 lines

Move realtime_pgsql.sql to contrib/scripts to be with the rest of the sql examples.
(issue #9676, suretec)

........

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

12 years agoMerged revisions 63360 via svnmerge from
Tilghman Lesher [Tue, 8 May 2007 06:26:02 +0000 (06:26 +0000)]
Merged revisions 63360 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r63360 | tilghman | 2007-05-08 01:22:37 -0500 (Tue, 08 May 2007) | 10 lines

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

........
r63359 | tilghman | 2007-05-08 01:20:16 -0500 (Tue, 08 May 2007) | 2 lines

Issue 9527 - upon entering a folder, no message is selected (curmsg == -1), so deleting causes memory corruption (beyond bounds)

........

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

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

12 years agoMerged revisions 63329 via svnmerge from
Russell Bryant [Mon, 7 May 2007 22:32:50 +0000 (22:32 +0000)]
Merged revisions 63329 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r63329 | russell | 2007-05-07 17:28:50 -0500 (Mon, 07 May 2007) | 3 lines

Add a sample configuration file and example tables for use with res_config_pgsql.
(issue #9676, suretec)

........

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

12 years agoMake a minor tweak to admin_exec() - don't lock the conference list until it
Russell Bryant [Mon, 7 May 2007 22:17:40 +0000 (22:17 +0000)]
Make a minor tweak to admin_exec() - don't lock the conference list until it
is actually necessary.

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

12 years agoAdd a new application, MeetMeChannelAdmin, which is similar to MeetMeAdmin,
Russell Bryant [Mon, 7 May 2007 22:14:09 +0000 (22:14 +0000)]
Add a new application, MeetMeChannelAdmin, which is similar to MeetMeAdmin,
except it lets you operate on a channel by name instead of conference member
number.  It is very useful in combination with the 'X' option to ChanSpy.
(issue #9671, patch by mnicholson, with some small modifications by me)

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

12 years agoMerged revisions 63286 via svnmerge from
Joshua Colp [Mon, 7 May 2007 21:47:08 +0000 (21:47 +0000)]
Merged revisions 63286 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r63286 | file | 2007-05-07 17:45:01 -0400 (Mon, 07 May 2007) | 10 lines

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

........
r63285 | file | 2007-05-07 17:39:52 -0400 (Mon, 07 May 2007) | 2 lines

Properly handle what happens during a masquerade in relation to group counting. (issue #9657 reported by ramonpeek)

........

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

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

12 years agoBlocked revisions 63283 via svnmerge
Joshua Colp [Mon, 7 May 2007 21:28:32 +0000 (21:28 +0000)]
Blocked revisions 63283 via svnmerge

........
r63283 | file | 2007-05-07 17:26:58 -0400 (Mon, 07 May 2007) | 2 lines

Minor backport of revision 59083 in trunk. Don't queue an unhold frame up if the call was never on hold to begin with.

........

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

12 years agoMerged revisions 63254 via svnmerge from
Olle Johansson [Mon, 7 May 2007 20:07:38 +0000 (20:07 +0000)]
Merged revisions 63254 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r63254 | oej | 2007-05-07 22:05:15 +0200 (Mon, 07 May 2007) | 2 lines

Don't remove configuration from memory just because one section failed.

........

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

12 years agoConstifications
Olle Johansson [Mon, 7 May 2007 19:03:53 +0000 (19:03 +0000)]
Constifications

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

12 years agoAdding external referenses for doxygen
Olle Johansson [Mon, 7 May 2007 18:25:56 +0000 (18:25 +0000)]
Adding external referenses for doxygen

See http://www.asterisk.org/doxygen/trunk/extref.html

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

12 years agoAdding external reference
Olle Johansson [Mon, 7 May 2007 18:18:43 +0000 (18:18 +0000)]
Adding external reference

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

12 years agoDoxyfication... There's a shortage of comments in this file...
Olle Johansson [Mon, 7 May 2007 18:17:18 +0000 (18:17 +0000)]
Doxyfication... There's a shortage of comments in this file...

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

12 years agoLock iax2 pvt structure when passing off to the AMI function, and make sure it exists...
Joshua Colp [Sun, 6 May 2007 20:09:18 +0000 (20:09 +0000)]
Lock iax2 pvt structure when passing off to the AMI function, and make sure it exists. (issue #9674 reported by arabe)

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

12 years agoMerged revisions 63152 via svnmerge from
Olle Johansson [Sun, 6 May 2007 13:11:15 +0000 (13:11 +0000)]
Merged revisions 63152 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r63152 | oej | 2007-05-06 14:28:38 +0200 (Sun, 06 May 2007) | 2 lines

Stop the video stream when you stop playback of all streams for a call

........

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

12 years ago- Adding some missing spaces
Olle Johansson [Sat, 5 May 2007 08:05:38 +0000 (08:05 +0000)]
- Adding some missing spaces
- Correcting error messages
- Disabling code that doesn't do anything
- Making sure we always respond to this request, happily

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

12 years agoMerged revisions 63047 via svnmerge from
Pari Nannapaneni [Fri, 4 May 2007 20:11:03 +0000 (20:11 +0000)]
Merged revisions 63047 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r63047 | pari | 2007-05-04 11:45:29 -0500 (Fri, 04 May 2007) | 1 line

explanation for httptimeout in manager.conf
........

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

12 years agoMerged revisions 63099 via svnmerge from
Jason Parker [Fri, 4 May 2007 20:06:02 +0000 (20:06 +0000)]
Merged revisions 63099 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r63099 | qwell | 2007-05-04 15:03:49 -0500 (Fri, 04 May 2007) | 4 lines

Fix a crash when checking version attribute in an incoming XML caps element.

Issue 9667, patch by phsultan.

........

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

12 years agoConvert spaces to tabs for indentation.
Russell Bryant [Fri, 4 May 2007 19:48:52 +0000 (19:48 +0000)]
Convert spaces to tabs for indentation.

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

12 years agoAccording to my testing, it's better if the ast_find_call_feature func ran this way...
Steve Murphy [Fri, 4 May 2007 18:47:19 +0000 (18:47 +0000)]
According to my testing, it's better if the ast_find_call_feature func ran this way instead, as far as the snom record button is concerned

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

12 years agoa small upgrade to the coding standard, and an update to the code that triggered...
Steve Murphy [Fri, 4 May 2007 17:49:20 +0000 (17:49 +0000)]
a small upgrade to the coding standard, and an update to the code that triggered the upgrade.

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

12 years agoAdded a small bit of code to support the SNOM 360's Record button. Made the find_feat...
Steve Murphy [Fri, 4 May 2007 16:37:23 +0000 (16:37 +0000)]
Added a small bit of code to support the SNOM 360's Record button. Made the find_feature func in res_features.c public, so I could use it to find the automon dial sequence as configured by the user. When the INFO packet has a Record: header with on/off, the sequence is sent as consecutive DTMF frames on the phone's channel, triggering the automon functionality. The user has to configure the automon in features.conf, and set up his dialplan accordingly.

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

12 years agoAdd the new ChannelUpdate event to inform manager clients about the PVT ID and some...
Olle Johansson [Fri, 4 May 2007 13:56:25 +0000 (13:56 +0000)]
Add the new ChannelUpdate event to inform manager clients about the PVT ID and some other channel driver data that
is needed to follow the call through the PBX.

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

12 years agoAdd "CoreStatus" - from the moremanager branch.
Olle Johansson [Fri, 4 May 2007 13:47:11 +0000 (13:47 +0000)]
Add "CoreStatus" - from the moremanager branch.
This can be extended with more information, ideas and patches are welcome, as usual :-)

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

12 years ago- Add manager command CoreSettings
Olle Johansson [Fri, 4 May 2007 13:44:50 +0000 (13:44 +0000)]
- Add manager command CoreSettings
- Add missing option to options.h
- Add missing variables to asterisk.h
- Move manager version to manager.h include file

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

12 years agoMerged revisions 62989 via svnmerge from
Joshua Colp [Thu, 3 May 2007 16:45:39 +0000 (16:45 +0000)]
Merged revisions 62989 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r62989 | file | 2007-05-03 13:44:00 -0300 (Thu, 03 May 2007) | 10 lines

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

........
r62987 | file | 2007-05-03 13:42:19 -0300 (Thu, 03 May 2007) | 2 lines

When a peer is seeded or built tell the devicestate core to update it's status. This is easier then having chan_sip load before pbx_config. (issue #9658 reported by dlynes)

........

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

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

12 years agoMerged revisions 62986 via svnmerge from
Kevin P. Fleming [Thu, 3 May 2007 16:43:49 +0000 (16:43 +0000)]
Merged revisions 62986 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r62986 | kpfleming | 2007-05-03 11:38:56 -0500 (Thu, 03 May 2007) | 2 lines

improve loader a bit, by avoiding trying to initialize embedded modules twice and avoiding trying to load modules from disk when they have been loaded already during the 'preload' pass (reported by blitzrage on IRC, patch by me)

........

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

12 years agoMerged revisions 62942 via svnmerge from
Russell Bryant [Thu, 3 May 2007 15:23:44 +0000 (15:23 +0000)]
Merged revisions 62942 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r62942 | russell | 2007-05-03 10:23:13 -0500 (Thu, 03 May 2007) | 17 lines

Fix YADB (Yet Another DTMF Bug) ((C) Russell Bryant, 2007, TM, Patent Pending).

This set of changes came from a debugging session I had with Dwayne Hubbard.
When he called into his home FXO, ran the Echo application, and pressed a
digit, the digit would be echoed back and would never end.  This is fixed,
along with a couple other little improvements.

* When chan_zap is in the middle of playing a digit to a channel, it feeds
  back null frames, not voice frames.  So, I have modified ast_read to check
  the timing on emulated DTMF when it receives null frames, in addition to
  where it was doing this on voice frames.
* Make a tweak to setting the duration on emulated DTMF digits.  If there was
  no duration specified, it set it to be the minimum, instead of the default.
* Instead of timing the emulated digits off of the number of samples in audio
  frames that pass through, just use time values.  Now there is no code in this
  section that assumes 8kHz audio.

........

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

12 years agoblocking 62913 (1.4) from trunk, as it's already done here
Steve Murphy [Thu, 3 May 2007 14:44:42 +0000 (14:44 +0000)]
blocking 62913 (1.4) from trunk, as it's already done here

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

12 years agoMerged revisions 62883 via svnmerge from
Steve Murphy [Thu, 3 May 2007 14:24:00 +0000 (14:24 +0000)]
Merged revisions 62883 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r62883 | murf | 2007-05-03 07:54:56 -0600 (Thu, 03 May 2007) | 1 line

These mods fix bug 9623, where an '@' in the eswitch contents causes a syntax error. I also updated the regressions.
........

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

12 years agoMerged revisions 62842 via svnmerge from
Kevin P. Fleming [Thu, 3 May 2007 00:25:50 +0000 (00:25 +0000)]
Merged revisions 62842 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r62842 | kpfleming | 2007-05-02 20:23:37 -0400 (Wed, 02 May 2007) | 10 lines

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

........
r62841 | kpfleming | 2007-05-02 20:23:00 -0400 (Wed, 02 May 2007) | 2 lines

doh... initializing the pointer variable will work just a bit better

........

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

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

12 years agoignore the archive we build in this directory
Kevin P. Fleming [Thu, 3 May 2007 00:11:17 +0000 (00:11 +0000)]
ignore the archive we build in this directory

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

12 years agoMerged revisions 62797,62807 via svnmerge from
Kevin P. Fleming [Thu, 3 May 2007 00:10:38 +0000 (00:10 +0000)]
Merged revisions 62797,62807 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r62797 | kpfleming | 2007-05-02 19:57:23 -0400 (Wed, 02 May 2007) | 7 lines

improve static Realtime config loading from PostgreSQL:
don't request sorting on fields that are pointless to sort on
use ast_build_string() instead of snprintf()
don't request the list of fieldnames that resulted from the query when we both knew what they were before we ran the query _AND_ we aren't going to do anything with them anyway

(patch by me, inspired by blitzrage's bug report about res_config_odbc)

................
r62807 | kpfleming | 2007-05-02 20:02:57 -0400 (Wed, 02 May 2007) | 15 lines

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

........
r62796 | kpfleming | 2007-05-02 19:53:46 -0400 (Wed, 02 May 2007) | 7 lines

increase reliability and efficiency of static Realtime config loading via ODBC:
don't request fields we aren't going to use
don't request sorting on fields that are pointless to sort on
explicitly request the fields we want, because we can't expect the database to always return them in the order they were created

(reported by blitzrage in person (!), patch by me)

........

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

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

12 years agoFix some bad grammar.
Russell Bryant [Wed, 2 May 2007 23:50:29 +0000 (23:50 +0000)]
Fix some bad grammar.

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

12 years agoWhen a conference is created, the UNIQUEID of the channel that caused it to be
Russell Bryant [Wed, 2 May 2007 23:50:07 +0000 (23:50 +0000)]
When a conference is created, the UNIQUEID of the channel that caused it to be
created will now be stored. Then, every channel that joins the conference will
have the MEETMEUNIQUEID channel variable set with this ID.  This can be used to
relate callers that come and go from long standing conferences.
(issue #7295, patch by softins)

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

12 years agoNote Hungarian language support in CHANGES
Russell Bryant [Wed, 2 May 2007 23:31:22 +0000 (23:31 +0000)]
Note Hungarian language support in CHANGES

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

12 years agoAdd Hungarian language support to say.c and say.conf.
Russell Bryant [Wed, 2 May 2007 23:30:07 +0000 (23:30 +0000)]
Add Hungarian language support to say.c and say.conf.
(issue #7077, patch by adomjan)

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

12 years agoMerged revisions 62789 via svnmerge from
Russell Bryant [Wed, 2 May 2007 23:00:07 +0000 (23:00 +0000)]
Merged revisions 62789 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r62789 | russell | 2007-05-02 17:59:09 -0500 (Wed, 02 May 2007) | 20 lines

Merge changes from team/russell/inband_dtmf ...

Fix some issues related to generating inband DTMF.  There are two changes here:

1)   The list of DTMF tones in the senddigit_begin() function explicitly
   specified 100ms of the tone followed by 100ms of silence.  This really
   broke things with the way that Asterisk now wants complete control
   over when the digit begins and ends.  So, regardless of what Asterisk
   really wanted to do, this was going to play out the tone at the length it
   wanted to.  This caused various problems like DTMF translation to inband to
   be extremely unreliable.
     The list of tones has been changed so that the correct DTMF tone is played
   indefinitely until Asterisk tells it to stop.

2) ast_write() had to be modified to let a DTMF_END frame get processed even
   when a generator is present.  This is how the tone will finally get stopped.

(issues #8944, #9250, #9348, maybe others.  Thanks to mdu113 from #8944 for
 the testing and feedback!)

........

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

12 years agoMerged revisions 62738 via svnmerge from
Steve Murphy [Wed, 2 May 2007 20:57:55 +0000 (20:57 +0000)]
Merged revisions 62738 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r62738 | murf | 2007-05-02 14:46:07 -0600 (Wed, 02 May 2007) | 9 lines

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

........
r62737 | murf | 2007-05-02 14:10:32 -0600 (Wed, 02 May 2007) | 1 line

Some tweaks to satisfy CDR bug 8796, where being in 'h' extension louses up the dst field
........

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

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

12 years agoBlocked revisions 62739 via svnmerge
Russell Bryant [Wed, 2 May 2007 20:55:32 +0000 (20:55 +0000)]
Blocked revisions 62739 via svnmerge

........
r62739 | russell | 2007-05-02 15:55:00 -0500 (Wed, 02 May 2007) | 3 lines

Backport the change that only went in to trunk that fixes the command manager
action over http.  (reported internally by pari and bkruse)

........

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

12 years agoMerged revisions 62692 via svnmerge from
Tilghman Lesher [Wed, 2 May 2007 17:49:36 +0000 (17:49 +0000)]
Merged revisions 62692 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r62692 | tilghman | 2007-05-02 12:43:48 -0500 (Wed, 02 May 2007) | 12 lines

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

........
r62691 | tilghman | 2007-05-02 12:38:16 -0500 (Wed, 02 May 2007) | 4 lines

Issue 9638 - if a text frame is sent with no terminating NULL through a bridged
IAX connection, the remote end will receive garbage characters tacked onto the
end.

........

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

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

12 years agoMerged revisions 62689 via svnmerge from
Steve Murphy [Wed, 2 May 2007 17:24:03 +0000 (17:24 +0000)]
Merged revisions 62689 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r62689 | murf | 2007-05-02 11:10:50 -0600 (Wed, 02 May 2007) | 1 line

a)In chan_zap, set the clid, src fields in channel_alloc call. b)in the channel_alloc func, set the cid_num and name fields from the arglist[blush]. c) don't update the channel app & app data fields if you are in the 'h' extension. d)the load_module func in cdr_radius needs to return DECLINE, SUCCESS.
........

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

12 years agoUpdate the device state functionality of chan_local such that it will return
Russell Bryant [Wed, 2 May 2007 15:46:49 +0000 (15:46 +0000)]
Update the device state functionality of chan_local such that it will return
NOT_INUSE or INUSE when Local channels are in use as opposed to just UNKNOWN.
It will still return INVALID if the extension doesn't exist at all.
(issue #8048, patch from tim_ringenbach)

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

12 years agoAdd the new options for attended transfer to the CHANGES file.
Russell Bryant [Wed, 2 May 2007 15:20:41 +0000 (15:20 +0000)]
Add the new options for attended transfer to the CHANGES file.

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

12 years agoFor some reason when I merged 802.1p support, the new documentation file was
Russell Bryant [Wed, 2 May 2007 15:17:26 +0000 (15:17 +0000)]
For some reason when I merged 802.1p support, the new documentation file was
not properly added.  Thanks to IgorG for pointing it out!  :)

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

12 years agoAdd a small message that we're doing something. On my systems, there's a long
Olle Johansson [Wed, 2 May 2007 12:12:02 +0000 (12:12 +0000)]
Add a small message that we're doing something. On my systems, there's a long
dead period with a non-responsive CLI after I issue "load chan_sip.so"

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