asterisk/asterisk.git
16 years agoAdd a new API call for creating detached threads. Then, go replace all of the
Russell Bryant [Thu, 24 May 2007 18:30:19 +0000 (18:30 +0000)]
Add a new API call for creating detached threads.  Then, go replace all of the
places in the code where the same block of code for creating detached threads
was replicated.  (patch from bbryant)

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

16 years agoMake this build on *my* machine again, and hopefully not break others.
Russell Bryant [Thu, 24 May 2007 18:07:56 +0000 (18:07 +0000)]
Make this build on *my* machine again, and hopefully not break others.

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

16 years agoMerged revisions 65866 via svnmerge from
Dwayne M. Hubbard [Thu, 24 May 2007 15:35:50 +0000 (15:35 +0000)]
Merged revisions 65866 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r65866 | dhubbard | 2007-05-24 10:08:56 -0500 (Thu, 24 May 2007) | 1 line

merged qwell's func_math patch for issue 9507
........

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

16 years agoMerged revisions 65902 via svnmerge from
Joshua Colp [Thu, 24 May 2007 15:30:06 +0000 (15:30 +0000)]
Merged revisions 65902 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r65902 | file | 2007-05-24 11:27:23 -0400 (Thu, 24 May 2007) | 2 lines

Add the ability to blacklist certain commands from being executed using the Command AMI action. (issue #9240 reported by junky)

........

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

16 years agoMerged revisions 65901 via svnmerge from
Olle Johansson [Thu, 24 May 2007 15:29:10 +0000 (15:29 +0000)]
Merged revisions 65901 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r65901 | oej | 2007-05-24 17:26:10 +0200 (Thu, 24 May 2007) | 2 lines

Issue 7672 - fix by zandbelt - Asterisk core dump since the GnuTLS interface did not support multithreading correctly.

........

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

16 years agoMerged revisions 65877 via svnmerge from
Jason Parker [Thu, 24 May 2007 15:28:29 +0000 (15:28 +0000)]
Merged revisions 65877 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r65877 | qwell | 2007-05-24 11:14:02 -0400 (Thu, 24 May 2007) | 4 lines

Fix handling of zero-length frames when a codec is capable of native PLC.

Issue 9183, patch by Mihai.

........

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

16 years agoMerged revisions 65892 via svnmerge from
Olle Johansson [Thu, 24 May 2007 15:23:04 +0000 (15:23 +0000)]
Merged revisions 65892 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r65892 | oej | 2007-05-24 17:20:54 +0200 (Thu, 24 May 2007) | 2 lines

Issue 8193 - NAT issues with gtalk/STUN. Patch by phsultan. Thanks!

........

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

16 years agoMerged revisions 65857 via svnmerge from
Olle Johansson [Thu, 24 May 2007 15:21:39 +0000 (15:21 +0000)]
Merged revisions 65857 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r65857 | oej | 2007-05-24 17:05:10 +0200 (Thu, 24 May 2007) | 2 lines

Issue 7686, fix by phsultan, NAT issues when calling from gtalk to SIP over nat.

........

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

16 years agoMerged revisions 65863 via svnmerge from
Joshua Colp [Thu, 24 May 2007 15:10:13 +0000 (15:10 +0000)]
Merged revisions 65863 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r65863 | file | 2007-05-24 11:08:17 -0400 (Thu, 24 May 2007) | 2 lines

I like it when the RTP stack compiles myself...

........

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

16 years agoMerged revisions 65853 via svnmerge from
Russell Bryant [Thu, 24 May 2007 15:04:51 +0000 (15:04 +0000)]
Merged revisions 65853 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r65853 | russell | 2007-05-24 10:04:14 -0500 (Thu, 24 May 2007) | 4 lines

Ensure that frames are fully initialized.  This will probably fix getting
weird timestamp log messages in logs when using the Festival app.
(issue #9781, patch by me)

........

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

16 years agoMerged revisions 65841 via svnmerge from
Olle Johansson [Thu, 24 May 2007 14:52:01 +0000 (14:52 +0000)]
Merged revisions 65841 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r65841 | oej | 2007-05-24 16:48:55 +0200 (Thu, 24 May 2007) | 2 lines

Issue #8536 - Caller ID not set in CDR for jingle

........

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

16 years agoMerged revisions 65842 via svnmerge from
Russell Bryant [Thu, 24 May 2007 14:50:25 +0000 (14:50 +0000)]
Merged revisions 65842 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r65842 | russell | 2007-05-24 09:49:05 -0500 (Thu, 24 May 2007) | 5 lines

Fix the calculation of the RTT for RTCP.  The previous code would result in
oscillating and incorrect data.  Additionally, the RTT would sometimes report
negative values due to incorrect calculations.
(issue #9601, patch from davetroy)

........

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

16 years agoMerged revisions 65839 via svnmerge from
Joshua Colp [Thu, 24 May 2007 14:43:49 +0000 (14:43 +0000)]
Merged revisions 65839 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r65839 | file | 2007-05-24 10:42:12 -0400 (Thu, 24 May 2007) | 10 lines

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

........
r65837 | file | 2007-05-24 10:40:38 -0400 (Thu, 24 May 2007) | 2 lines

Allow RFC2833 to be negotiated when an INVITE comes in without SDP and is not matched to a user or peer. (issue #9546 reported by mcrawford)

........

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

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

16 years agoIssue #8409 and accidentally a fix to chan_sip that wasn't supposed to be there
Olle Johansson [Thu, 24 May 2007 14:41:43 +0000 (14:41 +0000)]
Issue #8409 and accidentally a fix to chan_sip that wasn't supposed to be there
but is still ok... Sorry. Lack of Tea, really.

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

16 years agoYes Virginia, there is a reason why we have stringfields in the sip_pvt structure...
Kevin P. Fleming [Thu, 24 May 2007 11:38:20 +0000 (11:38 +0000)]
Yes Virginia, there is a reason why we have stringfields in the sip_pvt structure...

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

16 years agoMerged revisions 65768 via svnmerge from
Christian Richter [Thu, 24 May 2007 09:51:01 +0000 (09:51 +0000)]
Merged revisions 65768 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r65768 | crichter | 2007-05-24 11:37:32 +0200 (Do, 24 Mai 2007) | 9 lines

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

........
r65767 | crichter | 2007-05-24 11:19:58 +0200 (Do, 24 Mai 2007) | 1 line

we should only activate the generator in chan_misdn, when asterisk hask not yet taken the call (WAITING4DIGS state). Alerting audio will be generated fomr asterisk for example.
........

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

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

16 years ago - Remove debug variable that was only used in one place
Russell Bryant [Thu, 24 May 2007 03:28:39 +0000 (03:28 +0000)]
 - Remove debug variable that was only used in one place
 - convert string handling to the ast_str API
 - Convert strdup() to ast_strdup() and check the result
 - Minor formatting changes

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

16 years agoOops, should have released this when we were done with it.
Tilghman Lesher [Thu, 24 May 2007 03:27:54 +0000 (03:27 +0000)]
Oops, should have released this when we were done with it.

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

16 years agoAdd SendURL support
Mark Spencer [Thu, 24 May 2007 02:23:08 +0000 (02:23 +0000)]
Add SendURL support

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

16 years agoMerged revisions 65685 via svnmerge from
Kevin P. Fleming [Wed, 23 May 2007 21:01:18 +0000 (21:01 +0000)]
Merged revisions 65685 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r65685 | kpfleming | 2007-05-23 16:59:19 -0400 (Wed, 23 May 2007) | 2 lines

start the delayed PBX when receive voice or video full frames as well, and comment this delayed-PBX activity

........

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

16 years agoMerged revisions 65683 via svnmerge from
Kevin P. Fleming [Wed, 23 May 2007 20:53:10 +0000 (20:53 +0000)]
Merged revisions 65683 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r65683 | kpfleming | 2007-05-23 16:51:56 -0400 (Wed, 23 May 2007) | 10 lines

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

........
r65682 | kpfleming | 2007-05-23 16:46:22 -0400 (Wed, 23 May 2007) | 2 lines

ensure that variables are set on a newly created channel before we start a PBX on it

........

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

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

16 years agoMerged revisions 65679-65680 via svnmerge from
Kevin P. Fleming [Wed, 23 May 2007 20:39:42 +0000 (20:39 +0000)]
Merged revisions 65679-65680 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r65679 | kpfleming | 2007-05-23 16:30:24 -0400 (Wed, 23 May 2007) | 2 lines

don't start a PBX on a new incoming IAX2 channel until we have some sort of response to our ACCEPT (ACK or anything else)

........
r65680 | kpfleming | 2007-05-23 16:35:50 -0400 (Wed, 23 May 2007) | 2 lines

clear the 'delay PBX' flag when we are ready to start the PBX

........

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

16 years agoMerged revisions 65677 via svnmerge from
Kevin P. Fleming [Wed, 23 May 2007 20:08:59 +0000 (20:08 +0000)]
Merged revisions 65677 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r65677 | kpfleming | 2007-05-23 16:07:59 -0400 (Wed, 23 May 2007) | 10 lines

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

........
r65676 | kpfleming | 2007-05-23 16:06:13 -0400 (Wed, 23 May 2007) | 2 lines

if we are going to set variables on a newly created channel, it should be done *before* we start the PBX on it

........

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

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

16 years agoDon't check for MWI event subscribers before creating the MWI event in voicemail.
Russell Bryant [Wed, 23 May 2007 17:17:45 +0000 (17:17 +0000)]
Don't check for MWI event subscribers before creating the MWI event in voicemail.
MWI events get cached, so go ahead and always generate them so the cache gets
populated.

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

16 years agoMake sure we get the cause code in the REL
Matthew Fredrickson [Wed, 23 May 2007 15:37:51 +0000 (15:37 +0000)]
Make sure we get the cause code in the REL

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

16 years agoMerged revisions 65589 via svnmerge from
Russell Bryant [Wed, 23 May 2007 13:10:28 +0000 (13:10 +0000)]
Merged revisions 65589 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r65589 | russell | 2007-05-23 08:07:13 -0500 (Wed, 23 May 2007) | 11 lines

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

........
r65588 | russell | 2007-05-23 08:06:17 -0500 (Wed, 23 May 2007) | 3 lines

Revert revision 62417 as someone reported problems with it to Mark.  This was
related to issue #9588.

........

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

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

16 years agoFix compiling of res_musiconhold under dev mode.
Joshua Colp [Wed, 23 May 2007 13:07:28 +0000 (13:07 +0000)]
Fix compiling of res_musiconhold under dev mode.

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

16 years agoFix a couple minor spelling mistakes.
Russell Bryant [Wed, 23 May 2007 02:55:22 +0000 (02:55 +0000)]
Fix a couple minor spelling mistakes.

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

16 years agoMerged revisions 65541 via svnmerge from
Kevin P. Fleming [Tue, 22 May 2007 20:26:35 +0000 (20:26 +0000)]
Merged revisions 65541 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r65541 | kpfleming | 2007-05-22 16:25:41 -0400 (Tue, 22 May 2007) | 2 lines

when building a version string for a developer branch, include the base branch in the version string

........

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

16 years ago Add a new feature for Music on Hold. If you set the "digit" option for a
Russell Bryant [Tue, 22 May 2007 18:52:59 +0000 (18:52 +0000)]
  Add a new feature for Music on Hold.  If you set the "digit" option for a
class in musiconhold.conf, a caller on hold may press this digit to switch
to listening to that music class.
  This involved adding a new callback for generators, which allow generators
to get notified of DTMF from the channel they are running on.  Then, a callback
was implemented for the music on hold generators.
(patch from bbryant)

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

16 years agoMerged revisions 65501 via svnmerge from
Russell Bryant [Tue, 22 May 2007 18:41:56 +0000 (18:41 +0000)]
Merged revisions 65501 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r65501 | russell | 2007-05-22 13:40:38 -0500 (Tue, 22 May 2007) | 3 lines

List res_smdi as a dependency for app_voicemail and chan_zap
(Thanks to mnicholson for pointing it out)

........

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

16 years agoMerged revisions 65408 via svnmerge from
BJ Weschke [Tue, 22 May 2007 15:25:28 +0000 (15:25 +0000)]
Merged revisions 65408 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r65408 | bweschke | 2007-05-22 10:02:56 -0400 (Tue, 22 May 2007) | 3 lines

 Fix a problem with flag recognition.

........

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

16 years agoUse ast_strlen_zero where possible. (issue #9774 reported by eliel)
Joshua Colp [Tue, 22 May 2007 15:08:08 +0000 (15:08 +0000)]
Use ast_strlen_zero where possible. (issue #9774 reported by eliel)

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

16 years agoBlocked revisions 65452 via svnmerge
Joshua Colp [Tue, 22 May 2007 15:05:43 +0000 (15:05 +0000)]
Blocked revisions 65452 via svnmerge

........
r65452 | file | 2007-05-22 11:04:46 -0400 (Tue, 22 May 2007) | 2 lines

Remove a double const.

........

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

16 years agoMake my compiler happy! Yay!
Joshua Colp [Tue, 22 May 2007 15:03:32 +0000 (15:03 +0000)]
Make my compiler happy! Yay!

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

16 years agoBlocked revisions 65394 via svnmerge
Russell Bryant [Tue, 22 May 2007 13:12:15 +0000 (13:12 +0000)]
Blocked revisions 65394 via svnmerge

................
r65394 | russell | 2007-05-22 08:09:34 -0500 (Tue, 22 May 2007) | 12 lines

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

........
r65389 | russell | 2007-05-22 08:07:03 -0500 (Tue, 22 May 2007) | 4 lines

Fix a memory leak that I just noticed in the device state handling in app_queue.
On most device state changes, it would leak roughly 8 to 64 bytes (the length of
the name of the device).

........

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

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

16 years agoDon't overwrite a pointer to the first channel... that is bad. (issue #9770 reported...
Joshua Colp [Tue, 22 May 2007 12:58:38 +0000 (12:58 +0000)]
Don't overwrite a pointer to the first channel... that is bad. (issue #9770 reported by tfbu)

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

16 years agoFix a couple of spots in the handling of device states that could lead to a
Russell Bryant [Tue, 22 May 2007 12:52:03 +0000 (12:52 +0000)]
Fix a couple of spots in the handling of device states that could lead to a
double free.  (issue #9772, reported by Mike Anikienko, fix by me)

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

16 years agoMerged revisions 65342 via svnmerge from
Christian Richter [Tue, 22 May 2007 08:21:59 +0000 (08:21 +0000)]
Merged revisions 65342 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r65342 | crichter | 2007-05-22 10:12:20 +0200 (Di, 22 Mai 2007) | 9 lines

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

........
r65328 | crichter | 2007-05-22 09:46:39 +0200 (Di, 22 Mai 2007) | 1 line

we stop the tones only when we're in the pre-call phase, otherwise e.g. when in CONNECTED state we should not stop tones when we receive an Information Message
........

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

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

16 years agoFix for 64-bit platform
Tilghman Lesher [Tue, 22 May 2007 02:41:55 +0000 (02:41 +0000)]
Fix for 64-bit platform

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

16 years agoI know we have talked about rewriting app_queue for Asterisk 1.6, but once I
Russell Bryant [Mon, 21 May 2007 06:56:21 +0000 (06:56 +0000)]
I know we have talked about rewriting app_queue for Asterisk 1.6, but once I
saw this, I couldn't help myself from changing it.  Previously, for *every*
device state change, app_queue would spawn a thread to handle it.  Now, the
device state callback just puts the state change in a queue and it gets
handled by a single state change processing thread.

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

16 years agoComment a few more things, and remove an unnecessary db connection check
Tilghman Lesher [Mon, 21 May 2007 02:05:23 +0000 (02:05 +0000)]
Comment a few more things, and remove an unnecessary db connection check

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

16 years agoMerged revisions 65250 via svnmerge from
Joshua Colp [Sun, 20 May 2007 18:01:05 +0000 (18:01 +0000)]
Merged revisions 65250 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r65250 | file | 2007-05-20 13:59:58 -0400 (Sun, 20 May 2007) | 2 lines

res_agi needs to export two symbols (ast_agi_register and ast_agi_unregister) for usage by others. (issue #9755 reported by mnicholson)

........

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

16 years agoMusic on hold and crypto no longer need their symbols globally exported. They registe...
Joshua Colp [Sun, 20 May 2007 17:55:40 +0000 (17:55 +0000)]
Music on hold and crypto no longer need their symbols globally exported. They register the function pointers upon loading with their respective stubs.

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

16 years agoClean up adsistub file a bit (just spacing) and change over the crypto sub to use...
Joshua Colp [Sun, 20 May 2007 17:52:00 +0000 (17:52 +0000)]
Clean up adsistub file a bit (just spacing) and change over the crypto sub to use this build_stub macro strategy.

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

16 years agoAdd the adsistub file to the Asterisk makefile, fix a stub definition, and no longer...
Joshua Colp [Sun, 20 May 2007 14:48:31 +0000 (14:48 +0000)]
Add the adsistub file to the Asterisk makefile, fix a stub definition, and no longer make the symbols from res_adsi global since they don't need to be.

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

16 years agoMerged revisions 65201 via svnmerge from
Steve Murphy [Fri, 18 May 2007 22:35:48 +0000 (22:35 +0000)]
Merged revisions 65201 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r65201 | murf | 2007-05-18 16:26:51 -0600 (Fri, 18 May 2007) | 1 line

Ugh. The svnmerge didn't catch the shift from cdr.c to main/cdr.c, and neither did I. This is the remainder of the 9717 patch, the fix for the run-away FAIL status for a call
........

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

16 years agoMerged revisions 65200 via svnmerge from
Steve Murphy [Fri, 18 May 2007 22:33:51 +0000 (22:33 +0000)]
Merged revisions 65200 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r65200 | murf | 2007-05-18 16:06:27 -0600 (Fri, 18 May 2007) | 9 lines

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

........
r65172 | murf | 2007-05-18 14:56:20 -0600 (Fri, 18 May 2007) | 1 line

This update will fix the situation that occurs as described by 9717, where when several targets are specified for a dial, if any one them reports FAIL, the whole call gets FAIL, even though others were ringing OK. I rearranged the priorities, so that a new disposition, NULL, is at the lowest level, and the disposition get init'd to NULL. Then, next up is FAIL, and next up is BUSY, then NOANSWER, then ANSWERED. All the related set routines will only do so if the disposition value to be set to is greater than what's already there. This gives the intended effect. So, if all the targets are busy, you'd get BUSY for the call disposition. If all get BUSY, but one, and that one rings is not answered, you get NOANSWER. If by some freak of nature, the NULL value doesn't get overridden, then the disp2str routine will report NOANSWER as before.
........

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

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

16 years agoMerge cdr_adaptive_odbc from developer branch
Tilghman Lesher [Fri, 18 May 2007 20:21:11 +0000 (20:21 +0000)]
Merge cdr_adaptive_odbc from developer branch

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

16 years agoRelated to issue #9235 btw.
Olle Johansson [Fri, 18 May 2007 18:18:59 +0000 (18:18 +0000)]
Related to issue #9235 btw.

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

................
r65123 | oej | 2007-05-18 20:16:09 +0200 (Fri, 18 May 2007) | 10 lines

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

........
r65122 | oej | 2007-05-18 20:10:46 +0200 (Fri, 18 May 2007) | 2 lines

Not getting an ACK to a 200 OK in the initial invite is critical to the call.

........

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

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

16 years agoMerged revisions 65076 via svnmerge from
Olle Johansson [Fri, 18 May 2007 15:20:39 +0000 (15:20 +0000)]
Merged revisions 65076 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r65076 | oej | 2007-05-18 17:18:13 +0200 (Fri, 18 May 2007) | 13 lines

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

........
r65075 | oej | 2007-05-18 17:12:09 +0200 (Fri, 18 May 2007) | 5 lines

Issue 9235 - part of the problem, maybe not all. Please retry with this patch (and no
other patch) if you have problems with hanging SIP channels. Thank you.

A special Thank You to WeBRainstorm that gave me access to his system.

........

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

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

16 years agoMerged revisions 65039 via svnmerge from
Christian Richter [Fri, 18 May 2007 12:43:59 +0000 (12:43 +0000)]
Merged revisions 65039 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r65039 | crichter | 2007-05-18 14:40:46 +0200 (Fr, 18 Mai 2007) | 9 lines

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

........
r65007 | crichter | 2007-05-18 13:23:11 +0200 (Fr, 18 Mai 2007) | 1 line

fixed a warning regarding Keypad encoding. encode the IE sending_complete at the right position.
........

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

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

16 years agoMerged revisions 64904 via svnmerge from
Christian Richter [Fri, 18 May 2007 11:17:16 +0000 (11:17 +0000)]
Merged revisions 64904 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r64904 | crichter | 2007-05-18 10:58:51 +0200 (Fr, 18 Mai 2007) | 9 lines

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

........
r64902 | crichter | 2007-05-18 10:24:08 +0200 (Fr, 18 Mai 2007) | 1 line

we *need* to send a PROCEEDING when sending_complete is set, even if need_more_infos is requested.
........

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

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

16 years agoMerged revisions 64974 via svnmerge from
Olle Johansson [Fri, 18 May 2007 10:41:31 +0000 (10:41 +0000)]
Merged revisions 64974 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r64974 | oej | 2007-05-18 12:37:44 +0200 (Fri, 18 May 2007) | 2 lines

Issue 9487 - stop media flows at hangup of call

........

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

16 years agoMakeup, darling.
Olle Johansson [Fri, 18 May 2007 10:28:56 +0000 (10:28 +0000)]
Makeup, darling.

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

16 years agoMerged revisions 64515 via svnmerge from
Christian Richter [Fri, 18 May 2007 10:03:38 +0000 (10:03 +0000)]
Merged revisions 64515 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r64515 | crichter | 2007-05-16 10:44:51 +0200 (Mi, 16 Mai 2007) | 9 lines

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

........
r64513 | crichter | 2007-05-16 10:23:42 +0200 (Mi, 16 Mai 2007) | 1 line

in the case immediate=yes, we directly jump into the dialplan, where people can use PlayTones to indicate a Dialtone, so we don't need to to that by ourself. also we should not do a dialtone_indicate for incoming calls on a TE port in overlapdialmode.
........

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

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

16 years agoMerged revisions 63534 via svnmerge from
Christian Richter [Fri, 18 May 2007 10:00:21 +0000 (10:00 +0000)]
Merged revisions 63534 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r63534 | crichter | 2007-05-09 15:17:10 +0200 (Mi, 09 Mai 2007) | 17 lines

Merged revisions 62945,63402,63519 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r62945 | crichter | 2007-05-03 17:39:21 +0200 (Do, 03 Mai 2007) | 1 line

when we're in state WAITING4DIGS, we use the asterisk tone-generator which prods us, so we can't just return -1 in misdn_write in this case. Added a MISDN_KEYPAD channel variable, and fixed the sending of keypad. this enables us to modify the call forward parameters in the switch.
........
r63402 | crichter | 2007-05-08 17:07:37 +0200 (Di, 08 Mai 2007) | 1 line

added application misdn_check_l2l1 which tries to pull up the L1/L2 on all ports that have the layers down in a group. It waits then for a timeout. This helps for scenarios where multiple PMP BRIs are grouped together, or where a provider has a faulty PTP Implementation, that looses the L2 after a while.
........
r63519 | crichter | 2007-05-09 13:26:16 +0200 (Mi, 09 Mai 2007) | 1 line

release_chan frees ch, so we should never touch ch after release_chan, this may cause segfaults.
........

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

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

16 years agoMerged revisions 62912 via svnmerge from
Christian Richter [Fri, 18 May 2007 09:50:33 +0000 (09:50 +0000)]
Merged revisions 62912 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r62912 | crichter | 2007-05-03 16:36:32 +0200 (Do, 03 Mai 2007) | 17 lines

Merged revisions 61357,61770,62885 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r61357 | crichter | 2007-04-11 14:05:57 +0200 (Mi, 11 Apr 2007) | 1 line

some fixes for PMP Hold/Retrieve, it should work now, when briding=no
........
r61770 | crichter | 2007-04-24 15:50:05 +0200 (Di, 24 Apr 2007) | 1 line

added lock for sending messages to avoid double sending. shuffled some empty_chans after the cb_event calls, this avoids that a release_complete from a quite different call releases a fresh created setup by accident.
........
r62885 | crichter | 2007-05-03 15:59:00 +0200 (Do, 03 Mai 2007) | 1 line

fixed the problem that misdn_write did not return -1 when called with 0 samples in a frame this resultet in a deadlock in some circumstances, when the call ended because of a busy extension.  added encoding of keypad.
........

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

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

16 years agoMerged revisions 59774 via svnmerge from
Christian Richter [Fri, 18 May 2007 09:47:19 +0000 (09:47 +0000)]
Merged revisions 59774 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r59774 | crichter | 2007-04-03 09:20:27 +0200 (Di, 03 Apr 2007) | 17 lines

Merged revisions 59623-59624,59639 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r59623 | crichter | 2007-04-02 09:12:24 +0200 (Mo, 02 Apr 2007) | 1 line

we can now make 30 channels on a PRI (before we forgot chan 31..)
........
r59624 | crichter | 2007-04-02 09:25:54 +0200 (Mo, 02 Apr 2007) | 1 line

don't be verbose if no need
........
r59639 | crichter | 2007-04-02 14:08:12 +0200 (Mo, 02 Apr 2007) | 1 line

added option which allows us to accept incoming SETUP Messages without automatically sending Proceeding or Setup Acknowledge, this is useful with some broken switches and if you want to Release incoming calls without previously having acknowledged them. The new option is noautorespond_on_setup=yes|no default is no, so we don't break the existing behaviour
........

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

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

16 years agoMerged revisions 59254 via svnmerge from
Christian Richter [Fri, 18 May 2007 09:42:42 +0000 (09:42 +0000)]
Merged revisions 59254 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r59254 | crichter | 2007-03-27 17:00:10 +0200 (Di, 27 Mär 2007) | 9 lines

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

........
r59252 | crichter | 2007-03-27 15:56:15 +0200 (Di, 27 Mär 2007) | 1 line

fixed #9355
........

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

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

16 years agoMerged revisions 59064 via svnmerge from
Christian Richter [Fri, 18 May 2007 09:36:16 +0000 (09:36 +0000)]
Merged revisions 59064 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r59064 | crichter | 2007-03-20 14:16:06 +0100 (Di, 20 Mär 2007) | 21 lines

Merged revisions 58849-58850,59062-59063 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r58849 | crichter | 2007-03-13 12:58:16 +0100 (Di, 13 Mär 2007) | 1 line

added method standard_dec for dialing out on groups, to avoid conflicts, which caused issues with some ISDN providers
........
r58850 | crichter | 2007-03-13 13:58:32 +0100 (Di, 13 Mär 2007) | 1 line

fixed the crypt_keys stuff
........
r59062 | crichter | 2007-03-20 10:18:06 +0100 (Di, 20 Mär 2007) | 1 line

avoid sending a disconnect when we already received one.
........
r59063 | crichter | 2007-03-20 10:23:22 +0100 (Di, 20 Mär 2007) | 1 line

modified a loglevel
........

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

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

16 years agoMerged revisions 58825-58826 via svnmerge from
Christian Richter [Fri, 18 May 2007 09:31:27 +0000 (09:31 +0000)]
Merged revisions 58825-58826 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r58825 | crichter | 2007-03-12 13:43:24 +0100 (Mo, 12 Mär 2007) | 1 line

added UU transceiving and corect handling for rdnis
................
r58826 | crichter | 2007-03-12 14:08:06 +0100 (Mo, 12 Mär 2007) | 21 lines

Merged revisions 57034,57523,57753,58558 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r57034 | crichter | 2007-02-28 17:09:27 +0100 (Mi, 28 Feb 2007) | 1 line

fixed bugs.digium.com bugs: #9157 and bugs.beronet.com bugs: #302, #303, #304
........
r57523 | crichter | 2007-03-02 19:32:51 +0100 (Fr, 02 Mar 2007) | 1 line

fixed typo
........
r57753 | crichter | 2007-03-04 11:39:50 +0100 (So, 04 Mar 2007) | 1 line

fixed another place where the out_cause was hardcoded to 16
........
r58558 | crichter | 2007-03-09 15:43:58 +0100 (Fr, 09 Mar 2007) | 1 line

we can free channel 31 as well, since we can occupy it
........

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

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

16 years agoIssue #5930 - Remove dependencies on res_adsi.so - clwade
Olle Johansson [Fri, 18 May 2007 09:10:22 +0000 (09:10 +0000)]
Issue #5930 - Remove dependencies on res_adsi.so  - clwade

A big THANK YOU to clwade for this patch.
Minor modifications by me.

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

16 years agoAnother fix for the support for recordings controlled by INFO-packets
Olle Johansson [Fri, 18 May 2007 08:49:34 +0000 (08:49 +0000)]
Another fix for the support for recordings controlled by INFO-packets

We still lack a setting to enable/disable this per peer

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

16 years agoAdd ENUMQUERY and ENUMRESULT to the CHANGES file.
Russell Bryant [Fri, 18 May 2007 02:55:05 +0000 (02:55 +0000)]
Add ENUMQUERY and ENUMRESULT to the CHANGES file.

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

16 years agoMerged revisions 64868 via svnmerge from
Russell Bryant [Fri, 18 May 2007 02:51:07 +0000 (02:51 +0000)]
Merged revisions 64868 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r64868 | russell | 2007-05-17 21:48:51 -0500 (Thu, 17 May 2007) | 5 lines

Fix a small bug I noticed while working on something else.  app_queue did not
unregister its device state monitoring callback in unload_module().  So, this
would make Asterisk crash on the first device state change after you
unload the module.

........

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

16 years agoMerged revisions 64820 via svnmerge from
Tilghman Lesher [Thu, 17 May 2007 21:20:33 +0000 (21:20 +0000)]
Merged revisions 64820 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r64820 | tilghman | 2007-05-17 16:19:34 -0500 (Thu, 17 May 2007) | 10 lines

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

........
r64819 | tilghman | 2007-05-17 16:14:36 -0500 (Thu, 17 May 2007) | 2 lines

How is it that we never caught that this is returning the opposite of our documentation, until now?

........

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

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

16 years agoAdd an option that lets you only allow one connection at a time for each
Russell Bryant [Thu, 17 May 2007 17:12:23 +0000 (17:12 +0000)]
Add an option that lets you only allow one connection at a time for each
manager user.  (issue #8664, reported and original patch by ssokol, patch
updated by bkruse, and further updated by me)

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

16 years agoMerged revisions 64761 via svnmerge from
Jason Parker [Thu, 17 May 2007 16:54:35 +0000 (16:54 +0000)]
Merged revisions 64761 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r64761 | qwell | 2007-05-17 11:53:27 -0500 (Thu, 17 May 2007) | 12 lines

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

........
r64758 | qwell | 2007-05-17 11:52:38 -0500 (Thu, 17 May 2007) | 4 lines

If we have a negative current message, we shouldn't go back even further...

Issue 9727.

........

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

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

16 years agoMerged revisions 64759 via svnmerge from
Russell Bryant [Thu, 17 May 2007 16:53:14 +0000 (16:53 +0000)]
Merged revisions 64759 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r64759 | russell | 2007-05-17 11:52:53 -0500 (Thu, 17 May 2007) | 3 lines

Remove script that is no longer functional since the build system was redone.
(issue #9340, reported by junky)

........

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

16 years agoMerged revisions 64756 via svnmerge from
Russell Bryant [Thu, 17 May 2007 16:49:50 +0000 (16:49 +0000)]
Merged revisions 64756 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r64756 | russell | 2007-05-17 11:47:29 -0500 (Thu, 17 May 2007) | 3 lines

Increase the size of a buffer to support longer dial strings for channels.
(issue #9291, reported and fix suggested by meni)

........

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

16 years agoMerged revisions 64754 via svnmerge from
Joshua Colp [Thu, 17 May 2007 16:11:26 +0000 (16:11 +0000)]
Merged revisions 64754 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r64754 | file | 2007-05-17 12:10:12 -0400 (Thu, 17 May 2007) | 2 lines

Even more direct RTP setup fixes! Don't allow a codec that isn't supported to creep into the SDP of either side. (issue #9446 reported by marcelbarbulescu)

........

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

16 years agoMerged revisions 64720 via svnmerge from
Joshua Colp [Thu, 17 May 2007 13:50:54 +0000 (13:50 +0000)]
Merged revisions 64720 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r64720 | file | 2007-05-17 09:48:44 -0400 (Thu, 17 May 2007) | 2 lines

Fix authuser support. (issue #9740 reported by xmarksthespot)

........

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

16 years agoMerged revisions 64686 via svnmerge from
Russell Bryant [Thu, 17 May 2007 06:14:37 +0000 (06:14 +0000)]
Merged revisions 64686 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r64686 | russell | 2007-05-17 01:13:53 -0500 (Thu, 17 May 2007) | 3 lines

Update the main README to reflect the new build process for 1.4 and above.
(issue #9725, patch by eliel)

........

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

16 years agoIgnore this ... playing with jira (AST-1)
Russell Bryant [Wed, 16 May 2007 16:30:40 +0000 (16:30 +0000)]
Ignore this ... playing with jira  (AST-1)

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

16 years agoBlocking patch
Olle Johansson [Wed, 16 May 2007 11:01:35 +0000 (11:01 +0000)]
Blocking patch

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

16 years agoBelow patches with some re-structuring for trunk
Olle Johansson [Wed, 16 May 2007 10:58:22 +0000 (10:58 +0000)]
Below patches with some re-structuring for trunk
---
Merged revisions 64602 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r64602 | oej | 2007-05-16 12:38:18 +0200 (Wed, 16 May 2007) | 2 lines

Issue #9681 - Handle www-auth on BYE

........

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

16 years agoMerged revisions 64578 via svnmerge from
Olle Johansson [Wed, 16 May 2007 10:09:42 +0000 (10:09 +0000)]
Merged revisions 64578 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r64578 | oej | 2007-05-16 12:05:47 +0200 (Wed, 16 May 2007) | 2 lines

Final part of issue #9483 - fixing transfer() of sip calls in the dial plan (twilson)

........

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

16 years agoBlocking patch that was already committed to trunk
Olle Johansson [Wed, 16 May 2007 10:06:03 +0000 (10:06 +0000)]
Blocking patch that was already committed to trunk

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

16 years agoMerged revisions 64543 via svnmerge from
Olle Johansson [Wed, 16 May 2007 10:02:06 +0000 (10:02 +0000)]
Merged revisions 64543 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r64543 | oej | 2007-05-16 11:12:34 +0200 (Wed, 16 May 2007) | 10 lines

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

........
r64535 | oej | 2007-05-16 11:08:22 +0200 (Wed, 16 May 2007) | 2 lines

Support SIP uri's starting with SIP: and sip: (reported by Tony Mountfield on the mailing list. Thanks!)

........

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

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

16 years agoMerged revisions 64516 via svnmerge from
Olle Johansson [Wed, 16 May 2007 08:51:39 +0000 (08:51 +0000)]
Merged revisions 64516 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r64516 | oej | 2007-05-16 10:46:18 +0200 (Wed, 16 May 2007) | 17 lines

Merged following patch with a lot of changes for 1.4
------

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

........
r64514 | oej | 2007-05-16 10:25:56 +0200 (Wed, 16 May 2007) | 6 lines

Issue #9726 - rlister - Better logging for ACL denials

While at it, also added better logging and handling of peers that are not supposed to register.

My patch, stole the issue report from Russell. My apologies, Russell :-)

........

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

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

16 years agoIssue #9304 - Update help text to match functionality. Patch by kshumard with changes...
Olle Johansson [Wed, 16 May 2007 07:58:43 +0000 (07:58 +0000)]
Issue #9304 - Update help text to match functionality. Patch by kshumard with changes by oej

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

16 years agoIssue #6789 - Marquis - Add option to support regexten removal when host becomes...
Olle Johansson [Wed, 16 May 2007 07:35:56 +0000 (07:35 +0000)]
Issue #6789 - Marquis - Add option to support regexten removal when host becomes unreachable

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

16 years agoThis file really needs more documentation...
Olle Johansson [Wed, 16 May 2007 07:10:54 +0000 (07:10 +0000)]
This file really needs more documentation...
When we implement new API's - please include a small general overview in Doxygen

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

16 years agoSmall doxygen updates
Olle Johansson [Wed, 16 May 2007 07:08:48 +0000 (07:08 +0000)]
Small doxygen updates

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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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