Archived
14
0
Fork 0
Commit graph

610 commits

Author SHA1 Message Date
tilghman
4a6a51a9a1 Permit emailsubject and emailbody to be set per mailbox.
(closes issue #14372)
 Reported by: fhackenberger
 Patches: 
       voicemail_individual_subject_and_body_1.6.1 uploaded by fhackenberger (license 592)
       with additional fixes by Corydon76 (license 14)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@178107 f38db490-d61c-443f-a65b-d21fe96a405b
2009-02-23 21:02:18 +00:00
mvanbaak
90430c3f73 list the addition of the SKINNY manager actions in the CHANGES file.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@178027 f38db490-d61c-443f-a65b-d21fe96a405b
2009-02-23 17:48:32 +00:00
tilghman
48707e53d9 ODBC transaction support
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@177320 f38db490-d61c-443f-a65b-d21fe96a405b
2009-02-19 00:26:01 +00:00
file
99772af4aa Update CHANGES file to include MWI subscription support that was added some time ago.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@177291 f38db490-d61c-443f-a65b-d21fe96a405b
2009-02-19 00:08:41 +00:00
mmichelson
4b80f3ced3 Merge queue-reset branch to Asterisk
From a user point-of-view, this adds new CLI commands and Manager Actions to
better facilitate the reloading of queues and the resetting of their statistics.

The new CLI commands are the "queue reload" and "queue reset stats" commands.

The new manager actions are the QueueReload and QueueReset commands.

Review: http://reviewboard.digium.com/r/115



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@175663 f38db490-d61c-443f-a65b-d21fe96a405b
2009-02-13 20:57:37 +00:00
kpfleming
9481e208c2 document G.722.1/.1C support
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@175512 f38db490-d61c-443f-a65b-d21fe96a405b
2009-02-13 13:41:52 +00:00
dhubbard
01f6911d4a add 'faxbuffers' configuration option information to CHANGES
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@175475 f38db490-d61c-443f-a65b-d21fe96a405b
2009-02-13 04:22:35 +00:00
dvossel
e6fb59edca Adds force encryption option to iax.conf
This patch adds forceencryption=yes as an iax.conf option.  When force encryption is enabled, no unencrypted connections are allowed.  This insures all connections are encrypted.  This is a new feature, so CHANGES and iax.conf.sample are updated as well.   

(closes issue #13285)
Reported by: sgofferj
Tested by: russell
Review: http://reviewboard.digium.com/r/150/



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@175344 f38db490-d61c-443f-a65b-d21fe96a405b
2009-02-12 21:27:11 +00:00
dvossel
c0feb81ef3 Adds immediate yes/no option to iax.conf
This is very similar to the DAHDI immediate=yes option.  When the phone is picked up, instead of giving a dialtone it connects directly to the "s" extension.  Changes where implemented in chan_iax2.c to directly connect to the "s" extension in the appropriate context when this option is enabled.  Examples explaining its use are added to iax2.conf.sample.  CHANGES has been updated as well. 

(closes issue #14266)
Reported by: jcovert
Patches:
      chan_iax2.c.patch-trunk uploaded by jcovert (license 551)
      iax.conf.sample.patch uploaded by jcovert (license 551)
Tested by: jcovert, dvossel
Review: http://reviewboard.digium.com/r/143/


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@174046 f38db490-d61c-443f-a65b-d21fe96a405b
2009-02-06 20:12:33 +00:00
mmichelson
c6f0d3482e Reverting commit number 173028 as there are some
potential issues



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@173047 f38db490-d61c-443f-a65b-d21fe96a405b
2009-02-02 23:21:33 +00:00
mmichelson
cdc296ee61 Add a CLI command to log out a manager user
(closes issue #13877)
Reported by: eliel
Patches:
      cli_manager_logout.patch.txt uploaded by eliel (license 64)
Tested by: eliel, putnopvut



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@173028 f38db490-d61c-443f-a65b-d21fe96a405b
2009-02-02 23:10:47 +00:00
murf
9764d18ab1 This reverts the changes I made for 11583; will
reviewboard this before committing again...
reopened 11583 until all Russell's issues are
resolved.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@172929 f38db490-d61c-443f-a65b-d21fe96a405b
2009-02-02 19:02:24 +00:00
murf
0fb5a8a2ff This change allows the disconnect feature (as in "one-touch" in features.c)
to be used within the dial app, before a call is bridged.

Many thanks to sobomax for submitting this patch. 

Quoting from bug 11582:

  "So the goal of the patch was to use the user configured feature code during the 
   call setup phase. The original ast_feature_interpret() function is not well suited 
   for this purpose as it uses much call bridge specific data and doesn't separate a 
   detection of feature from a feature handler call. So a new function ast_feature_detect() 
   has been extracted off the ast_feature_interpret() function but keeping the original 
   logic intact except some insignificant changes to locking.

  "Having created the ast_feature_detect() function the possibility to use feature detection 
   in almost any place of the asterisk code. So a call to this function has been added to 
   wait_for_answer() function of app_dial.so module. This code doesn't call the feature handler 
   however and uses old call leg disconnect logic to make the changes as small and simple as 
   possible to prevent unexpected problems. A disconnect feature currently is the only one 
   supported during call setup as other features as call parking and call transfer don't make much 
   sense during call setup. However if need in some of the features would arise it is much easier to 
   implement as the infrastructure changes are already in place with this patch."

I have cleaned up the patch somewhat, and verified that the existing functionality is not
harmed, and that the new functionality works. Terry has committed his stuff, and there were
no conflicts (see 14274).

(closes issue #11583)
Reported by: sobomax
Patches:
      patch-apps__app_dial.c uploaded by sobomax (license 359)
      patch-include__asterisk__features.h uploaded by sobomax (license 359)
      patch-res__res_features.c uploaded by sobomax (license 359)
      enable-features-during-call-setup.diff uploaded by sobomax (license 359)
      11583.newdiff uploaded by murf (license 17)
      enable-features-during-call-setup-1.diff uploaded by sobomax (license 359)
      11583.latest-patch uploaded by murf (license 17)
Tested by: sobomax, murf




git-svn-id: http://svn.digium.com/svn/asterisk/trunk@172890 f38db490-d61c-443f-a65b-d21fe96a405b
2009-02-02 17:37:15 +00:00
twilson
3ecca39de5 Merged revisions 172517 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r172517 | twilson | 2009-01-30 11:47:41 -0600 (Fri, 30 Jan 2009) | 37 lines
  
  Fix feature inheritance with builtin features
  
  When using builtin features like parking and transfers, the AST_FEATURE_* flags
  would not be set correctly for all instances when either performing a builtin
  attended transfer, or parking a call and getting the timeout callback.  Also,
  there was no way on a per-call basis to specify what features someone should
  have on picking up a parked call (since that doesn't involve the Dial() command).
  There was a global option for setting whether or not all users who pickup a
  parked call should have AST_FEATURE_REDIRECT set, but nothing for DISCONNECT,
  AUTOMON, or PARKCALL.
  
  This patch:
  1) adds the BRIDGE_FEATURES dialplan variable which can be set either in the
  dialplan or with setvar in channels that support it.  This variable can be set
  to any combination of 't', 'k', 'w', and 'h' (case insensitive matching of the
  equivalent dial options), to set what features should be activated on this
  channel.  The patch moves the setting of the features datastores into the
  bridging code instead of app_dial to help facilitate this.
  
  2) adds global options parkedcallparking, parkedcallhangup, and
  parkedcallrecording to be similar to the parkedcalltransfers option for
  globally setting features.
  
  3) has builtin_atxfer call builtin_parkcall if being transfered to the parking
  extension since tracking everything through multiple masquerades, etc. is
  difficult and error-prone
  
  4) attempts to fix all cases of return calls from parking and completed builtin
  transfers not having the correct permissions
  (closes issue #14274)
  Reported by: aragon
  Patches: 
        fix_feature_inheritence.diff.txt uploaded by otherwiseguy (license 396)
  Tested by: aragon, otherwiseguy
  
  Review http://reviewboard.digium.com/r/138/
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@172580 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-30 21:29:12 +00:00
oej
7041314e03 Update documentation
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@172270 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-29 13:24:01 +00:00
oej
9787f559ab Yep. Documentation is important.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@171925 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-28 14:39:26 +00:00
dvossel
904a944798 Adding AES_ENCRYPT and AES_DECRYPT dialplan functions.
(closes issue #14301)
Reported by: amorsen

review: http://reviewboard.digium.com/r/128/


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@171757 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-27 22:43:36 +00:00
russell
c97c1df86a Fix a spelling mistake.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168760 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-16 17:09:13 +00:00
oej
8b3460cd69 Related to issue #14246
Update changes for SIPRemoveHeader()


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168639 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-15 13:37:46 +00:00
mmichelson
e3260b3633 Allow specifying a port number in the user portion of a register => line in sip.conf
With this commit, a register => line in sip.conf may contain a port number in the
"user" section of the line. Please see CHANGES and sip.conf.sample for more
details regarding this.

(closes issue #14198)
Reported by: Nick_Lewis
Patches:
      chan_sip.c-domainport2.patch uploaded by Nick (license 657)
Tested by: Nick_Lewis



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168575 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-13 21:18:13 +00:00
mvanbaak
795b58930b Add a script to find out the correct settings for Asterisk behind NAT
(closes issue #13065)
Reported by: tzafrir
Patches:
      sip_nat_settings uploaded by tzafrir (license 46)
      sip_nat_settings_6 uploaded by mvanbaak (license 7)
Tested by: tzafrir, pabelanger, Dovid and moi


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@168265 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-09 23:04:46 +00:00
mmichelson
9a73ec1c12 Add the average talk time for a queue
This patch adds the functionality to app_queue of calculating
the average amount of time that channels are bridged for a
queue. The algorithm used to calculate the average is the same
exponential average currently used to calculate the average holdtime.
See the CHANGES file to see the methods you may use to view this
information.

(closes issue #13960)
Reported by: coolmig
Patches:
      app_queue.c.diff.trunk-r158840 uploaded by coolmig (license 621)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@167792 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-08 19:48:42 +00:00
tilghman
ccad436a85 Convert dialplan application DAHDISendCallreroutingFacility to use commas.
(closes issue #13836)
 Reported by: eliel
 Patches: 
       chan_dahdi.c.patch uploaded by eliel (license 64)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@167791 f38db490-d61c-443f-a65b-d21fe96a405b
2009-01-08 19:44:19 +00:00
russell
f346612503 Fix spelling error.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@166625 f38db490-d61c-443f-a65b-d21fe96a405b
2008-12-23 16:04:54 +00:00
mmichelson
1a28ef410a Adding a new dialplan function AUDIOHOOK_INHERIT
This function is being added as a method to allow for
an audiohook to move to a new channel during a channel
masquerade. The most obvious use for such a facility is
for MixMonitor when a transfer is performed. Prior to
the addition of this functionality, if a channel 
running MixMonitor was transferred by another party, then
the recording would stop once the transfer had completed.
By using AUDIOHOOK_INHERIT, you can make MixMonitor 
continue recording the call even after the transfer
has completed.

It has also been determined that since this is seen
by most as a bug fix and is not an invasive change,
this functionality will also be backported to 1.4 and
merged into the 1.6.0 branches, even though they are
feature-frozen.

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

Review: http://reviewboard.digium.com/r/102/



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@166092 f38db490-d61c-443f-a65b-d21fe96a405b
2008-12-19 22:26:16 +00:00
russell
0bc7c16719 Add a new application, Originate.
(closes issue #14075)
Reported by: rcasas
Patches:
      app_originate.c uploaded by rcasas (license 641), heavily modified by me
Tested by: russell
Review: http://reviewboard.digium.com/r/95/


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@165433 f38db490-d61c-443f-a65b-d21fe96a405b
2008-12-18 13:33:34 +00:00
mnicholson
dc4da9c1d5 This patch adds a new 'ignoresdpversion' option to sip.conf. When this is
enabled (either globally or for a specific peer), chan_sip will treat any SDP
data it receives as new data and update the media stream accordingly.  By
default, Asterisk will only modify the media stream if the SDP session version
received is different from the current SDP session version.  This option is
required to interoperate with devices that have non-standard SDP session
version implementations (observed by toc on the bug tracker with Microsoft OCS
which always uses 0 as the session version).

http://reviewboard.digium.com/r/94/
(closes issue #13958)
Reported by: toc
Tested by: toc


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@165180 f38db490-d61c-443f-a65b-d21fe96a405b
2008-12-17 18:49:12 +00:00
tilghman
0bb7f0ce94 Add timezone to the possible fields in a timespec.
(closes issue #14028)
 Reported by: mostyn
 Patches: 
       timezone-v2.patch uploaded by mostyn (license 398)
       (with additional code guideline fixes and a memory leak fix by me - license 14)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@164976 f38db490-d61c-443f-a65b-d21fe96a405b
2008-12-16 22:57:17 +00:00
file
313cfcaa41 Qualify trumps poke per lmadsen.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@164814 f38db490-d61c-443f-a65b-d21fe96a405b
2008-12-16 20:47:31 +00:00
file
46d73de2d0 Add configuration options for finer control over how Asterisk handles having to poke all peers at seemingly the same time.
(closes issue #13217)
Reported by: cervajs


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@164809 f38db490-d61c-443f-a65b-d21fe96a405b
2008-12-16 20:42:33 +00:00
tilghman
fc08895bbd Allow disabling pattern match searches within the Realtime dialplan switch.
(closes issue #13698)
 Reported by: fhackenberger
 Patches: 
       20081211__bug13698.diff.txt uploaded by Corydon76 (license 14)
 Tested by: fhackenberger


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@164485 f38db490-d61c-443f-a65b-d21fe96a405b
2008-12-15 21:17:07 +00:00
russell
d421673ffc Add a new CLI command, "channel redirect", which is similar in operation
to AMI Redirect.

Review: http://reviewboard.digium.com/r/89/


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@163716 f38db490-d61c-443f-a65b-d21fe96a405b
2008-12-12 20:12:23 +00:00
twilson
5a522bc447 Add the ability to play a courtesy tone to the transfer target in a native SIP attended transfer by setting the variable ATTENEDED_TRANSFER_COMPLETE_SOUND.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@161679 f38db490-d61c-443f-a65b-d21fe96a405b
2008-12-08 16:02:42 +00:00
dhubbard
a7ebc3e3af If 'faxdetect=yes' in sip.conf, switch to a 'fax' extension (if it exists) after T38 is negotiated.
Terry Wilson created the original patch for this functionality, which I slightly modified and added 
the faxdetect=yes|no configuration option.  This patch is only for T38 fax detection and does not 
do anything for G711 over SIP fax detection.  By default, this option is disabled. 

Reviewboard: http://reviewboard.digium.com/r/69/

This functionality is for issue AST-140.




git-svn-id: http://svn.digium.com/svn/asterisk/trunk@161115 f38db490-d61c-443f-a65b-d21fe96a405b
2008-12-04 23:00:30 +00:00
tilghman
9cbf9781da Info on LOCAL_PEEK function.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@160346 f38db490-d61c-443f-a65b-d21fe96a405b
2008-12-02 18:48:51 +00:00
eliel
c3bceb968b Introduce CLI permissions.
Based on cli_permissions.conf configuration file, we are able to permit or deny
cli commands based on some patterns and the local user and group running rasterisk.

(Sorry if I missed some of the testers).

Reviewboard: http://reviewboard.digium.com/r/11/

(closes issue #11123)
Reported by: eliel
Tested by: eliel, IgorG, Laureano, otherwiseguy, mvanbaak



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@160062 f38db490-d61c-443f-a65b-d21fe96a405b
2008-12-01 18:52:14 +00:00
kpfleming
688dbc7fa7 add support for event suppression for AMI-over-HTTP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@159629 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-26 21:09:58 +00:00
tilghman
a836c3d93b Add an option, waitfordialtone, for UK analog lines which do not end a call
until the originating line hangs up.
(closes issue #12382)
 Reported by: one47
 Patches: 
       zap-waitfordialtone-trunk.080901.patch uploaded by one47 (license 23)
       zap-waitfordialtone-bra-1.4.21.2.patch uploaded by fleed (license 463)
 Tested by: fleed


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@159317 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-25 22:45:59 +00:00
kpfleming
939ebd07ea as suggested by jtodd, document the purposes of the CHANGES and UPGRADE files
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@158449 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-21 20:42:37 +00:00
mmichelson
00371c74a6 Commit CHANGES change I promised when submitting
res_timing_timerfd



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@157906 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-19 22:17:05 +00:00
tilghman
f79551a44a Add info about REALTIME_FIELD and REALTIME_HASH
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@157893 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-19 22:01:00 +00:00
mvanbaak
e005e919bd This commit does two things:
- Add CLI aliases module to asterisk.
- Remove all deprecated CLI commands from the code

Initial work done by file.
Junk-Y and lmadsen did a lot of work and testing to
get the list of deprecated commands into the configuration file.

Deprecated CLI commands are now handled by this new module,
see cli_aliases.conf for more info about that.

ok russellb@ via reviewboard

(closes issue #13735)
Reported by: mvanbaak


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@156120 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-12 06:46:04 +00:00
tilghman
7c5853a25d Add LISTFILTER dialplan function, along with supporting documentation. See
documentation for more information on how to use it.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@154915 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-05 21:58:48 +00:00
oej
f5d118c41c Adding a separation of remote authentication and our authentication.
remotesecret => our password for a remote service
secret => our authentication when someone calls us

Secret => still has both functions if remotesecret is not used.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@153904 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-03 15:16:33 +00:00
mmichelson
9bc20020f1 * Fixed timeout logic in the dialing API as setting timeouts
had no effect
* Updated dialing API documentation to indicate that timeouts
  are specified in milliseconds
* Added a new timeout argument to the Page application. If time
  expires, any endpoints which have not answered will be hung up.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@153223 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-31 20:05:46 +00:00
tilghman
3fef013539 Failover for func_odbc, allowing an INSERT query to be performed when the UPDATE query initially
affects 0 rows.
(closes issue #13083)
 Reported by: Corydon76
 Patches: 
       20081031__bug13083.diff.txt uploaded by Corydon76 (license 14)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@153124 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-31 17:18:49 +00:00
mmichelson
5cb631dcff After seeing another problem in #asterisk stemming from
the low default value of featuredigittimeout, I decided it
was high time to change it. I have changed the default to
2000 ms based on a suggestion from Leif Madsen.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152807 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-30 16:38:19 +00:00
tilghman
565e1cd62b Pay attention to the searchcontexts entry in voicemail.conf (related to AST-125)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@152727 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-30 02:08:02 +00:00
oej
7c8f73a5a1 Thanks russellb for reminding an old man....
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@151761 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-23 15:38:26 +00:00
tilghman
d0c024c267 Added debugging CLI functions
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@151682 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-22 22:11:31 +00:00
bweschke
b630ee1134 Give app_authenticate the ability to select a prompt other than the default.
(closes issue #13734)
 reported and patched by: jvandal



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@150887 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-18 03:35:24 +00:00
bweschke
a882f145b1 The QueueEntry event now has the uniqueid of the channel included.
(closes issue #13731)
 reported and patched by: caio1982



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@150773 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-18 00:25:18 +00:00
mvanbaak
ee64593b69 Break up skinny.conf into seperate sections for
devices and lines.

(closes issue #13412)
Reported by: wedhorn
Patches:
      config-restruct-v4.diff uploaded by wedhorn (license 30)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@150426 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-17 06:00:28 +00:00
mmichelson
469fc0630b Add an IAXregistry manager command. See doc/manager_1_1.txt
for more details of this command.

(closes issue #13326)
Reported by: ib2
Patches:
      bug13326_trunk_20080822.diff uploaded by snuffy (license 35)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@150311 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-17 00:18:01 +00:00
kpfleming
23725d434f support relative paths in musiconhold.conf, which makes moh work by default when Asterisk was configured using --prefix and 'make samples' is run
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@149917 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-16 08:30:32 +00:00
mmichelson
b283e447cf When specifying an invalid timeout to Dial, take it
to mean that no timeout is desired.

(closes issue #13625)
Reported by: atis



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@149279 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-14 23:57:46 +00:00
tilghman
0865c8f921 Add keyword "same", which allows you to create multiple steps in a dialplan,
without needing to respecify an extension pattern multiple times.
(closes issue #13632)
 Reported by: blitzrage
 Patches: 
       20081006__bug13632.diff.txt uploaded by Corydon76 (license 14)
 Tested by: blitzrage, Corydon76


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@148325 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-10 18:31:38 +00:00
file
a941d9aee1 Add support for subscribing to a voice mailbox on a remote SIP server and making the new/old message count available to local devices. (issue #AST-77)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@147760 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-09 01:40:49 +00:00
mvanbaak
9ddd29258c fix wording as pointed out by Corydon
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@147264 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-07 17:49:23 +00:00
mmichelson
fe8e13cc84 This commit introduces a change to how the "joinempty"
and "leavewhenempty" options are configured in queues.conf.

Instead of using vague terms like "yes," "no," "loose," and
"strict," we now accept a comma-separated list of values
to determine when to consider a member available.

Extended details can be found in the queues.conf.sample
file. Note also that the above four referenced values are
still accepted for backwards-compatibility, but are mapped
internally to the new method of representing the option.

AST-105



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@146640 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-06 15:29:56 +00:00
tilghman
5af0ac034e document meetme schedule changes (related to issue #11040)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@146081 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-03 18:30:39 +00:00
mvanbaak
d968d2e543 put a note in CHANGES about the cli_cleanup done during AstriDevCon
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@146053 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-03 17:36:30 +00:00
russell
9cd82a239d The 'P' command for ExternalIVR was also added in 1.6.0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145962 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-02 19:30:45 +00:00
russell
6e326c6ccf TCP support for ExternalIVR went in to 1.6.1, not 1.6.0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145959 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-02 19:27:37 +00:00
tilghman
f4d219cb3a Permit the syntax and synopsis fields to be set (for func_odbc).
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145846 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-02 17:16:54 +00:00
russell
9f0cd6ea12 tabs to spaces
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145329 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-01 12:29:18 +00:00
russell
081b057030 Add support for call pickup on Snom phones. Asterisk now includes a magic
call-id in the dialog-info event package used with extension state subscriptions
on Snom phones.  Then, when the phone sends an INVITE with Replaces for the
special callid, Asterisk will perform a pickup on the extension that was
subscribed to.

The original code on this issue was submitted by xylome.  However, contributions
have been made by (at least) mgernoth and pkempgen.  The final patch was written
by seanbright, and includes the necessary logic to allow this work in a
technology independent way.

(closes issue #5014)
Reported by: xylome
Patches:
      issue5014-trunk.diff uploaded by seanbright (license 71)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@145226 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-30 21:32:53 +00:00
russell
5150637663 Move last change to CHANGES up to the 1.6.2 section
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@142318 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-10 15:57:50 +00:00
phsultan
b00fd456ea Disable autoprune by default.
(closes issue #13411)
Reported by: caio1982
Patches:
      res_jabber_autoprune1.diff uploaded by caio1982 (license 22)
Tested by: caio1982

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@142280 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-09 22:08:56 +00:00
tilghman
7fd9e30c2a Add the CURLOPT dialplan function, which permits setting various options for
use with the CURL dialplan function.
(closes issue #12920)
 Reported by: davevg
 Patches: 
       20080904__bug12920.diff.txt uploaded by Corydon76 (license 14)
 Tested by: Corydon76, davevg


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@141328 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-05 19:12:03 +00:00
mvanbaak
9e5a712e57 Added 'skinny show lines verbose'
This will print the subs and their status for every line (if any).

wedhorn did most of the work with his patch which introduced
'skinny show debug' but a discussion on IRC stated that it should be
added to 'skinny show lines'

Input on the output format by Qwell on IRC.

(closes issue #13344)
Reported by: wedhorn


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@140938 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-03 18:06:35 +00:00
jpeeler
893f06eee0 Added the option s to the Park application which will silence the announcement of the parking space number. Also, fixes the bug of just clearing the flags instead of actually parsing the arguments to Park.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@140491 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-29 17:53:32 +00:00
murf
b0583a6878 (closes issue #13366)
Reported by: erousseau

This was a reasonable enhancement request, which was
easy to implement. Since it's an enhancement, it 
could only be applied to trunk.

Basically, for accounting where "initiated" seconds
are billed for, if the microseconds field on the end
time is greater than the microseconds field for the
answer time, add one second to the billsec field.

The implementation was requested by erousseau, and
I've implemented it as requested. I've updated the
CHANGES, the cdr.conf.sample, and the .h files
accordingly, to accept and set a flag for the
corresponding new option. cdr.c adds in the extra
second based on the usec fields if the option is
set. Tested, seems to be working fine.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@140057 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-26 15:57:49 +00:00
russell
940481dcd2 Prepare for adding 1.6.2 changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137901 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-14 18:12:16 +00:00
tilghman
52a47a16b5 Add '+=' append operator to configuration files.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@135717 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-05 18:25:16 +00:00
seanbright
d4ec4c4c3a Merge in changes that allow Asterisk to be built against the Hoard
memory allocator.  See doc/hoard.txt for more details.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@135405 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-03 16:14:14 +00:00
russell
6c97118405 Merge changes from team/bbryant/keyrotation
This set of changes enhances IAX2 encryption support by adding key rotation
to provide enhanced security.  The key used for encryption is rotated right 
after the call gets set up, and then again every few minutes.  This was
discussed at the last AstriDevCon.  For interoperability with older versions
of Asterisk, there is an option that disables key rotation.

(closes issue #13018)
Reported by: bbryant
Patches:
      07072008__iax2_key_rotation.diff uploaded by bbryant (license 36)
Tested by: russell, bbryant


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@135158 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-01 18:16:24 +00:00
tilghman
ebffaaf90e Document adaptive capabilities
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@134443 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-30 17:36:31 +00:00
tilghman
9573bd9402 Move implementation of an attended-transfer-complete sound from one channel
driver into a common place for multiple channel drivers.
(closes issue #13152)
 Reported by: caio1982
 Patches: 
       atxfer_complete_sound3.diff uploaded by caio1982 (license 22)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@134401 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-30 16:40:43 +00:00
mmichelson
d1ae07e8e7 This commit compensates for buggy poll(2)
implementations. Asterisk has, for a long time,
had its own implementation of poll(2) which
just used the input arguments to call select(2).
In 1.4, this internal implementation was used
for Darwin systems. This was removed in Asterisk
trunk at some point, but it seems as though this
was not the right move to make.

On Mac OS X, it appears as though the poll used
to gather CLI input does not respond properly
when connecting via a remote Asterisk console.
Reverting to the use of Asterisk's poll fixed
the issue.

Also, there is now an option for the configure
script, --enable-internal-poll, which will allow
for anyone to use Asterisk's internal poll
implementation in case they suspect that their
system's poll implementation is buggy.

closes issue #11928)
Reported by: adriavidal
Patches:
      1.6.0-configurev2.patch uploaded by putnopvut (license 60)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@134125 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-28 19:53:56 +00:00
tilghman
aa5fc8c256 Change SendImage() to output a more consistent status variable.
(closes issue #13134)
 Reported by: eliel
 Patches: 
       app_image.c.patch uploaded by eliel (license 64)
       UPGRADE.patch uploaded by eliel (license 64)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@134088 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-28 16:49:29 +00:00
tilghman
826f024438 Change several 'core' commands to be 'dialplan' commands (with appropriate
deprecation, of course)
(closes issue #13016)
 Reported by: caio1982
 Patches: 
       dialplan_globals6.diff uploaded by caio1982 (license 22)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@131606 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-17 14:00:27 +00:00
tilghman
f702800c32 Additional option for videosupport (always) that disables the optimization to
fail to setup video RTP if the two endpoints will not support it.  This assists
with call files and certain transfers to ensure that if two video phones are
ever connected, they will always share a video feed.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130951 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-15 16:20:35 +00:00
kpfleming
73b88aaa71 clean up a bunch more Zaptel-related references
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@130044 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-11 16:18:01 +00:00
mmichelson
422f48910d Added a new option, "timeoutpriority" to queues.conf. A detailed
explanation of the change may be found in configs/queues.conf.sample

(closes issue #12690)
Reported by: atis



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127720 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-03 14:34:25 +00:00
mmichelson
6963225167 The ackcall and endcall options in agents.conf now have supplemental options
acceptdtmf and enddtmf. These allow for the DTMF pressed to be configurable
instead of being hardcoded to '#' and '*'.

(AST-86)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@127558 f38db490-d61c-443f-a65b-d21fe96a405b
2008-07-02 20:43:55 +00:00
mmichelson
facd3d08c9 Improve consistency between app_dial and app_queue with regards
to how language is handled between two channels whose native
language is different. Prior to this patch, app_dial would have
the callee inherit the caller's language, and app_queue would not.

After this patch, app_dial no longer has the language inheritance
capability. This seems to make the most sense since it seems more
natural for a person to hear files played back in his/her native
language instead of the language of the person on the far end of
the call. See the CHANGES file for hints on how to keep the 
previous behavior of app_dial if desired.

(closes issue #12489)
Reported by: bcnit



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@125647 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-26 23:35:29 +00:00
seanbright
991d881f11 Update CHANGES and UPGRADE.txt per kpfleming's mail to #asterisk-dev.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@124835 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-24 11:02:02 +00:00
tilghman
f06c83d2c4 Oops
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@124125 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-19 20:35:56 +00:00
tilghman
2b0a9dd287 Allow alternative extensions to be specified for a user.
(closes issue #12830)
 Reported by: jcollie
 Patches: 
       astertisk-trunk-121496-alternate-extensions.patch uploaded by jcollie (license 412)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@124049 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-19 19:22:59 +00:00
murf
e4c44da0a6 Changes to list peers and users in alpha. order, as per a reasonable request in 12494. Due to changes in trunk to use the astobj2 i/f in the sip channel driver, the order of the entries in the config file was lost, thus the output was in a random order, but no longer.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@123448 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-17 20:17:20 +00:00
murf
07c8bcdb66 Merged revisions 122127 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r122127 | murf | 2008-06-12 08:51:44 -0600 (Thu, 12 Jun 2008) | 1 line

Arkadia tried to warn me, but the code added to ast_cdr_busy, _failed, and _noanswer was redundant. Didn't spot it until I was resolving conflicts in trunk. Ugh. Redundant code removed. It wasn't harmful. Just dumb.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@122128 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-12 14:56:26 +00:00
murf
b3ef5ade57 Merged revisions 122046 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r122046 | murf | 2008-06-12 07:47:34 -0600 (Thu, 12 Jun 2008) | 37 lines

(closes issue #10668)
Reported by: arkadia
Tested by: murf, arkadia

Options added to forkCDR() app and the CDR() func to
remove some roadblocks for CDR applications.

The "show application ForkCDR" output was upgraded
to more fully explain the inner workings of forkCDR.

The A option was added to forkCDR to force the
CDR system to NOT change the disposition on the
original CDR, after the fork. This involves
ast_cdr_answer, _busy, _failed, and so on.

The T option was added to forkCDR to force 
obedience of the cdr LOCKED flag in the
ast_cdr_end, all the disposition changing
funcs (ast_cdr_answer, etc), and in the
ast_cdr_setvar func.

The CHANGES file was updated to explain ALL
the new options added to satisfy this bug report
(and some requests made verbally and via 
email, irc, etc, over the past months/year)

The 's' option was added to the CDR() func,
to force it to skip LOCKED cdr's in the
chain.

Again, the new options should be totally transparent
to existing apps! Current behavior of CDR,
forkCDR, and the rest of the CDR system should
not change one little bit. Until you add the
new options, at least!


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@122091 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-12 14:28:01 +00:00
russell
6195ff1afd Merge another big set of changes from team/russell/events
This commit merges in the rest of the code needed to support distributed device
state.  There are two main parts to this commit.

Core changes:
 - The device state handling in the core has been updated to understand device
   state across a cluster of Asterisk servers.  Every time the state of a device
   changes, it looks at all of the device states on each node, and determines the
   aggregate device state.  That resulting device state is what is provided to
   modules in Asterisk that take actions based on the state of a device.

New module, res_ais:
 - A module has been written to facilitate the communication of events between
   nodes in a cluster of Asterisk servers.  This module uses the SAForum AIS
   (Service Availability Forum Application Interface Specification) CLM and EVT
   services (Cluster Management and Event) to handle this task.  This module
   currently supports sharing Voicemail MWI (Message Waiting Indication) and
   device state events between servers.  It has been tested with openais, though
   other implementations of the spec do exist.

For more information on testing distributed device state, see the following doc:
  - doc/distributed_devstate.txt


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@121559 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-10 15:12:17 +00:00
mvanbaak
85f4dc1869 add a new argument to PrivacyManager to specify a context
where the entered phone number is checked.

You can now define a set of extensions/exten patterns that describe
valid phone numbers. PrivacyManager will check that context for a match
with the given phone number.
This way you get better control. For example people blindly hitting
10 digits just to get past privacymanager

Example line in extensions.conf:
exten => incoming,n,PrivacyManager(3,10,,route-outgoing)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@121197 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-08 11:40:44 +00:00
tilghman
f91ce66326 Added a facility for sending arbitrary SIP notify commands from AMI.
(closes issue #12562)
 Reported by: michael-fig
 Patches: 
       20080515__bug12562.diff.txt uploaded by Corydon76 (license 14)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@121042 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-06 20:24:11 +00:00
bbryant
1efdd6fdb8 Update CHANGES file for the things done in revision 120635.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@120673 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-05 16:41:36 +00:00
mmichelson
33d1d68d0d Adding two new queue log events. The ADDMEMBER event is logged when
a dynamic realtime queue member is added to the queue, and the 
REMOVEMEMBER event is logged when a dynamic realtime member is
removed. Since no calling channel is associated with these events
the string "REALTIME" is placed where the channel's unique id is
normally placed.

(closes issue #12774)
Reported by: atis
Patches:
      queue_log_rt_members.patch uploaded by atis (license 242)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@120166 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-03 21:22:52 +00:00
tilghman
a475873199 Add native AGI command GOSUB, as invoking Gosub with EXEC does not work
properly.
(closes issue #12760)
 Reported by: Corydon76
 Patches: 
       20080530__bug12760.diff.txt uploaded by Corydon76 (license 14)
 Tested by: tim_ringenbach, Corydon76


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@119296 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-30 16:10:46 +00:00
file
5b36af1375 Merged revisions 118646 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r118646 | file | 2008-05-28 11:23:34 -0300 (Wed, 28 May 2008) | 4 lines

Add an option to use the source IP address of RTP as the destination IP address of UDPTL when a specific option is enabled. If the remote side is properly configured (ports forwarded) then UDPTL will flow.
(closes issue #10417)
Reported by: cstadlmann

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@118647 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-28 14:29:01 +00:00
mmichelson
c0ca2a427b A new feature thanks to the fine folks at Switchvox!
If a deadlock is detected, then the typical lock information will be
printed along with a backtrace of the stack for the offending threads.
Use of this requires compiling with DETECT_DEADLOCKS and having glibc
installed.

Furthermore, issuing the "core show locks" CLI command will print the
normal lock information as well as a backtraces for each lock. This
requires that DEBUG_THREADS is enabled and that glibc is installed.

All the backtrace features may be disabled by running the configure
script with --without-execinfo as an argument



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@118173 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-23 22:35:50 +00:00
mvanbaak
4070216d0d add option 'a' to chanisavail.
If you give chanisavail a list of channels, it will only
return the first available channel.
When this option is set, it will return all the available
channels from the given list.

(closes issue #12248)
Reported by: dagmoller
Patches:
      app_chanisavail-snv.patch-v2.txt uploaded by dagmoller (license 436)
	   - major changes by me because russellb pointed out some buffer overflows
	     and codeguideline issues.
		 Converted it all to the ast_str_* api
Tested by: dagmoller, mvanbaak


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@118101 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-23 17:12:04 +00:00
tilghman
9f974d96fa Enhance ExternalIVR with new options and commands.
(closes issue #12705)
 Reported by: ctooley
 Patches: 
       new_externalivr_argument_format-v2.diff uploaded by ctooley (license 136)
       new_externalivr_documentation.diff uploaded by ctooley (license 136)
       and a few additional fixes by me


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@117725 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-22 05:10:01 +00:00
tilghman
60c5b78a7e Increase limit of unshared connections from 1023 to 4.2 billion.
(Related to issue #12677)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@117264 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-20 16:25:16 +00:00
tilghman
9f97a44436 Change the default for the pridialplan parameter to the far more common case of
'unknown', and better document the use of each parameter.
(closes issue #12633)
 Reported by: tzafrir
 Patches: 
       pridialplan_unknown_2.diff uploaded by tzafrir (license 46)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@117182 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-19 20:06:38 +00:00
mmichelson
83a1c36bfe Adding a new option to Chanspy(). The 'd' option allows for the spy to
press DTMF digits to switch between spying modes. Pressing 4 activates spy mode,
pressing 5 activates whisper mode, and pressing 6 activates barge mode. Use of
this feature overrides the normal operation of DTMF numbers. 

This feature is courtesy of Switchvox.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@116522 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-14 22:15:12 +00:00
oej
f3a2d1775a Adding spport for T.140 RED - Simple RTP redundancy to prevent packet loss in text stream
Work sponsored by Omnitor AB, Stockholm, Sweden (http://www.omnitor.se)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@116237 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-14 13:37:07 +00:00
oej
8890616992 Add support for codec settings in originate via call file and manager.
This is to enable video and text in originated calls. Development sponsored
by Omnitor AB, Sweden. (http://www.omnitor.se)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@116229 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-14 12:32:57 +00:00
mmichelson
71a41a28b1 Adding support for "urgent" voicemail messages. Messages which are
marked "urgent" are considered to be higher priority than other messages
and so they will be played before any other messages in a user's mailbox.

There are two ways to leave an urgent message. 
1. send the 'U' option to VoiceMail().
2. Set review=yes in voicemail.conf. This will give instructions for 
   a caller to mark a message as urgent after the message has been recorded.

I have tested that this works correctly with file and ODBC storage, and James
Rothenberger (who wrote initial support for this feature) has tested its use
with IMAP storage.

(closes issue #11817)
Reported by: jaroth
	Based on branch http://svn.digium.com/svn/asterisk/team/jrothenberger/asterisk-urgent
Tested by: putnopvut, jaroth



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115588 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-09 21:22:42 +00:00
bbryant
d2e5ffcec0 Update CHANGES file for previous commit of ENUM and TXCIDNAME changes.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115586 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-09 20:05:50 +00:00
tilghman
44e2dbcb9a Allow a password change to be validated by an external script.
(closes issue #12090)
 Reported by: jaroth
 Patches: 
       vm-check-newpassword.diff.txt uploaded by mvanbaak (license 7)
       20080509__bug12090.diff.txt uploaded by Corydon76 (license 14)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115582 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-09 17:28:06 +00:00
tilghman
9844825c4b Optionally display the value of several variables within the Status command.
(Closes issue AST-34)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115301 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-05 19:33:14 +00:00
bbryant
99891829fa Add two new console commands "pri show version" and "ss7 show version" that will show the version of each library respectively.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115078 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-01 23:09:08 +00:00
tilghman
d1cc29c9c1 Modify TIMEOUT() to be accurate down to the millisecond.
(closes issue #10540)
 Reported by: spendergrass
 Patches: 
       20080417__bug10540.diff.txt uploaded by Corydon76 (license 14)
 Tested by: blitzrage


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115076 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-01 23:06:23 +00:00
russell
995531248a Merge changes from team/russell/smdi-msg-searching
This commit adds some new features to the SMDI_MSG_RETRIEVE() dialplan function.
Previously, this function only allowed searching by the forwarding station.
I have added some options to allow you to also search for messages in the queue
by the message desk terminal ID, as well as the message desk number.

This originally came up as a suggestion on the asterisk-dev mailing list.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115021 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-01 19:05:36 +00:00
bbryant
26a549ebfb Add two new dialplan functions from libspeex for applying audio gain control
and denoising to a channel, AGC() and DENOISE(). Also included, is a change 
to the audiohook API to add a new function (ast_audiohook_remove) that can 
remove an audiohook from a channel before it is detached.

This code is based on a contribution from Switchvox.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114926 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-01 16:57:19 +00:00
file
c4cf6f9132 Add support for specifying the registration expiry on a per registration basis in the register line. This comes from a Switchvox patch. (issue AST-24)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114912 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-30 20:51:17 +00:00
mmichelson
ad5fb449de Adding new configuration options to app_queue. This adds two new values
to announce-position, "limit" and "more," as well as a new option, 
announce-position-limit. For more information on the use of these options,
see CHANGES or configs/queues.conf.sample.

(closes issue #10991)
Reported by: slavon
Patches:
      app_q.diff uploaded by slavon (license 288)
Tested by: slavon, putnopvut



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114906 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-30 19:30:41 +00:00
tilghman
c230dbcc21 Document the Incomplete application addition.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114874 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-30 05:05:25 +00:00
mmichelson
fc66a44580 Adding a new option 'n' to app_chanspy. This option allows for the name of the spied-on
party to be spoken instead of the channel name or number.

This was accomplished by adding a new function pointer to point to a function in app_voicemail
which retrieves the name file and plays it. This makes for an easy way that applications may play
a user's name should it be necessary. app_directory, in particular, can be simplified greatly by
this change.

This change comes as a suggestion from Switchvox, which already has this feature. AST-23


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114813 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-28 22:38:07 +00:00
mmichelson
37ff3d379f Adding a new option, 'B' to app_chanspy. This option allows the spy to
barge on the call. It is like the existing whisper option, except that
it allows the spy to talk to both sides of the conversation on which
he is spying.

This feature has existed in Switchvox, and this merges the functionality
into Asterisk.

(AST-32)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114678 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-25 22:24:32 +00:00
russell
58439d435a Add a c() option for the Jack() application and JACK_HOOK() funciton for supplying
a custom client name.  Using the channel name is still the default.  This was done
at the request of Jared Smith.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114533 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-22 16:47:00 +00:00
murf
137c1d8d9e (closes issue #12467)
Reported by: atis
Tested by: murf

This upgrade adds the ~~ (concatenation) string operator to expr2.
While not needed in normal runtime pbx operation, it is needed when
raw exprs are being syntax checked. This plays into future syntax-
unification plans. By permission of atis, this addition in trunk 
and the reason of why things are as they are will suffice to close
this bug.

I also added a short note about the previous addition of "sip show sched"
to the CLI in CHANGES, which I discovered I forgot in a previous commit.




git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114423 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-21 21:13:02 +00:00
file
4fabc3fc02 Add MEETME_INFO dialplan function that allows querying various properties of a Meetme conference.
(closes issue #11691)
Reported by: junky
Patches:
      meetme_info.patch uploaded by jpeeler (license 325)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114261 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-18 18:15:11 +00:00
jpeeler
473b76beed added info describing DNS manager
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114229 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-17 21:09:37 +00:00
seanbright
68822de9df Update the CHANGES file with yesterday's ChanSpy change. Sorry Kevin, just saw your e-mail.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114194 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-17 12:25:23 +00:00
murf
993e45a63b This is the scariest commit I've done in a long time. This is the astobj2-ification of chan_sip. I've tested a number of scenarios like crazy. It used to have 4x the call setup/teardown performance of trunk, but now it's roughly at parity. I will attempt to find the bottlenecks and get it back to the 4x mark. The changes made were somewhat invasive, but the value to the community of these upgrades outweighs waiting further for more testing. Every change being made to chan_sip was lousing this code up when we tried to merge. Peers, Users, Dialogs, are all now astobj2 objects, indexed via hashtables. Refcounting is used to track objects and free them at the bitter end of their lives. Please file issues on bugs.digium.com, and PLEASE, please, please be patient. One natural advantage to all the hash-table work is that loading large sip.conf files full of thousands of peers now goes much faster. One more please: PLEASE help thrash this code and test it.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114190 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-16 23:53:27 +00:00
murf
800b2ead72 Introducing a small upgrade to the ast_sched_xxx facility, to keep it from eating up lots of cpu cycles. See CHANGES. From the team/murf/bug11210 branch.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114182 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-16 20:09:39 +00:00
murf
d3a9bac0e7 Introducing various astobj2 enhancements, chief being a refcount tracing feature, and various documentation updates in astobj2.h, and the addition of standalone utility, refcounter, that will filter the trace output for unbalanced, unfreed objects. This comes from the team/murf/bug11210 branch.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114175 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-16 17:45:28 +00:00
murf
9eb33a0a0e Introducing doubly linked lists to trunk from branch team/murf/bug11210.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114172 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-16 17:14:18 +00:00
file
450035f0f4 A 'b' option has been added which causes chan_local to return the actual channel that is behind it when queried. This is useful for transfer scenarios as the actual channel will be transferred, not the Local channel. If you have been using Local channels as queue members and having issues when the agent did a blind transfer this option may solve the issue.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@114049 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-10 20:28:40 +00:00
tilghman
cbf32a3bec Mark recent additions from #11954 and #12254
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@113752 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-09 16:23:30 +00:00
jpeeler
1d7d5b83f2 Existing DNS manager lookups extended to check for SRV records.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@112321 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-01 22:07:30 +00:00
jpeeler
62c01ac2d8 This adds DNS SRV record support to DNS manager. If there is a SRV record for a given domain, the hostname and port listed in the SRV record will be used. If no SRV record exists or a SRV lookup is not attempted, the DNS lookup on the specified domain will be performed as normal. Chan_sip has been modified to take advantage of the new SRV support.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@112207 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-01 17:53:08 +00:00
tilghman
7deaedf968 Add a linkedlist macro that maintains a sorted list
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@111036 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-26 19:19:31 +00:00
tilghman
03d36cd544 Oops, fix this, too
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@111013 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-26 18:41:27 +00:00
kpfleming
adfd7f5f13 Merged revisions 110880 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r110880 | kpfleming | 2008-03-26 09:42:35 -0700 (Wed, 26 Mar 2008) | 10 lines

Merged revisions 110869 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r110869 | kpfleming | 2008-03-26 08:53:46 -0700 (Wed, 26 Mar 2008) | 2 lines

due to licensing restrictions, we cannot distribute the source code for iLBC encoding and decoding... so remove it, and add instructions on how the user can obtain it themselves

........

................


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@110881 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-26 17:10:28 +00:00
file
663b7622ce Add a special dialplan variable to chan_sip which will cause an audio file to be played upon completion of an attended transfer.
(closes issue #9239)
Reported by: sunder


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@110631 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-25 15:18:41 +00:00
russell
0c36baca28 Note that the TCP and TLS support is currently considered experimental and
is subject to change while we work out the remaining issues.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@110499 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-21 15:24:43 +00:00
tilghman
7fa3f1341f Add note of the added Directory options, from commit 110237 (closes issue #7151)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@110444 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-21 01:44:38 +00:00
jpeeler
76248bd9e7 This change adds DNS manager support for registrations not referencing a peer entry. It looks like there is support for DNS manager for realtime peers as well, however it is not implemented correctly. The improper usage occurs when ast_dnsmgr_lookup is called with one of the arguments being an address from the stack to be continually updated. The variable from the stack will go out of scope and dnsmgr will continue to try and update the memory there, causing possible stack corruption. This problem will be worked on next as well as adding DNS manager support for peer entries.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@110087 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-19 21:05:24 +00:00
file
ab44bf6700 Add the ability to use a pattern match for a hint.
(closes issue #7767)
Reported by: Corydon76
Patches:
      20070314__simple_hint_lookup.diff.txt uploaded by Corydon76
      pbx-trunk-98436.diff uploaded by plack (license 365)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@109970 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-19 16:54:12 +00:00
mmichelson
cc9a99e058 Add option 'randomperiodicannounce' to queues.conf. Setting this will
allow the list of periodic announcments specified to be played in a random
order instead of being played sequentially.

(closes issue #6681)
Reported by: alt_phil
Tested by: putnopvut



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@109621 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18 18:58:42 +00:00
oej
ee49273d4d Add manager peerstatus events when peer can't authenticate.
(closes issue #11959)
Reported by: mostyn
Patches: 
      peerstatus3.patch uploaded by mostyn (license 398)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@109316 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-18 07:23:45 +00:00
jpeeler
d7f3722fa5 documenting changes as a result of adding TCP functionality to ExternalIVR
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@108639 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-13 23:12:59 +00:00
kpfleming
faf90b0c03 add support for named sections in zapata.conf, and fix a few bugs in config file parsing
(closes issue #9503)
Reported by: tzafrir
Patches:
      fix_cleanups uploaded by tzafrir (license 46)
      zapata_sections uploaded by tzafrir (license 46)
      skipchannel_options uploaded by tzafrir (license 46)
      conf_sample uploaded by tzafrir (license 46)

patches updated by me to better conform to coding guidelines and fix some problems



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@108286 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-12 21:37:40 +00:00
russell
c685c2e7f3 Add a trivial new dialplan function, AST_CONFIG(), which allows you to access
a variable from an Asterisk configuration file in the dialplan, or anywhere
else where dialplan functions can be used.

(Inspired by a discussion with Tilghman and Pari)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@107787 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-11 22:21:19 +00:00
mmichelson
f523ddafbb Adding the Atxfer manager command. With this, you may initiate
an attended transfer over AMI

(closes issue #10585)
Reported by: ornati
Patches:
      atxfer-trunk-r90428.diff uploaded by ornati (license 210)
	  (with modifications from me)
Tested by: putnopvut



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@106236 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-05 22:33:05 +00:00
tilghman
198829f2db Create a centralized configuration option for silencethreshold
(closes issue #11236)
 Reported by: philipps
 Patches: 
       20080218__bug11236.diff.txt uploaded by Corydon76 (license 14)
 Tested by: philipps


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@106072 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-05 16:23:44 +00:00
russell
56cdf42bca Update CHANGES heading
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@105597 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-04 16:55:17 +00:00
russell
af55d60c2d Add a "devstate change" CLI command to control custom device states. Also,
do some additional code cleanup and improvement in passing.

(closes issue #12106)
Reported by: nizon
Patches:
      devstate-patch.txt uploaded by nizon (license 415)
        -- Updated to trunk, and tab completion added by me


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@105461 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-01 00:53:25 +00:00
file
1c9e1d5b2e Add an 'e' option to ResetCDR which re-enables a CDR that has been disabled.
(closes issue #11170)
Reported by: kratzers
Patches:
      ResetCDR.1.diff uploaded by kratzers (license 307)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104215 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-26 19:14:04 +00:00
russell
8d7f4e86d7 Update CHANGES for SMDI stuff
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104123 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-26 00:35:30 +00:00
tilghman
e5122f6dca Permit additional CDR columns to be saved in Postgres. Note that these
changes are backward-compatible, so no changes to UPGRADE.txt are
necessary.
(closes issue #9279)
 Reported by: rottenroddy
 Patches: 
       20080125__bug9279.diff.txt uploaded by Corydon76 (license 14)
 Tested by: Corydon76


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104101 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-25 23:04:20 +00:00
tilghman
92539559f8 Move Originate to a separate privilege and require the additional System privilege to call out to a subshell.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@104039 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-22 22:55:35 +00:00
file
9fc8ecd73b Add CHANNELREDIRECT_STATUS variable to ChannelRedirect() dialplan application. This will either be set to NOCHANNEL if the given channel was not found or SUCCESS if it worked.
(closes issue #11553)
Reported by: johan
Patches:
      UPGRADE.txt.channelredirect.patch uploaded by johan (license 334)
      CHANGES.channelredirect.patch uploaded by johan (license 334)
      app_channelredirect-20080219.patch uploaded by johan (license 334)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103819 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-19 18:40:22 +00:00
oej
e0fe5f0b64 - No space in manager event names, please
- Add new event to CHANGES


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103755 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-18 10:10:35 +00:00
tilghman
a5efdcb361 Context tracing for channels
(closes issue #11268)
 Reported by: moy
 Patches: 
       chantrace-datastored-encapsulated-rev94934.patch uploaded by moy (license 222)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103754 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-18 04:43:33 +00:00
mmichelson
61bb9aa3d2 Document GotoIfTime change from svn revision 103738
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103740 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-15 23:20:48 +00:00
jpeeler
3847faed34 Requested changes from Pari, reviewed by Russell.
Added ability to retrieve list of categories in a config file.
Added ability to retrieve the content of a particular category.
Added ability to empty a context.
Created new action to create a new file.
Updated delete action to allow deletion by line number with respect to category.
Added new action insert to add new variable to category at specified line.
Updated action newcat to allow new category to be inserted in file above another existing category.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103331 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-12 00:24:36 +00:00
russell
3738d86cfc remove entry that is no longer in the tree
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@101373 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-31 05:28:42 +00:00
oej
9ee09de3f9 Update CHANGES with rtppage
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@101221 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-30 15:36:58 +00:00
qwell
9dd8425cfa Fix a typo
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@101126 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-30 00:58:23 +00:00
russell
e2f5175dcd 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: http://svn.digium.com/svn/asterisk/trunk@101082 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-30 00:04:17 +00:00
file
341f67c198 Merge in strictrtp branch. This adds a strictrtp option to rtp.conf which drops packets that do not come from the remote party.
(closes issue #8952)
Reported by: amorsen


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100206 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-24 17:47:50 +00:00
qwell
015b65c8bc Move code from res_features into (new file) main/features.c
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@100039 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-23 23:09:11 +00:00
tilghman
533d426fef Add res_config_ldap for realtime LDAP engine.
(closes issue #5768)
 Reported by: mguesdon
 Patches: 
       res_config_ldap-v0.7.tar.gz uploaded by mguesdon (license 121)
       res_ldap.conf.sample uploaded by suretec (license 70)
       asterisk-v3.1.4.ldif uploaded by suretec (license 70)
       asterisk-v3.1.4.schema uploaded by suretec (license 70)
 Tested by: oej, mguesdon, suretec, cthorner


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99696 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-22 22:33:20 +00:00
oej
555cacbd74 Documentation updates for BRIDGEPVTCALLID
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99647 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-22 20:44:56 +00:00
russell
e5bc0cbd61 Change the Asterisk CLI startup commands feature to read commands to run from cli.conf
after a discussion on the -dev list.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99642 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-22 20:33:16 +00:00
russell
d6e19bdc91 Merge changes from team/group/sip-tcptls
This set of changes introduces TCP and TLS support for chan_sip.  There are various
new options in configs/sip.conf.sample that are used to enable these features.  Also,
there is a document, doc/siptls.txt that describes some things in more detail.

This code was implemented by Brett Bryant and James Golovich.  It was reviewed
by Joshua Colp and myself.  A number of other people participated in the testing
of this code, but since it was done outside of the bug tracker, I do not have their
names.  If you were one of them, thanks a lot for the help!

(closes issue #4903, but with completely different code that what exists there.)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@99085 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-18 22:04:33 +00:00
russell
8ff8275976 Add support for an easy way to automatically execute some Asterisk CLI commands
immediately at startup.  Any commands in the startup_commands file in the Asterisk
config diretory will get executed.

(closes issue #11781)
Reported by: jamesgolovich
Patches:
      asterisk-startupcmds.diff.txt uploaded by jamesgolovich (license 176)
	    -- With some changes by me.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98986 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-17 00:05:13 +00:00
tilghman
8518f4d6e3 Info about res_config_curl
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98984 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-16 22:36:58 +00:00
qwell
1abc40d55d Add note about new update.log to CHANGES, by request of jmls and further prodding by jsmith.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98969 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-16 18:34:19 +00:00
qwell
880ddb7103 Add backupdeleted option to app_voicemail
(closes issue #10740)
Reported by: ruffle
Patches:
      app_voicemail.diff uploaded by ruffle (license 201)
      10740-voicemail.diff uploaded by qwell (license 4)
      20080113_bug10740.diff.txt uploaded by mvanbaak (license 7)
Tested by: blitzrage, mvanbaak, qwell


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98889 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-14 22:19:40 +00:00
twilson
2cdb1993af Add description of TOUPPER and TOLOWER dialplan functions to CHANGES.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98811 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-14 18:42:16 +00:00
russell
0c6b474f15 - Break up the Misc. section a bit with a new section for Misc. New Modules
- Change spacing a bit in some places for consistent indentation


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98656 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-13 23:43:06 +00:00
russell
02a222b4cc Bring in the code from team/russell/jack/.
Add a new module, app_jack, which provides interfaces to JACK, the Jack
Audio Connection Kit (http://www.jackaudio.org/).  Two interfaces are
provided; there is a JACK() application, and a JACK_HOOK() function.  Both
interfaces create an input and output JACK port.  The application makes
these ports the endpoint of the call.  The audio coming from the channel
goes out the output port and whatever comes back in on the input port is
what gets sent to the channel.  The JACK_HOOK() function turns on a JACK
audiohook on the channel.  This lets you run the audio coming from a
channel through JACK, and whatever comes back in is what gets forwarded
on as the channel's audio.  This is very useful for building custom
vocoders or doing recording or analysis of the channel's audio in another
application.

In case anyone is curious, the platform that inspired me to write this is
PureData (http://puredata.info/).  I wrote these JACK interfaces so that I
could use Pd to do interesting things with the audio of phone calls ...


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98628 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-13 19:19:57 +00:00
russell
8e7cfc7450 Add a new CLI command, "core set chanvar", which allows you to set a channel
variable (or function) on an active channel from the CLI.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98558 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-12 19:34:38 +00:00
kpfleming
cdf9ce4cb9 Add 'zap set dnd' CLI command, and ensure that the AMI DNDState event always gets generated.
(closes issue #11212)
Reported by: tzafrir
Patches:
      zap_dnd.diff uploaded by tzafrir (modified by me) (license 46)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98488 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-12 00:20:55 +00:00
kpfleming
e63414ec96 Add 'auto' signalling mode for Zaptel channels.
(closes issue #11690)
Reported by: tzafrir
Patches:
      signaling_to_signalling.diff uploaded by tzafrir (license 46)
      signalling_cleanup.diff uploaded by tzafrir (license 46)
      zap_auto_default.diff uploaded by tzafrir (license 46)
      zap_no_default_sig.diff uploaded by tzafrir (license 46)
      zap_signal_auto.diff uploaded by tzafrir (license 46)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98436 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-11 23:10:57 +00:00
russell
00e26442c5 Add a new global and per-peer option to chan_sip, qualifyfreq, which allows you
to set the qualify frequency.

(closes issue #11597)
Reported by: wilder
Patches:
      qualifyfreq5.patch uploaded by wilder (license 362)
	   -- with some mods by me


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@98027 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-11 00:38:23 +00:00
tilghman
40a3aabbf1 Several manager changes:
1) Add the Dialplan class, for NewExten and VarSet events, which should cut
down on the volume of traffic in the Call class.
2) Permit some commands to be run from multiple classes, such as allowing
DBGet to be run from either the System or the Reporting class.
3) Heavily document each class in the sample config, as there were several
that made no sense to be in the write= line, and two that made no sense to be
in the read= line (since they controlled no permissions there).

(Closes issue #10386)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97651 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-10 00:12:35 +00:00
twilson
11f6af8c7b Added a new module, res_phoneprov, which allows auto-provisioning of phones
based on configuration templates that use Asterisk dialplan function and
variable substitution.  It should be possible to create phone profiles and
templates that work for the majority of phones provisioned over http. It
is currently only intended to provision a single user account per phone.
An example profile and set of templates for Polycom phones is provided.
NOTE: Polycom firmware is not included, but should be placed in
AST_DATA_DIR/phoneprov/configs to match up with the included templates.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97634 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-09 21:37:26 +00:00
mmichelson
245c11d367 Adding the option of specifying a second interface in a member definition for a queue. app_queue
will monitor this second device's state for the member, even though it actually calls the first
interface. This ability has been added for statically defined queue members, realtime queue members,
and dynamic queue members added through the CLI, dialplan, or manager.

(closes issue #11603, reported by acidv)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@97203 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-08 21:18:32 +00:00
kpfleming
16a0b3a8a6 note that chan_console requires portaudio v19
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95839 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-02 14:37:50 +00:00
russell
04838b9d59 Merge changes from team/russell/codec_resample
This commit imports libresample for use in Asterisk.  It also adds a new codec
module, codec_resample.  This module uses libresample to re-sample signed linear
audio between 8 kHz and 16 kHz.

It also provides an alternative for converting between 16 kHz G.722 and 8 kHz
signed linear when using G.722, which will likely be useful as some people have
complained about volume issues when the current codec_g722 converts to 8 kHz 
signed linear.  But, to test this, you will have to disable the g722-to-slin and
g722-to-slin16 translators in codec_g722.c.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95501 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-31 21:22:31 +00:00
russell
4bc50170da Merge the main set of changes from team/russell/chan_console.
Add a new console channel driver, chan_console, which is a console channel
driver that uses portaudio as a cross platform audio interface.  It was written
to provide a console channel driver that works with Mac CoreAudio, but it
supports a number of other audio interfaces, as well, including OSS and ALSA.
It could one day be the single console channel driver, but does not yet have
as many features as chan_oss.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95412 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-31 16:13:26 +00:00
mmichelson
a0cbc07523 Some changes to app_amd.
The channel name is printed in verbose messages
maximumWordLength option added.
Duration of words that do not meet the minimum word duration will be logged
The duration of pre-greeting silence will be logged
Only consider us in the greeting if we actually detected a valid word duration.

(closes issue #11650, reported and patched by davevg)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95167 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-28 16:12:06 +00:00
rizzo
ecca5a0232 clarify the type of video support in chan_oss
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94902 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-27 16:51:08 +00:00
russell
22436a9c1b Add a new dialplan function, DIALPLAN_EXISTS(), which allows you to check for
the existence of a dialplan target.

(closes issue #11579)
Reported by: irroot
Patches: 
      func_dialplan2.c uploaded by irroot (license 52)
	  -- Additional changes by me.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94799 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-26 18:54:21 +00:00
mmichelson
06049447cd Adding support for storing the queue log entries in a realtime backend.
(closes issue #11625, reported and patched by sergee)

Thank you very much to sergee for adding this new feature!



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94782 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-26 15:58:17 +00:00
mmichelson
d65ab00415 The one documentation source I forgot to update after the merge of the queue-penalty branch
was the CHANGES file. No longer!



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@94546 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-21 20:28:04 +00:00
oej
c6314dd7de Reorganize CHANGES a bit. The "misc" section grew too large...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@93899 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-19 09:20:37 +00:00
oej
f93a8656aa Adding the ability to specify the To: header in an outbound INVITE
by adding an exclamation mark to the dial string.

This patch also exists for 1.4 in the fixtoheader-1.4 branch
and has been in production for quite some time.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@93897 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-19 08:57:45 +00:00
oej
82835dcbcd Add option for starting remote Asterisk by naming the actual runtime socket instead of pointing
to configuration file with -C

Reported by: sobomax
Patches: 
      asterisk.c.diff.trunk uploaded by sobomax (license 359)
      doc changes by committer
(closes issue #11598)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@93854 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-19 07:01:40 +00:00
oej
9e3315f20f Adding a new CLI command for "manager reload", which is important now that
you need to reload after changes. Thanks YS.

Reported by: ys
Patches: 
      trunk93163_manager_reload.c.diff uploaded by ys (license 281)
(related to issue #11414)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@93166 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-16 13:35:09 +00:00
oej
d9fce0bbd1 Change manager so that registered accounts are stored in memory. This opens for a
manager realtime implementation.

If you change accounts in manager.conf, you now need to reload to activate the
changes (deletions, additions). This was not the case with 1.4.

Reported by: ys
Patches: 
      trunk93163_manager_reload.c.diff uploaded by ys (license 281)
(closes issue #11414)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@93165 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-16 13:32:48 +00:00
oej
65de4399c5 Adding console_video to CHANGES. It's important that we keep this file up to date,
even with experimental stuff.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@93164 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-16 13:21:11 +00:00
oej
b9b03966fb HUGE improvements to QoS/CoS handling by IgorG
- Refer to the proper documentation
- Implement separate signalling/media QoS/CoS in many channels using RTP
- Improve warnings and verbose messages
- Deprecate some old settings

Minor modifications by me, a big effort from IgorG.
Thanks!


Reported by: IgorG
Patches: 
      qoscleanup-89394-4-trunk.patch uploaded by IgorG (license 20)
Tested by: IgorG
(closes issue #11145)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@93163 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-16 10:51:53 +00:00
oej
ce6fe83f1c Update documentation
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@93160 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-16 08:19:38 +00:00
tilghman
ef6f7af8ad Remove use of privacy.conf by the Privacy app.
Reported by: eliel
Patch by: eliel
(Closes issue #11344)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@93066 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-14 19:27:54 +00:00
oej
9a86564730 Add manager command for showing all current channels.
Thanks, eliel, for writing the original patch. Modified by me to follow
other manager events and the new "moremanager" style.

(closes issue #11478)
Reported by: eliel
Patches: 
      manager.c.patch uploaded by eliel (license 64)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@91347 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-06 10:27:54 +00:00
tilghman
a17700ba80 Change cdr_manager to use a "CDR" level, rather than the (overcrowded) "call" level.
(Closes issue #11015)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@91173 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-05 16:46:47 +00:00
tilghman
29a6f4d8e6 Added multiple name listing. (Closes issue #10413)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@91172 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-05 16:25:52 +00:00
qwell
a2d2f69502 Add manager action 'sipshowregistry'.
Closes issue #11464, patch by eliel.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@90991 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-04 21:23:30 +00:00
russell
bdd896e7be Add support for monitoring MWI on FXO lines.
This introduces two new options for zapata.conf: mwimonitor and mwimonitornotify.
The mwimonitor option enables MWI monitoring.  When the MWI state on a line changes,
then the script specified by mwimonitornotify will be executed for custom handling
of the state change, similar to the externnotify option of voicemail.conf.

Also, when the MWI state on an FXO line changes, an internal Asterisk event is
generated to indicate the new state of the associated mailbox.  That may, any
module that cares about MWI information will get notified and can handle it
just as if app_voicemail had sent this notification.

(BE-253, original patch from markster, with some minor modifications by me to
 add comments, documentation, and internal event support)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@90949 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-04 19:08:30 +00:00
oej
5e8a73939a (closes issue #11422)
Reported by: eliel
Patches: 
      core.show.hint.patch uploaded by eliel (license 64)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@90853 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-04 15:07:53 +00:00
oej
dd414bec14 (closes issue #11462)
Reported by: eliel
Patches: 
      CHANGES.patch uploaded by eliel (license 64)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@90852 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-04 15:02:48 +00:00
file
7c209702a8 Add AGI commands for speech recognition. These mirror the dialplan applications mostly but present the information in a nicer fashion. The SPEECH RECOGNIZE command for example will return the results instead of having to query the dialplan functions.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@90656 f38db490-d61c-443f-a65b-d21fe96a405b
2007-12-03 21:03:05 +00:00
mmichelson
8bca2b15a3 Adding support for realtime music on hold. The following are the main points:
1. When moh is started, we search first in memory to find the class. If we do not
   find it in memory, we search realtime instead.

2. When moh is restarted (as in, it had been started on this particular channel, stopped,
   and now we're starting it again), if using the "files" mode, then realtime will always
   be rechecked. If you are using other modes, however, we will simply reattach to the external
   running process which was playing moh earlier in the call. This is a necessary compromise so that
   we don't end up with too many background processes.

3. musiconhold.conf has a general section now. It has one option: cachertclasses. If set to yes,
   then moh classes found in realtime will be added to the in-memory list. This has the advantage
   of not requiring database lookups each time moh is started, but it has the disadvantage of not
   truly being realtime.

I have tested this for functionality, and it passes. I also tested this under valgrind and there
are no memory problems reported under typical use.

Special thanks to Sergee for implementing this feature and enduring my complaints on the bugtracker!

(closes issue #11196, reported and patched by sergee)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89946 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-28 00:47:22 +00:00
oej
d33873fade - Mark "concise" as deprecated
- Restructure other changes to UPGRADE.txt and CHANGES

We're still looking for scripts that replace 
	asterisk -rx "show shannels concise"
by using the manager interface, but still produces the same output.
Anyone?


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89606 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-26 19:24:23 +00:00
murf
4f8e82fa2b Thanks to pnlarsson for noting the spelling error in the cli commands. Also, added some verbage about the new algorithm to CHANGES.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89583 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-26 16:24:27 +00:00
oej
003485a22b - Deprecate "call-limit" in chan_sip. No other channel driver enforces call-limits
and we now have the groupcount system to implement call-limits in the dialplan. You
  can use the "setvar" option in realtime/sip.conf to set limits per device.

- Implement "callcounter" as a new option to enable the call counting we need to
  report device status to queue, manager and SIP subscriptions.

The call counter setting is now enabled in the code by setting the device call-limit
to 999. When we remove the call limit, we can simply enable this with a boolean
setting.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89554 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-25 11:46:17 +00:00
tilghman
21981c69ae Change Read to set READSTATUS as an indication of the result
Also, some cleanup to CHANGES.
Reported by: michael-fig
Patch by: michael-fig,tilghman
(Closes issue #11004)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89489 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-21 18:38:18 +00:00
russell
855aea6095 Merge changes from team/russell/sla_trunk_moh ...
* Added the ability to specify the music on hold class used to play into the
   conference when there is only one member and the M option is used.
* Added the ability to specify a music on hold class to play instead of ringing
   for the SLATrunk application.

(patched by me, and tested internally)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89470 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-21 00:21:38 +00:00
mmichelson
951d8aae90 Changed the "busy-level" option in sip.conf to "busylevel" to be more parallel
with the SIPPEER() argument of the same name. The deprecation procedure is not
being used here since this is a trunk-only option.

(closes issue #11307, reported by pj, patched by me)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89441 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-19 23:24:35 +00:00
mmichelson
9f89c21eaa Adding SYSINFO() dialplan function for retrieval of system information
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89421 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-19 16:29:07 +00:00
oej
7c3a952244 Update CHANGES
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89407 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-19 09:16:56 +00:00
russell
bf19a71d3a Update the ParkedCall application to grab the first available parked call if no
parked extension is provided as an argument.

(closes issue #10803)
Reported by: outtolunc
Patches: 
      res_features-parkedcall-any.diff4 uploaded by outtolunc (license 237)
	  - modified by me to work a bit differently ...


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89250 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-13 20:30:13 +00:00
russell
f855ea037a Print out the channel name as a prefix to the "agi debug" output. This makes
AGI debugging on busy systems much easier.

(closes issue #10730)
Reported by: junky
Patches: 
      agi_debug_chan.diff uploaded by junky (license 177)
	  20070923_10730.diff uploaded by mvanbaak (license 7)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89074 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-07 00:00:38 +00:00
russell
fa802a6e1d Added the ability to do "meetme concise" with the "meetme" CLI command.
This extends the concise capabilities of this CLI command to include
listing all conferences, instead of an addition to the other sub commands
for the "meetme" command.

(closes issue #11078)
Reported by: jthomas
Patches: 
      meetme-concise.patch uploaded by jthomas (license 293)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89073 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-06 23:44:39 +00:00
mmichelson
fed34a6362 Adding the queue strategy wrandom
(closes issue #10942, reported and patched by julianjm, documentation changes by me)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89070 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-06 22:36:55 +00:00
russell
7c0bc4fa08 Added the S() and L() options to the MeetMe application. These are pretty
much identical to the S() and L() options to Dial().  They let you set
timeouts for the conference, as well as have warning sounds played to
let the caller know how much time is left, and when it is running out.

(closes issue #8030)
Reported by: areski
Patches: 
      meetme_timeout_timelimit_v2.patch uploaded by areski (license 29)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89069 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-06 22:15:32 +00:00
tilghman
5c6e4cf4a4 Change wording to that suggested by MasterYoda
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88653 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-05 18:22:20 +00:00
russell
5f0e53299f Merge the code from asterisk/team/group/chan_unistim:
This introduces a new channel driver, chan_unistim, that supports the Unistim
VoIP protocol for Nortel phones.  The following models have been confirmed 
to work: i2002, i2004 and i2050.

(closes issue #8864)
Reported by: c_hans
Patches: 
      chan_unistim.patch uploaded by c (license 304)
      ustm_no_conf.diff uploaded by junky (license 177)
Tested by: c_hans, dbowerman, math, junky, loloski


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88368 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02 20:56:12 +00:00
tilghman
82ccaa3bac Add a few bytes on LUA
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@88267 f38db490-d61c-443f-a65b-d21fe96a405b
2007-11-02 16:26:31 +00:00
mmichelson
b548833b6c Forgot to update CHANGES when I committed the linear queue strategy.
Thank you Russell, for pointing this out!



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87217 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-26 22:21:08 +00:00
tilghman
682daa5fc2 Document the changes made earlier today to meetme
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86195 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-17 20:42:20 +00:00
russell
4f94e42a67 Added support for reading the TOUCH_MONITOR_PREFIX channel variable.
It allows you to configure a prefix for auto-monitor recordings.

(closes issue #6353)
Reported by: ivanfm
Patches: 
      asterisk_automon_v4.patch uploaded by ivanfm (original patch)
	   - updated patch:
         6353-touch_monitor_prefix.diff uploaded by qwell (license 4)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85682 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-15 20:08:04 +00:00
russell
cf9d2ba42b Note jitterbuffer support for chan_local in CHANGES
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85098 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-09 15:12:59 +00:00
mmichelson
ab29da2507 Added the ability to pause and unpause members via the CLI
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82349 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-13 21:23:32 +00:00
file
d3acec7203 Add setvar support to chan_zap. Just like you can in chan_sip and chan_iax2 you can now use it with zaptel channels. (done while in Montreal at the Asterisk bootcamp!)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82329 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-13 16:58:59 +00:00
file
0523896934 (closes issue #9433)
Reported by: junky
Patches:
      register_trying.diff.txt uploaded by jcmoore
Disable sending 100 Trying on REGISTER attempts and make it an option. This has been signed off by oej.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82257 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-11 17:58:48 +00:00
russell
0cd72aba9e Add EXTENSION_STATE() function that can retrieve the state of an extension that
has a hint.

(closes issue #10635, adamgundy)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81813 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-06 20:54:07 +00:00
russell
47d74a5c95 s/DEVSTATE/DEVICE_STATE/
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81785 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-06 20:27:53 +00:00
russell
50aee298c3 Merge HINT() dialplan function from my sandbox branch into trunk. This function
will let you retrieve the list of devices or name associated with a hint.
(inspired by issue #10635)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81783 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-06 20:24:18 +00:00
file
fc6a901a50 (closes issue #10377)
Reported by: mvanbaak
Patches:
      chan_skinny_info.diff uploaded by mvanbaak (license 7)
Add skinny show device, skinny show line, and skinny show settings CLI commands.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81782 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-06 20:16:02 +00:00
file
ce33d3a518 (closes issue #10603)
Reported by: jmls
Patches:
      pbx.diff uploaded by jmls (license 141)
Add REASON dialplan variable for when an originated call fails and the failed extension is executed.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81372 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-30 14:42:41 +00:00
russell
5525846c14 (closes issue #7852)
Reported by: nic_bellamy
Patches:
      2006-10-03_svn_44249_voicemail_lockmode_v3.patch uploaded by nic_bellamy (license 213)

Add support for configurable file locking methods.  The default is "lockfile",
which is the old behavior.  There is an additional option, "flock", which is
intended for use in situations where the lockfile method will not work, such as
with SMB/CIFS mounts.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81233 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-28 16:28:26 +00:00
oej
6862991512 Doc change
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79638 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-16 06:52:17 +00:00
murf
e897b4499e This commit closes bug 7605, and half-closes 7638. The AEL code has been redistributed/repartitioned to allow code re-use both inside and outside of Asterisk. This commit introduces the utils/conf2ael program, and an external config-file reader, for both normal config files, and for extensions.conf (context, exten, prio); It provides an API for programs outside of asterisk to use to play with the dialplan and config files.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79595 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-15 19:21:27 +00:00
mmichelson
782319a0da Allow non-realtime queues to have realtime members
(issue #10424, reported and patched by irroot)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79238 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-13 15:39:48 +00:00
tilghman
b835899f30 Add some documentation detailing an aspect of dialplan functions, as requested by Russell
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77838 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-31 18:50:06 +00:00
russell
60ed9402e3 remove a couple of entries that got duplicated and snuck into the SIP section. Also, align the NAT/STUN entry with the others.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76985 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-25 01:06:02 +00:00
rizzo
f435e63b8d add documentation on nat/stun support in chan_sip
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76755 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-24 07:51:14 +00:00
russell
f71444708d note the debug and verbose changes in CHANGES
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76558 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-23 14:23:47 +00:00
oej
2199b7fdcb Update with new features
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@74025 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-09 08:30:04 +00:00
russell
83f0937208 Redistribute a lot of the items that were in the Misc. section
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73633 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-06 03:48:33 +00:00
russell
2a03438817 note TLS support for manager and HTTP in CHANGES
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73632 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-06 03:40:57 +00:00
file
0b3770075d Add SIPREFERRINGCONTEXT and SIPREFERREDBYHDR variables when a transfer takes place. (issue #8378 reported by jcovert)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72354 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-27 23:13:09 +00:00