]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
18 years agoIssue #8536 - Caller ID not set in CDR for jingle
Olle Johansson [Thu, 24 May 2007 14:48:55 +0000 (14:48 +0000)] 
Issue #8536 - Caller ID not set in CDR for jingle

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

18 years agoMerged revisions 65837 via svnmerge from
Joshua Colp [Thu, 24 May 2007 14:42:12 +0000 (14:42 +0000)] 
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/branches/1.4@65839 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoIssue 8409 - phsultan - Fix "login" as component to jabber server.
Olle Johansson [Thu, 24 May 2007 14:38:30 +0000 (14:38 +0000)] 
Issue 8409 - phsultan - Fix "login" as component to jabber server.
...and, by accident, fix a bug in chan_sip for stopping a loop on retransmits
   of BYE requests.

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

18 years agoMerged revisions 65767 via svnmerge from
Christian Richter [Thu, 24 May 2007 09:37:32 +0000 (09:37 +0000)] 
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/branches/1.4@65768 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agostart the delayed PBX when receive voice or video full frames as well, and comment...
Kevin P. Fleming [Wed, 23 May 2007 20:59:19 +0000 (20:59 +0000)] 
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/branches/1.4@65685 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 65682 via svnmerge from
Kevin P. Fleming [Wed, 23 May 2007 20:51:56 +0000 (20:51 +0000)] 
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/branches/1.4@65683 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoclear the 'delay PBX' flag when we are ready to start the PBX
Kevin P. Fleming [Wed, 23 May 2007 20:35:50 +0000 (20:35 +0000)] 
clear the 'delay PBX' flag when we are ready to start the PBX

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

18 years agodon't start a PBX on a new incoming IAX2 channel until we have some sort of response...
Kevin P. Fleming [Wed, 23 May 2007 20:30:24 +0000 (20:30 +0000)] 
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)

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

18 years agoMerged revisions 65676 via svnmerge from
Kevin P. Fleming [Wed, 23 May 2007 20:07:59 +0000 (20:07 +0000)] 
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/branches/1.4@65677 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 65588 via svnmerge from
Russell Bryant [Wed, 23 May 2007 13:07:13 +0000 (13:07 +0000)] 
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/branches/1.4@65589 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agowhen building a version string for a developer branch, include the base branch in...
Kevin P. Fleming [Tue, 22 May 2007 20:25:41 +0000 (20:25 +0000)] 
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/branches/1.4@65541 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoList res_smdi as a dependency for app_voicemail and chan_zap
Russell Bryant [Tue, 22 May 2007 18:40:38 +0000 (18:40 +0000)] 
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/branches/1.4@65501 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoRemove a double const.
Joshua Colp [Tue, 22 May 2007 15:04:46 +0000 (15:04 +0000)] 
Remove a double const.

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

18 years ago Fix a problem with flag recognition.
BJ Weschke [Tue, 22 May 2007 14:02:56 +0000 (14:02 +0000)] 
 Fix a problem with flag recognition.

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

18 years agoMerged revisions 65389 via svnmerge from
Russell Bryant [Tue, 22 May 2007 13:09:34 +0000 (13:09 +0000)] 
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/branches/1.4@65394 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 65328 via svnmerge from
Christian Richter [Tue, 22 May 2007 08:12:20 +0000 (08:12 +0000)] 
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/branches/1.4@65342 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agores_agi needs to export two symbols (ast_agi_register and ast_agi_unregister) for...
Joshua Colp [Sun, 20 May 2007 17:59:58 +0000 (17:59 +0000)] 
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/branches/1.4@65250 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoUgh. The svnmerge didn't catch the shift from cdr.c to main/cdr.c, and neither did...
Steve Murphy [Fri, 18 May 2007 22:26:51 +0000 (22:26 +0000)] 
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/branches/1.4@65201 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 65172 via svnmerge from
Steve Murphy [Fri, 18 May 2007 22:06:27 +0000 (22:06 +0000)] 
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/branches/1.4@65200 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 65122 via svnmerge from
Olle Johansson [Fri, 18 May 2007 18:16:09 +0000 (18:16 +0000)] 
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/branches/1.4@65123 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 65075 via svnmerge from
Olle Johansson [Fri, 18 May 2007 15:18:13 +0000 (15:18 +0000)] 
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/branches/1.4@65076 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years ago- Adding support for putting calls OFF hold with a re-invite with blank SDP. This...
Olle Johansson [Fri, 18 May 2007 12:58:39 +0000 (12:58 +0000)] 
- Adding support for putting calls OFF hold with a re-invite with blank SDP. This was a bug found while doing tests at SIPit in Antwerp.
- In order to not duplicate code, I restructured some of the code for putting calls on/off hold.

