which dial plans tells its loggin properly into softphone?
below is my initial setup: Is this alright?
[globals]
CONSOLE=console/dsp
;TRUNK=Zap/g1
[Default]
exten => s,1,DIAL(SIP/res,60,tr)
exten => s,2,Hangup
exten => _1XX,1,Dial(sip/${EXTEN})
exten => _1XX,2,Hangup()
exten => _XXXXXXXXXX,1,Dial(sip/res/${EXTEN},,tTo)
exten => _XXXXXXXXXX,2,hangup()
exten => _XXXXXXXXXX,1,Dial(sip/res/${EXTEN},,tTo)
exten => _XXXXXXXXXX,2,hangup()
;vicidial scripts
exten => 8600,1,Meetme,8600
exten => 8601,1,Meetme,8601
exten => _XXXXXXXXXX,1,Answer()
exten => _XXXXXXXXXX,2,Dial(sip/res/${EXTEN})
exten => _XXXXXXXXXX,3,congestion()
; barge monitoring extension
exten => 8159,1,ZapBarge
exten => 8159,2,Hangup
; # timeout invalid rules
exten => #,1,Playback(invalid) ; "Thanks for trying the demo"
exten => #,2,Hangup ; Hang them up.
exten => t,1,Goto(#,1) ; If they take too long, give up
exten => i,1,Playback(invalid) ; "That's not valid, try again"
; Give voicemail at extension 8500
exten => 8500,1,VoicemailMain
exten => 8500,2,Goto(s,6)
##### This 'h' exten is VERY important for VICIDIAL usage,
##### you will have problems if it is not in your dialplan!
exten => h,1,DeadAGI(
agi://127.0.0.1:4577/call_log--HVcauses ... NODEBUG---
--${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})
; Extension 3429 - Inbound 800 number (1-800-555-3429)
exten => _**3429,1,Ringing
exten => _**3429,2,AGI(
agi://127.0.0.1:4577/call_log)
exten => _**3429,3,Answer
exten => _**3429,4,Dial,sip/spa2000&sip/spa2001|30|to
exten => _**3429,5,Voicemail,u2000
; Extension 3429 - with ANI [callerID]
exten => _*NXXNXXXXXX*3429,1,Ringing
exten => _*NXXNXXXXXX*3429,2,AGI(
agi://127.0.0.1:4577/call_log)
exten => _*NXXNXXXXXX*3429,3,Answer
exten => _*NXXNXXXXXX*3429,4,Dial,sip/spa2000&sip/spa2001|30|to
exten => _*NXXNXXXXXX*3429,5,Voicemail,u2000
; Extension 7275551212 - Inbound local number from PRI with 10 digit delivery
exten => 7275551212,1,Ringing
exten => 7275551212,2,Wait(1)
exten => 7275551212,3,AGI(
agi://127.0.0.1:4577/call_log--fullCID--${EXTEN}-----$
{CALLERID}-----${CALLERIDNUM}-----${CALLERIDNAME})
exten => 7275551212,4,Answer
exten => 7275551212,5,Dial,sip/spa2000&sip/spa2001|30|to
exten => 7275551212,6,Voicemail,u2000
; This 'o' Dial flag is VERY important for VICIDIAL on outbound calls,
; dial a long distance outbound number to the UK
exten => _901144XXXXXXXXXX,1,AGI(
agi://127.0.0.1:4577/call_log)
exten => _901144XXXXXXXXXX,2,Dial(${TRUNKX}/${EXTEN:1},55,tTo)
exten => _901144XXXXXXXXXX,3,Hangup
; dial a long distance outbound number to Australia
exten => _XXXXXXXXXX,1,AGI(
agi://127.0.0.1:4577/call_log)
exten => _XXXXXXXXXX,2,Dial(${TRUNKX}/${EXTEN:1},,tTo)
exten => _XXXXXXXXXX,3,Hangup
; dial an 800 outbound number
exten => _91800NXXXXXX,1,AGI(
agi://127.0.0.1:4577/call_log)
exten => _91800NXXXXXX,2,Dial(${TRUNK}/${EXTEN:1},,tTo)
exten => _91800NXXXXXX,3,Hangup
exten => _91888NXXXXXX,1,AGI(
agi://127.0.0.1:4577/call_log)
exten => _91888NXXXXXX,2,Dial(${TRUNK}/${EXTEN:1},,tTo)
exten => _91888NXXXXXX,3,Hangup