Call Monitoring

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Call Monitoring

Postby jjroa10 » Wed Mar 02, 2011 5:50 pm

We're having a problem with call monitoring using vicibox? "failed to established call, anyone can help,,thanks...

CLI Output:

[Mar 2 17:58:45] -- Executing [08600051@default:1] Dial("SIP/102-0000002b", "IAX2/ASTblind:Jz+Odx+3/DCZ@127.0.0.1:41569/68600051|55|To") in new stack
[Mar 2 17:58:45] -- Called ASTblind:Jz+Odx+3/DCZ@127.0.0.1:41569/68600051
[Mar 2 17:58:49] NOTICE[5783]: chan_iax2.c:4050 __auto_congest: Auto-congesting call due to slow response
[Mar 2 17:58:49] -- IAX2/ASTblind-11311 is circuit-busy
[Mar 2 17:58:49] -- Hungup 'IAX2/ASTblind-11311'
[Mar 2 17:58:49] == Everyone is busy/congested at this time (1:0/1/0)
[Mar 2 17:58:49] == Auto fallthrough, channel 'SIP/102-0000002b' status is 'CONGESTION'
[Mar 2 17:58:49] -- Executing [h@default:1] DeadAGI("SIP/102-0000002b", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0-----CONGESTION----------") in new stack
[Mar 2 17:58:49] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0


ViciBox Redux 3.1.9
ViciDial v.2.2.1
ViciDial SVN Trunk v.2.4-295 Build 110103-1135
Asterisk v.1.4.39.1-vici
no other hardware connected
jjroa10
 
Posts: 6
Joined: Mon Jan 24, 2011 6:59 pm

Postby williamconley » Wed Mar 02, 2011 7:02 pm

describe exactly what you did to cause this? 8)
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby jjroa10 » Thu Mar 03, 2011 5:01 pm

I'm trying to monitor using 0+sessionID.
jjroa10
 
Posts: 6
Joined: Mon Jan 24, 2011 6:59 pm

Postby mflorell » Thu Mar 03, 2011 5:56 pm

most likely ip_relay is not running. I believe we ran into this issue a few times, not sure what we did to fix it though.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby williamconley » Thu Mar 03, 2011 8:54 pm

