Page 1 of 1

Multiple calls in conference whenever recording is turned on

PostPosted: Fri Mar 15, 2013 5:27 am
by deephack
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.

Re: Multiple calls in conference whenever recording is turne

PostPosted: Fri Mar 15, 2013 8:37 am
by williamconley
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

Re: Multiple calls in conference whenever recording is turne

PostPosted: Fri Mar 15, 2013 10:54 am
by deephack
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?

Re: Multiple calls in conference whenever recording is turne

PostPosted: Fri Mar 15, 2013 11:37 am
by williamconley
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)

Re: Multiple calls in conference whenever recording is turne

PostPosted: Mon Mar 18, 2013 5:15 am
by deephack
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.

Re: Multiple calls in conference whenever recording is turne

PostPosted: Mon Mar 18, 2013 2:26 pm
by williamconley
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! :)