[Astpp-commit] SF.net SVN: astpp:[2299] trunk/samples/sample.astpp-dialplan.conf
Brought to you by:
darrenkw
|
From: <dar...@us...> - 2010-01-13 01:30:49
|
Revision: 2299
http://astpp.svn.sourceforge.net/astpp/?rev=2299&view=rev
Author: darrenkw
Date: 2010-01-13 01:30:42 +0000 (Wed, 13 Jan 2010)
Log Message:
-----------
There was an error in the dialplan. Fixed it.
Modified Paths:
--------------
trunk/samples/sample.astpp-dialplan.conf
Modified: trunk/samples/sample.astpp-dialplan.conf
===================================================================
--- trunk/samples/sample.astpp-dialplan.conf 2009-11-01 00:42:37 UTC (rev 2298)
+++ trunk/samples/sample.astpp-dialplan.conf 2010-01-13 01:30:42 UTC (rev 2299)
@@ -122,13 +122,14 @@
exten => _X.,7,GotoIf($["${GROUP_COUNT(account)}" > "${MAXCHANNELS}"]?90)
exten => _X.,8,GotoIf($["${GROUP_COUNT(did)}" > "${DID_MAXCHANNELS}"]?90)
exten => _X.,9,SetAccount(${ACCOUNT}) ; this might be superflous
-exten => _X.,10,Set(CDR(accountcode)=${ACCOUNT},CDR(userfield)=ASTPP-DID)
-exten => _X.,11,Set(CDR(accountcode)=${ACCOUNT})
+exten => _X.,10,Set(CDR(accountcode)=${ACCOUNT})
+exten => _X.,11,Set(CDR(userfield)=ASTPP-DID)
exten => _X.,12,GotoIf($["${GOTO}" = "1"]?30) ; If this was done using the local channel or a direct number...
exten => _X.,13,Dial(${DIALSTRING}/${DID_DIAL_AS}||${TIMELIMIT}|${OPTIONS})
exten => _X.,14,Hangup
exten => _X.,30,ForkCDR()
-exten => _X.,31,Set(CDR(uniqueid)=${CDR(uniqueid)}a,CDR(userfield)=FORKED)
+exten => _X.,31,Set(CDR(uniqueid)=${CDR(uniqueid)}a)
+exten => _X.,n,Set(CDR(userfield)=FORKED)
exten => _X.,n,Goto(${GOTO_CONTEXT},${GOTO_EXTENSION},${GOTO_PRIORITY})
exten => _X.,n,Goto(100)
include => astpp-errors
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|