ok, so to extrapolate from your description, you are using a phone registered to the system and dial 0+sessionID and this is the CLI and the call fails (you're not using any gui features for this except to acquire said sessionID)?

Can you dial the regular sessionID without the 0?

have you turned off the firewall? (is that where the ip_relay is running? inside iptables?)
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby mflorell » Thu Mar 03, 2011 9:15 pm

a firewall can prevent ip_relay from running, but ip_relay really has nothing to do with iptables, it is a separate application that we include with ViciDial and it is installed when you run the install.pl script. Sometimes it's as simple as having the keepalive not there in the /etc/astguiclient.conf, and sometimes you have to recompile ip_relay to work on your system, although that is very rare.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby rrb555 » Fri Mar 04, 2011 2:33 pm

experienced the same problem, cannot monitor when dialing 0 + session id. that is why i used 6 + session but what i don't like using 6 was disconnected monitoring after each call.

solved using this configurations
admin > server > Conf File Secret and change it to "test"

I do not know the logic of these but it's simply works..
:D
rrb555
 
Posts: 585
Joined: Tue Feb 08, 2011 4:24 pm
Location: Quezon City, Philippines

Postby DarnoQ » Mon Apr 18, 2011 11:50 am

I would like to bump up this post.
I've installed VERSION: 2.2.1-237 BUILD: 100510-2015 on ubuntu 10.03.2.

I can't monitor with 0 prefix or when on real time reports screen. Barge seems to work fine, also when dialing with 6 prefix it seems to work ok. But when clicking listen i get this cli output:


-- Executing [XXX*XXX*XXX*XXX*08600052@default:1] Goto("Local/XXX*XXX*XXX*XXX*08600052@default-ccba,2", "default|08600052|1") in new stack
-- Goto (default,08600052,1)
-- Executing [08600052@default:1] Dial("Local/XXX*XXX*XXX*XXX*08600052@default-ccba,2", "IAX2/ASTblind:test@127.0.0.1:41569/68600052|55|To") in new stack
-- Called ASTblind:test@127.0.0.1:41569/68600052
-- IAX2/127.0.0.1:41569-7886 is circuit-busy
[Apr 18 18:36:30] NOTICE[11469]: chan_iax2.c:4050 __auto_congest: Auto-congesting call due to slow response
-- Hungup 'IAX2/127.0.0.1:41569-7886'
== Everyone is busy/congested at this time (1:0/1/0)
== Auto fallthrough, channel 'Local/XXX*XXX*XXX*XXX*08600052@default-ccba,2' status is 'CONGESTION'
> Channel Local/XXX*XXX*XXX*XXX*08600052@default-ccba,1 was never answered.
-- Executing [h@default:1] DeadAGI("Local/XXX*XXX*XXX*XXX*08600052@default-ccba,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0-----CONGESTION----------") in new stack


There is albo another problem that can be related. I can't register any IAX2 client. I get this error:
[Apr 18 18:36:29] ERROR[11473]: chan_iax2.c:4322 handle_call_token: Call rejected, CallToken Support required. If unexpected, resolve by placing address 89.xx.xx.xx.xx in the calltokenignore list or setting user user1 requirecalltoken=no

I've added requirecalltoken=no at iax-vicidial.conf but it doesn't help.

I would appreciate your support.
Last edited by DarnoQ on Mon Apr 18, 2011 2:41 pm, edited 1 time in total.
DarnoQ
 
Posts: 32
Joined: Wed Mar 18, 2009 10:59 am

Postby DarnoQ » Mon Apr 18, 2011 11:52 am

I've checked /etc/astguiclient.conf and ip_relay is there as keepalive
DarnoQ
 
Posts: 32
Joined: Wed Mar 18, 2009 10:59 am

Postby williamconley » Mon Apr 18, 2011 9:31 pm

is ip_relay also RUNNING?
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby DarnoQ » Tue Apr 19, 2011 8:17 am

Dear Williamconley,
Than you for the reply. The ip_relay is not running on the system. When executing it manually by relay_control start i get an error:
./relay_control start
starting up ip_relay services
done

./relay_control: 57: ip_relay: not found
./relay_control: 57: ip_relay: not found

Following this (http://www.wlug.org.nz/CommonErrors) howto I got this output after "strings /usr/share/astguiclient/ip_relay/ip_relay |grep \.so":
/lib/ld-linux.so.2
libc.so.6
setsockopt
could not create listen sockets!
could not create bind tcp listen socket!
could not create bind udp listen socket!
could not create listen on tcp socket!
could not create tcp target socket!
could not connect tcp target socket to %d.%d.%d.%d:%d!
could not create target udp socket!
could not connect udp target socket to %d.%d.%d.%d:%d!
DarnoQ
 
Posts: 32
Joined: Wed Mar 18, 2009 10:59 am

Postby williamconley » Tue Apr 19, 2011 9:12 am

you may want to look at the stock vicibox method of installaing ip_relay.

i note that you said you get an error, but in some linux packages the method of starting the software can make a difference. try to find it in the install script and in the startup routine and duplicate them (but manually so YOU can see the output). you could also look at your logs after a reboot (and perhaps your mail) to see if ip_relay is tossing an error.

i've never had any problem with ip_relay so i've never had to "fix" it. try (just taking a pot shot):
Code: Select all
cd /var/log
grep ip_relay * -R -n


also of note is that your grep command for .so resulted in matching the "so" in "socket" and it was searching the ip_relay script itself, not output from an attempted start of the software ... so the result is not apparently related to an error (just a list of strings containing "so" in the original script file).

keep Tryin' 8)
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Call Monitoring

Postby jkidd » Tue May 19, 2015 12:33 am

I had similar issue on goautodial

Try this, worked for me

yum install glibc-devel
VERSION: 2.14-697a | BUILD: 190121-2019 Asterisk Version 13.21.1-vici | cluster 1 DB 4 web / diallers
jkidd
 
Posts: 85
Joined: Wed Apr 23, 2014 9:38 am

Re: Call Monitoring

Postby williamconley » Fri Jun 19, 2015 11:06 pm

great post jkidd. Helping out with only 60 posts. Excellent 8-)
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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 94 guests