Thanks DEA for reminding me. This fix has been asleep in the videocaps branch until now.

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

18 years agoMerged revisions 65007 via svnmerge from
Christian Richter [Fri, 18 May 2007 12:40:46 +0000 (12:40 +0000)] 
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/branches/1.4@65039 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoIssue 9487 - stop media flows at hangup of call
Olle Johansson [Fri, 18 May 2007 10:37:44 +0000 (10:37 +0000)] 
Issue 9487 - stop media flows at hangup of call

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

18 years agoMerged revisions 64902 via svnmerge from
Christian Richter [Fri, 18 May 2007 08:58:51 +0000 (08:58 +0000)] 
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/branches/1.4@64904 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoFix a small bug I noticed while working on something else. app_queue did not
Russell Bryant [Fri, 18 May 2007 02:48:51 +0000 (02:48 +0000)] 
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/branches/1.4@64868 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 64819 via svnmerge from
Tilghman Lesher [Thu, 17 May 2007 21:19:34 +0000 (21:19 +0000)] 
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/branches/1.4@64820 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 64758 via svnmerge from
Jason Parker [Thu, 17 May 2007 16:53:27 +0000 (16:53 +0000)] 
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/branches/1.4@64761 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoRemove script that is no longer functional since the build system was redone.
Russell Bryant [Thu, 17 May 2007 16:52:53 +0000 (16:52 +0000)] 
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/branches/1.4@64759 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoIncrease the size of a buffer to support longer dial strings for channels.
Russell Bryant [Thu, 17 May 2007 16:47:29 +0000 (16:47 +0000)] 
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/branches/1.4@64756 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoEven more direct RTP setup fixes! Don't allow a codec that isn't supported to creep...
Joshua Colp [Thu, 17 May 2007 16:10:12 +0000 (16:10 +0000)] 
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/branches/1.4@64754 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoFix authuser support. (issue #9740 reported by xmarksthespot)
Joshua Colp [Thu, 17 May 2007 13:48:44 +0000 (13:48 +0000)] 
Fix authuser support. (issue #9740 reported by xmarksthespot)

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

18 years agoUpdate the main README to reflect the new build process for 1.4 and above.
Russell Bryant [Thu, 17 May 2007 06:13:53 +0000 (06:13 +0000)] 
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/branches/1.4@64686 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoBlocking patch already in this code
Olle Johansson [Wed, 16 May 2007 11:01:11 +0000 (11:01 +0000)] 
Blocking patch already in this code

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

18 years agoFix auth on BYE. (Different patch than for 1.2)
Olle Johansson [Wed, 16 May 2007 10:59:28 +0000 (10:59 +0000)] 
Fix auth on BYE. (Different patch than for 1.2)

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

18 years agoIssue #9681 - Handle www-auth on BYE
Olle Johansson [Wed, 16 May 2007 10:38:18 +0000 (10:38 +0000)] 
Issue #9681 - Handle www-auth on BYE

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

18 years agoFinal part of issue #9483 - fixing transfer() of sip calls in the dial plan (twilson)
Olle Johansson [Wed, 16 May 2007 10:05:47 +0000 (10:05 +0000)] 
Final part of issue #9483 - fixing transfer() of sip calls in the dial plan (twilson)

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

18 years agoIssue #9439 - properly handle username parameters in SIP uri.
Olle Johansson [Wed, 16 May 2007 09:57:22 +0000 (09:57 +0000)] 
Issue #9439 - properly handle username parameters in SIP uri.

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

18 years agoMerged revisions 64535 via svnmerge from
Olle Johansson [Wed, 16 May 2007 09:12:34 +0000 (09:12 +0000)] 
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/branches/1.4@64543 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged following patch with a lot of changes for 1.4
Olle Johansson [Wed, 16 May 2007 08:46:18 +0000 (08:46 +0000)] 
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/branches/1.4@64516 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 64513 via svnmerge from
Christian Richter [Wed, 16 May 2007 08:44:51 +0000 (08:44 +0000)] 
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/branches/1.4@64515 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoProperly fix a problem that occurs when you set PARKINGEXTEN to an exten where
Russell Bryant [Tue, 15 May 2007 19:52:18 +0000 (19:52 +0000)] 
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/branches/1.4@64426 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoWhen someone requests a specific parking space using the PARKINGEXTEN variable,
Russell Bryant [Mon, 14 May 2007 21:16:39 +0000 (21:16 +0000)] 
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/branches/1.4@64353 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoChange -2 to XMIT_ERROR to clarify a bit more
Olle Johansson [Mon, 14 May 2007 19:26:50 +0000 (19:26 +0000)] 
Change -2 to XMIT_ERROR to clarify a bit more

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

18 years agoProperly handle AST_CONTROL_PROGRESS by just ignoring it. An unknown indication
Russell Bryant [Mon, 14 May 2007 19:13:00 +0000 (19:13 +0000)] 
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/branches/1.4@64306 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoHandle network errors, like host or network unreachable, in a better way. This means...
Olle Johansson [Mon, 14 May 2007 18:52:09 +0000 (18:52 +0000)] 
Handle network errors, like host or network unreachable, in a better way. This means that
calls to hosts or qualify (OPTION) messages will fail quicker if the TCP/IP stack tells us
that there is an issue.

Since this is an unconnected UDP socket, we will not get error messages directly
in most cases, but maybe on the second and third try.

This is already implemented in trunk.

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

18 years agoProperly set datalen field when doing PLC in codec_speex. (issue #9722 reported by...
Joshua Colp [Mon, 14 May 2007 18:48:33 +0000 (18:48 +0000)] 
Properly set datalen field when doing PLC in codec_speex. (issue #9722 reported by mihai)

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

18 years agoMerged revisions 64275 via svnmerge from
Joshua Colp [Mon, 14 May 2007 18:36:34 +0000 (18:36 +0000)] 
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/branches/1.4@64276 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoFix scenario where if a phone that simply called Echo() put itself on hold it could...
Joshua Colp [Mon, 14 May 2007 17:23:51 +0000 (17:23 +0000)] 
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/branches/1.4@64240 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoAs per 9570, worrisome CDR warnings have been removed, that are either not helpful...
Steve Murphy [Mon, 14 May 2007 13:58:42 +0000 (13:58 +0000)] 
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/branches/1.4@64193 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoAdd hangupcause when we lack codecs for transcoding
Olle Johansson [Mon, 14 May 2007 10:39:12 +0000 (10:39 +0000)] 
Add hangupcause when we lack codecs for transcoding

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

18 years agoThis concludes my final adventure with bitmasks and the onhold flag. Would anyone...
Joshua Colp [Sat, 12 May 2007 22:27:04 +0000 (22:27 +0000)] 
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/branches/1.4@64114 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoTweak hold flags some more. They can be of three states when active: active, inactive...
Joshua Colp [Sat, 12 May 2007 21:10:45 +0000 (21:10 +0000)] 
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/branches/1.4@64086 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoEnsure the onhold flag is set no matter what when being put on hold.
Joshua Colp [Sat, 12 May 2007 16:32:15 +0000 (16:32 +0000)] 
Ensure the onhold flag is set no matter what when being put on hold.

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

18 years agoHide manager password from "manager show user foo".
Jason Parker [Fri, 11 May 2007 20:16:17 +0000 (20:16 +0000)] 
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/branches/1.4@63982 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 63903 via svnmerge from
Tilghman Lesher [Fri, 11 May 2007 16:35:51 +0000 (16:35 +0000)] 
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/branches/1.4@63905 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoWhen MD5 authentication is not possible because there is no challenge present,
Russell Bryant [Fri, 11 May 2007 16:05:43 +0000 (16:05 +0000)] 
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/branches/1.4@63886 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMake the PARKINGEXTEN feature of parking actually work. (issue #9708 reported by...
Joshua Colp [Fri, 11 May 2007 15:43:14 +0000 (15:43 +0000)] 
Make the PARKINGEXTEN feature of parking actually work. (issue #9708 reported by mdu113)

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

18 years agoMerged revisions 63828 via svnmerge from
Jason Parker [Thu, 10 May 2007 23:15:37 +0000 (23:15 +0000)] 
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/branches/1.4@63830 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoStrip terminal escape sequences from CLI command output that is going to be
Russell Bryant [Thu, 10 May 2007 22:23:42 +0000 (22:23 +0000)] 
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/branches/1.4@63804 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoAdd test for negative offsets in cid data to prevent infinite loops.
Doug Bailey [Thu, 10 May 2007 20:48:54 +0000 (20:48 +0000)] 
Add test for negative offsets in cid data to prevent infinite loops.

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

18 years agoMerged revisions 63748 via svnmerge from
Olle Johansson [Thu, 10 May 2007 20:46:41 +0000 (20:46 +0000)] 
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/branches/1.4@63749 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoUse the DTMF frame on the channel when returning a DTMF frame from AST_FRAME_NULL...
Joshua Colp [Wed, 9 May 2007 19:22:39 +0000 (19:22 +0000)] 
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/branches/1.4@63698 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoDo not prematurely go on hold if sendonly was not actually set.
Joshua Colp [Wed, 9 May 2007 17:43:30 +0000 (17:43 +0000)] 
Do not prematurely go on hold if sendonly was not actually set.

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

18 years agoMerged revisions 63653 via svnmerge from
Matthew Fredrickson [Wed, 9 May 2007 17:25:21 +0000 (17:25 +0000)] 
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/branches/1.4@63654 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoModify ast_senddigit_begin() to use the same assumptions used elsewhere in the
Russell Bryant [Wed, 9 May 2007 16:55:27 +0000 (16:55 +0000)] 
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/branches/1.4@63612 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 63610 via svnmerge from
Joshua Colp [Wed, 9 May 2007 16:54:56 +0000 (16:54 +0000)] 
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/branches/1.4@63611 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoOnly call ast_senddigit_begin() in ast_senddigit() if the channel has a
Russell Bryant [Wed, 9 May 2007 16:43:50 +0000 (16:43 +0000)] 
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/branches/1.4@63608 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 63565 via svnmerge from
Tilghman Lesher [Wed, 9 May 2007 14:50:33 +0000 (14:50 +0000)] 
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/branches/1.4@63566 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoI have seen multiple people post questions trying to figure out what the
Russell Bryant [Wed, 9 May 2007 13:24:03 +0000 (13:24 +0000)] 
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/branches/1.4@63535 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 62945,63402,63519 via svnmerge from
Christian Richter [Wed, 9 May 2007 13:17:10 +0000 (13:17 +0000)] 
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/branches/1.4@63534 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoDon't retransmit 200 OK's on ignore status. (Reported on asterisk-users)
Olle Johansson [Wed, 9 May 2007 13:04:14 +0000 (13:04 +0000)] 
Don't retransmit 200 OK's on ignore status. (Reported on asterisk-users)

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

18 years agoMerged revisions 63477 via svnmerge from
Tilghman Lesher [Tue, 8 May 2007 22:38:02 +0000 (22:38 +0000)] 
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/branches/1.4@63478 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoI mixed up the use of the find_feature() function, so I renamed it
Russell Bryant [Tue, 8 May 2007 16:53:09 +0000 (16:53 +0000)] 
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/branches/1.4@63448 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoUse a read/write lock when accessing the built-in features.
Russell Bryant [Tue, 8 May 2007 16:30:43 +0000 (16:30 +0000)] 
Use a read/write lock when accessing the built-in features.

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

18 years agoMove realtime_pgsql.sql to contrib/scripts to be with the rest of the sql examples.
Russell Bryant [Tue, 8 May 2007 15:10:37 +0000 (15:10 +0000)] 
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/branches/1.4@63403 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 63359 via svnmerge from
Tilghman Lesher [Tue, 8 May 2007 06:22:37 +0000 (06:22 +0000)] 
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/branches/1.4@63360 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoAdd a sample configuration file and example tables for use with res_config_pgsql.
Russell Bryant [Mon, 7 May 2007 22:28:50 +0000 (22:28 +0000)] 
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/branches/1.4@63329 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 63285 via svnmerge from
Joshua Colp [Mon, 7 May 2007 21:45:01 +0000 (21:45 +0000)] 
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/branches/1.4@63286 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMinor backport of revision 59083 in trunk. Don't queue an unhold frame up if the...
Joshua Colp [Mon, 7 May 2007 21:26:58 +0000 (21:26 +0000)] 
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/branches/1.4@63283 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoDon't remove configuration from memory just because one section failed.
Olle Johansson [Mon, 7 May 2007 20:05:15 +0000 (20:05 +0000)] 
Don't remove configuration from memory just because one section failed.

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

18 years agoGuess svnmerge doesn't handle files that move around. Blocking patch to ./config.c
Olle Johansson [Mon, 7 May 2007 14:19:32 +0000 (14:19 +0000)] 
Guess svnmerge doesn't handle files that move around. Blocking patch to ./config.c

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

18 years agoStop the video stream when you stop playback of all streams for a call
Olle Johansson [Sun, 6 May 2007 12:28:38 +0000 (12:28 +0000)] 
Stop the video stream when you stop playback of all streams for a call

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

18 years agoFix a crash when checking version attribute in an incoming XML caps element.
Jason Parker [Fri, 4 May 2007 20:03:49 +0000 (20:03 +0000)] 
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/branches/1.4@63099 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoexplanation for httptimeout in manager.conf
Pari Nannapaneni [Fri, 4 May 2007 16:45:29 +0000 (16:45 +0000)] 
explanation for httptimeout in manager.conf

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

18 years agoMerged revisions 62987 via svnmerge from
Joshua Colp [Thu, 3 May 2007 16:44:00 +0000 (16:44 +0000)] 
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/branches/1.4@62989 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoimprove loader a bit, by avoiding trying to initialize embedded modules twice and...
Kevin P. Fleming [Thu, 3 May 2007 16:38:56 +0000 (16:38 +0000)] 
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/branches/1.4@62986 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoFix YADB (Yet Another DTMF Bug) ((C) Russell Bryant, 2007, TM, Patent Pending).
Russell Bryant [Thu, 3 May 2007 15:23:13 +0000 (15:23 +0000)] 
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/branches/1.4@62942 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoupdated the ael regressions to match what's in trunk
Steve Murphy [Thu, 3 May 2007 14:41:53 +0000 (14:41 +0000)] 
updated the ael regressions to match what's in trunk

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

18 years agoMerged revisions 61357,61770,62885 via svnmerge from
Christian Richter [Thu, 3 May 2007 14:36:32 +0000 (14:36 +0000)] 
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/branches/1.4@62912 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoThese mods fix bug 9623, where an '@' in the eswitch contents causes a syntax error...
Steve Murphy [Thu, 3 May 2007 13:54:56 +0000 (13:54 +0000)] 
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/branches/1.4@62883 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 62841 via svnmerge from
Kevin P. Fleming [Thu, 3 May 2007 00:23:37 +0000 (00:23 +0000)] 
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/branches/1.4@62842 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 62796 via svnmerge from
Kevin P. Fleming [Thu, 3 May 2007 00:02:57 +0000 (00:02 +0000)] 
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/branches/1.4@62807 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoimprove static Realtime config loading from PostgreSQL:
Kevin P. Fleming [Wed, 2 May 2007 23:57:23 +0000 (23:57 +0000)] 
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)

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

18 years agoMerge changes from team/russell/inband_dtmf ...
Russell Bryant [Wed, 2 May 2007 22:59:09 +0000 (22:59 +0000)] 
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/branches/1.4@62789 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoBackport the change that only went in to trunk that fixes the command manager
Russell Bryant [Wed, 2 May 2007 20:55:00 +0000 (20:55 +0000)] 
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/branches/1.4@62739 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 62737 via svnmerge from
Steve Murphy [Wed, 2 May 2007 20:46:07 +0000 (20:46 +0000)] 
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/branches/1.4@62738 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerged revisions 62691 via svnmerge from
Tilghman Lesher [Wed, 2 May 2007 17:43:48 +0000 (17:43 +0000)] 
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/branches/1.4@62692 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoa)In chan_zap, set the clid, src fields in channel_alloc call. b)in the channel_alloc...
Steve Murphy [Wed, 2 May 2007 17:10:50 +0000 (17:10 +0000)] 
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/branches/1.4@62689 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoDon't unlock a channel that we already know does not exist (propably isue 8228)
Olle Johansson [Wed, 2 May 2007 06:15:43 +0000 (06:15 +0000)] 
Don't unlock a channel that we already know does not exist (propably isue 8228)

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