]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
15 years agoInclude examples of FILTER usage in extension patterns where a "." may be a risk.
Tilghman Lesher [Wed, 10 Feb 2010 13:37:13 +0000 (13:37 +0000)] 
Include examples of FILTER usage in extension patterns where a "." may be a risk.

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

15 years agoMake sure that res_smdi loads regardless of configuration, since chan_dahdi depends...
Olle Johansson [Wed, 10 Feb 2010 08:24:34 +0000 (08:24 +0000)] 
Make sure that res_smdi loads regardless of configuration, since chan_dahdi depends on res_smdi

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

15 years agoFixes iaxs and iaxsl size off by one issue.
David Vossel [Tue, 9 Feb 2010 22:55:38 +0000 (22:55 +0000)] 
Fixes iaxs and iaxsl size off by one issue.

2^15 = 32768 which is the maximum allowed iax2 callnumber.
Creating the iaxs and iaxsl array of size 32768 means the maximum
callnumber is actually out of bounds.  This causes a nasty crash.

(closes issue #15997)
Reported by: exarv
Patches:
      iax_fix.diff uploaded by dvossel (license 671)

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

15 years agoRemove reference of documentation in source directory.
Jason Parker [Mon, 8 Feb 2010 20:39:50 +0000 (20:39 +0000)] 
Remove reference of documentation in source directory.

People don't always build Asterisk from source (distro packages, anybody?).

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

15 years agoRes_features depends on res_adsi in 1.4
Olle Johansson [Mon, 8 Feb 2010 11:57:52 +0000 (11:57 +0000)] 
Res_features depends on res_adsi in 1.4

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

15 years agoRemove contrib/firmware directory as it is empty
Kevin P. Fleming [Fri, 5 Feb 2010 18:32:29 +0000 (18:32 +0000)] 
Remove contrib/firmware directory as it is empty

Remove explicit license for IAXy firmware as it is no longer included in the tree

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

15 years agoUpdate main copyright date.
Sean Bright [Fri, 5 Feb 2010 17:03:35 +0000 (17:03 +0000)] 
Update main copyright date.

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

15 years agoChange channel state on local channels for busy,answer,ring.
Jeff Peeler [Thu, 4 Feb 2010 23:20:21 +0000 (23:20 +0000)] 
Change channel state on local channels for busy,answer,ring.

Previously local channels channel state never changed. This became problematic
when the state of the other side of the local channel was lost, for example
during a masquerade. Changing the state of the local channel allows for the
scenario to be detected when the channel state is set to ringing, but the peer
isn't ringing. The specific problem scenario is described in 164201. Although
this was noted on one of the issues, here is the tested dialplan verified to
work:

exten => 9700,1,Dial(Local/*9700@default&Local/#9700@default)

exten => *9700,1,Set(GLOBAL(TESTCHAN)=${CHANNEL:0:${MATH(${LEN(${CHANNEL})}-1):0:2}}1)
exten => *9700,n,wait(3) ;3 works, 1 did not
exten => *9700,n,Dial(SIP/5001)

exten => #9700,1,Wait(1) ;1 works, 3 did not
exten => #9700,n,ChannelRedirect(${TESTCHAN},parkedcalls,701,1)

(closes issue #14992)
Reported by: davidw

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

15 years agoBackup and restore original textfile, for prosthesis (gerund of prepend).
Tilghman Lesher [Mon, 1 Feb 2010 23:13:44 +0000 (23:13 +0000)] 
Backup and restore original textfile, for prosthesis (gerund of prepend).

Also, fix menuselect such that changing voicemail build options correctly
causes rebuild.

(closes issue #16415)
 Reported by: tomo1657
 Patches:
       prepention.patch uploaded by tomo1657 (license 484)
       (with modifications by me to backport to 1.4)

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

15 years agoWhen a transferer hangs up during an attended transfer BEFORE the transfer is answere...
Tilghman Lesher [Mon, 1 Feb 2010 18:38:37 +0000 (18:38 +0000)] 
When a transferer hangs up during an attended transfer BEFORE the transfer is answered, don't stop playing MOH.

(closes issue #16513)
 Reported by: litnimax
 Patches:
       atxfer_moh_16513.patch uploaded by gknispel proformatique (license 261)
 Tested by: litnimax

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

15 years agoRevert previous chan_local fix (r236981) and fix instead by destroying expired frames...
Tilghman Lesher [Mon, 1 Feb 2010 17:46:31 +0000 (17:46 +0000)] 
Revert previous chan_local fix (r236981) and fix instead by destroying expired frames in the queue.

(closes issue #16525)
 Reported by: kobaz
 Patches:
       20100126__issue16525.diff.txt uploaded by tilghman (license 14)
       20100129__issue16525__1.6.0.diff.txt uploaded by tilghman (license 14)
 Tested by: kobaz, atis

(closes issue #16581)
 Reported by: ZX81

(closes issue #16681)
 Reported by: alexr1

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

15 years agoOops, correct wrong link (https vs. http) in previous commit.
Leif Madsen [Thu, 28 Jan 2010 18:48:24 +0000 (18:48 +0000)] 
Oops, correct wrong link (https vs. http) in previous commit.

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

15 years agoUpdate location of bug tracker in documentation.
Leif Madsen [Thu, 28 Jan 2010 18:46:20 +0000 (18:46 +0000)] 
Update location of bug tracker in documentation.

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

15 years agoFix a bogus third argument to ast_copy_string().
Russell Bryant [Thu, 28 Jan 2010 15:03:17 +0000 (15:03 +0000)] 
Fix a bogus third argument to ast_copy_string().

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

15 years agoRevert 243570, I should have looked at this closer. Will reopen the issue, but
Jeff Peeler [Wed, 27 Jan 2010 20:35:56 +0000 (20:35 +0000)] 
Revert 243570, I should have looked at this closer. Will reopen the issue, but
am leaving the review closed as the change was pointless.

(issue #16488)

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

15 years agoExtend announcement URL used with Queue from 80 chars to PATH_MAX.
Jeff Peeler [Wed, 27 Jan 2010 18:47:34 +0000 (18:47 +0000)] 
Extend announcement URL used with Queue from 80 chars to PATH_MAX.

(closes issue #16488)
Reported by: syspert
Patches:
      soundfilelen.pacth-2 uploaded by syspert (license 938)

Review: https://reviewboard.asterisk.org/r/475/

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

15 years agoUse a safe list traversal while checking for duplicate vars in pbx_builtin_setvar_helper.
Mark Michelson [Wed, 27 Jan 2010 18:06:43 +0000 (18:06 +0000)] 
Use a safe list traversal while checking for duplicate vars in pbx_builtin_setvar_helper.

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

15 years agofixes bug with channel receiving wrong privileges after call parking
David Vossel [Tue, 26 Jan 2010 23:55:49 +0000 (23:55 +0000)] 
fixes bug with channel receiving wrong privileges after call parking

(closes issue #16429)
Reported by: Yasuhiro Konishi
Patches:
      features.c.diff uploaded by Yasuhiro Konishi (license 947)
Tested by: dvossel

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

15 years agoRemove unnecessary code in ast_read as issue 16058 has been fully solved now.
Jeff Peeler [Tue, 26 Jan 2010 18:19:10 +0000 (18:19 +0000)] 
Remove unnecessary code in ast_read as issue 16058 has been fully solved now.

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

15 years agoErr, and use the new menuselect define, too.
Tilghman Lesher [Mon, 25 Jan 2010 21:50:22 +0000 (21:50 +0000)] 
Err, and use the new menuselect define, too.

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

15 years agoOnly rebuild parsers by an option in menuselect
Tilghman Lesher [Mon, 25 Jan 2010 21:36:33 +0000 (21:36 +0000)] 
Only rebuild parsers by an option in menuselect

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

15 years agoRestore FreeBSD to able-to-compile-ish-mode
Tilghman Lesher [Mon, 25 Jan 2010 20:15:45 +0000 (20:15 +0000)] 
Restore FreeBSD to able-to-compile-ish-mode

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

15 years agoRemove debugging that indeed should have been gone before commit. Sorry.
Olle Johansson [Mon, 25 Jan 2010 20:08:32 +0000 (20:08 +0000)] 
Remove debugging that indeed should have been gone before commit. Sorry.

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

15 years agoReport error when writing to functions returns error in AMI setvar action
Olle Johansson [Mon, 25 Jan 2010 20:03:38 +0000 (20:03 +0000)] 
Report error when writing to functions returns error in AMI setvar action

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

15 years agoBuildbot pointed out an error (thanks, buildbot!)
Tilghman Lesher [Mon, 25 Jan 2010 05:42:22 +0000 (05:42 +0000)] 
Buildbot pointed out an error (thanks, buildbot!)

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

15 years agoOops, should have used CMD_PREFIX, not ECHO_PREFIX, for the commands.
Tilghman Lesher [Mon, 25 Jan 2010 05:33:37 +0000 (05:33 +0000)] 
Oops, should have used CMD_PREFIX, not ECHO_PREFIX, for the commands.

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

15 years agoMake the build of the Asterisk expression parser match that of the AEL parser.
Tilghman Lesher [Mon, 25 Jan 2010 05:13:28 +0000 (05:13 +0000)] 
Make the build of the Asterisk expression parser match that of the AEL parser.

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

15 years agoOnly rebuild bison and flex source files on demand, if bison and flex are detected...
Tilghman Lesher [Sun, 24 Jan 2010 06:33:01 +0000 (06:33 +0000)] 
Only rebuild bison and flex source files on demand, if bison and flex are detected by the configure script.

Changed after discussion on the -dev list about possible unnecessary build
failures, due to checkouts/untars causing these special source files to
possibly be newer than their resulting C files.  This should additionally
ensure that nobody need learn about extra Makefile arguments to ensure the
proper files get rebuilt when changes are made to these special source files.

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

15 years agoRebuild from flex, bison sources when necessary.
Tilghman Lesher [Fri, 22 Jan 2010 21:44:18 +0000 (21:44 +0000)] 
Rebuild from flex, bison sources when necessary.

(issue #14629)
 Reported by: Marquis
 Patches:
       20100121__issue14629.diff.txt uploaded by tilghman (license 14)

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

15 years agoInitialize notify_types to NULL
Olle Johansson [Fri, 22 Jan 2010 09:19:30 +0000 (09:19 +0000)] 
Initialize notify_types to NULL

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

15 years agoAdd Dialed Number Identifier (DNID) field to cdr.
Alec L Davis [Fri, 22 Jan 2010 01:48:10 +0000 (01:48 +0000)] 
Add Dialed Number Identifier (DNID) field to cdr.

Branch support, retains ABI, if backend CDR collector is adaptive then database
requires 'dnid' field to be added, otherwise no functional changes.

  Reported by: alecdavis
  Tested by: alecdavis
  Patch
 cdr_dnid.diff2.txt uploaded by alecdavis (license 585)

Review: https://reviewboard.asterisk.org/r/455/

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

15 years agoFix configure check for PTHREAD_ONCE_INIT when manually adding -Wall to CFLAGS.
Sean Bright [Thu, 21 Jan 2010 15:25:46 +0000 (15:25 +0000)] 
Fix configure check for PTHREAD_ONCE_INIT when manually adding -Wall to CFLAGS.

(closes issue #16666)
Reported by: romain_proformatique

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

15 years agoGuard against division by zero.
Tilghman Lesher [Thu, 21 Jan 2010 05:53:17 +0000 (05:53 +0000)] 
Guard against division by zero.

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

15 years agofixes parsing error in Makefile.
David Vossel [Wed, 20 Jan 2010 20:00:04 +0000 (20:00 +0000)] 
fixes parsing error in Makefile.

Some echo lines were missing "; . Thanks to jparker for pointing out
the problem.

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

15 years agoModify fix for issue 16554 to be more inline with what is already in trunk.
Sean Bright [Wed, 20 Jan 2010 14:12:45 +0000 (14:12 +0000)] 
Modify fix for issue 16554 to be more inline with what is already in trunk.

I should have taken a closer look at trunk/1.6.x, as this bug has already been
fixed in a much more simple manner, by just settings o->vars to NULL after the
ast_pbx_outgoing_* calls.

(issue #16554)
Reported by: mav3rick

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

15 years agoFix a memory leak in pbx_spool when using SetVar in a call file.
Sean Bright [Wed, 20 Jan 2010 14:06:49 +0000 (14:06 +0000)] 
Fix a memory leak in pbx_spool when using SetVar in a call file.

In pbx_spool, when we are freeing our 'outgoing' struct, we weren't deallocating
the ast_variable list we had built from SetVars in a call file.  Adding a call to
ast_variables_destroy in our deallocation routine works, but only if the variables
have not already been passed into ast_pbx_outgoing_app() or _exten(), both of
which take care of destroying the variable list for us.

(closes issue #16554)
Reported by: mav3rick
Patches:
      issue16554_20100119.patch uploaded by seanbright (license 71)
Tested by: mav3rick

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

15 years agoUpdate CDR variables as pbx starts
Alec L Davis [Wed, 20 Jan 2010 09:38:09 +0000 (09:38 +0000)] 
Update CDR variables as pbx starts

Allows CDR variables added in cdr.c:set_one_cid to become visable during the call,
by executing ast_cdr_update() early in __ast_pbx_run.

Based on cdr_update.diff3.txt

(issue #16638)
Reported by: alecdavis
Patches:
      cdr_update.diff3.txt uploaded by alecdavis (license 585)
Tested by: alecdavis

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

15 years agoAllow parallel make (-j) to work properly.
Jason Parker [Tue, 19 Jan 2010 17:41:00 +0000 (17:41 +0000)] 
Allow parallel make (-j) to work properly.

1.4 changes are quite different from the others.

(issue #16489)
Reported by: Chainsaw
Tested by: qwell

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

15 years agoFix deadlock in agent_read by removing call to agent_logoff.
Jeff Peeler [Tue, 19 Jan 2010 17:22:18 +0000 (17:22 +0000)] 
Fix deadlock in agent_read by removing call to agent_logoff.

One must always lock the agents list lock before the agent private. agent_read
locks the private immediately, so locking the agents list lock is not an
option (which is what agent_logoff requires). Because agent_read already
has access to the agent private all that is necessary is to do the required
hanging up that agent_logoff performed.

(closes issue #16321)
Reported by: valon24
Patches:
      bug16321.patch uploaded by jpeeler (license 325)

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

15 years agoPlug a memory leak when reading configs with their comments.
Sean Bright [Mon, 18 Jan 2010 19:54:19 +0000 (19:54 +0000)] 
Plug a memory leak when reading configs with their comments.

While reading through configuration files with the intent of returning their
full contents (comments specifically) we allocated some memory and then forgot
to free it.  This doesn't fix 16554 but clears up a leak I had in the lab.

(issue #16554)
Reported by: mav3rick
Patches:
      issue16554_20100118.patch uploaded by seanbright (license 71)
Tested by: seanbright

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

15 years agoupdated transmit_silence option documentation in asterisk.conf
David Vossel [Mon, 18 Jan 2010 16:51:35 +0000 (16:51 +0000)] 
updated transmit_silence option documentation in asterisk.conf

This patch updates the transmit_silence option to better document
why the option exists, and what it affects.  Thanks to russell
for providing the verbage for this update.

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

15 years agoFix muted compilation in 1.4 only
Olle Johansson [Mon, 18 Jan 2010 13:27:22 +0000 (13:27 +0000)] 
Fix muted compilation in 1.4 only

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

15 years agoFix a spelling error in the asterisk.conf sample.
Russell Bryant [Fri, 15 Jan 2010 23:06:11 +0000 (23:06 +0000)] 
Fix a spelling error in the asterisk.conf sample.

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

15 years agoDisallow leaving more than maxmsg voicemails.
Tilghman Lesher [Fri, 15 Jan 2010 20:52:27 +0000 (20:52 +0000)] 
Disallow leaving more than maxmsg voicemails.
This is a possibility because our previous method assumed that no messages are
left in parallel, which is not a safe assumption.  Due to the vmu structure
duplication, it was necessary to track in-process messages via a separate
structure.  If at some point, we switch vmu to an ao2-reference-counted
structure, which would eliminate the prior noted duplication of structures,
then we could incorporate this new in-process structure directly into vmu.
(closes issue #16271)
 Reported by: sohosys
 Patches:
       20100108__issue16271.diff.txt uploaded by tilghman (license 14)
       20100108__issue16271__trunk.diff.txt uploaded by tilghman (license 14)
       20100108__issue16271__1.6.0.diff.txt uploaded by tilghman (license 14)
 Tested by: jsutton

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

15 years agoFix regression for timed out parked call returning to caller
Jeff Peeler [Wed, 13 Jan 2010 19:43:33 +0000 (19:43 +0000)] 
Fix regression for timed out parked call returning to caller

This issue seems to have been exposed by the fix in 160390 whereby using a
masquerade prevented a crash. The new channel used in the masquerade was
not copying the macro information from the old channel.

(closes issue #15459)
Reported by: djrodman
Patches:
      patch_15459.txt uploaded by mnick (license )

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

15 years agoadd silence gen to wait apps
David Vossel [Wed, 13 Jan 2010 17:16:12 +0000 (17:16 +0000)] 
add silence gen to wait apps

asterisk.conf's 'transmit_silence' option existed before
this patch, but was limited to only generating silence
while recording and sending DTMF. Now enabling the
transmit_silence option generates silence during wait
times as well.

To achieve this, ast_safe_sleep has been modified to
generate silence anytime no other generators are present
and transmit_silence is enabled. Wait apps not using
ast_safe_sleep now generate silence when transmit_silence
is enabled as well.

(closes issue 0016524)
Reported by: kobaz

(closes issue 0016523)
Reported by: kobaz
Tested by: dvossel

Review: https://reviewboard.asterisk.org/r/456/

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

15 years agoPortability and other fixes for the safe_asterisk script
Tilghman Lesher [Tue, 12 Jan 2010 03:18:36 +0000 (03:18 +0000)] 
Portability and other fixes for the safe_asterisk script
(closes issue #16416)
 Reported by: bklang
 Patches:
       safe_asterisk-compat-1.patch uploaded by bklang (license 919)
       20100106__issue16416__trunk.diff.txt uploaded by tilghman (license 14)
 Tested by: bklang

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

15 years ago-1 is interpreted as an error, intead of the maximum mask.
Tilghman Lesher [Sat, 9 Jan 2010 00:57:58 +0000 (00:57 +0000)] 
-1 is interpreted as an error, intead of the maximum mask.
(closes issue #16241)
 Reported by: vnovy
 Patches:
       manager.c.patch uploaded by vnovy (license 922)

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

15 years agoStop a crash when no peer is passed to masq_park_call.
Jeff Peeler [Fri, 8 Jan 2010 23:28:37 +0000 (23:28 +0000)] 
Stop a crash when no peer is passed to masq_park_call.

(distantly related to issue #16406)

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

15 years agoProperly calculate the remaining space in the output string when reducing format...
Matthew Nicholson [Fri, 8 Jan 2010 19:20:44 +0000 (19:20 +0000)] 
Properly calculate the remaining space in the output string when reducing format strings.

(closes issue #16560)
Reported by: goldwein

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

15 years agofixes crash in "scheduled_destroy" in chan_iax
David Vossel [Thu, 7 Jan 2010 20:14:25 +0000 (20:14 +0000)] 
fixes crash in "scheduled_destroy" in chan_iax

A signed short was used to represent a callnumber.  This is makes
it possible to attempt to access the iaxs array with a negative
index.

(closes issue #16565)
Reported by: jensvb

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

15 years agoChange in sip show channels display format allowing more digits for CID
David Vossel [Thu, 7 Jan 2010 20:06:00 +0000 (20:06 +0000)] 
Change in sip show channels display format allowing more digits for CID

(closes issue 0016459)
Reported by: Rzadzins
Patches:
      chan_sip_longer_cid.patch uploaded by Rzadzins (license 953)

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

15 years agoRevise documentation on disposition values to the actual values used.
Tilghman Lesher [Wed, 6 Jan 2010 21:41:55 +0000 (21:41 +0000)] 
Revise documentation on disposition values to the actual values used.
(closes issue #16289)
 Reported by: wdoekes

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

15 years agoResolve a crash due to an ast_frame not being fully initialized.
Russell Bryant [Wed, 6 Jan 2010 15:18:22 +0000 (15:18 +0000)] 
Resolve a crash due to an ast_frame not being fully initialized.

(closes issue #16531)
Reported by: john8675309

(closes SWP-615)

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

15 years agoChange a NOTICE log message to DEBUG where it belongs.
Russell Bryant [Tue, 5 Jan 2010 17:13:28 +0000 (17:13 +0000)] 
Change a NOTICE log message to DEBUG where it belongs.

(closes issue #16479)
Reported by: alexrecarey

(closes SWP-577)

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

15 years agoBounds checking for input string
Tilghman Lesher [Mon, 4 Jan 2010 21:45:46 +0000 (21:45 +0000)] 
Bounds checking for input string
(closes issue #16407)
 Reported by: qwell
 Patches:
       20100104__issue16407.diff.txt uploaded by tilghman (license 14)

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

15 years agoRegression in issue #15421 - Pattern matching
Tilghman Lesher [Mon, 4 Jan 2010 20:57:35 +0000 (20:57 +0000)] 
Regression in issue #15421 - Pattern matching
(closes issue #16482)
 Reported by: wdoekes
 Patches:
       astsvn-16482-betterfix.diff uploaded by wdoekes (license 717)
       20091223__issue16482.diff.txt uploaded by tilghman (license 14)
 Tested by: wdoekes, tilghman

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

15 years agoAdd a flag to disable the Background behavior, for AGI users.
Tilghman Lesher [Mon, 4 Jan 2010 18:19:00 +0000 (18:19 +0000)] 
Add a flag to disable the Background behavior, for AGI users.
This is in a section of code that relates to two other issues, namely
issue #14011 and issue #14940), one of which was the behavior of
Background when called with a context argument that matched the current
context.  This fix broke FreePBX, however, in a post-Dial situation.
Needless to say, this is an extremely difficult collision of several
different issues.  While the use of an exception flag is ugly, fixing all
of the issues linked is rather difficult (although if someone would like
to propose a better solution, we're happy to entertain that suggestion).
(closes issue #16434)
 Reported by: rickead2000
 Patches:
       20091217__issue16434.diff.txt uploaded by tilghman (license 14)
       20091222__issue16434__1.6.1.diff.txt uploaded by tilghman (license 14)
 Tested by: rickead2000

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

15 years agoIt's also possible for the Local channel to directly execute an Application.
Tilghman Lesher [Mon, 4 Jan 2010 16:18:59 +0000 (16:18 +0000)] 
It's also possible for the Local channel to directly execute an Application.
Reviewboard: https://reviewboard.asterisk.org/r/452/

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

15 years agoRelease memory of the contact acl before unloading module
Olle Johansson [Sat, 2 Jan 2010 09:52:30 +0000 (09:52 +0000)] 
Release memory of the contact acl before unloading module

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

15 years agoDon't queue frames to channels that have no means to process them.
Tilghman Lesher [Wed, 30 Dec 2009 21:57:10 +0000 (21:57 +0000)] 
Don't queue frames to channels that have no means to process them.
(closes issue #15609)
 Reported by: aragon
 Patches:
       20091230__issue16521__1.4__chan_local_only.diff.txt uploaded by tilghman (license 14)
 Tested by: aragon

Review: https://reviewboard.asterisk.org/r/452/

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

15 years agoRemove conflicting function definitions (asterisk.h) so LOW_MEMORY compiles.
Jeff Peeler [Wed, 30 Dec 2009 20:25:11 +0000 (20:25 +0000)] 
Remove conflicting function definitions (asterisk.h) so LOW_MEMORY compiles.

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

15 years agoTry a test compile to see if PTHREAD_ONCE_INIT requires extra braces.
Sean Bright [Mon, 28 Dec 2009 15:12:08 +0000 (15:12 +0000)] 
Try a test compile to see if PTHREAD_ONCE_INIT requires extra braces.

There was conditional code (based on build platform) to optioinally wrap
PTHREAD_ONCE_INIT in braces that was removed since it is fixed in newer versions
of Solaris/OpenSolaris, but I am still running into it on Solaris 10 x86 so add
a configure-time check for it.

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

15 years agoAvoid a crash with large numbers of MeetMe conferences.
Sean Bright [Mon, 28 Dec 2009 12:43:36 +0000 (12:43 +0000)] 
Avoid a crash with large numbers of MeetMe conferences.

Similar to changes made to Queue(), when we have large numbers of conferences in
meetme.conf (1000s) and we use alloca()/strdupa(), we can blow out the stack and
crash, so instead just use a single fixed buffer.

(closes issue #16509)
Reported by: Kashif Raza
Patches:
      20091223_16509.patch uploaded by seanbright (license 71)
Tested by: seanbright

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

15 years agoTurn on colors in the daemon, since there's many requests for it on Ubuntu.
Tilghman Lesher [Sun, 27 Dec 2009 18:19:38 +0000 (18:19 +0000)] 
Turn on colors in the daemon, since there's many requests for it on Ubuntu.

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

15 years agoupdate to latest releases with zero uid/gid
Kevin P. Fleming [Sat, 26 Dec 2009 15:26:17 +0000 (15:26 +0000)] 
update to latest releases with zero uid/gid

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

15 years agoProperly set T.38 attributes and don't return before T.38 ports are configured when...
Matthew Nicholson [Wed, 23 Dec 2009 15:21:28 +0000 (15:21 +0000)] 
Properly set T.38 attributes and don't return before T.38 ports are configured when T.38 is found but no audio stream is found.

(closes issue #16318)
Reported by: bird_of_Luck
Patches:
      t38-sdp-parsing-fix3.diff uploaded by mnicholson (license 96), written by vrban and mnicholson
Tested by: vrban, mihaill

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

15 years agoIf EXEC only gets a single argument, don't crash when the second is used.
Tilghman Lesher [Wed, 23 Dec 2009 02:55:24 +0000 (02:55 +0000)] 
If EXEC only gets a single argument, don't crash when the second is used.
(closes issue #16504)
 Reported by: bklang

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

15 years agofixes issue with p->method incorrectly set to ACK
David Vossel [Tue, 22 Dec 2009 16:58:19 +0000 (16:58 +0000)] 
fixes issue with p->method incorrectly set to ACK

It is possible for a second ACK to come in for a retransmitted message.
If an ack does not match an unacked message in our queue, restore the previous
p->method as this ACK is completely ignored.

(closes issue #16295)
Reported by: omolenkamp
Patches:
      issue16295_v2.diff uploaded by dvossel (license 671)

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

15 years agoChange Monitor to not assume file to write to does not contain pathing.
Jeff Peeler [Mon, 21 Dec 2009 19:43:41 +0000 (19:43 +0000)] 
Change Monitor to not assume file to write to does not contain pathing.

227944 changed the fname_base argument to always append the configured monitor
path. This change was necessary to properly compare files for uniqueness.
If a full path is given though, nothing needs to be appended and that is
handled correctly now.

(closes issue #16377)
(closes issue #16376)
Reported by: bcnit
Patches:
      res_monitor.c-issue16376-1.patch uploaded by dant (license 670)

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

15 years agoSend parking lot announcement to the channel which parked the call, not the park-ee.
Tilghman Lesher [Mon, 21 Dec 2009 16:45:03 +0000 (16:45 +0000)] 
Send parking lot announcement to the channel which parked the call, not the park-ee.
(closes issue #16234)
 Reported by: yeshuawatso
 Patches:
       20091210__issue16234.diff.txt uploaded by tilghman (license 14)
       20091221__issue16234__1.4.diff.txt uploaded by tilghman (license 14)
 Tested by: yeshuawatso

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

15 years agoRevise verbiage, per #asterisk-dev discussion
Tilghman Lesher [Fri, 18 Dec 2009 22:39:30 +0000 (22:39 +0000)] 
Revise verbiage, per #asterisk-dev discussion

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

15 years agoCorrect CDR dispositions for BUSY/FAILED
Jeff Peeler [Fri, 18 Dec 2009 22:29:51 +0000 (22:29 +0000)] 
Correct CDR dispositions for BUSY/FAILED

This patch is simple in that it reorders the disposition defines so that the fix
for issue 12946 works properly (the default CDR disposition was changed to
AST_CDR_NOANSWER). Also, the AST_CDR_FLAG_ORIGINATED flag was set in ast_call to
ensure all CDR records are written.

The side effects of CDR changes are scary, so I'm documenting the test cases
performed to attempt to catch any regressions. The following tests were all
performed using 1.4 rev 195881 vs head (235571) + patch:

A calls B
C calls B (busy)
Hangup C
Hangup A

(Both SIP and features)
A calls B
A blind transfers to C
Hangup C

(Both SIP and features)
A calls B
A attended transfers to C
Hangup C

A calls B
A attended transfers to C (SIP)
C blind transfers to A (features)
Hangup A

All of the test scenario CDRs matched.

The following tests were performed just with the patch to ensure proper operation
(with unanswered=yes):

exten =>s,1,Answer
exten =>s,n,ResetCDR(w)
exten =>s,n,ResetCDR(w)

exten =>s,1,ResetCDR(w)
exten =>s,n,ResetCDR(w)

(closes issue #16180)
Reported by: aatef
Patches:
      bug16180.patch uploaded by jpeeler (license 325)

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

15 years agoPoint to the typical missing package, not the cryptic "termcap support".
Tilghman Lesher [Fri, 18 Dec 2009 21:18:16 +0000 (21:18 +0000)] 
Point to the typical missing package, not the cryptic "termcap support".

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

15 years agoUse context from which Macro is executed, not macro context, if applicable.
Tilghman Lesher [Thu, 17 Dec 2009 17:17:51 +0000 (17:17 +0000)] 
Use context from which Macro is executed, not macro context, if applicable.
Also, ensure that the extension COULD match, not just that it won't match more.
(closes issue #16113)
 Reported by: OrNix
 Patches:
       20091216__issue16113.diff.txt uploaded by tilghman (license 14)
 Tested by: OrNix

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

15 years agoAdd a line showing that we can use CIDR notation.
Jared Smith [Tue, 15 Dec 2009 21:07:55 +0000 (21:07 +0000)] 
Add a line showing that we can use CIDR notation.

patch by jsmith, after discussion with jtodd

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

15 years agoMandatory argument checking
Tilghman Lesher [Tue, 15 Dec 2009 15:29:24 +0000 (15:29 +0000)] 
Mandatory argument checking
(closes issue #16446)
 Reported by: nicchap

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

15 years agoDeal with the situation where .flavor exists but .version does not.
Tilghman Lesher [Mon, 14 Dec 2009 21:09:56 +0000 (21:09 +0000)] 
Deal with the situation where .flavor exists but .version does not.
Also make the script slightly more portable, in keeping with autoconf syntax.
(closes issue #14737)
 Reported by: davidw

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

15 years agoUpdate IMAP build documentation.
Leif Madsen [Mon, 14 Dec 2009 17:05:01 +0000 (17:05 +0000)] 
Update IMAP build documentation.
Update the IMAP build documentation to show how to build on 64-bit
platforms.

(issue #16433)
Reported by: shrift
Tested by: lmadsen

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

15 years agoStop sending 183's after call hangup.
Olle Johansson [Mon, 14 Dec 2009 10:16:00 +0000 (10:16 +0000)] 
Stop sending 183's after call hangup.

There where still cases where the 183 keep-alive mechanism would not stop
sending 183's even though the Asterisk server had sent a final reply to
the invite.

EDVX-28

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

15 years agoFix talking detection status after conference user is muted.
Jeff Peeler [Fri, 11 Dec 2009 22:37:21 +0000 (22:37 +0000)] 
Fix talking detection status after conference user is muted.

This patch ensures that when a conference user is muted that the accompanying
AMI Meetme talking off event is sent. Also, the meetme list output is updated
to show the muted user as unmonitored.

(closes issue #16247)
Reported by: dimas
Patches:
      v3-16247.patch uploaded by dimas (license 88)

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

15 years agoFix unselecting of menuselect options via GLOBAL_MAKEOPTS and USER_MAKEOPTS.
Jason Parker [Thu, 10 Dec 2009 20:58:09 +0000 (20:58 +0000)] 
Fix unselecting of menuselect options via GLOBAL_MAKEOPTS and USER_MAKEOPTS.

(closes issue #16296)
Reported by: abelbeck
Patches:
      issue16296-20091210.diff uploaded by qwell (license 4)
(abelbeck described a fix, which I expanded upon)
Tested by: abelbeck, qwell, lmadsen

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

15 years agoWhen we receive no response at all to our INVITE, allow the channel to be destroyed.
Tilghman Lesher [Thu, 10 Dec 2009 16:08:20 +0000 (16:08 +0000)] 
When we receive no response at all to our INVITE, allow the channel to be destroyed.
(closes issue #15627)
 Reported by: falves11
 Patches:
       20091209__issue15627__1.6.0.diff.txt uploaded by tilghman (license 14)
       20091209__issue15627__1.4.diff.txt uploaded by tilghman (license 14)
 Tested by: falves11
Review: https://reviewboard.asterisk.org/r/446/
(closes issue #15716)
Reported by: dant
(closes issue #16270)
Reported by: corruptor
(closes issue #15356)
Reported by: falves11
(issue #16382)
Reported by: lftsy

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

15 years agoUpdate chan_spy documentation.
Leif Madsen [Thu, 10 Dec 2009 15:49:12 +0000 (15:49 +0000)] 
Update chan_spy documentation.
Update the documentation in ChanSpy and ExtenSpy to reflect that only a
single group can be specified to the g() option.

(closes issue #16420)
Reported by: diatonic

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

15 years agoFix breakage of the "module load <module>" CLI command.
Russell Bryant [Wed, 9 Dec 2009 19:58:46 +0000 (19:58 +0000)] 
Fix breakage of the "module load <module>" CLI command.

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

15 years agoSet a module load priority for format modules.
Russell Bryant [Wed, 9 Dec 2009 15:14:21 +0000 (15:14 +0000)] 
Set a module load priority for format modules.

A recent change to app_voicemail made it such that the module now assumes that
all format modules are available while processing voicemail configuration.
However, when autoloading modules, it was possible that app_voicemail was
loaded before the format modules. Since format modules don't depend on
anything, set a module load priority on them to ensure that they get loaded
first when autoloading.

This version of the patch is specific to Asterisk 1.4 and 1.6.0.  These versions
did not already support module load priority in the module API.  This adds a
trivial version of this which is just a module flag to include it in a pass before
loading "everything".

Thanks to mmichelson for the review!

(closes issue #16412)
Reported by: jiddings
Tested by: russell

Review: https://reviewboard.asterisk.org/r/445/

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

15 years agoMerged revisions 233577 via svnmerge from
Atis Lezdins [Tue, 8 Dec 2009 00:02:43 +0000 (00:02 +0000)] 
Merged revisions 233577 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r233577 | atis | 2009-12-08 01:10:13 +0200 (Tue, 08 Dec 2009) | 8 lines

  Fix compatibility with valgrind 3.3 and older.

  (noticed in issue #16388)
  Reported by: parisioa
  Patches:
      valgrind.supp uloaded by atis (license 242)
  Tested by: atis, parisioa
........

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

15 years agohex escape control and non 7-bit clean characters in uri_encode
David Vossel [Mon, 7 Dec 2009 23:24:59 +0000 (23:24 +0000)] 
hex escape control and non 7-bit clean characters in uri_encode

In ast_uri_encode, non 7-bit clean characters were being hex escaped
correctly, but control characters were not.

(issue #16299)

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

15 years agofixes missing Contact header angle brackets
David Vossel [Mon, 7 Dec 2009 18:07:38 +0000 (18:07 +0000)] 
fixes missing Contact header angle brackets

(closes issue #16298)
Reported by: mgernoth
Patches:
      reg_parse_issue_1.4.diff uploaded by dvossel (license 671)
Tested by: dvossel

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

15 years agoAllow SDP packets with only video session information.
Matthew Nicholson [Mon, 7 Dec 2009 16:11:16 +0000 (16:11 +0000)] 
Allow SDP packets with only video session information.

(closes issue #16387)
Reported by: zalex1953
Tested by: mnicholson, zalex1953

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

15 years agoclarify requirecalltoken option in iax.sample.conf
David Vossel [Fri, 4 Dec 2009 21:54:01 +0000 (21:54 +0000)] 
clarify requirecalltoken option in iax.sample.conf

(closes issue #16223)
Reported by: bklang
Patches:
      clarify-iax-requirecalltoken.patch uploaded by bklang (license 919)

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

15 years agodocument and rename strip_control() in app_voicemail
David Vossel [Fri, 4 Dec 2009 17:21:34 +0000 (17:21 +0000)] 
document and rename strip_control() in app_voicemail

(closes issue #16291)
Reported by: wdoekes

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

15 years agoOnly do frame payload check for HOLD frames.
Russell Bryant [Fri, 4 Dec 2009 17:12:47 +0000 (17:12 +0000)] 
Only do frame payload check for HOLD frames.

This code was added for helping to debug the source of invalid HOLD frames.
However, a side effect of this is that it will incorrectly report errors for
frames that have an integer payload.  Make the check for this block specific
to the HOLD frame case.

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

15 years agoParse global variables or expressions in hint extensions
Matthias Nick [Fri, 4 Dec 2009 16:59:21 +0000 (16:59 +0000)] 
Parse global variables or expressions in hint extensions

Parse global variables or expressions in hint extensions. Like: exten => 400,hint,DAHDI/i2/${GLOBAL(var)}

(closes issue #16166)
Reported by: rmudgett
Tested by: mnick, rmudgett

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

15 years agoWarning message gets displayed only once
Matthias Nick [Fri, 4 Dec 2009 15:17:03 +0000 (15:17 +0000)] 
Warning message gets displayed only once

Added additional field 'int display_inband_dtmf_warning', which when set to '1' displays the warning ('Inband DTMF is not supported on codec %s. Use RFC2833'), and when set to '0' doesn't display the warning. Otherwise you would get hundreds of warnings every second.

(closes issue #15769)
Reported by: falves11
Patches:
patch_15769_14.txt uploaded by mnick (license 874)
Tested by: mnick, falves11

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

15 years agoDeprecate "cz" in favor of "cs".
Tilghman Lesher [Thu, 3 Dec 2009 20:10:19 +0000 (20:10 +0000)] 
Deprecate "cz" in favor of "cs".
Also, change the use of language codes so that language registers as a prefix,
rather than an exact match.
(closes issue #16272)
 Reported by: patrol-cz
 Patches:
       20091203__issue16272.diff.txt uploaded by tilghman (license 14)

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

15 years agoSend ack (response/message) after receiving manager action userevent
Jeff Peeler [Wed, 2 Dec 2009 21:57:42 +0000 (21:57 +0000)] 
Send ack (response/message) after receiving manager action userevent

(closes issue #16264)
Reported by: dimas
Patches:
      event-ack.patch uploaded by dimas (license 88)

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

15 years agofixes app_queue ao2 error
David Vossel [Wed, 2 Dec 2009 19:03:01 +0000 (19:03 +0000)] 
fixes app_queue ao2 error

(closes issue #16369)
Reported by: vrban
Patches:
      queue_issue_1.4.diff uploaded by dvossel (license 671)
Tested by: dvossel

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

15 years agoFix a bug where if you hung up very quickly after calling AMD it would overwrite...
Joshua Colp [Wed, 2 Dec 2009 17:04:52 +0000 (17:04 +0000)] 
Fix a bug where if you hung up very quickly after calling AMD it would overwrite the AMDSTATUS of HANGUP with TOOLONG.

(closes issue #16239)
Reported by: CGMChris

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

15 years agoast_outaddrfor doesn't do htons() on port, looks odd in strace.
David Vossel [Wed, 2 Dec 2009 16:59:18 +0000 (16:59 +0000)] 
ast_outaddrfor doesn't do htons() on port, looks odd in strace.

(closes issue #16290)
Reported by: wdoekes

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