Xlite runs but agent cannot login due to no sessions

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

Postby williamconley » Tue Sep 07, 2010 5:13 pm

where did "sgw1" come from in the prior post?

also, i see you are bypassing the global variable (called "Globals String"), so you should either omit it, or use it as per one of the examples listed.

But I do not see how sgw1 resulted from this dial plan.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby chrisnetronix » Tue Sep 07, 2010 5:41 pm

well i have 9 for the dial prefix, any ideas whats causing the sgw1

I changed the global string in carriers to what you saifd but its still doing the sgw1
chrisnetronix
 
Posts: 157
Joined: Sun Aug 15, 2010 11:13 pm

Postby chrisnetronix » Tue Sep 07, 2010 6:10 pm

I noticed this in the cli:

Executing [91xxxxxxxxxx@default:10] Set("Local/8600051@default-a3d0,1", "GROUP()=sgw") in new stack


would this have something to do with the sgw1 error?

rest of cli piece:

[Sep 7 19:01:06] -- Executing [91xxxxxxxxxx@default:11] Dial("Local/8600051@default-a3d0,1", "SIP/sgw1/1xxxxxxxxx||To") in new stack
[Sep 7 19:01:06] WARNING[18023]: chan_sip.c:3095 create_addr: No such host: sgw1
chrisnetronix
 
Posts: 157
Joined: Sun Aug 15, 2010 11:13 pm

Postby chrisnetronix » Tue Sep 07, 2010 6:29 pm

in extensions.conf I found where sgw1 is, what should I do now:

here is extensons.conf

[general]
static=yes
writeprotect=no

[globals]
CONSOLE=Console/dsp ; Console interface for demo
VICITRUNK1=SIP/sgw1 ; Trunk interface
VICITRUNK2=SIP/sgw2 ; 2nd trunk interface

#include extensions-vicidial.conf

[trunkinbound]
; DID call routing process
; exten => _X.,1,Set(CALLERID(num)=${CALLERID(num):1}) ; removes first leading character from inbound callerid
exten => _X.,1,AGI(agi-DID_route.agi)

; FastAGI for VICIDIAL/astGUIclient call logging
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})


[loopback-no-log]
; This context is to accept calls that have already been logged in another context in Vicidial
; and has been sent through one of the loopbacks. This is why this context is missing the h extension.
; Do not put any extensions in this context unless you specifically understand what this means.

;exten => _91NXXNXXXXXX,1,Dial(${TRUNKX}/${EXTEN:1},,To)
;exten => _91NXXNXXXXXX,n,Hangup
; special Canadian PRI callerIDname settings FOR USE IN LOOPBACK CONTEXT ONLY
;exten => _91NXXNXXXXXX,1,Set(CALLERID(name)="ACME Widgets")
;exten => _91NXXNXXXXXX,n,AGI(agi-CANADA_PRI_CIDname.agi)
;exten => _91NXXNXXXXXX,n,Dial(${TRUNKX}/${EXTEN:1},,To)
;exten => _91NXXNXXXXXX,n,Hangup

exten => _999XX11112,1,Wait(2)
exten => _999XX11112,n,Answer
exten => _999XX11112,n,Playback(ss-noservice)
exten => _999XX11112,n,Playback(vm-goodbye)
exten => _999XX11112,n,Hangup



[default]
include => vicidial-auto

; Local agent alert extensions
exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
exten => _78600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
; Local blind monitoring
exten => _08600XXX,1,Dial(${TRUNKblind}/6${EXTEN:1},55,To)


; playback of recorded prompts
exten => _851XXXXX,1,Answer
exten => _851XXXXX,2,Playback(${EXTEN})
exten => _851XXXXX,3,Hangup

; this is used for playing a message to an answering machine forwarded from AMD in VICIDIAL
exten => _7851XXXXX,1,WaitForSilence(2000,2) ; AMD got machine. leave message after recording
exten => _7851XXXXX,2,Playback(${EXTEN:1})
exten => _7851XXXXX,3,AGI(VD_amd_post.agi,${EXTEN:1})
exten => _7851XXXXX,4,Hangup


; FastAGI for VICIDIAL/astGUIclient call logging
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})

; # 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"

