Allow manager originate to specifiy more than one variable to be set.

Allow manager originate and spool files to set writable dialplan functions,
including those that use the pipe symbol to seperate arguments.
Allow CDR dialplan function to be able to set the account code and userfield.
This deprecates the use of the Account header in manager originate and spool
files, as well as the SetAccount and SetCDRUserField applications.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2005-07-15 23:24:51 +00:00
parent 22b0f5d306
commit a9c7f50a09
9 changed files with 158 additions and 119 deletions

View File

@@ -37,13 +37,11 @@ Priority: 1
#Callerid: Wakeup Call Service <(555) 555-5555>
#
# You can set channel variables that will be passed to the channel
# You can set channel variables that will be passed to the channel.
# This includes writable dialplan functions.
#
#SetVar: file1=/tmp/to
#SetVar: file2=/tmp/msg
#SetVar: timestamp=20021023104500
#
# You may specify an account to be passed to CDRs
#
#Account: markster
#Set: file1=/tmp/to
#Set: file2=/tmp/msg
#Set: timestamp=20021023104500
#Set: CDR(accountcode|r)=blort
#Set: CDR(userfield|r)=42