asterisk/asterisk.git
11 years agoAdd a couple of comments to clarify the unreffing of queues.
Mark Michelson [Mon, 11 Feb 2008 02:59:14 +0000 (02:59 +0000)]
Add a couple of comments to clarify the unreffing of queues.
Thanks to snuffy for the idea.

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

11 years agoFix a problem regarding network vs. host byte order
Mark Michelson [Mon, 11 Feb 2008 02:47:25 +0000 (02:47 +0000)]
Fix a problem regarding network vs. host byte order
in the event API.

ast_event_iterator_get_ie_type should return the ie type in
host byte order. Furthermore, ast_event_get_ie_raw should already
have its ie type argument in host byte order since it could be called
externally (and it in fact is called in this way by ast_event_get_cached).

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

11 years agowhitespace fixes only.
Michiel van Baak [Sat, 9 Feb 2008 11:27:10 +0000 (11:27 +0000)]
whitespace fixes only.

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

11 years agoMerged revisions 103197 via svnmerge from
Tilghman Lesher [Sat, 9 Feb 2008 06:33:10 +0000 (06:33 +0000)]
Merged revisions 103197 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r103197 | tilghman | 2008-02-09 00:23:49 -0600 (Sat, 09 Feb 2008) | 4 lines

Commit fix for being unable to send voicemail from VoiceMailMain
 Reported by: William F Acker (via the -users mailing list)
 Patch by: Corydon76 (license 14)

........

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