; Extensions for performance testing
exten => _91999NXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91999NXXXXXX,2,Dial(${TRUNKloop}/${EXTEN:2},,tTo)
exten => _91999NXXXXXX,3,Hangup
exten => 999999999999,1,AGI(agi://127.0.0.1:4577/call_log)
exten => 999999999999,2,Dial(${TRUNKloop}/${EXTEN:1},,tTo)
exten => 999999999999,3,Hangup

; This is a loopback dialaround to allow for hearing of ringing for 3way calls
exten => _881NXXNXXXXXX,1,Answer
exten => _881NXXNXXXXXX,2,Dial(${TRUNKloop}/9${EXTEN:2},,To)
exten => _881NXXNXXXXXX,3,Hangup

; Vtiger fax and email log extensions
exten => _9118XXXXXXXX,1,Dial(${TRUNKblind}/9998818112,55,to)
exten => _9119XXXXXXXX,1,Dial(${TRUNKblind}/9998819112,55,to)

; special extensions for North America to catch invalid phone numbers
exten => _91XXX[0-1]XXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXX[0-1]XXXXXX,n,Dial(${TRUNKloop}/8889990011112,,to)
exten => _91XXX[0-1]XXXXXX,n,Hangup
exten => _91[0-1]XXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91[0-1]XXXXXXXXX,n,Dial(${TRUNKloop}/8889990011112,,to)
exten => _91[0-1]XXXXXXXXX,n,Hangup
exten => _91XXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXX,n,Dial(${TRUNKloop}/8889990011112,,to)
exten => _91XXXXXX,n,Hangup
exten => _91XXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXX,n,Dial(${TRUNKloop}/8889990011112,,to)
exten => _91XXXXXXX,n,Hangup
exten => _91XXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXXX,n,Dial(${TRUNKloop}/8889990011112,,to)
exten => _91XXXXXXXX,n,Hangup
exten => _91XXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXXXX,n,Dial(${TRUNKloop}/8889990011112,,to)
exten => _91XXXXXXXXX,n,Hangup
exten => _91XXXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXXXXXX,n,Dial(${TRUNKloop}/8889990011112,,to)
exten => _91XXXXXXXXXXX,n,Hangup
exten => _91XXXXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXXXXXXX,n,Dial(${TRUNKloop}/8889990011112,,to)
exten => _91XXXXXXXXXXXX,n,Hangup
exten => _91XXXXXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXXXXXXXX,n,Dial(${TRUNKloop}/8889990011112,,to)
exten => _91XXXXXXXXXXXXX,n,Hangup

; ViciDial Outbound FailOver Dialing
exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,n,GotoIf($[${GROUP_COUNT(sgw)}<80]?10)
exten => _91NXXNXXXXXX,n,NoOp("Max Trunks Exceeded")
exten => _91NXXNXXXXXX,n,Congestion
exten => _91NXXNXXXXXX,10,Set(GROUP()=sgw)
;exten => _91NXXNXXXXXX,n,NoOp("TIU: ${GROUP_COUNT(sgw)}") ; For debug/testing
exten => _91NXXNXXXXXX,n,Dial(${VICITRUNK1}/${EXTEN:1},,To)
exten => _91NXXNXXXXXX,n,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?20)
exten => _91NXXNXXXXXX,n,Hangup
exten => _91NXXNXXXXXX,20,Dial(${VICITRUNK2}/${EXTEN:1},,To)
exten => _91NXXNXXXXXX,n,Hangup

