dispo_call_url
Posted: Fri Sep 28, 2012 10:51 am
I am trying to set up a dispo call url and I am having an issue with it. Here is the url I entered:
http://vnow/agc/vdc_call_url_test.php?l ... ad_id--B--
When I go into the vicidial_url_log It shows the url with the filled out information with a weird response:
I don't think the page is being hit because call_url_log.txt file is blank. I know the page works because I can hit it in my browser and get data in the text file. I used gotoautodial for my installation and then updated to a trunk version of vici six months ago. Any ideas?
GOTOAUTODIAL 2.1 | VERSION: 2.4-363a | BUILD: 120402-2111 | ALL IN ONE SERVER dual quad 8g ram
http://vnow/agc/vdc_call_url_test.php?l ... ad_id--B--
When I go into the vicidial_url_log It shows the url with the filled out information with a weird response:
- Code: Select all
<html>
<head>
<title> </title>
<script type="text/javascript">
function bredir(a, b, c, d, e, ldr, ifc) {
var h, i, j
var f = 0
var g = 0
var k = false
var l = false
var m = [
[300, 250, false],
[250, 250, false],
[240, 400, false],
[336, 280, false],
[180, 150, false],
[468, 60, false],
[234, 60, false],
[88, 31, false],
[120, 90, false],
[120, 60, false],
[120, 240, false],
[125, 125, false],
[728, 90, false],
[160, 600, false],
[120, 600, false],
[300, 600, false],
[300, 125, false],
[530, 300, false],
[190, 200, false],
[470, 250, false],
[720, 300, true],
[500, 350, true],
[550, 480, true]
]
if (typeof window.innerHeight == "number") {
g = window.innerHeight
f = window.innerWidth
} else if (typeof document.body.offsetHeight == "number") {
g = document.body.offsetHeight
f = document.body.offsetWidth
}
for (var n = 0 n < m.length n++) {
j = m[n]
h = Math.abs(f - j[0])
i = Math.abs(g - j[1])
if (top != self) {
ifc = 1
} else {
ifc = 0
}
if (h <= 2 && i <= 2) {
k = true
l = j[2]
}
}
if(f === 0 && g === 0){
return
}
if ((a != "www.facebook.com" && a != "platform.twitter.com") && (k || f < 100 && f !== 0 || g < 100 && g !== 0)) {
if (l && self == parent) {
return
}
return "/b" + "anner.php?w=" + f + "&h=" + g + "&d=" + a + "&url=" + b + "&ref=" + c + "&view=" + d
} else if ((a == "www.facebook.com" || a == "platform.twitter.com") && (f >= 250 && g >= 60) && (k || f < 100 && f !== 0 || g < 100 && g !== 0)) {
if (l && self == parent) {
return
}
return e + "&w=" + f + "&h=" + g + "&ldr=" + "b" + "&ifc=" + ifc
} else if ((a == "www.facebook.com" || a == "platform.twitter.com") && (f < 250 || g < 60) && (k || f < 100 && f !== 0 || g < 100 && g !== 0)) {
if (l && self == parent) {
return
}
return "/b" + "anner.php?w=" + f + "&h=" + g + "&d=" + a + "&url=" + b + "&ref=" + c + "&view=" + d
} else {
return e + "&w=" + f + "&h=" + g + "&ifc=" + ifc
}
}
function bdetect() {
var loc = bredir(
'',
'vnow%2Fagc%2Fvdc_call_url_test.php%3Flead_id%3D2462745',
'',
'error',
'/main?wc=EWJoHxd8AAVDBBRuAQw%3D&url=vnow%2Fagc%2Fvdc_call_url_test.php%3Flead_id%3D2462745'
)
if(typeof loc === 'undefined') {
self.close()
return
}
location.replace(loc)
}
</script>
</head>
<body onLoad="bdetect()" style="margin: 0px">
<noscript>
<iframe frameborder="0" src="/main?wc=EWJoHxd8AAVDBBRuAQw%3D&url=vnow%2Fagc%2Fvdc_call_url_test.php%3Flead_id%3D2462745" width="100%" height="100%"></iframe>
</noscript>
</body>
</html>
I don't think the page is being hit because call_url_log.txt file is blank. I know the page works because I can hit it in my browser and get data in the text file. I used gotoautodial for my installation and then updated to a trunk version of vici six months ago. Any ideas?
GOTOAUTODIAL 2.1 | VERSION: 2.4-363a | BUILD: 120402-2111 | ALL IN ONE SERVER dual quad 8g ram