dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

3686 Commits

Author SHA1 Message Date
seanbright 55968187ed Merged revisions 249671 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r249671 | seanbright | 2010-03-01 14:35:01 -0500 (Mon, 01 Mar 2010) | 11 lines
  
  Fix crash in app_voicemail related to message counting.
  
  We were passing a 'struct inprocess **' and treating it like a 'struct inprocess *'
  causing a segfault.
  
  (closes issue #16921)
  Reported by: whardier
  Patches:
        20100301_issue16921.patch uploaded by seanbright (license 71)
  Tested by: whardier
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@249672 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-01 19:36:30 +00:00
tilghman 72f66a35b9 Constify a bit of app_voicemail, to make ODBC and IMAP compile once again.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@249623 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-01 18:36:06 +00:00
tilghman 0d3f019183 Fix unit test that Alec Davis broke.
(closes issue #16927)
 Reported by: alecdavis


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@249491 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-28 20:50:01 +00:00
alecdavis a55aaaea71 make unit test check for NULL folder, which then defaults to INBOX
previous test, gave false level of assurance that code was healthy.

(issue #16927)
Reported by: alecdavis
Patches: 
      based on app_voicemail_test.diff.txt uploaded by alecdavis (license 585)

Tested by: alecdavis


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@249449 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-28 16:36:45 +00:00
tilghman 9d853ef8c0 Properly document voicemail API documents. Also fix a crash reported via the -dev list.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@249405 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-28 07:10:22 +00:00
tilghman a58bcd7c78 Cleanups to fix bugs in the VM count API functions.
- Urgent voicemails were not attached, because the attachment code looked in the wrong folder.
- Urgent voicemails were sometimes counted twice when displaying the count of new messages.
- Backends were inconsistent as to which voicemails each API counted.
- Unit tests added to verify behavior in the future.

(closes issue #15654)
 Reported by: tomo1657
 Patches: 
       20100225__issue15654.diff.txt uploaded by tilghman (license 14)
 Tested by: tilghman

(closes issue #16448)
 Reported by: hevad

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@249187 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-26 18:41:57 +00:00
dvossel 406ad5980e fixes Queue with C option crash
(closes issue #16475)
Reported by: okrief
Patches:
      queue_crash.diff uploaded by dvossel (license 671)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@247736 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-18 20:58:41 +00:00
mmichelson 4987440472 Merged revisions 247168 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r247168 | mmichelson | 2010-02-17 10:24:17 -0600 (Wed, 17 Feb 2010) | 3 lines
  
  Make sure that when autofill is disabled that callers not in the front of the queue cannot place calls.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@247169 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-17 16:24:54 +00:00
tilghman 7393420234 Change the blanket rules to delete .lastclean on all CFLAGS menuselect targets to be more particular.
This change builds upon the recent change to menuselect to add 'touch_on_change'
as an attribute of both categories and members.  This should allow only the most
invasive defines to cause a complete rebuild, while defines which only affect a
subset of modules will only cause a rebuild of that smaller set.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@246789 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-16 00:52:45 +00:00
transnexus fca20dd555 Updated doc for OSP lookup application.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@246382 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-12 08:30:05 +00:00
dvossel 8d339c2d88 Merged revisions 246115 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r246115 | dvossel | 2010-02-10 11:44:20 -0600 (Wed, 10 Feb 2010) | 8 lines
  
  fixes random deadlock in app_queue with use_weight during reload
  
  (closes issue #16677)
  Reported by: tim_ringenbach
  Patches:
        app_queue_use_weight_deadlock.diff uploaded by tim ringenbach (license 540)
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@246116 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-10 17:49:34 +00:00
tilghman dd12cdbb0e Ensure frames are only freed once.
(closes issue #16361)
 Reported by: vlad
 Patches: 
       20100208__issue16361.diff.txt uploaded by tilghman (license 14)
 Tested by: kenny, bloodoff, misaksen


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@245729 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-09 18:06:30 +00:00
kpfleming ddf46ba018 Don't offer MMR or JBIG transcoding during T.38 negotiation.
After further discussion with Steve Underwood, we should not (yet) be offering
to receive MMR or JBIG transcoded streams from T.38 endpoints. A future spandsp
release will support those features, and then they can be enabled during
negotiation



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@245680 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-09 16:24:52 +00:00
tilghman 308551bc34 Properly respect GOSUB_RESULT as to what to do with the master channel.
Previously, we would parse GOSUB_RESULT, but not actually do anything with it.
Also, allow GOSUB_RETVAL to be inherited back across a peer/master channel.

(closes issue #16687)
 Reported by: bklang
 Patches: 
       app_dial-preserve-gosub_retval.patch uploaded by bklang (license 919)
       (with modifications)

(closes issue #16686)
 Reported by: bklang
 Patches: 
       app_dial-respect-gosub_result.patch uploaded by bklang (license 919)
       (with modifications)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@244393 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-02 20:32:29 +00:00
tilghman 2a5789193e Merged revisions 244242 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r244242 | tilghman | 2010-02-01 17:13:44 -0600 (Mon, 01 Feb 2010) | 11 lines
  
  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: http://svn.digium.com/svn/asterisk/trunk@244243 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-01 23:16:12 +00:00
jpeeler 0f9cb67065 Merged revisions 243691 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r243691 | jpeeler | 2010-01-27 14:35:56 -0600 (Wed, 27 Jan 2010) | 5 lines
  
  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: http://svn.digium.com/svn/asterisk/trunk@243693 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-27 20:37:33 +00:00
jpeeler 4a8afc3693 Merged revisions 243570 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r243570 | jpeeler | 2010-01-27 12:47:34 -0600 (Wed, 27 Jan 2010) | 9 lines
  
  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: http://svn.digium.com/svn/asterisk/trunk@243571 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-27 18:49:52 +00:00
diruggles e92b7c929b Code clean up in app_senddtmf
Pushes code clean up done in app_externalivr back
into app_senddtmf

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@243346 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-26 20:49:57 +00:00
diruggles 1786b09e92 Add send DTMF feature to ExternalIVR app
Implemented a new command 'D' that allows client
IVRs to send DTMF digits to the channel.

(closes issue #16615)
Reported by: thedavidfactor

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@242357 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-22 16:20:43 +00:00
tilghman b17f470e28 Enable SendText to send strings in encoded format.
See http://lists.digium.com/pipermail/asterisk-users/2010-January/243462.html


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@241364 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-19 22:41:36 +00:00
diruggles a82067d359 Add notification of interrupted file
Add file information to data element of T event so
the file information is sent to the client when it is
interrupted. Previously only notification of pending
files that were dropped was sent

(closes issue #16147)
Reported by: thedavidfactor
Tested by: thedavidfactor

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@240969 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-18 17:41:44 +00:00
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
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
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
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
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
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
dvossel a666b47484 cli 'queue show' formatting fix. queue name was truncated over 12 characters
(closes issue #16078)
Reported by: RoadKill
Patches:
      quequename_limit.patch uploaded by ppyy (license 906)
Tested by: dvossel


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@238361 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-07 18:58:23 +00:00
jpeeler 37396b75c0 Fix misreverting from 177158.
(closes issue #15725)
Reported by: shanermn
Patches: 
      v1-15725.patch uploaded by dimas (license 88)
Tested by: shanermn


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@238181 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-06 20:37:18 +00:00
russell 67e78241fb Merged revisions 238009 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r238009 | russell | 2010-01-06 09:18:22 -0600 (Wed, 06 Jan 2010) | 7 lines
  
  Resolve a crash due to an ast_frame not being fully initialized.
  
  (closes issue #16531)
  Reported by: john8675309
  
  (closes SWP-615)
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@238010 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-06 15:19:10 +00:00
dvossel d57335a544 fixes holdtime playback issue in app_queue
When reporting hold time, the number of seconds should be mod 60.
Otherwise audio playback could be something like "2 minutes 123 seconds"
rather than "2 minutes 3 seconds".

Also, the "minute" sound file is missing, so for the moment until
that file can be created the "minutes" file is used instead.

(closes issue #16168)
Reported by: nickilo
Patches:
      patch-unified-trunk-rev-222176 uploaded by nickilo (license )
Tested by: nickilo, wonderg



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237920 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-05 23:08:50 +00:00
mmichelson 1f5e87bd9f Mismerged a bit.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237882 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-05 20:56:50 +00:00
mmichelson 9be5c3d206 Add a missing part of the connected line work into trunk.
Part of the work done for connected line was to add an optional
argument to the 'f' option to allow for the connected party information
of the outgoing channel to be set to the argument provided. This was
overlooked during the merge of the work to trunk and is being added
back now. The CHANGES file has also been updated to note this change.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237803 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-05 18:46:19 +00:00
mvanbaak 9fef52740e Make CLI command 'mixmonitor start|stop <channel> work again.
(closes issue #16534)
Reported by: jlaguilar
Fix as suggested by jlaguilar in the bugreport


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237656 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-05 16:08:12 +00:00
dvossel 9813658fe3 app_queue segfaults if realtime field uniqueid is NULL
(closes issue #16385)
Reported by: haakon
Patches:
      app_queue.c.patch uploaded by haakon (license 880)
      app_queue.c.patch_v2 uploaded by dvossel (license 671)
Tested by: haakon



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237327 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-04 16:39:11 +00:00
transnexus c2bd29204f 1. Added reporting operator names in AuthReq.
2. Added retrieving operator names from AuthRsp and exporting them.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237250 f38db490-d61c-443f-a65b-d21fe96a405b
2010-01-04 03:38:29 +00:00
qwell a83d55b296 Add app_voicemail and say.c support for Vietnamese.
Also add an XXX comment that I'm baffled nobody has ever complained about.  We
say "first message", and then we go into language-specific stuff where we
proceed to say..."first message".

(closes issue #15053)
Reported by: dinhtrung
Patches:
      vietnamese.ods uploaded by dinhtrung (license 776)
      app_voicemail.c.diff uploaded by dinhtrung (license 776)

(closes issue #15626)
Reported by: dinhtrung
Patches:
      say.c.diff uploaded by dinhtrung (license 776)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@237050 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-30 22:30:21 +00:00
transnexus 37a23f3377 1. Updated for OSP Toolkit 3.6.0.
2. Added service type ported number query.
3. Formated code.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@236756 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-29 10:59:55 +00:00
tilghman fb644319d1 Use recommended option, not deprecated option.
(closes issue #16515)
 Reported by: ManChicken


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@236667 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-28 17:37:46 +00:00
seanbright e6d6f98a5b Merged revisions 236509 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r236509 | seanbright | 2009-12-28 07:43:36 -0500 (Mon, 28 Dec 2009) | 12 lines
  
  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: http://svn.digium.com/svn/asterisk/trunk@236510 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-28 12:44:58 +00:00
dvossel 566562afc1 QUEUE_MEMBER(..., ready) counts only ready agents, not free agents wrapping up
The QUEUE_MEMBER dialplan function can return total members,
logged-in members and "free" members count. A member is counted
as "free" immediately after his call ends, even though its wrap-up
time, if specified in queues.conf, has not yet expired, and the
queue will not actually route a call to it.

This Patch introduces a new "ready" option that only counts
free agents no longer in the wrap up time period.

(closes issue #16240)
Reported by: kkm
Patches:
      appqueue-memberfun-readyoption-trunk.diff uploaded by kkm (license 888)
Tested by: kkm, dvossel


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@236308 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-23 19:14:05 +00:00
dvossel 2125013a5f update CHANGES to reflect new 'R' app_queue option plus a minor optimization to the feature patch
(issue #16384)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@236306 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-23 18:45:54 +00:00
dvossel 73d1a699c3 new parameter 'R' to the Queue application
The 'R' argument stops moh and indicates ringing once the agent is
ringing.  This allows the person in the queue to know their call
is potentially about to be answered.

(closes issue #16384)
Reported by: haakon
Patches:
      new_app_queue.c.patch uploaded by haakon (license 880)
Tested by: haakon, loloski, dvossel


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@236304 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-23 18:39:37 +00:00
tilghman ef50431e9d AGI may be invoked from outside the dialplan
(closes issue #16510)
 Reported by: atis
 Patches: 
       20091223__issue16510.diff.txt uploaded by tilghman (license 14)
 Tested by: atis


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@236300 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-23 18:25:27 +00:00
tilghman b2eaaff6e8 Actually use tmp for something (brings trunk back into sync with 1.6 branches).
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@236183 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-23 02:52:30 +00:00
alecdavis 66093136f6 app_dial optional parameter to option 'r' to allow play indication from indications.conf
(closes issue #14504)
  Reported by: alecdavis
  Tested by: alecdavis,jsmith
  Patch
	 app_dial.play_ring_indications.diff7.txt uploaded by alecdavis (license 585)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@235740 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-19 08:59:31 +00:00
kpfleming c495daa3ce spandsp does in fact support V.17 modulation at 14.4 kilobits per second,
so we should generate T38MaxBitRate of 14400 (even though that doesn't really
affect the FAX transmission much at all)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@235010 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-15 14:35:46 +00:00
alecdavis 211684784d Support option 'n', as applications like Playback, Background etc.
Suggested on asterisk-dev as trivial application change.
 
Reported by: alecdavis
Tested by: alecdavis


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@234976 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-15 07:18:31 +00:00
alecdavis d2b7fda497 fixes escape to extensions 'o' and 'a', for digits '0' and '*'
(closes issue #16437)
Reported by: alecdavis
Tested by: alecdavis
Patch
	extension_o_a_fix.diff.txt uploaded by alecdavis (license 585)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@234893 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-15 02:29:50 +00:00