; block calls to 555 numbers
; exten => _91NXX555NXXX,1,AGI(agi://127.0.0.1:4577/call_log)
; exten => _91NXX555NXXX,n,Dial(${TRUNKloop}/8889990011112,,to)
; exten => _91NXX555NXXX,n,Hangup
; dial a USA long distance outbound number through the loopback-no-log context
; exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
; exten => _91NXXNXXXXXX,2,Dial(${TRUNKloop}/888${EXTEN:2},55,o)
; exten => _91NXXNXXXXXX,3,Hangup
;exten => 888NXXNXXXXXX,1,Goto(loopback-no-log,91${EXTEN:3},1)

exten => 8889990011112,1,Goto(loopback-no-log,9990011112,1)

; inbound VICIDIAL transfer calls [can arrive through PRI T1 crossover, IAX or SIP channel]
exten => _90009.,1,Answer ; Answer the line
exten => _90009.,2,Dial(${TRUNKloop}/9${EXTEN},,to)
exten => _90009.,3,Hangup
exten => _990009.,1,Answer ; Answer the line, Sometimes needs to be removed
exten => _990009.,2,AGI(agi-VDAD_ALL_inbound.agi,CLOSER-----LB-----CL_TESTCAMP-----7275551212-----Closer-----park----------999-----1)
exten => _990009.,3,Hangup
; DID forwarded calls
exten => _99909*.,1,Answer
exten => _99909*.,2,AGI(agi-VDAD_ALL_inbound.agi)
exten => _99909*.,3,Hangup

; barge monitoring extension
exten => 8159,1,ZapBarge
exten => 8159,2,Hangup

; ZapBarge direct channel extensions
exten => _86120XX,1,ZapBarge(${EXTEN:5})

exten => _X48600XXX,1,MeetMeAdmin(${EXTEN:2},T,${EXTEN:0:1})
exten => _X48600XXX,2,Hangup

exten => _X38600XXX,1,MeetMeAdmin(${EXTEN:2},t,${EXTEN:0:1})
exten => _X38600XXX,2,Hangup

exten => _X28600XXX,1,MeetMeAdmin(${EXTEN:2},m,${EXTEN:0:1})
exten => _X28600XXX,2,Hangup

exten => _X18600XXX,1,MeetMeAdmin(${EXTEN:2},M,${EXTEN:0:1})
exten => _X18600XXX,2,Hangup

exten => _55558600XXX,1,MeetMeAdmin(${EXTEN:4},K)
exten => _55558600XXX,2,Hangup
exten => 8300,1,Hangup

; astGUIclient conferences
exten => _86000[0-4]X,1,Meetme,${EXTEN}|q
exten => _86000[0-4]X,n,Hangup
; VICIDIAL conferences
exten => _86000[5-9]X,1,Meetme,${EXTEN}|F
exten => _86000[5-9]X,n,Hangup
exten => _8600[1-2]XX,1,Meetme,${EXTEN}|F
exten => _8600[1-2]XX,n,Hangup
; quiet entry and leaving conferences for VICIDIAL (inbound announce and SendDTMF)
exten => _78600XXX,1,Meetme,${EXTEN:1}|Fq
exten => _78600XXX,n,Hangup
; quiet monitor-only extensions for meetme rooms (for room managers)
exten => _68600XXX,1,Meetme,${EXTEN:1}|Fmq
exten => _68600XXX,n,Hangup
; quiet monitor-only entry and leaving conferences for VICIDIAL (recording)
exten => _58600XXX,1,Meetme,${EXTEN:1}|Fmq
exten => _58600XXX,n,Hangup

; voicelab exten
exten => _86009XX,1,Meetme,${EXTEN}|Fmq
; voicelab exten moderator
exten => _986009XX,1,Meetme,${EXTEN:1}

; park channel for client GUI parking, hangup after 30 minutes
; create a GSM formatted audio file named "park.gsm" that is 30 minutes long
; and put it in /var/lib/asterisk/sounds
exten => 8301,1,Answer
exten => 8301,2,AGI(park_CID.agi)
exten => 8301,3,Playback(park)
exten => 8301,4,Hangup
exten => 8303,1,Answer
exten => 8303,2,AGI(park_CID.agi)
exten => 8303,3,Playback(conf)
exten => 8303,4,Hangup

; park channel for client GUI conferencing, hangup after 30 minutes
; create a GSM formatted audio file named "conf.gsm" that is 30 minutes long
; and put it in /var/lib/asterisk/sounds
exten => 8302,1,Answer
exten => 8302,2,Playback(conf)
exten => 8302,3,Hangup

exten => 8304,1,Answer
exten => 8304,2,Playback(ding)
exten => 8304,3,Hangup

; default audio for safe harbor 2-second-after-hello message then hangup
; create a GSM formatted audio file complies with safe harbor rules
; and put it in /var/lib/asterisk/sounds then change filename below
exten => 8307,1,Answer
exten => 8307,2,Playback(vm-goodbye)
exten => 8307,3,Hangup

; this is used for playing a message to an answering machine forwarded from AMD in VICIDIAL
exten => 8320,1,AGI(VD_amd.agi,${EXTEN}-----YES)
exten => 8320,2,Hangup
exten => _8320*.,1,AGI(VD_amd.agi,${EXTEN}-----YES)
exten => _8320*.,2,Hangup

; use for selective CallerID hangup by area code(hard-coded)
exten => 8352,1,AGI(agi-VDADselective_CID_hangup.agi,${EXTEN})
exten => 8352,2,Playback(safe_harbor)
exten => 8352,3,Hangup

; this is used for sending DTMF signals within conference calls, the client app
; sends the digits to be played in the callerID field
; sound files must be placed in /var/lib/asterisk/sounds
exten => 8500998,1,Answer
exten => 8500998,2,Playback(silence)
exten => 8500998,3,AGI(agi-dtmf.agi)
exten => 8500998,4,Hangup

; multi-remote-monitor entry extensions
exten => 8162,1,Dial(${TRUNKblind}/34567890123456789,55,to)

exten => 34567890123456789,1,Answer
exten => 34567890123456789,2,Goto(monitor,s,1)

; VICIDIAL_auto_dialer transfer script for no-agent campaigns:
exten => 8364,1,Playback(sip-silence)
exten => 8364,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 8364,3,AGI(agi-VDAD_ALL_outbound.agi,NORMAL-----LB)
exten => 8364,4,AGI(agi-VDAD_ALL_outbound.agi,NORMAL-----LB)
exten => 8364,5,Hangup

; VICIDIAL_auto_dialer transfer script:
exten => 8365,1,Playback(sip-silence)
exten => 8365,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 8365,3,AGI(agi-VDAD_ALL_outbound.agi,NORMAL-----SO)
exten => 8365,4,AGI(agi-VDAD_ALL_outbound.agi,NORMAL-----SO)
exten => 8365,5,Hangup

; VICIDIAL_auto_dialer transfer script SURVEY at beginning:
exten => 8366,1,Playback(sip-silence)
exten => 8366,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 8366,3,AGI(agi-VDAD_ALL_outbound.agi,SURVEYCAMP-----LB)
exten => 8366,4,AGI(agi-VDAD_ALL_outbound.agi,SURVEYCAMP-----LB)
exten => 8366,5,Hangup

; VICIDIAL_auto_dialer transfer script Load Balance Overflow:
exten => 8367,1,Playback(sip-silence)
exten => 8367,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 8367,3,AGI(agi-VDAD_ALL_outbound.agi,NORMAL-----LO)
exten => 8367,4,AGI(agi-VDAD_ALL_outbound.agi,NORMAL-----LO)
exten => 8367,5,Hangup

; VICIDIAL_auto_dialer transfer script Load Balanced:
exten => 8368,1,Playback(sip-silence)
exten => 8368,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 8368,3,AGI(agi-VDAD_ALL_outbound.agi,NORMAL-----LB)
exten => 8368,4,AGI(agi-VDAD_ALL_outbound.agi,NORMAL-----LB)
exten => 8368,5,Hangup

; VICIDIAL_auto_dialer transfer script AMD with Load Balanced:
exten => 8369,1,Playback(sip-silence)
exten => 8369,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 8369,3,AMD(2000|2000|1000|5000|120|50|4|256)
exten => 8369,4,AGI(VD_amd.agi,${EXTEN})
exten => 8369,5,AGI(agi-VDAD_ALL_outbound.agi,NORMAL-----LB)
exten => 8369,6,AGI(agi-VDAD_ALL_outbound.agi,NORMAL-----LB)
exten => 8369,7,Hangup

; VICIDIAL auto-dial reminder script
exten => 8372,1,Playback(sip-silence)
exten => 8372,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 8372,3,AGI(agi-VDADautoREMINDER.agi,${EXTEN})
exten => 8372,4,AGI(agi-VDADautoREMINDER.agi,${EXTEN})
exten => 8372,5,Hangup

; VICIDIAL SURVEY transfer script AMD with Load Balanced:
exten => 8373,1,Playback(sip-silence)
exten => 8373,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 8373,3,AMD(2000|2000|1000|5000|120|50|4|256)
exten => 8373,4,AGI(VD_amd.agi,${EXTEN})
exten => 8373,5,AGI(agi-VDAD_ALL_outbound.agi,SURVEYCAMP-----LB)
exten => 8373,6,AGI(agi-VDAD_ALL_outbound.agi,SURVEYCAMP-----LB)
exten => 8373,7,Hangup

; VICIDIAL SURVEY transfer script with Cepstral names:
exten => 8374,1,Playback(sip-silence)
exten => 8374,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 8374,3,AGI(agi-VDAD_ALL_outbound.agi,SURVEYCAMPCEP-----LB)
exten => 8374,4,AGI(agi-VDAD_ALL_outbound.agi,SURVEYCAMPCEP-----LB)
exten => 8374,5,Hangup

; VICIDIAL SURVEY transfer script AMD with Cepstral variables:
exten => 8375,1,Playback(sip-silence)
exten => 8375,2,AGI(agi://127.0.0.1:4577/call_log)
exten => 8375,3,AMD(2000|2000|1000|5000|120|50|4|256)
exten => 8375,4,AGI(VD_amd.agi,${EXTEN})
exten => 8375,5,AGI(agi-VDAD_ALL_outbound.agi,SURVEYCAMPCEP-----LB)
exten => 8375,6,AGI(agi-VDAD_ALL_outbound.agi,SURVEYCAMPCEP-----LB)
exten => 8375,7,Hangup



; PERFORMANCE TESTING
exten => _999XXXXXX1,1,Answer
exten => _999XXXXXX1,2,Wait(2)
exten => _999XXXXXX1,3,Playback(vicidial-welcome)
exten => _999XXXXXX1,4,Hangup

exten => _999XX11112,1,Wait(2)
exten => _999XX11112,2,Answer
exten => _999XX11112,3,Playback(ss-noservice)
exten => _999XX11112,4,Playback(vm-goodbye)
exten => _999XX11112,5,Hangup

exten => _999XX18112,1,Wait(2)
exten => _999XX18112,2,Answer
exten => _999XX18112,3,Playback(vtiger-fax)
exten => _999XX18112,4,Playback(vtiger-fax)
exten => _999XX18112,5,Hangup

exten => _999XX19112,1,Wait(2)
exten => _999XX19112,2,Answer
exten => _999XX19112,3,Playback(vtiger-email)
exten => _999XX19112,4,Playback(vtiger-email)
exten => _999XX19112,5,Hangup

exten => _999XXXX112,1,Wait(5)
exten => _999XXXX112,2,Answer
exten => _999XXXX112,3,Playback(demo-instruct)
exten => _999XXXX112,4,Playback(demo-instruct)
exten => _999XXXX112,5,Hangup

exten => _999XXXXXX2,1,Wait(8)
exten => _999XXXXXX2,2,Answer
exten => _999XXXXXX2,3,Playback(demo-instruct)
exten => _999XXXXXX2,4,Hangup

exten => _999XXXXXX3,1,Set(PRI_CAUSE=1)
exten => _999XXXXXX3,2,Hangup

exten => _999XXXXXX4,1,Set(PRI_CAUSE=27)
exten => _999XXXXXX4,2,Hangup

exten => _999XXXXXX5,1,Wait(60)
exten => _999XXXXXX5,2,Hangup

exten => _999XXXXXX6,1,Wait(10)
exten => _999XXXXXX6,2,Answer
exten => _999XXXXXX6,3,Playback(demo-instruct)
exten => _999XXXXXX6,4,Hangup

exten => _999XXXXXX7,1,Wait(12)
exten => _999XXXXXX7,2,Answer
exten => _999XXXXXX7,3,Playback(demo-enterkeywords)
exten => _999XXXXXX7,4,Hangup

exten => _999XXXXXX8,1,Set(PRI_CAUSE=17)
exten => _999XXXXXX8,2,Hangup

exten => _999XXXXXX9,1,Wait(6)
exten => _999XXXXXX9,2,Answer
exten => _999XXXXXX9,3,Playback(demo-abouttotry)
exten => _999XXXXXX9,4,Hangup

exten => _999XXXXXX0,1,Wait(5)
exten => _999XXXXXX0,2,Answer
exten => _999XXXXXX0,3,Playback(vm-goodbye)
exten => _999XXXXXX0,4,Hangup

exten => 99999999999,1,Answer
exten => 99999999999,2,Playback(conf)
exten => 99999999999,3,Playback(conf)
exten => 99999999999,4,Playback(conf)
exten => 99999999999,5,Playback(conf)
exten => 99999999999,6,Playback(conf)
exten => 99999999999,7,Playback(conf)
exten => 99999999999,8,Playback(conf)
exten => 99999999999,9,Playback(conf)
exten => 99999999999,10,Playback(conf)
exten => 99999999999,11,Playback(conf)
exten => 99999999999,12,Playback(conf)
exten => 99999999999,13,Playback(conf)
exten => 99999999999,14,Hangup


[monitor]
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})

