Hangup problem

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

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

Hangup problem

Postby bbakirtas » Mon Dec 30, 2013 8:22 am

hi i got 2 asterisk server one web+db server
VERSION: 2.8-420a
BUILD: 131210-1741

first asterisk server working good.
i got to second asterisk server hangup problem.customer hangup but agent screen live call.
carrier settings same to first server.
thanks for help
Vicibox 9.0.1
VERSION: 2.14-738a
BUILD: 200210-1628
Intel Xeon X5650 12 Core HT 24 Core 2.90 Ghz
64 GB ECC Registered Memory
bbakirtas
 
Posts: 93
Joined: Thu Dec 06, 2012 3:35 am
Location: Turkey

Re: Hangup problem

Postby williamconley » Mon Dec 30, 2013 1:22 pm

show asterisk cli output from a working sample (agent screen should show dead call) and a failing sample (where the agent screen stays "live"). note that these should not be actual customer/prospect calls, but test calls with no other traffic to avoid confusion and 3000 lines of unrelated code. we'll need the entire customer portion of the call, and preferably from the agent login all the way past the client hanging up. if these do not show a difference between the two calls, it may be necessary to use SIP debug or to check the astguiclient log folder.

also, i note that you show two different versions, one in this post and one in the signature. if the signature is correct, then how did you upgrade (a link to the instruction set you used ... ) if the signature is not correct, then what was your installation method?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20438
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

Re: Hangup problem

Postby bbakirtas » Mon Dec 30, 2013 3:08 pm

i think my installation method wrong.I installed in local (home - work) and i got same problem.But vicidial-express working fine.
How i'm installing?
1 - os-install
2 - network config.
3- vicibox-install
4- do you want to continue ... Y
5 - do you want enabla expert installation N
6- do you want use this ip for vici Y
7-will this server be used db - N
8 - input db ip : my db ip (192.168.1.20)
9- do you want to connect using default vici db settings Y
10 - will this server be used web sv - N
11- will this server be used tel. server Y
12 - will this server be used archive N
13 - do you want disable the build in firewall Y
14- do you want continue Y
15 - reboot
16 - zypper refresh
17- sed -i '/baseurl/c baseurl=http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_12.3' /etc/zypp/repos.d/packman_12.3.repo
18- again zypper refresh


my carriers

[asteriskone]
disallow=all
allow=ulaw
allow=alaw
allow=g729
type=friend
username=username
secret=pass
host=host
dtmfmode=rfc2833
fromhost=host
fromuser=username
qualify=yes
insecure=port
nat=yes
canreinvite=yes
allowguest=no

SIPasteriskone= SIP/asteriskone

exten => _X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _X.,2,Dial(SIP/${EXTEN}@asteriskone,,tTo)
exten => _X.,3,Hangup

ip = asterisk server ip
Vicibox 9.0.1
VERSION: 2.14-738a
BUILD: 200210-1628
Intel Xeon X5650 12 Core HT 24 Core 2.90 Ghz
64 GB ECC Registered Memory
bbakirtas
 
Posts: 93
Joined: Thu Dec 06, 2012 3:35 am
Location: Turkey

Re: Hangup problem

Postby williamconley » Mon Dec 30, 2013 4:33 pm

I was looking more for the iso installer you used to install (version number) than the step by step. although that is also interesting. Ordinarily, however, to convey the installation options chosen, you would copy/paste the final summary provided before you hit "y" to the vicibox install. Good addition to show the "other" steps to the installation, though. :)

You'll still need to provide the examples requested. Otherwise we are just guessing since we have no real data (like asking how an accident occurred knowing only that the car hit a tree ...).
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # 888-883-8488 # +44(203) 769-2294
williamconley
 
Posts: 20438
Joined: Wed Oct 31, 2007 4:17 pm
Location: Bartow, FL (In the boondocks)

Re: Hangup problem

Postby bbakirtas » Tue Dec 31, 2013 3:27 am

extensions-vicidial.conf


Code: Select all
;; WARNING- THIS FILE IS AUTO-GENERATED BY VICIDIAL, ANY EDITS YOU MAKE WILL BE LOST
TRUNKloop = IAX2/ASTloop:gUmFGzxzLI0B3he@127.0.0.1:40569
TRUNKblind = IAX2/ASTblind:gUmFGzxzLI0B3he@127.0.0.1:41569
TRUNKviciasteri = IAX2/serverast:test@192.168.2.11:4569
SIPserverson= SIP/serverson


; agent phones restricted to only internal extensions
[default---agent]
exten => s,1,Answer
exten => s,n,AGI(agi-VDAD_inbound_calltime_check.agi,-----NO-----default---agent-------------------------NO)
exten => s,n,Set(INVCOUNT=0)
exten => s,n,Background(sip-silence)
exten => s,n,WaitExten(20)


; hangup
exten => t,1,Playback(vm-goodbye)
exten => t,n,Hangup()
exten => i,1,Goto(s,4)
exten => i,n,Hangup()
; hangup
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})

; custom dialplan entries
include => vicidial-auto-internal
include => vicidial-auto-phones




; logging of all outbound calls from agent phones
[defaultlog]
exten => s,1,Answer
exten => s,n,AGI(agi-VDAD_inbound_calltime_check.agi,-----NO-----defaultlog-------------------------NO)
exten => s,n,Set(INVCOUNT=0)
exten => s,n,Background(sip-silence)
exten => s,n,WaitExten(20)


; hangup
exten => t,1,Playback(vm-goodbye)
exten => t,n,Hangup()
exten => i,1,Goto(s,4)
exten => i,n,Hangup()
; hangup
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})