11 years agoMerge changes from team/mvanbaak/cli-command-audit
Russell Bryant [Fri, 8 Feb 2008 21:26:32 +0000 (21:26 +0000)]
Merge changes from team/mvanbaak/cli-command-audit
(closes issue #8925)

About a year ago, as Leif Madsen and Jim van Meggelen were going over the CLI
commands in Asterisk 1.4 for the next version of their book, they documented
a lot of inconsistencies.  This set of changes addresses all of these issues
and has been reviewed by Leif.

While this does introduce even more changes to the CLI command structure, it
makes everything consistent, which is the most important thing.

Thanks to all that helped with this one!

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

11 years agoForgot that AST_LIST_REMOVE_CURRENT takes different arguments in trunk than 1.4.
Mark Michelson [Fri, 8 Feb 2008 18:58:25 +0000 (18:58 +0000)]
Forgot that AST_LIST_REMOVE_CURRENT takes different arguments in trunk than 1.4.

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

11 years agoMerged revisions 103120 via svnmerge from
Mark Michelson [Fri, 8 Feb 2008 18:54:53 +0000 (18:54 +0000)]
Merged revisions 103120 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r103120 | mmichelson | 2008-02-08 12:48:17 -0600 (Fri, 08 Feb 2008) | 10 lines

Prevent a potential three-thread deadlock. Also added a comment block
to explicitly state the locking order necessary inside app_queue.

(closes issue #11862)
Reported by: flujan
Patches:
      11862.patch uploaded by putnopvut (license 60)
  Tested by: flujan

........

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

11 years agoMerged revisions 103070 via svnmerge from
Mark Michelson [Fri, 8 Feb 2008 18:02:48 +0000 (18:02 +0000)]
Merged revisions 103070 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r103070 | mmichelson | 2008-02-08 12:00:38 -0600 (Fri, 08 Feb 2008) | 6 lines

Yield the thread and return -1 if the ioctl fails for Zaptel timing device.

(closes issue #11891)
Reported by: tzafrir

........

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

11 years agoAt the request of ManxPower, include the UPGRADE.txt from 1.2 and 1.4, as well.
Russell Bryant [Fri, 8 Feb 2008 16:49:19 +0000 (16:49 +0000)]
At the request of ManxPower, include the UPGRADE.txt from 1.2 and 1.4, as well.
This way, if people need to go back and review what was deprecated in previous
major releases, it is readily available to them.  Thanks for the suggestion!

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

11 years agoFix a network byte order issue and ensure when creating an outgoing dialog that the...
Joshua Colp [Fri, 8 Feb 2008 15:31:00 +0000 (15:31 +0000)]
Fix a network byte order issue and ensure when creating an outgoing dialog that the socket always contains information such as type and port.
(closes issue #11916)
Reported by: mnnojd

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

11 years agoMerged revisions 102968 via svnmerge from
Joshua Colp [Fri, 8 Feb 2008 15:09:47 +0000 (15:09 +0000)]
Merged revisions 102968 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r102968 | file | 2008-02-08 11:08:20 -0400 (Fri, 08 Feb 2008) | 4 lines

Make sure the presence of dbsecret is factored into user scoring.
(closes issue #11952)
Reported by: bbhoss

........

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

11 years agoThis is a combination new feature/bug fix for app_chanspy.
Mark Michelson [Thu, 7 Feb 2008 21:37:00 +0000 (21:37 +0000)]
This is a combination new feature/bug fix for app_chanspy.

New feature: Add the 'e' option, which takes as an argument a list of
interfaces separated by colons. This way, you will only be able to spy
on this limited list of interfaces.

Bug fix: change some pointer checks to ast_strlen_zero so that spying
would work properly even if no channel was specified as the first argument
to chanspy.

(closes issue #10072)
Reported by: xmarksthespot
Patches:
      bugfix+newfeature10072patchtotrunkrev102726.diff uploaded by xmarksthespot (license 16)
  Tested by: xmarksthespot, mvanbaak

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

11 years agowhitespace fixes only
Michiel van Baak [Thu, 7 Feb 2008 21:08:46 +0000 (21:08 +0000)]
whitespace fixes only

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

11 years agoThere she goes! First commit from me to trunk \o/
Michiel van Baak [Thu, 7 Feb 2008 20:42:59 +0000 (20:42 +0000)]
There she goes! First commit from me to trunk \o/

Make app_alarmreceiver honor code guidelines and fix whitespace errors.
No functional changes.

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

11 years agoMerged revisions 102858 via svnmerge from
Jason Parker [Thu, 7 Feb 2008 20:02:17 +0000 (20:02 +0000)]
Merged revisions 102858 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r102858 | qwell | 2008-02-07 13:53:55 -0600 (Thu, 07 Feb 2008) | 7 lines

Specify which digit string was matched in debug message.

(closes issue #11949)
Reported by: dimas
Patches:
      v1-feature-debug.patch uploaded by dimas (license 88)

........

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

11 years agoMerged revisions 102807 via svnmerge from
Kevin P. Fleming [Thu, 7 Feb 2008 16:47:52 +0000 (16:47 +0000)]
Merged revisions 102807 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r102807 | kpfleming | 2008-02-07 10:41:55 -0600 (Thu, 07 Feb 2008) | 2 lines

document usage of 'transfer' configuration option for ISDN PRI switch-side transfers

........

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

11 years agoAdd the channel's unique id to the AgentCalled manager event to make it more consistent
Mark Michelson [Wed, 6 Feb 2008 20:12:43 +0000 (20:12 +0000)]
Add the channel's unique id to the AgentCalled manager event to make it more consistent
with other manager events.

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

11 years agoMerged revisions 102725 via svnmerge from
Joshua Colp [Wed, 6 Feb 2008 18:01:15 +0000 (18:01 +0000)]
Merged revisions 102725 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r102725 | file | 2008-02-06 13:59:23 -0400 (Wed, 06 Feb 2008) | 2 lines

Only consider a T.38-only INVITE compatible if we have both a joint capability between us and them and if they provided T.38.

........

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

11 years agoAdd REALTIME_STORE and REALTIME_DESTROY dialplan functions provided by sergee.
Terry Wilson [Wed, 6 Feb 2008 16:23:22 +0000 (16:23 +0000)]
Add REALTIME_STORE and REALTIME_DESTROY dialplan functions provided by sergee.
I just added the ability to set multiple fields at once after discussions with
Tilghman and Russell.  Currently limited to 30 fields.

(closes issue #11887)
Reported by: sergee
Patches:
      rt-func-store-destroy-multivalue.diff uploaded by otherwiseguy (license 396)
Tested by: sergee, otherwiseguy

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

11 years agoBlocked revisions 102653 via svnmerge
Joshua Colp [Wed, 6 Feb 2008 15:46:53 +0000 (15:46 +0000)]
Blocked revisions 102653 via svnmerge

........
r102653 | file | 2008-02-06 11:43:38 -0400 (Wed, 06 Feb 2008) | 4 lines

Add missing header file and ASTERISK_FILE_VERSION usage.
(closes issue #11936)
Reported by: snuffy

........

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

11 years agoMerged revisions 102651 via svnmerge from
Russell Bryant [Wed, 6 Feb 2008 15:20:31 +0000 (15:20 +0000)]
Merged revisions 102651 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r102651 | russell | 2008-02-06 09:19:41 -0600 (Wed, 06 Feb 2008) | 3 lines

Clarify setting DYNAMIC_FEATURES so that it gets inherited by outbound channels.
(due to a discussion between me and a user via email)

........

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

11 years agoMerged revisions 102576 via svnmerge from
Tilghman Lesher [Wed, 6 Feb 2008 03:05:00 +0000 (03:05 +0000)]
Merged revisions 102576 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r102576 | tilghman | 2008-02-05 18:26:02 -0600 (Tue, 05 Feb 2008) | 4 lines

Move around some defines to unbreak ODBC storage.
(closes issue #11932)
 Reported by: snuffy

........

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

11 years agoRemove an extra debug message I left in
Mark Michelson [Wed, 6 Feb 2008 00:08:58 +0000 (00:08 +0000)]
Remove an extra debug message I left in

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

11 years agoGet rid of any remaining ast_verbose calls in the code in favor of
Mark Michelson [Tue, 5 Feb 2008 23:00:15 +0000 (23:00 +0000)]
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

11 years agoChange verbose messages to use the ast_verb macro.
Mark Michelson [Tue, 5 Feb 2008 20:54:53 +0000 (20:54 +0000)]
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

11 years agoChange where priority of a goto is adjusted.
Jason Parker [Tue, 5 Feb 2008 20:51:50 +0000 (20:51 +0000)]
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

11 years agoMerged revisions 102453 via svnmerge from
Mark Michelson [Tue, 5 Feb 2008 20:03:54 +0000 (20:03 +0000)]
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

11 years agoYeah yeah, I broke building on trunk. Shoot me.
Joshua Colp [Tue, 5 Feb 2008 19:58:19 +0000 (19:58 +0000)]
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

11 years agoMerged revisions 102450 via svnmerge from
Joshua Colp [Tue, 5 Feb 2008 19:54:05 +0000 (19:54 +0000)]
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

11 years agoMerged revisions 102378 via svnmerge from
Joshua Colp [Tue, 5 Feb 2008 15:10:36 +0000 (15:10 +0000)]
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

11 years agoMerged revisions 102323 via svnmerge from
Tilghman Lesher [Mon, 4 Feb 2008 21:15:18 +0000 (21:15 +0000)]
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

11 years agoAdd line numbers to warning/error messages (and pretty up some existing ones).
Jason Parker [Mon, 4 Feb 2008 18:39:30 +0000 (18:39 +0000)]
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

11 years agoUpdate handling of asyncgoto so it properly works on channels that are currently...
Joshua Colp [Mon, 4 Feb 2008 15:16:05 +0000 (15:16 +0000)]
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

11 years agoChange examples to use G here also.
Jason Parker [Mon, 4 Feb 2008 14:37:11 +0000 (14:37 +0000)]
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

11 years agoMerged revisions 102214 via svnmerge from
Tilghman Lesher [Mon, 4 Feb 2008 05:32:00 +0000 (05:32 +0000)]
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

11 years agoCoreSettings and CoreStatus are missing the terminating "\r\n". Also, some
Tilghman Lesher [Sun, 3 Feb 2008 17:40:48 +0000 (17:40 +0000)]
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

11 years agoMerged revisions 102142 via svnmerge from
Olle Johansson [Sun, 3 Feb 2008 16:46:39 +0000 (16:46 +0000)]
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

11 years agoMerged revisions 102090 via svnmerge from
Olle Johansson [Sun, 3 Feb 2008 10:47:05 +0000 (10:47 +0000)]
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

11 years agoChange the version number in the configure script from 1.4 to 1.6
Russell Bryant [Sun, 3 Feb 2008 06:43:57 +0000 (06:43 +0000)]
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

11 years agoThe documentation page has to be in its own comment block to work, apparently.
Russell Bryant [Sat, 2 Feb 2008 06:10:20 +0000 (06:10 +0000)]
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

11 years agoMerged revisions 101989 via svnmerge from
Russell Bryant [Fri, 1 Feb 2008 23:08:28 +0000 (23:08 +0000)]
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

11 years agoMerged revisions 101942 via svnmerge from
Tilghman Lesher [Fri, 1 Feb 2008 22:12:55 +0000 (22:12 +0000)]
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

11 years agoMerged revisions 101894 via svnmerge from
Tilghman Lesher [Fri, 1 Feb 2008 19:44:39 +0000 (19:44 +0000)]
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

11 years agoFix multi, when using the LIKE query.
Tilghman Lesher [Fri, 1 Feb 2008 18:45:31 +0000 (18:45 +0000)]
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

11 years agoComparison, not set :) Thanks mvanbaak.
Jason Parker [Fri, 1 Feb 2008 18:24:52 +0000 (18:24 +0000)]
Comparison, not set :)  Thanks mvanbaak.

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

11 years agoClarify the pooling functionality by changing the config file keyword
Tilghman Lesher [Fri, 1 Feb 2008 18:08:44 +0000 (18:08 +0000)]
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

11 years agoMove an feof() call to before the fgets().
Jason Parker [Fri, 1 Feb 2008 17:44:32 +0000 (17:44 +0000)]
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

11 years agoBlocked revisions 101820 via svnmerge
Russell Bryant [Fri, 1 Feb 2008 17:28:06 +0000 (17:28 +0000)]
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

11 years agoMerged revisions 101818 via svnmerge from
Russell Bryant [Fri, 1 Feb 2008 17:26:31 +0000 (17:26 +0000)]
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

11 years agoMerged revisions 101772 via svnmerge from
Tilghman Lesher [Fri, 1 Feb 2008 16:01:22 +0000 (16:01 +0000)]
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

11 years agosimplify some code, tweak formatting, and reduce indentation
Russell Bryant [Fri, 1 Feb 2008 06:27:41 +0000 (06:27 +0000)]
simplify some code, tweak formatting, and reduce indentation

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

11 years agoreduce a level of indentation
Russell Bryant [Fri, 1 Feb 2008 06:20:24 +0000 (06:20 +0000)]
reduce a level of indentation

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

11 years agoGet rid of a goto where there was no extra cleanup happening at the exit point
Russell Bryant [Fri, 1 Feb 2008 06:14:29 +0000 (06:14 +0000)]
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

11 years agoMerged revisions 101693 via svnmerge from
Russell Bryant [Fri, 1 Feb 2008 00:34:11 +0000 (00:34 +0000)]
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

11 years agoMerged revisions 101649 via svnmerge from
Mark Michelson [Fri, 1 Feb 2008 00:08:17 +0000 (00:08 +0000)]
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

11 years agoMerged revisions 101601 via svnmerge from
Russell Bryant [Thu, 31 Jan 2008 23:14:57 +0000 (23:14 +0000)]
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

11 years agoForgot an !
Mark Michelson [Thu, 31 Jan 2008 22:12:50 +0000 (22:12 +0000)]
Forgot an !

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

11 years agoA change I made to accommodate the "linear" strategy in trunk caused queue strategies to
Mark Michelson [Thu, 31 Jan 2008 22:04:52 +0000 (22:04 +0000)]
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

11 years agoFix a simple deadlock that was introduced _right_ before this code got merged
Russell Bryant [Thu, 31 Jan 2008 21:33:33 +0000 (21:33 +0000)]
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

11 years agoHandle the case of a NULL state_interface when checking a realtime member.
Mark Michelson [Thu, 31 Jan 2008 21:31:15 +0000 (21:31 +0000)]
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

11 years agoMerged revisions 101531 via svnmerge from
Mark Michelson [Thu, 31 Jan 2008 21:02:12 +0000 (21:02 +0000)]
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

11 years agoMerged revisions 101482 via svnmerge from
Jason Parker [Thu, 31 Jan 2008 19:54:46 +0000 (19:54 +0000)]
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

11 years agoMerged revisions 101480 via svnmerge from
Steve Murphy [Thu, 31 Jan 2008 19:43:40 +0000 (19:43 +0000)]
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

11 years agoMerged revisions 101433 via svnmerge from
Russell Bryant [Thu, 31 Jan 2008 19:20:52 +0000 (19:20 +0000)]
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

11 years agoMerged revisions 101413-101414 via svnmerge from
Russell Bryant [Thu, 31 Jan 2008 19:13:20 +0000 (19:13 +0000)]
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

11 years agoAdd missing braces.
Joshua Colp [Thu, 31 Jan 2008 15:36:11 +0000 (15:36 +0000)]
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

11 years agoremove entry that is no longer in the tree
Russell Bryant [Thu, 31 Jan 2008 05:28:42 +0000 (05:28 +0000)]
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

11 years agoThe deprecation of "username" in favor of "defaultuser" for SIP peers unfortunately
Mark Michelson [Wed, 30 Jan 2008 23:10:23 +0000 (23:10 +0000)]
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

11 years agoClarify configuration file that can be misunderstood
Olle Johansson [Wed, 30 Jan 2008 20:08:58 +0000 (20:08 +0000)]
Clarify configuration file that can be misunderstood

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

11 years agoAllow disabling the default ffwd/rewind keys in the ControlPlayback application.
Jason Parker [Wed, 30 Jan 2008 19:03:16 +0000 (19:03 +0000)]
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

11 years agoRemoving applications that wasn't ready for svn trunk, as trunk now has
Olle Johansson [Wed, 30 Jan 2008 17:12:06 +0000 (17:12 +0000)]
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

11 years agoMake the VoicemailUsersList AMI command consistent with other manager list functions.
Tilghman Lesher [Wed, 30 Jan 2008 16:54:20 +0000 (16:54 +0000)]
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

11 years ago- doxygen fixes
Olle Johansson [Wed, 30 Jan 2008 16:39:14 +0000 (16:39 +0000)]
- doxygen fixes
- change function to void because it always returned the same value and no one read it.

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

11 years agoFormatting fixes
Olle Johansson [Wed, 30 Jan 2008 16:22:06 +0000 (16:22 +0000)]
Formatting fixes

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

11 years agoGet trunk to compile
Mark Michelson [Wed, 30 Jan 2008 15:42:54 +0000 (15:42 +0000)]
Get trunk to compile

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

11 years agoMerged revisions 101222 via svnmerge from
Joshua Colp [Wed, 30 Jan 2008 15:42:29 +0000 (15:42 +0000)]
Merged revisions 101222 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r101222 | file | 2008-01-30 11:41:04 -0400 (Wed, 30 Jan 2008) | 4 lines

Fix an issue where if a frame of higher sample size preceeded a frame of lower sample size and ast_slinfactory_read was called with a sample size of the combined values or higher a crash would happen.
(closes issue #11878)
Reported by: stuarth

........

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

11 years agoUpdate CHANGES with rtppage
Olle Johansson [Wed, 30 Jan 2008 15:36:58 +0000 (15:36 +0000)]
Update CHANGES with rtppage

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

11 years agoMerged revisions 101219 via svnmerge from
Jason Parker [Wed, 30 Jan 2008 15:35:28 +0000 (15:35 +0000)]
Merged revisions 101219 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #11875)
........
r101219 | qwell | 2008-01-30 09:34:37 -0600 (Wed, 30 Jan 2008) | 5 lines

Change default config to use descending channel order of groups, rather than ascending.
Fixes a potential source of confusion in glare-type situations.

Issue 11875, reported by JimVanM.

........

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

11 years agoAdd rtppage() application to do multicast or unicast RTP paging to SIP phones.
Olle Johansson [Wed, 30 Jan 2008 15:30:38 +0000 (15:30 +0000)]
Add rtppage() application to do multicast or unicast RTP paging to SIP phones.

(closes issue #11797)
Reported by: macbrody
Patches:
      app_rtppage-20080130.c uploaded by macbrody (license 352)

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

11 years agoMerged revisions 101216 via svnmerge from
Mark Michelson [Wed, 30 Jan 2008 15:27:14 +0000 (15:27 +0000)]
Merged revisions 101216 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r101216 | mmichelson | 2008-01-30 09:23:00 -0600 (Wed, 30 Jan 2008) | 5 lines

Fix a logic error with regards to autofill. Prior to this change, it was possible
for a caller to go out of turn if autofill were enabled and callers ahead in the queue were attempting
to call a member. This change fixes this.

........

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

11 years agosimplify this code and eliminate the return value cast that is no longer necessary
Kevin P. Fleming [Wed, 30 Jan 2008 12:48:32 +0000 (12:48 +0000)]
simplify this code and eliminate the return value cast that is no longer necessary

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

11 years agoConstifying the interface to get pvt_ids in the bridge, based on
Olle Johansson [Wed, 30 Jan 2008 11:27:56 +0000 (11:27 +0000)]
Constifying the interface to get pvt_ids in the bridge, based on
suggestion from (const char *) Kevin. Thanks!

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

11 years agoMerged revisions 101152 via svnmerge from
Olle Johansson [Wed, 30 Jan 2008 11:21:52 +0000 (11:21 +0000)]
Merged revisions 101152 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r101152 | oej | 2008-01-30 12:20:31 +0100 (Ons, 30 Jan 2008) | 7 lines

Stop musiconhold on attended transfer.
(closes issue #11872)
Reported by: gareth
Patches:
      svn-101018.patch uploaded by gareth (license 208)

........

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

11 years agoFix a typo
Jason Parker [Wed, 30 Jan 2008 00:58:23 +0000 (00:58 +0000)]
Fix a typo

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

11 years agoAdd the 'n' option to SpeechBackground, which has the application not answer the
Russell Bryant [Wed, 30 Jan 2008 00:04:17 +0000 (00:04 +0000)]
Add the 'n' option to SpeechBackground, which has the application not answer the
channel if it has not already been answered.

(closes SPD-51)

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

11 years agoMerged revisions 101080 via svnmerge from
Dwayne M. Hubbard [Tue, 29 Jan 2008 23:59:41 +0000 (23:59 +0000)]
Merged revisions 101080 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r101080 | dhubbard | 2008-01-29 17:50:42 -0600 (Tue, 29 Jan 2008) | 1 line

updated build_tools to handle the autotag directory structure changes; changes related to BE-353.  Patch by The Russell and reviewed by The Me.
........

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

11 years agoMerged revisions 101035 via svnmerge from
Mark Michelson [Tue, 29 Jan 2008 23:02:48 +0000 (23:02 +0000)]
Merged revisions 101035 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r101035 | mmichelson | 2008-01-29 17:02:03 -0600 (Tue, 29 Jan 2008) | 3 lines

Remove a memory leak from updating realtime queues

........

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

11 years agoOops, a sizeof error
Tilghman Lesher [Tue, 29 Jan 2008 22:04:15 +0000 (22:04 +0000)]
Oops, a sizeof error

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

11 years agoMerged revisions 100973 via svnmerge from
Mark Michelson [Tue, 29 Jan 2008 19:41:42 +0000 (19:41 +0000)]
Merged revisions 100973 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100973 | mmichelson | 2008-01-29 13:39:00 -0600 (Tue, 29 Jan 2008) | 6 lines

Fixing an erroneous return value returned when attempting to pause or unpause a queue member
fails.

Fixes BE-366, thanks to John Bigelow for writing the patch.

........

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

11 years agoBlocked revisions 100934 via svnmerge
Joshua Colp [Tue, 29 Jan 2008 17:58:37 +0000 (17:58 +0000)]
Blocked revisions 100934 via svnmerge

........
r100934 | file | 2008-01-29 13:57:05 -0400 (Tue, 29 Jan 2008) | 4 lines

Don't forget to record the channel so we know whether it is bridged or not later.
(closes issue #11811)
Reported by: slavon

........

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

11 years agoMerged revisions 100932 via svnmerge from
Russell Bryant [Tue, 29 Jan 2008 17:44:05 +0000 (17:44 +0000)]
Merged revisions 100932 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100932 | russell | 2008-01-29 11:43:41 -0600 (Tue, 29 Jan 2008) | 4 lines

Fix the last couple of issues related to building from a path that contains spaces.

(closes issue #11834)

........

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

11 years agoMerged revisions 100930 via svnmerge from
Jason Parker [Tue, 29 Jan 2008 17:42:48 +0000 (17:42 +0000)]
Merged revisions 100930 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100930 | qwell | 2008-01-29 11:41:43 -0600 (Tue, 29 Jan 2008) | 6 lines

Initialize an array to 0s if config option not specified.

(closes issue #11860)
Patches:
      misdn_get_config.v1.diff uploaded by IgorG (license 20)

........

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

11 years agoMerged revisions 100922 via svnmerge from
Russell Bryant [Tue, 29 Jan 2008 17:22:47 +0000 (17:22 +0000)]
Merged revisions 100922 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100922 | russell | 2008-01-29 11:21:33 -0600 (Tue, 29 Jan 2008) | 3 lines

Use GNU make magic instead of shell magic to escape spaces in the working directory.
(related to issue #11834)

........

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

11 years agoMerged revisions 100882 via svnmerge from
Russell Bryant [Tue, 29 Jan 2008 17:16:34 +0000 (17:16 +0000)]
Merged revisions 100882 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100882 | russell | 2008-01-29 11:06:43 -0600 (Tue, 29 Jan 2008) | 6 lines

Fix building Asterisk when the working path has spaces in it.

(closes issue #11834)
Reported by: spendergrass
Patched by: me

........

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

11 years agoMerged revisions 100835 via svnmerge from
Jason Parker [Tue, 29 Jan 2008 16:14:08 +0000 (16:14 +0000)]
Merged revisions 100835 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100835 | qwell | 2008-01-29 10:10:00 -0600 (Tue, 29 Jan 2008) | 5 lines

Allow zap groups above 30 to work properly.

(closes issue #11590)
Reported by: tbsky

........

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

11 years agoMake externip work as documented. If no port is specified it will use the value of...
Joshua Colp [Tue, 29 Jan 2008 15:30:19 +0000 (15:30 +0000)]
Make externip work as documented. If no port is specified it will use the value of bindport instead of always being 5060.
(closes issue #11858)
Reported by: hmodes

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

11 years agoMerged revisions 100793 via svnmerge from
Christian Richter [Tue, 29 Jan 2008 10:50:29 +0000 (10:50 +0000)]
Merged revisions 100793 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100793 | crichter | 2008-01-29 11:36:19 +0100 (Di, 29 Jan 2008) | 1 line

fixed potential segfault in misdn show channels CLI command
........

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

11 years agoMerged revisions 96199 via svnmerge from
Christian Richter [Tue, 29 Jan 2008 10:47:06 +0000 (10:47 +0000)]
Merged revisions 96199 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r96199 | crichter | 2008-01-03 13:12:27 +0100 (Do, 03 Jan 2008) | 1 line

make sure frame is completely clean, before we send it to asterisk as DTMF. If we don't make it clean, it happens that one way audio occurs..
........

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

11 years agoMerged revisions 100740 via svnmerge from
Olle Johansson [Tue, 29 Jan 2008 09:18:42 +0000 (09:18 +0000)]
Merged revisions 100740 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r100740 | oej | 2008-01-29 09:26:48 +0100 (Tis, 29 Jan 2008) | 8 lines

(closes issue #11736)
Reported by: MVF
Patches:
      bug11736-2.diff uploaded by oej (license 306)
Tested by: oej, MVF, revolution

(russellb: This was the showstopper for the release.)

........

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

11 years agoRemoving code that wasn't supposed to be there at all, only at an experimental stage
Olle Johansson [Tue, 29 Jan 2008 08:28:43 +0000 (08:28 +0000)]
Removing code that wasn't supposed to be there at all, only at an experimental stage
before I found another solution. Thanks Kevin, for reminding me.

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