exten => s,1,Set(TIMEOUT(digit)=10)
exten => s,n,Set(TIMEOUT(response)=10)
exten => s,n,Set(MEETME_EXIT_CONTEXT=monitor_exit)
exten => s,n,Background(vm-extension) ; need audio prompt.
exten => s,n,WaitExten(10)

exten => i,1,Goto(monitor_exit,s,1)
exten => #,1,Goto(monitor_exit,s,1)
exten => t,1,Goto(monitor_exit,s,1)

exten => _8[0-2]XX,1,Meetme(8600${EXTEN:1},mqX) ; Listen
exten => _99[0-2]XX,1,Meetme(8600${EXTEN:2},X) ; Barge

[monitor_exit]
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses ... EBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})

exten => _X,1,Goto(monitor,s,1)

exten => i,1,Goto(monitor,s,1)
exten => #,1,Goto(monitor,s,1)
exten => t,1,Goto(monitor,s,1)
chrisnetronix
 
Posts: 157
Joined: Sun Aug 15, 2010 11:13 pm

Postby williamconley » Tue Sep 07, 2010 8:51 pm

you should not post entire configuration files. i don't read through full file loads like that. no time.

besides, you should be using the STANDARD extensions.conf file

there should never be changes to the actual extensions.conf file, all changes should be in the GUI and generate into the included .conf file that way, or if you MUST put in a manual entry, it should be in "extensions_custom.conf" and #include extensions_custom.conf so you don't lose it when you upgrade. but there's no reason for that when the "dial plan" entries under "carriers" is automatically included without manually modifying a .conf file, and THIS problem would not have happened ... just creates headaches

