dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

19313 Commits

Author SHA1 Message Date
dvossel ba59c746dc fixes spelling error. s/memeber/member
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@240842 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-18 15:52:55 +00:00
oej d5ebdefa1a Muted already compiles on OS/X in trunk and 1.6 branches, fix blocked.
Blocked revisions 240768 via svnmerge

........
r240768 | oej | 2010-01-18 14:27:22 +0100 (Mån, 18 Jan 2010) | 2 lines

Fix muted compilation in 1.4 only

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@240769 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-18 13:29:25 +00:00
seanbright 5e267160df Avoid a crash on Solaris when running 'core show functions.'
(closes issue #16309)
Reported by: asgaroth


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@240717 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-17 19:45:48 +00:00
seanbright 1e59f02ddc Get MoH building on OpenSolaris.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@240667 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-16 00:54:08 +00:00
tilghman 21520f22c0 Err, oops, it was already the way I intended.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@240629 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-15 23:50:47 +00:00
russell 0716d7b553 Note where empty lines should reside in commit messages.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@240552 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-15 23:09:09 +00:00
russell 48ce3c531a Merged revisions 240547 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r240547 | russell | 2010-01-15 17:06:11 -0600 (Fri, 15 Jan 2010) | 2 lines
  
  Fix a spelling error in the asterisk.conf sample.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@240548 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-15 23:06:32 +00:00
seanbright fb6ff080a4 Clarify error message in res_timing_timerfd.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@240505 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-15 22:07:31 +00:00
tilghman 76f3f09c65 Oops, missed an include
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@240500 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-15 21:42:36 +00:00
tilghman 5e7b7fb65f The previous attempt at using a pipe to guarantee astcanary shutdown did not work.
We're revisiting the previous patch, albeit with a method that overcomes the
prior criticism that it was not POSIX-compliant.
(closes issue #16602)
 Reported by: frawd
 Patches: 
       20100114__issue16602.diff.txt uploaded by tilghman (license 14)
 Tested by: frawd


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@240499 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-15 21:40:14 +00:00
tilghman 602a8e74b2 Add pickup event to AMI. Also, fix AMI documentation.
(closes issue #16431)
 Reported by: syspert
 Patches: 
       20100112__issue16431.diff.txt uploaded by tilghman (license 14)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@240421 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-15 21:04:34 +00:00
mmichelson 36ba567f70 Make sure to set owner_line, ownder_func, and owner_file in ast_calloc_with_stringfields.
Asterisk would crash on startup if MALLOC_DEBUG were set in menuselect. This is because
the manager action UpdateConfig had to resize its string field allocation to set the
description. When the resize occurred, ast_copy_string would crash because we were
attempting to copy a string from a NULL pointer. Setting the strings initially makes
the code much less crashy.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@240420 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-15 20:58:24 +00:00
tilghman 345626e641 Make sure that the limit is N, not N - 1.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@240419 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-15 20:58:19 +00:00
tilghman e64f0758f4 Merged revisions 240414 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r240414 | tilghman | 2010-01-15 14:52:27 -0600 (Fri, 15 Jan 2010) | 15 lines
  
  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: http://svn.digium.com/svn/asterisk/trunk@240415 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-15 20:54:24 +00:00
russell e99a7f975e Ensure payload type is properly checked when comparing against cached events.
(closes issue #16607)
Reported by: ddv2005
Patches:
      event.patch uploaded by ddv2005 (license 769)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@240411 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-15 20:41:11 +00:00
seanbright adc69e041d Convert a few places to use ast_calloc_with_stringfields where applicable.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@240368 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-15 18:21:50 +00:00
russell a79e0451bc Update configure script for an OSP toolkit related change.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@240329 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-15 16:51:34 +00:00
kpfleming 65b35834ec Clarify RTP NAT handling a bit.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@240328 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-15 16:28:38 +00:00
seanbright cc755d40a9 Plug a memory leak in res_config_ldap.
(closes issue #16257)
Reported by: nito
Patches:
      issue16257_20100111.diff uploaded by seanbright (license 71)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@240271 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-14 23:13:02 +00:00
seanbright 44ac5b2fb6 If we aren't running on a machine that support CLOCK_MONOTONIC, don't load.
Group developed and tested by seanbright, Corydon76, Kobaz, and Amorsen.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@240226 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-14 20:30:03 +00:00
jpeeler bb24438d0c Fix broken call pickup
The problem was the OUTGOING flag was not getting set properly on the channel,
resulting in pickup failing as ast_read thought the call was inbound. Refer to
170393 for a more verbose description as this is the same exact change.

(closes issue #16539)
Reported by: syspert
Patches: 
      bug16539.patch uploaded by jpeeler (license 325)
Tested by: syspert


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@240179 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-14 18:03:31 +00:00
tilghman 9d381c3185 Similarly, ensure that matchcid is duplicated correctly when merging contexts.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@240175 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-14 17:34:53 +00:00
tilghman a2412ac2e9 Ensure that the callerid is NULL when the parent is effectively NULL.
This applies only to pattern-match hints, which create exact-match
hints on the fly.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@240129 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-14 16:52:22 +00:00
mnicholson d933e2b265 This change fixes a few bugs in the way the far max IFP was calculated that were introduced in r231692.
(closes issue #16497)
Reported by: globalnetinc
Patches:
      udptl-max-ifp-fix1.diff uploaded by mnicholson (license 96)
Tested by: globalnetinc



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@240078 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-14 16:14:35 +00:00
lmadsen b978a4a48a Add documentation about how to build queues.
Add a how-to set of documentation about building queues with Asterisk.
This documentation is based on Asterisk 1.6.2 but should work on most
versions with minor modifications.

(closes issue #16237)
Reported by: lmadsen
Patches:
      Building Queues (FINAL).txt uploaded by lmadsen (license 10)
Tested by: pdhales, lmadsen, cmdrwalrus

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@240039 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-14 14:38:01 +00:00
tilghman 9110951119 Oops, another tag error
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@239997 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-13 23:22:56 +00:00
tilghman 3d2bbbe25c Oops, missed a closing tag
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@239996 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-13 23:21:46 +00:00
tilghman 0183b31199 Add the TESTTIME() dialplan function, which permits testing GotoIfTime.
Specifically, by setting TESTTIME() to a particular date and time, you
can test whether a dialplan correctly branches as was intended.  This was
developed after recent questions on the -users list on how to test their
holiday dialplan logic.
(closes issue #16464)
 Reported by: tilghman
 Patches: 
       20100112__issue16464.diff.txt uploaded by tilghman (license 14)
 
Review: https://reviewboard.asterisk.org/r/458/


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@239957 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-13 21:27:34 +00:00
tilghman 9a75fff5ef Flex uses fwrite incorrectly, which breaks the build. Providing a workaround.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@239920 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-13 20:38:42 +00:00
jpeeler d17097b8a2 Merged revisions 239838 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r239838 | jpeeler | 2010-01-13 13:43:33 -0600 (Wed, 13 Jan 2010) | 11 lines
  
  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: http://svn.digium.com/svn/asterisk/trunk@239839 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-13 19:48:16 +00:00
lmadsen c2da2fd0a9 Add more examples to extensions.conf showing how to use various
functionality and provide commonly useful features.

(closes issue #16090)
Reported by: pprindeville
Patches:
      extensions.conf-bugid16090.patch#3 uploaded by pprindeville (license 347)
Tested by: tzafrir, pprindeville, lmadsen

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@239834 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-13 19:31:13 +00:00
tilghman 22c66e61cf Code previously added to ast_expr2f.c warranted a change in the source file ast_expr2.fl.
Also, made a Makefile change to ensure that the expression parser C source files get
regenerated correctly, when we need that to happen.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@239797 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-13 18:16:13 +00:00
dvossel 1215462e6c Blocked revisions 239718 via svnmerge
........
  r239718 | dvossel | 2010-01-13 11:16:12 -0600 (Wed, 13 Jan 2010) | 23 lines
  
  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: http://svn.digium.com/svn/asterisk/trunk@239719 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-13 17:16:58 +00:00
dvossel e49e9326db 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 #16524)
Reported by: kobaz

(closes issue #16523)
Reported by: kobaz
Tested by: dvossel

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



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@239712 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-13 16:31:14 +00:00
oej c36ddcfa8a MAX() moved to utils.h
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@239665 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-13 10:45:19 +00:00
oej 1e093315b0 SIP Show channelstats fix - use float division to show proper stats
(closes issue #15819)
Reported by: klaus3000
Patches: 
      asterisk-sip-show-channelstats-trunk.txt uploaded by klaus3000 (license 65)
Tested by: klaus3000, oej

This patch is for trunk only and will be blocked in 1.6.2



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@239663 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-13 10:24:23 +00:00
transnexus b2d9819795 Updated channel variable list of osplookup application.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@239625 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-13 07:02:13 +00:00
transnexus 4e12ca8ffa Updated XML doc for OSP.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@239624 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-13 07:00:13 +00:00
tilghman 0fc96ee360 Blank callerid and NULL callerid should not compare equal.
The second is the default state for matching CID in the dialplan (no matching)
while the first matches one particular CallerID.  This is a regression.
(fixes AST-314, SWP-611)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@239571 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-12 19:58:00 +00:00
alecdavis a03b7b9f7a add Dialed Number Identifier (DNID) field to cdr records.
reviewboard link: https://reviewboard.asterisk.org/r/455/

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



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@239525 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-12 18:55:54 +00:00
lmadsen 80c08e252e Note that direct T.38 is not supported.
(closes issue #16411)
Reported by: stanusr
Patches:
      __20091210-sip.conf.sample-documentation.txt uploaded by lmadsen (license 10)

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@239520 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-12 18:22:45 +00:00
seanbright 4e574ff098 Fix crash in res_config_ldap.
We need to allocate enough room for 2 pointers, not 2 characters.

(closes issue #16397)
Reported by: bklang
Patches:
      res_config_ldap.patch uploaded by applsplatz (license 949)
Tested by: applsplatz


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@239473 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-12 17:09:12 +00:00
dvossel ba2fce3739 fixes text support in sdp answer
The code that handled setting 'm=text' in the sdp was not executing
in the correct order.  The check to see if text was needed came after
the check to add 'm=text' to the sdp, this resulted in 'm=text' always
being set to 0 because it looked like text was never required.

(closes issue #16457)
Reported by: peterj
Patches:
      textportinsdp.diff uploaded by peterj (license 951)
      issue16457.diff uploaded by dvossel (license 671)
Tested by: peterj


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@239427 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-12 16:14:41 +00:00
oej 0ec8b96fab Adding Tilghman's documentation from asterisk-dev to the actual file.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@239389 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-12 07:48:16 +00:00
tilghman ba3a1b5927 Merged revisions 239307 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r239307 | tilghman | 2010-01-11 21:18:36 -0600 (Mon, 11 Jan 2010) | 8 lines
  
  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: http://svn.digium.com/svn/asterisk/trunk@239308 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-12 03:21:40 +00:00
tilghman 58f48c7bc2 Add LSB headers to init scripts.
(closes issue #14864)
 Reported by: lathama
 Patches: 
       lsb-init-info-debian.diff uploaded by pkempgen (license 169)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@239270 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-11 23:53:32 +00:00
tilghman 04cd031851 Socket level option is SOL_SOCKET, not SO_SOCKET.
(issue #16580)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@239245 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-11 23:19:51 +00:00
tilghman fdffc0a9b1 Permit more options in the Makefile as to startup options
(closes issue #16454)
 Reported by: syspert
 Patches: 
       20091228__issue16454__3.diff.txt uploaded by tilghman (license 14)
 Tested by: syspert


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@239231 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-11 23:00:55 +00:00
tilghman c196e591ce Including bundle1.o breaks Tiger and Leopard
(issue #16449)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@239191 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-11 22:06:38 +00:00
tilghman 31afdebaba Permit dates and times to be stored in timezones other than the default (typically, UTC)
(closes issue #16401)
 Reported by: lordmortis


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@239152 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-11 21:03:46 +00:00