Multiple calls in conference whenever recording is turned on

All installation and configuration problems and questions

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

Multiple calls in conference whenever recording is turned on

Postby deephack » Fri Mar 15, 2013 5:27 am

Hello all,

Have a strange problem which so far I have been unable to re-produce on any other systems so I have clearly done something stupid.

On this system whenever call recording is set on for a campaign the operator will get connected to a call on pickup as normal but then after a couple of seconds be connected to an additional call while the first one is still in session. Turning off call recording in the campaign resolves the issue immediately.

Scratch built
ViciDial 2.6-395a build 130221-1736
Asterisk 1.4.43
Loadavg 2.65
HP DL160 G6 with 2x Intel Xeon E5606 @ 2.13Ghz with 8Gb DDR3
GSM codec
Pure VoIP with IAX2 trunk for outbound
Ubuntu 12.04.2

Like I say I'm running the exact same setup at a couple of other sites with no problems so I'm clearly missing something.
deephack
 
Posts: 21
Joined: Sun Jan 20, 2013 11:08 am
Location: Edinburgh, Scotland, UK

Re: Multiple calls in conference whenever recording is turne

Postby williamconley » Fri Mar 15, 2013 8:37 am

post a link to your installation instructions. it may be related (and it's considered part of your "install documentation" since you did not install from .iso).

diff your /etc/asterisk folders between the two machines (to see if there are any differences besides ip and agent phones)

mysqldump a working/non-working record from your 'campaigns' tables on both machines and diff those to see if there is a difference that could explain it.

compare versions (svn revision level if you are using svn, more accurate than build which is only in the admin.php file).

post CLI output from a "good" and "bad" on the same machine, also post a "good" (with recording) for reference from another machine to see how they compare. Remember to only have the single test call during the test. Not 3000 lines of unrelated code from other calls. 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: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Multiple calls in conference whenever recording is turne

Postby deephack » Fri Mar 15, 2013 10:54 am

Thanks for the reply William,

I used the standard scratch install instructions in the docs folder. Just checking my way through the asterisk configs of two machines right now and have found something possibility pertinent right away. The one that works has this:-

Code: Select all
; 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, SendDTMF and ring-agent)
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


And the one which has the problem has this:-

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


The non working one is missing the hangup lines. Is this the problem?
deephack
 
Posts: 21
Joined: Sun Jan 20, 2013 11:08 am
Location: Edinburgh, Scotland, UK

Re: Multiple calls in conference whenever recording is turne

Postby williamconley » Fri Mar 15, 2013 11:37 am

Always load the "sample config files" when installing or upgrading. It is entirely possible that this is the problem, but it may merely be a "warning" that there is a difference in the configuration files and that could mean there are Lots of differences.

Hint: Never modify the config files directly. Always load and use the sample config files "stock". Any changes you need to make should be made in a custom field location inside Vicidial's GUI (which will then generate new "XXX-vicidial.conf" files with your content, even after an upgrade). If you "MUST" modify something like "externip=xxxx.xxx.xxx.xx", be sure it is well documented and re-modify the new sample files after each upgrade.

So try adding the hangup lines, but seriously consider running install.pl again and accept the samples. :)

Happy Hunting! (Good detection)
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: Multiple calls in conference whenever recording is turne

Postby deephack » Mon Mar 18, 2013 5:15 am

Okay that did the trick. Rather than mucking about with the config files I followed your advice and simply re-ran the install and accepted the sample configs. I think my problem was that this system originally ran ViciDial 1.2, I subsequently upgraded to 1.4 and then 1.6 without ever updating the asterisk configs. Also I almost certainly fiddled with the configs at one point.

Listen to William kids and always use the sample configs!

Thanks for your help.
deephack
 
Posts: 21
Joined: Sun Jan 20, 2013 11:08 am
Location: Edinburgh, Scotland, UK

Re: Multiple calls in conference whenever recording is turne

Postby williamconley » Mon Mar 18, 2013 2:26 pm

It's a decent learning curve, but I decided long ago that reinventing anything in the Vicidial world should be reserved for things in need of reinventing. This is ordinarily defined by "someone paid me to do it". LOL

Now stick around and help out newbies! :)
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 108 guests