so even if this is a "scratch install", go back and put the standard extensions.conf file in (which does not have an sgw in it anywhere). then if you have a non-standard entry post JUST THAT, not 1000 lines of code. :)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby chrisnetronix » Tue Sep 07, 2010 8:54 pm

Quote:

without manually modifying a .conf file, and THIS problem would not have happened ... just creates headaches


*********************************************

you assume I modified the extensions.conf, but I have not, I just copied it and pasted it here

I reinstalled vicidial and thats it other than setting it up per what we have talked about throughout this post.

what is a standard extensions.conf, and why was it not installed when I reinstalled. this makes no sense....

All I have done is search for sgw, and the only place I found it was here in extensions.conf, which was generated by the iso I downloaded and installed.

How do I resolve the SGW issue
chrisnetronix
 
Posts: 157
Joined: Sun Aug 15, 2010 11:13 pm

Postby williamconley » Tue Sep 07, 2010 11:20 pm

where is sgw in your extensions.conf? (and don't ask me to look through the one you posted earlier, way too much to wade through, i don't have my flippers)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby chrisnetronix » Tue Sep 07, 2010 11:29 pm

here are the places i see it in the extensions.conf

1. sgw1


*********

[globals]
CONSOLE=Console/dsp ; Console interface for demo
VICITRUNK1=SIP/sgw1 ; Trunk interface
VICITRUNK2=SIP/sgw2 ; 2nd trunk interface