; custom dialplan entries
exten => _X.,1,AGI(agi-NVA_recording.agi,BOTH------Y---Y---Y)
exten => _X.,n,Goto(default,${EXTEN},1)




[vicidial-auto-external]
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})

; Local Server: 192.168.2.15
exten => _192*168*002*015*.,1,Goto(default,${EXTEN:16},1)
exten => _192*168*002*015*.,2,Hangup()
exten => _**192*168*002*015*.,1,Goto(default,${EXTEN:18},1)
exten => _**192*168*002*015*.,2,Hangup()
; Remote Server VDAD extens: viciasteri 192.168.2.11
exten => _192*168*002*011*.,1,Dial(${TRUNKviciasteri}/${EXTEN:16},55,oT)
exten => _192*168*002*011*.,2,Hangup()
; Remote Server native bridge extens: viciasteri 192.168.2.11
exten => _**192*168*002*011*.,1,Dial(${TRUNKviciasteri}/${EXTEN:18},55,o)
exten => _**192*168*002*011*.,2,Hangup()
; VICIDIAL Carrier: serverson - Server Son
; Server Son
exten => _X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _X.,2,Dial(SIP/${EXTEN}@serverson,,tTo)
exten => _X.,3,Hangup

[vicidial-auto-internal]
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})
; Voicemail Extensions:
; exten => _85026666666666.,1,Wait(1)
; exten => _85026666666666.,n,Voicemail(${EXTEN:14},u)
; exten => _85026666666666.,n,Hangup()
; exten => 8500,1,VoicemailMain
; exten => 8500,2,Goto(s,6)
; exten => 8500,3,Hangup()
; exten => 8501,1,VoicemailMain(s${CALLERID(num)})
; exten => 8501,2,Hangup()

exten => _85026666666666.,1,Dial(${TRUNKserverast}/${EXTEN},99,oT)
exten => 8500,1,Dial(${TRUNKserverast}/${EXTEN},99,oT)
exten => 8500,2,Hangup()
exten => 8501,1,Dial(${TRUNKserverast}/${EXTEN},99,oT)
exten => 8501,2,Hangup()



; Prompt Extensions:
; exten => 8167,1,Answer
; exten => 8167,2,AGI(agi-record_prompts.agi,wav-----720000)
; exten => 8167,3,Hangup()
; exten => 8168,1,Answer
; exten => 8168,2,AGI(agi-record_prompts.agi,gsm-----720000)
; exten => 8168,3,Hangup()

exten => 8167,1,Dial(${TRUNKserverast}/${EXTEN},99,oT)
exten => 8167,2,Hangup()
exten => 8168,1,Dial(${TRUNKserverast}/${EXTEN},99,oT)
exten => 8168,2,Hangup()


; this is used for recording conference calls, the client app sends the filename
;    value as a callerID recordings go to /var/spool/asterisk/monitor (WAV)
;    Recording is limited to 1 hour, to make longer, just change the server
;    setting ViciDial Recording Limit
;     this is the WAV verison, default
exten => 8309,1,Answer
exten => 8309,2,Monitor(wav,${CALLERID(name)})
exten => 8309,3,Wait(3600)
exten => 8309,4,Hangup()
;     this is the GSM verison
exten => 8310,1,Answer
exten => 8310,2,Monitor(gsm,${CALLERID(name)})
exten => 8310,3,Wait(3600)
exten => 8310,4,Hangup()

;     agent alert extension
exten => 83047777777777,1,Answer
exten => 83047777777777,2,Playback(${CALLERID(name)})
exten => 83047777777777,3,Hangup()
; This is a loopback dial-around to allow for immediate answer of outbound calls
exten => _8305888888888888.,1,Answer
exten => _8305888888888888.,n,Wait(${EXTEN:16:1})
exten => _8305888888888888.,n,Dial(${TRUNKloop}/${EXTEN:17},,To)
exten => _8305888888888888.,n,Hangup()
; No-call silence extension
exten => _8305888888888888X999,1,Answer
exten => _8305888888888888X999,n,Wait(3600)
exten => _8305888888888888X999,n,Hangup()

[vicidial-auto-phones]
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})

; Phones direct dial extensions:
exten => 8002,1,Dial(SIP/8002|60|)
exten => 8002,2,Goto(default,850266666666668002,1)
exten => 102,1,Dial(SIP/gs102|60|)
exten => 102,2,Goto(default,85026666666666102,1)

[vicidial-auto]
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})

include => vicidial-auto-internal
include => vicidial-auto-phones
include => vicidial-auto-external


; END OF FILE

Vicibox 9.0.1
VERSION: 2.14-738a
BUILD: 200210-1628
Intel Xeon X5650 12 Core HT 24 Core 2.90 Ghz
64 GB ECC Registered Memory
bbakirtas
 
Posts: 93
Joined: Thu Dec 06, 2012 3:35 am
Location: Turkey

Re: Hangup problem

Postby bbakirtas » Tue Dec 31, 2013 6:06 am

i think sloved

call hangup 60 seconds later

vicibox 5.0.3 32bit-64bit same...

sip.conf

rtptimeout=60

rtptimeout=1 :twisted:
Vicibox 9.0.1
VERSION: 2.14-738a
BUILD: 200210-1628
Intel Xeon X5650 12 Core HT 24 Core 2.90 Ghz
64 GB ECC Registered Memory
bbakirtas
 
Posts: 93
Joined: Thu Dec 06, 2012 3:35 am
Location: Turkey


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 95 guests