Mark Michelson
267220d043
Remove an extra debug message I left in
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102550 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-06 00:08:58 +00:00
Mark Michelson
fe9821cc10
Get rid of any remaining ast_verbose calls in the code in favor of
...
ast_verb
(closes issue #11934 )
Reported by: mvanbaak
Patches:
20080205_astverb-2.diff.txt uploaded by mvanbaak (license 7)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102525 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-05 23:00:15 +00:00
Mark Michelson
bb156b5cb5
Change verbose messages to use the ast_verb macro.
...
(closes issue #11931 )
Reported by: snuffy
Patches:
bug-11931.diff uploaded by snuffy (license 35)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102501 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-05 20:54:53 +00:00
Jason Parker
dc6e5d6aae
Change where priority of a goto is adjusted.
...
Partially reverts 102272.
Closes issue #11929
(credit to file for fix suggestion - we still <3 you)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102500 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-05 20:51:50 +00:00
Mark Michelson
33e42a6788
Merged revisions 102453 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r102453 | mmichelson | 2008-02-05 14:02:44 -0600 (Tue, 05 Feb 2008) | 8 lines
Clear the DTMF buffer on hangup.
(closes issue #11919 )
Reported by: eferro
Patches:
mgcp_dtmfclean_on_hangup.diff uploaded by eferro (license 337)
Tested by: eferro
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102454 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-05 20:03:54 +00:00
Joshua Colp
4b0c2cd0f3
Yeah yeah, I broke building on trunk. Shoot me.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102452 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-05 19:58:19 +00:00
Joshua Colp
946da18730
Merged revisions 102450 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r102450 | file | 2008-02-05 15:52:30 -0400 (Tue, 05 Feb 2008) | 3 lines
If a REGISTER attempt comes in that is a retransmission of a previous REGISTER do not create a new nonce value.
(issue #BE-381)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102451 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-05 19:54:05 +00:00
Joshua Colp
38164fecad
Merged revisions 102378 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r102378 | file | 2008-02-05 11:09:29 -0400 (Tue, 05 Feb 2008) | 4 lines
Perform dialing asynchronously when using the originate CLI command so the CLI does not appear to block.
(closes issue #11927 )
Reported by: bbhoss
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102379 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-05 15:10:36 +00:00
Tilghman Lesher
1dc86caf30
Merged revisions 102323 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r102323 | tilghman | 2008-02-04 15:06:09 -0600 (Mon, 04 Feb 2008) | 7 lines
Cross-platform fix: OS X now deprecates the use of the daemon(3) API.
(closes issue #11908 )
Reported by: oej
Patches:
20080204__bug11908.diff.txt uploaded by Corydon76 (license 14)
Tested by: Corydon76
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-04 21:15:18 +00:00
Jason Parker
668cecbafc
Add line numbers to warning/error messages (and pretty up some existing ones).
...
(closes issue #11894 )
Reported by: jmls
Patches:
chan_zap.patch uploaded by jmls (license 141)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102297 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-04 18:39:30 +00:00
Joshua Colp
c6fc44f927
Update handling of asyncgoto so it properly works on channels that are currently executing a PBX.
...
(closes issue #11914 )
Reported by: arnd
(closes issue #11753 )
Reported by: johan
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-04 15:16:05 +00:00
Jason Parker
f910cb5cb9
Change examples to use G here also.
...
Closes issue #11875
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102262 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-04 14:37:11 +00:00
Tilghman Lesher
d4d73b50a1
Merged revisions 102214 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r102214 | tilghman | 2008-02-03 23:10:02 -0600 (Sun, 03 Feb 2008) | 6 lines
Missing braces.
(closes issue #11912 )
Reported by: dimas
Patches:
sprintf.patch uploaded by dimas (license 88)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102238 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-04 05:32:00 +00:00
Tilghman Lesher
fa4c9a958b
CoreSettings and CoreStatus are missing the terminating "\r\n". Also, some
...
miscellaneous spacing and initialization issues.
(closes issue #11909 )
Reported by: srt
Patches:
patch-11909-2.diff uploaded by srt (license 378)
Tested by: srt
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102190 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-03 17:40:48 +00:00
Olle Johansson
7ca0fa1cae
Merged revisions 102142 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r102142 | oej | 2008-02-03 17:38:12 +0100 (Sön, 03 Feb 2008) | 8 lines
Use the same CSEQ on CANCEL as on INVITE (according to RFC 3261)
(closes issue #9492 )
Reported by: kryptolus
Patches:
bug9492.txt uploaded by oej (license 306)
Tested by: oej
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-03 16:46:39 +00:00
Olle Johansson
eab33324de
Merged revisions 102090 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r102090 | oej | 2008-02-03 11:37:32 +0100 (Sön, 03 Feb 2008) | 8 lines
Handle ACK and CANCEL in an invite transaction - even if we get INFO transactions during the actual call setup.
(closes issue #10567 )
Reported by: jacksch
Tested by: oej
Patch by: oej inspired by suggestions from neutrino88 in the bug tracker
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102091 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-03 10:47:05 +00:00
Russell Bryant
aa30cd9bc5
Change the version number in the configure script from 1.4 to 1.6
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102064 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-03 06:43:57 +00:00
Russell Bryant
b095b74685
The documentation page has to be in its own comment block to work, apparently.
...
Fix it up!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-02 06:10:20 +00:00
Russell Bryant
208f346878
Merged revisions 101989 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r101989 | russell | 2008-02-01 17:06:32 -0600 (Fri, 01 Feb 2008) | 5 lines
Change the SDP_SAMPLE_RATE macro. It turns out that even though G.722 is 16 kHz,
it is supposed to specified as 8 kHz in the RTP, and RTP timestamps are supposed
to be calculated based on 8 kHz. (Apparently this is due to a bug in a spec, but
people follow it anyway, because it's the spec ...)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101990 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-01 23:08:28 +00:00
Tilghman Lesher
ab5a1a6c8c
Merged revisions 101942 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r101942 | tilghman | 2008-02-01 15:54:28 -0600 (Fri, 01 Feb 2008) | 8 lines
Fix the VM_DUR variable for forwarded voicemail, and fixed several other bugs
while I'm in the area.
(closes issue #11615 )
Reported by: jamessan
Patches:
20071226__bug11615__2.diff.txt uploaded by Corydon76 (license 14)
Tested by: Corydon76, jamessan
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101943 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-01 22:12:55 +00:00
Tilghman Lesher
bfd26b9cfd
Merged revisions 101894 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r101894 | tilghman | 2008-02-01 13:36:12 -0600 (Fri, 01 Feb 2008) | 2 lines
Change detection of getifaddrs to use AST_C_COMPILE_CHECK, backported from trunk (as suggested by kpfleming)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-01 19:44:39 +00:00
Tilghman Lesher
320174cd4b
Fix multi, when using the LIKE query.
...
(closes issue #11889 )
Reported by: jmls
Patches:
res_config_curl.patch uploaded by jmls (license 141)
Tested by: jmls
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101873 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-01 18:45:31 +00:00
Jason Parker
a47b20bdcd
Comparison, not set :) Thanks mvanbaak.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-01 18:24:52 +00:00
Tilghman Lesher
de0d0ad137
Clarify the pooling functionality by changing the config file keyword
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101824 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-01 18:08:44 +00:00
Jason Parker
03a95a20db
Move an feof() call to before the fgets().
...
This would have exited the loop early if you had an authentication file with no newline at the end.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101823 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-01 17:44:32 +00:00
Russell Bryant
55f2aa4fa7
Blocked revisions 101820 via svnmerge
...
........
r101820 | russell | 2008-02-01 11:27:02 -0600 (Fri, 01 Feb 2008) | 1 line
off by one error
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101821 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-01 17:28:06 +00:00
Russell Bryant
99c36129a5
Merged revisions 101818 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r101818 | russell | 2008-02-01 11:23:47 -0600 (Fri, 01 Feb 2008) | 4 lines
Don't overwrite the last character of a line if it's not a newline. This would
happen if the last line in the file doesn't have a newline.
(pointed out by Qwell)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101819 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-01 17:26:31 +00:00
Tilghman Lesher
1ce6a2d5ec
Merged revisions 101772 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r101772 | tilghman | 2008-02-01 09:55:58 -0600 (Fri, 01 Feb 2008) | 2 lines
Compatibility fix for OpenWRT (reported by Brian Capouch via the mailing list)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101773 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-01 16:01:22 +00:00
Russell Bryant
1d016d21e4
simplify some code, tweak formatting, and reduce indentation
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101746 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-01 06:27:41 +00:00
Russell Bryant
574b5e2a2e
reduce a level of indentation
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101745 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-01 06:20:24 +00:00
Russell Bryant
7382e9425f
Get rid of a goto where there was no extra cleanup happening at the exit point
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101739 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-01 06:14:29 +00:00
Russell Bryant
c2d9664f6f
Merged revisions 101693 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r101693 | russell | 2008-01-31 18:32:49 -0600 (Thu, 31 Jan 2008) | 8 lines
Add some more sanity checking on IAX2 dial strings for the case that no peer
or hostname was provided, which is the one part of the dial string that is
absolutely required. If it's not there, bail out.
(closes issue #11897 )
Reported by sokhapkin
Patch by me
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101694 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-01 00:34:11 +00:00
Mark Michelson
41cf37844e
Merged revisions 101649 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r101649 | mmichelson | 2008-01-31 18:06:37 -0600 (Thu, 31 Jan 2008) | 9 lines
From bugtracker: "fix totalAnalysisTime to handle periods of no channel activity"
(closes issue #9256 )
Reported by: cmaj
Patches:
amd-dont-wait-too-long-for-frames-take3.diff.txt uploaded by cmaj (license 111)
Tested by: cmaj, skygreg, ZX81, rjain
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101650 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-01 00:08:17 +00:00
Russell Bryant
1ce789336b
Merged revisions 101601 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r101601 | russell | 2008-01-31 17:10:06 -0600 (Thu, 31 Jan 2008) | 12 lines
Fix a couple of places where ast_frfree() was not called on a frame that came
from a translator. This showed itself by g729 decoders not getting released.
Since the flag inside the translator frame never got unset by freeing the frame
to indicate it was no longer in use, the translators never got destroyed, and
thus the g729 licenses were not released.
(closes issue #11892 )
Reported by: xrg
Patches:
11892.diff uploaded by russell (license 2)
Tested by: xrg, russell
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101611 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-31 23:14:57 +00:00
Mark Michelson
b0999f3bfa
Forgot an !
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101580 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-31 22:12:50 +00:00
Mark Michelson
19d8ce4033
A change I made to accommodate the "linear" strategy in trunk caused queue strategies to
...
not be loaded from realtime queues. This commit fixes that.
Thanks to jmls for pointing this problem out to me on IRC.
This also contains some changes to S_OR where it should be used. Thanks to Qwell for pointing
these out.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101578 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-31 22:04:52 +00:00
Russell Bryant
02357a6462
Fix a simple deadlock that was introduced _right_ before this code got merged
...
into trunk.
(closes issue #11895 , reported by pj, patched by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101577 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-31 21:33:33 +00:00
Mark Michelson
815658d35e
Handle the case of a NULL state_interface when checking a realtime member.
...
Thanks to jmls for finding this issue.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101576 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-31 21:31:15 +00:00
Mark Michelson
6ea87be942
Merged revisions 101531 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r101531 | mmichelson | 2008-01-31 15:00:24 -0600 (Thu, 31 Jan 2008) | 10 lines
1. Prevent the addition of an extra '/' to the beginning of an absolute pathname.
2. If ast_monitor_change_fname is called and the new filename is the same as the old, then exit early and don't set the
filename_changed field in the monitor structure. Setting it in this case was causing ast_monitor_stop to erroneously
delete them.
(closes issue #11741 )
Reported by: garlew
Tested by: putnopvut
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101532 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-31 21:02:12 +00:00
Jason Parker
245661a158
Merged revisions 101482 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r101482 | qwell | 2008-01-31 13:52:49 -0600 (Thu, 31 Jan 2008) | 4 lines
Solaris compat fixes for struct in_addr funkiness.
Issue #11885 , patch by snuffy.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101483 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-31 19:54:46 +00:00
Steve Murphy
671c08af6d
Merged revisions 101480 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r101480 | murf | 2008-01-31 12:30:37 -0700 (Thu, 31 Jan 2008) | 1 line
closes issue #11845 ; that's the one where there's a 1004 byte cdr leak with every AMI Redirect to a zap channel
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101481 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-31 19:43:40 +00:00
Russell Bryant
039f7a6ce1
Merged revisions 101433 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r101433 | russell | 2008-01-31 13:17:05 -0600 (Thu, 31 Jan 2008) | 2 lines
Add more missing locking of the agents list ...
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101449 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-31 19:20:52 +00:00
Russell Bryant
e3caa42311
Merged revisions 101413-101414 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r101413 | russell | 2008-01-31 13:04:52 -0600 (Thu, 31 Jan 2008) | 2 lines
Add missing locking to the find_agent() function.
........
r101414 | russell | 2008-01-31 13:07:46 -0600 (Thu, 31 Jan 2008) | 3 lines
Move the locking from find_agent() into the agent dialplan function handler to
ensure that the agent doesn't disappear while we're looking at it.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101416 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-31 19:13:20 +00:00
Joshua Colp
7492c04a23
Add missing braces.
...
(closes issue #11886 )
Reported by: sergee
Patches:
func_realtime_fix-r101392.diff uploaded by sergee (license 138)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101393 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-31 15:36:11 +00:00
Russell Bryant
2dd50b7656
remove entry that is no longer in the tree
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-31 05:28:42 +00:00
Mark Michelson
4d00d175c3
The deprecation of "username" in favor of "defaultuser" for SIP peers unfortunately
...
broke realtime configurations which still used the "username" field. This was taken
care of properly when reading from realtime but was not handled properly when updating
a realtime peer. This change also adds a deprecation NOTICE CLI message that will print
if using the deprecated "username" field.
(closes issue #11880 )
Reported by: cabal95
Patches:
11880.patch uploaded by putnopvut (license 60)
Tested by: cabal95
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101344 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-30 23:10:23 +00:00
Olle Johansson
9d07e7e9ee
Clarify configuration file that can be misunderstood
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101322 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-30 20:08:58 +00:00
Jason Parker
c6635ef6c2
Allow disabling the default ffwd/rewind keys in the ControlPlayback application.
...
This is done in a backward compat way.
If the "default" key for ffwd/rew is used for another option (such as stop), the "default" is removed.
(closes issue #11754 )
Reported by: johan
Patches:
app_controlplayback.c.option3.patch uploaded by johan (license 334)
Tested by: johan, qwell
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101296 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-30 19:03:16 +00:00
Olle Johansson
a1bf177286
Removing applications that wasn't ready for svn trunk, as trunk now has
...
pre-release status.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101271 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-30 17:12:06 +00:00
Tilghman Lesher
0d9a551f30
Make the VoicemailUsersList AMI command consistent with other manager list functions.
...
(closes issue #11874 )
Reported by: srt
Patches:
voicemail_ami-11847.patch uploaded by srt (license 378)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101269 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-01-30 16:54:20 +00:00