Added ability to use Custom List Fields in Web Forms, Scripts and Dispo Call URL entries used by the agent interface

optimization of webform generation code in vicidial.php
cleanup of asterisk default conf files
several other small fixes

git-svn-id: svn://192.168.202.10@1525 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2010-09-28 04:02:00 +00:00
parent 0c4bf5e66b
commit db7a290ebc
13 changed files with 645 additions and 1167 deletions
+1 -20
View File
@@ -41,9 +41,6 @@ exten => _999XX11112,5,Hangup
[default]
include => vicidial-auto
; VICI-GROUP DIRECT SUPPORT LINE (VICIHELP[84244357])
exten => _84244XXX,1,Dial(IAX2/vicihelp/${EXTEN:5})
; Local agent alert extensions
exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
exten => _78600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
@@ -68,31 +65,15 @@ exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG---
; Example phone extensions
; Extension 2000 Sipura/Linksys ATA line 1
exten => 2000,1,Dial(sip/spa2000,30,to) ; Ring, 30 secs max
exten => 2000,2,Voicemail,u2000 ; Send to voicemail...
; Extension 2001 Sipura/Linksys ATA line 2
exten => 2001,1,Dial(sip/spa2001,30,to) ; Ring, 30 secs max
exten => 2001,2,Voicemail,u2001 ; Send to voicemail...
; Extension 2102 rings Grandstream phone
exten => 2102,1,Dial(sip/gs102,30,to) ; Ring, 30 secs max
exten => 2102,2,Voicemail,u2102 ; Send to voicemail...
; Extension 401 rings the firefly softphone
exten => 401,1,Dial((IAX2/firefly01@firefly01/s||t)
exten => 401,2,Hangup
; 100-350 phone extensions now auto-generated
; 100-350 phone extensions now auto-generated, so no need to uncommend them
; extensions for other SIP and IAX call center phones
; cc100-cc150 SIP Phones
;exten => _1[0-5]X,1,Dial(sip/cc${EXTEN},20,to)
; cc300-cc350 IAX Phones
;exten => _3[0-5]X,1,Dial(IAX2/cc${EXTEN},20,to)
; extensions if using a T1 channelbank
;exten => _19XX,1,Dial(Zap/${EXTEN:2},30,o)
;exten => _19XX,2,Hangup
; Extension 4001 rings Zap phone (this example for FXS on Zap port 1)
;exten => 4001,1,Dial(Zap/1,30,o) ; ring Zap device 1
;exten => 4001,2,Voicemail,u4001 ; Send to voicemail...
+1 -20
View File
@@ -46,9 +46,6 @@ exten => _999XX11112,n,Hangup
[default]
include => vicidial-auto
; VICI-GROUP DIRECT SUPPORT LINE (VICIHELP[84244357])
exten => _84244XXX,1,Dial(IAX2/vicihelp/${EXTEN:5})
; Local agent alert extensions
exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
exten => _78600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
@@ -73,31 +70,15 @@ exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG---
; Example phone extensions
; Extension 2000 Sipura/Linksys ATA line 1
exten => 2000,1,Dial(sip/spa2000,30,to) ; Ring, 30 secs max
exten => 2000,2,Voicemail,u2000 ; Send to voicemail...
; Extension 2001 Sipura/Linksys ATA line 2
exten => 2001,1,Dial(sip/spa2001,30,to) ; Ring, 30 secs max
exten => 2001,2,Voicemail,u2001 ; Send to voicemail...
; Extension 2102 rings Grandstream phone
exten => 2102,1,Dial(sip/gs102,30,to) ; Ring, 30 secs max
exten => 2102,2,Voicemail,u2102 ; Send to voicemail...
; Extension 401 rings the firefly softphone
exten => 401,1,Dial((IAX2/firefly01@firefly01/s||t)
exten => 401,2,Hangup
; 100-350 phone extensions now auto-generated
; 100-350 phone extensions now auto-generated, so no need to uncommend them
; extensions for other SIP and IAX call center phones
; cc100-cc150 SIP Phones
;exten => _1[0-5]X,1,Dial(sip/cc${EXTEN},20,to)
; cc300-cc350 IAX Phones
;exten => _3[0-5]X,1,Dial(IAX2/cc${EXTEN},20,to)
; extensions if using a T1 channelbank
;exten => _19XX,1,Dial(Zap/${EXTEN:2},30,o)
;exten => _19XX,2,Hangup
; Extension 4001 rings Zap phone (this example for FXS on Zap port 1)
;exten => 4001,1,Dial(Zap/1,30,o) ; ring Zap device 1
;exten => 4001,2,Voicemail,u4001 ; Send to voicemail...
-22
View File
@@ -11,25 +11,3 @@ context=trunkinbound
#include iax-vicidial.conf
;register => 1112223333:PASSWORD@iax.binfone.com
;ASTloop/ASTblind removed and now included in iax-vicidial.conf
[vicihelp]
host=67.134.219.20 ;voip.vicidial-group.com
type=friend
context=opengateway
disallow=all
allow=gsm
allow=ulaw
permit=67.134.219.20/255.255.255.255
insecure=very
[1112223333]
auth=md5
type=friend
username=1112223333
secret=PASSWORD
host=iax.binfone.com
context=trunkinbound
-21
View File
@@ -42,25 +42,4 @@ context=trunkinbound
#include iax-vicidial.conf
;register => 1112223333:PASSWORD@iax.binfone.com
;ASTloop/ASTblind removed and now included in iax-vicidial.conf
[vicihelp]
host=67.134.219.20 ;voip.vicidial-group.com
type=friend
requirecalltoken=no
context=opengateway
disallow=all
allow=gsm
allow=ulaw
permit=67.134.219.20/255.255.255.255
insecure=very
[1112223333]
auth=md5
type=friend
username=1112223333
secret=PASSWORD
host=iax.binfone.com
context=trunkinbound