2. sgw

********

; ViciDial Outbound FailOver Dialing
exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91NXXNXXXXXX,n,GotoIf($[${GROUP_COUNT(sgw)}<80]?10)
exten => _91NXXNXXXXXX,n,NoOp("Max Trunks Exceeded")
exten => _91NXXNXXXXXX,n,Congestion
exten => _91NXXNXXXXXX,10,Set(GROUP()=sgw)
;exten => _91NXXNXXXXXX,n,NoOp("TIU: ${GROUP_COUNT(sgw)}") ; For debug/testing
exten => _91NXXNXXXXXX,n,Dial(${VICITRUNK1}/${EXTEN:1},,To)
exten => _91NXXNXXXXXX,n,GotoIf($["${DIALSTATUS}" = "CHANUNAVAIL"]?20)
exten => _91NXXNXXXXXX,n,Hangup
exten => _91NXXNXXXXXX,20,Dial(${VICITRUNK2}/${EXTEN:1},,To)
exten => _91NXXNXXXXXX,n,Hangup
chrisnetronix
 
Posts: 157
Joined: Sun Aug 15, 2010 11:13 pm

Postby williamconley » Tue Sep 07, 2010 11:45 pm

And you're sayin' that this was the extensions.conf that was loaded from the .iso during installation? with outbound trunk failover on a trunk named sgw?

And noone has been in this file editing it?

Weird.

ok, four possibilities (actually there are more, but these come to mind quickest):

1) Find the extensions.conf in /usr/src/astguiclient and see if it is equally freaky. (should not have this stuff in it)

2) delete the two "VICITRUNK" lines and the "exten => _91NXXNXXXXXX" lines (well, pretty much the entire "ViciDial Outbound FailOver Dialing" section, which is overriding the entries you put into the GUI)

3) do a quick SVN update (don't leave your version if you don't want to upgrade your SQL, but consider going all the way to 2.4, it's cool!)

4) reinstall with Vicibox Redux 3.0.0 which does not have these ... entries.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby chrisnetronix » Wed Sep 08, 2010 12:01 am

per you instructions:

1) I found a sample extensions.conf in

/usr/src/astguiclient/trunk/docs/conf_examples

filename:

extensions.conf.sample

which starts with these lines:

[general]
static=yes
writeprotect=no

[globals]
CONSOLE=Console/dsp ; Console interface for demo
TRUNK=Zap/r1 ; Trunk interface
TRUNKX=Zap/r2 ; 2nd trunk interface
TRUNKIAX=IAX2/ASTtest1:test@10.10.10.16:4569 ; IAX trunk interface
TRUNKIAX1=IAX2/ASTtest1:test@10.10.10.16:4569 ; IAX trunk interface
TRUNKBINFONE=IAX2/1112223333:PASSWORD@iax.binfone.com ; IAX trunk interface
SIPtrunk=SIP/1234:PASSWORD@sip.provider.net ; SIP trunk

the other file

extensions.conf.sample-1.4

uses the same format as the original with sgw


2) delete the two "VICITRUNK" lines and the "exten => _91NXXNXXXXXX" lines (well, pretty much the entire "ViciDial Outbound FailOver Dialing" section, which is overriding the entries you put into the GUI)

Will try this tomorrow


3) do a quick SVN update (don't leave your version if you don't want to upgrade your SQL, but consider going all the way to 2.4, it's cool!)

- How do I do this / and how do i update sql


4. reinstall with Vicibox Redux 3.0.0 which does not have these ... entries.

where is the link to download this

the only one I see to download is ViciBox_Redux.i686-2.0.2.iso

from this link:

http://www.vicibox.com/server/index.html



Questions:

1.
Do I need to do all of these, or try just 1 at a time, if so do I change the extensions.conf with the sample doc i found in astguiclient?

2. for #3 how do I do this / and update sql


3. where is the download link for redux 3.0.0
chrisnetronix
 
Posts: 157
Joined: Sun Aug 15, 2010 11:13 pm

Postby williamconley » Wed Sep 08, 2010 12:08 am

One at a time, whichever you think you want to shoot at.

3) do a quick SVN update (don't leave your version if you don't want to upgrade your SQL, but consider going all the way to 2.4, it's cool!)

- How do I do this / and how do i update sql
The VICIDIAL Wiki link at the top of the page has a link for how to use the SVN (very easy, really, you should use it and get used to SVN, it will make your life easier and is REALLY only a few lines of code).

The upgrade document in ANY version of vicidial downloaded contains step by step instructions including SQL upgrades and tells you if you need to or not (and once again, only a few lines of code, like less than 10) on how to upgrade to THAT version from any prior version (often requiring several upgrades to get there, but you have a fairly late version so you'll only have ONE upgrade or update to go anywhere from where you are)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby chrisnetronix » Wed Sep 08, 2010 12:09 am

1.
do I change the extensions.conf with the sample doc i found in astguiclient?

3. where is the download link for redux 3.0.0
chrisnetronix
 
Posts: 157
Joined: Sun Aug 15, 2010 11:13 pm

Postby williamconley » Wed Sep 08, 2010 8:43 am

1. do I change the extensions.conf with the sample doc i found in astguiclient?
It's worth a shot, or you could reinstall your present version and let the vicidial install script put it where it belongs. but if one version is for asterisk 1.2 and one is for 1.4 ... make sure you install the correct one. (the install package will ask you and install the correct one). there are instructions in the install/upgrade files in the /usr/src/astguiclient folder.

3. where is the download link for redux 3.0.0


if you click on the download for vicibox server, it immediately attempts to download. but if you COPY that link and past it instead, then remove the file name ... you can browse the folder that the download is from: that folder has ALL the vicibox versions in it (including my personal favorite, the Vicibox 1.0.0RC2 on Ubuntu).

http://download.vicidial.com/iso/vicibox/server/
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby chrisnetronix » Wed Sep 08, 2010 3:04 pm

ok, I removed the vicitrunk entries and the other sgw entries you instructed and it WORKS!!!!

Good Times!


ok, is there anything i specifically need to know when setting up voice broadcasting to just send a message or should I just follow the instructions from the manual to see how it does.
chrisnetronix
 
Posts: 157
Joined: Sun Aug 15, 2010 11:13 pm

Postby williamconley » Wed Sep 08, 2010 3:16 pm

Step By Step. DO NOT start changing recordings and menu items, etc.

Use the Built-In survey. (It will ask you if you are a republican or democrat and we promise not to tell anyone your answer)

AFTER that works (log in as agent, it calls, you listen and press 1, then it connects the "Prospect" to the "Agent") consider making changes. If you make changes before that ... you could be here all week. LOL
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby inexistence » Wed Sep 08, 2010 4:16 pm

I think i've came across the "sgw" thing as well when using 91XXXXXXXX as the dial prefix on carrier dialplan. We just used 8, 7, or 6 dial prefix to resolve that problem.

We used the latest Vicibox iso (ViciBox_Redux.i686-2.0.2.iso | VERSION: 2.4-278 | BUILD: 100901-2055)

However we have another installation (ViciBox_Redux.i686-2.0.2.iso | VERSION: 2.4-271 | BUILD: 100806-0607) without the "sgw" thing when using 9 dial prefix.
inexistence
 
Posts: 12
Joined: Tue Jun 15, 2010 3:10 am

Postby williamconley » Wed Sep 08, 2010 5:18 pm

interesting. both asterisk 1.4? or is one 1.2?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby inexistence » Wed Sep 08, 2010 5:31 pm

Yep. Both are asterisk 1.4.21.2
inexistence
 
Posts: 12
Joined: Tue Jun 15, 2010 3:10 am

Postby x44 » Thu Nov 10, 2011 8:19 pm

Hi!
I had problem logging into vicidial with X-Lite 3.0

vicidial scratch installation on ubuntu8.04- 64 and asterisk 1.4
AMD64 TK-53, 45GB HDD, 1.5GB RAM, meant for 4 users

Installation succeeded on the 3rd time ;)
Using this method:
VICI:UbuntuInstall

Admin logs in; Campaigns, phones, users, severs, carriers, groups and Lists create and load normally.
Agent can log in and navigate through leads.

But X-lite did not work ':(

Then I read this post, checked my meetme.conf
and found it was same 5-liner

So, Should I wipe out Ubuntu and reinstall EVERYTHING, or just from
step " - FOR 1.4 asterisk" onward?

What is the script will mentions that populates meetme.conf: first_server_install.sql ?

Thanks
x44
 
Posts: 13
Joined: Thu Nov 10, 2011 7:29 pm

Postby williamconley » Sat Nov 12, 2011 10:12 pm

x44 wrote:Hi!
I had problem logging into vicidial with X-Lite 3.0

vicidial scratch installation on ubuntu8.04- 64 and asterisk 1.4
AMD64 TK-53, 45GB HDD, 1.5GB RAM, meant for 4 users

Installation succeeded on the 3rd time ;)
Using this method:
VICI:UbuntuInstall

Admin logs in; Campaigns, phones, users, severs, carriers, groups and Lists create and load normally.
Agent can log in and navigate through leads.

But X-lite did not work ':(

Then I read this post, checked my meetme.conf
and found it was same 5-liner

So, Should I wipe out Ubuntu and reinstall EVERYTHING, or just from
step " - FOR 1.4 asterisk" onward?

What is the script will mentions that populates meetme.conf: first_server_install.sql ?

Thanks
Please do not double post. http://www.vicidial.org/VICIDIALforum/v ... ght=#78778
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Xlite runs but agent cannot login due to no sessions

Postby praz » Mon May 12, 2014 7:21 am

My reply is coming like 4 years late :)

I had the same issue and by doing a sip debug noticed the following:

SIP/2.0 488 Not Acceptable Here
Via: SIP/2.0/UDP 10.0.x.x:5060;branch=z9hG4bK3d2eb0f6;rport=5060
To: <sip:8001@192.168.x.x:40746;rinstance=36b0ae285bdef656;cpd=on>;tag=9330cb49
From: "S1405121250348600051"<sip:4048915588@10.0.x.x>;tag=as75b98887
Call-ID: 0c2645724c9537685b6ccdf2425e5dbf@10.0.x.x
CSeq: 102 INVITE
User-Agent: Bria release 2.2 stamp 45414
Warning: 305 devnull "SDP: Incompatible media format: no common codec."
Content-Length: 0

Corrected this by ensuring my softphone had at least 1 common codec with the carrier the campaign would make use of (e.g allow ulaw or alaw)
praz
 
Posts: 13
Joined: Mon May 12, 2014 7:17 am

Previous

Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 90 guests