ConfBridge Beta support!

Discussions about development of VICIDIAL and astGUIclient

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

ConfBridge Beta support!

Postby mflorell » Mon Aug 29, 2022 2:28 pm

We've recently added patches and documentation for ConfBridge support for VICIdial in Asterisk 16 and higher.

To test this, you will need to read the ConfBridge documentation, and upgrade your system to svn/trunk revision 3628 or higher,
https://www.vicidial.org/docs/ConfBridg ... tation.txt

Activation of ConfBridge requires multiple manual steps, including patching existing VICIdial files, so it should be done by someone familiar with Linux command-line.

Please test it out if you are able to and post your results here!
mflorell
Site Admin
 
Posts: 18379
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: ConfBridge Beta support!

Postby carpenox » Mon Aug 29, 2022 9:13 pm

I was able to get this working rather easily with matts notes. If anyone wants to test it out, go to http://demo.dialer.one and login as an agent, the user i 0000 and the pass is demo


call yourself from the dialer.....no more bloop.


I will be creating an article for this sometime this week but if u have any questions, feel free to message me or stop by our skype live support channel which now has nearly 200 visitors and clients just chilling and helping each other out n shit, great vibes.


Chris
Last edited by carpenox on Tue Mar 12, 2024 7:10 am, edited 1 time in total.
Alma Linux 9.4 | SVN Version: 3884 | DB Schema Version: 1720 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2404
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: ConfBridge Beta support!

Postby carpenox » Sat Sep 03, 2022 9:43 pm

Here is the article I wrote for all of you guys to be able to get this done easily:

https://dialer.one/how-to-switch-vicidi ... onfbridge/


Chris
Last edited by carpenox on Wed May 03, 2023 5:35 pm, edited 1 time in total.
Alma Linux 9.4 | SVN Version: 3884 | DB Schema Version: 1720 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2404
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: ConfBridge Beta support!

Postby mcargile » Tue Sep 06, 2022 8:43 am

Please keep in mind that this is all still changing. As an example it was pointed out that I missed the RINGALL code. As the agent entering the conference for a RINGALL is neither a regular agent nor an admin user it makes sense to create a ConfBridge user profile and an extension for that entry as well. Please pay careful attention to the SVN commits and re-read through the documentation every time something is added to the ConfBridge section.
Michael Cargile | Director of Engineering | ViciDialGroup | http://www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 617
Joined: Tue Jan 16, 2007 9:38 am

Re: ConfBridge Beta support!

Postby jamiemurray » Thu Sep 15, 2022 4:54 am

I've been using this extensively and have discovered a few bugs all of which have been posted on the issue tracker most of them with fixes.
It seems there's been little movement this week, the guys must be busy so if you're using SVN 3638 you may be experiencing issues with some of the steps :D
Here's a list of pending issues as of 3638, with the suggested fixes.

1. Various stats don't reset with end of day process (eg. Agent call count on the realtime report).
Caused by typo on ADMIN_keepalive_ALL.pl patch - fix explained.
http://www.vicidial.org/VICIDIALmantis/view.php?id=1380

2. Agent API audio_playback broken.
Caused by typo on ADMIN_keepalive_ALL.pl patch - Updated Patch Provided
http://www.vicidial.org/VICIDIALmantis/view.php?id=1379

3. Blind monitor by manager causes entry/exit tones to play in conference.
Caused by the blind monitor profile having quiet=no set. Fix explained.
http://www.vicidial.org/VICIDIALmantis/view.php?id=1377

4. If in System Settings a custom login sound file is selected, the agent's phone doesn't ring on login.
Caused by vicidial.php switching to a context that was never set up for ConfBridge - No fix per say, but conf bridge allows you to change the only participant message relatively easily.
http://www.vicidial.org/VICIDIALmantis/view.php?id=1376
Skype: live:support_71847 | Tel: (US) +1 646 647 8850 (CA) +1 613 900 6456 (MX) +52 55 9990 3550 (UK) +44 1324 285022 (ES) +34 922 937 384
Managed Hosting - No tech skills required | VoIP Termination & DID numbering | https://jmurraysolutions.com
jamiemurray
 
Posts: 179
Joined: Fri Jan 11, 2013 4:12 pm
Location: Tenerife, Canary Islands

Re: ConfBridge Beta support!

Postby jamiemurray » Thu Sep 15, 2022 5:32 am

Another one to add:

http://www.vicidial.org/VICIDIALmantis/view.php?id=1381
The AST_conf_update_screen.pl script fails to authenticate with AMI due to a username mismatch.
Fixed with changing line 218 to:
Code: Select all
$telnet_login = "$ASTmgrUSERNAME";
Skype: live:support_71847 | Tel: (US) +1 646 647 8850 (CA) +1 613 900 6456 (MX) +52 55 9990 3550 (UK) +44 1324 285022 (ES) +34 922 937 384
Managed Hosting - No tech skills required | VoIP Termination & DID numbering | https://jmurraysolutions.com
jamiemurray
 
Posts: 179
Joined: Fri Jan 11, 2013 4:12 pm
Location: Tenerife, Canary Islands

Re: ConfBridge Beta support!

Postby mflorell » Fri Sep 16, 2022 8:13 am

I think we've fixed all of these issues(and a couple more we found this week) in the ConfBridge code and doc in svn/trunk revision 3640. Please update and test if possible.

Thank you very much for your work on this jamiemurray! :)
mflorell
Site Admin
 
Posts: 18379
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: ConfBridge Beta support!

Postby jamiemurray » Fri Sep 16, 2022 9:40 am

You're more than welcome Matt.
I tested the fixes on a client who hasn't started yet, it all seems fine, the only one I didn't check yet is the Custom Login Sound due to time constraints before agents start logging in.
Skype: live:support_71847 | Tel: (US) +1 646 647 8850 (CA) +1 613 900 6456 (MX) +52 55 9990 3550 (UK) +44 1324 285022 (ES) +34 922 937 384
Managed Hosting - No tech skills required | VoIP Termination & DID numbering | https://jmurraysolutions.com
jamiemurray
 
Posts: 179
Joined: Fri Jan 11, 2013 4:12 pm
Location: Tenerife, Canary Islands

Re: ConfBridge Beta support!

Postby jamiemurray » Mon Sep 19, 2022 6:09 am

Custom Login Sound is definately fixed too.
Skype: live:support_71847 | Tel: (US) +1 646 647 8850 (CA) +1 613 900 6456 (MX) +52 55 9990 3550 (UK) +44 1324 285022 (ES) +34 922 937 384
Managed Hosting - No tech skills required | VoIP Termination & DID numbering | https://jmurraysolutions.com
jamiemurray
 
Posts: 179
Joined: Fri Jan 11, 2013 4:12 pm
Location: Tenerife, Canary Islands

Re: ConfBridge Beta support!

Postby jamiemurray » Mon Sep 19, 2022 7:51 am

Matt, is there anything else you are waiting on feedback for before including this in the standard code? I am happy to try out any remaining items to be checked to speed this process up.
Skype: live:support_71847 | Tel: (US) +1 646 647 8850 (CA) +1 613 900 6456 (MX) +52 55 9990 3550 (UK) +44 1324 285022 (ES) +34 922 937 384
Managed Hosting - No tech skills required | VoIP Termination & DID numbering | https://jmurraysolutions.com
jamiemurray
 
Posts: 179
Joined: Fri Jan 11, 2013 4:12 pm
Location: Tenerife, Canary Islands

Re: ConfBridge Beta support!

Postby mflorell » Mon Sep 19, 2022 4:43 pm

I think we are pretty good on feature testing, but we would like to get as much data on capacity/load as possible. We also would like more feedback on anyone running ConfBridge with VICIdial on any kind of Virtual-Machine platform.

So, any details on what kind of per-dialer load you are running at(agents/calls/concurrent-calls/etc...) as well as what kind of hardware or VM platform you are using would be great!
mflorell
Site Admin
 
Posts: 18379
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: ConfBridge Beta support!

Postby jamiemurray » Fri Sep 23, 2022 12:22 pm

Short lived for me so far. I've reverted to MeetMe after discovering a major audio issue with ConfBridge that I haven't quite managed to get pinned down.
We started getting random complaints about audio, those complaints when checked all had one thing in common, the customers were saying "you're breaking up", "every other word is cutting out" but on the recordings the agents (and customers) sound 100% fine with no audio issues apparent what so ever.
On our softswitch, MOS scores were all 4-4.5 for the calls reported, no/little packet loss and low latency/jitter.

After checking all carriers etc (examples provided also showed all carriers were affected), I tried doing a echo test via an external number via a phone on the system, that's fine. Then I tried it from a ConfBridge session (via dial override on the agent interface) and bingo, the audio on the other side when played back was terrible. I repeated the test with MeetMe and the issue isn't there.

I've read a few reports about bad audio on ConfBridge and it seems to be something to do with the mixing as far as I can see.

Agents are pretty much all on ulaw for their call to the ConfBridge.
Carriers mostly only connecting on alaw, with a handful of ulaw
Using chan_sip
No more than 15 agents per telephony server.
Load is always under 30%

I'm going to try a few experiments with codecs and different mixing and sampling settings to see if I can address it but just wondering if anyone got any ideas on where I should focus my efforts.

Asterisk 16.27.0-vici
SVN 3643
Original Install via ViciBox v.10.0.0 210901
Skype: live:support_71847 | Tel: (US) +1 646 647 8850 (CA) +1 613 900 6456 (MX) +52 55 9990 3550 (UK) +44 1324 285022 (ES) +34 922 937 384
Managed Hosting - No tech skills required | VoIP Termination & DID numbering | https://jmurraysolutions.com
jamiemurray
 
Posts: 179
Joined: Fri Jan 11, 2013 4:12 pm
Location: Tenerife, Canary Islands

Re: ConfBridge Beta support!

Postby mflorell » Sat Sep 24, 2022 8:01 am

Thank you very much for the feedback!

I wonder if Asterisk 18, and/or using PJSIP instead of chan_sip would have any affect on this?

We have PJSIP support in Asterisk 16, and we've been testing Asterisk 18 compatibility, so it might be something else to try.
mflorell
Site Admin
 
Posts: 18379
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: ConfBridge Beta support!

Postby mcargile » Sat Sep 24, 2022 8:18 am

@jamiemurray few questions:

What is the specific hardware are you running this on?
Is it virtualized?
Do you have physical DAHDI timers?
What does dahdi_test show when the audio is getting choppy?

To the best of my knowledge ConfBridge does not need a DAHDI timer, but the system over all benefits from having one. Basically it is pulling its timing from the underlying Asterisk timing system which will use the best timing source that is available. I do plan on getting clarification on this during AsteriskDev Con this year.
Michael Cargile | Director of Engineering | ViciDialGroup | http://www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 617
Joined: Tue Jan 16, 2007 9:38 am

Re: ConfBridge Beta support!

Postby jamiemurray » Wed Sep 28, 2022 7:41 am

mflorell wrote:Thank you very much for the feedback!

I wonder if Asterisk 18, and/or using PJSIP instead of chan_sip would have any affect on this?

We have PJSIP support in Asterisk 16, and we've been testing Asterisk 18 compatibility, so it might be something else to try.


I'll try PJSIP, also Asterisk 18 if that doesn't work. I do like the fact though asterisk is managed by zypper, it allows the automatic update script I have on the servers which automatically checks for updates to asterisk from your official repo and automatically performs svn updates overnight as well as applies any patches I've wrote to address specific setup requirements or bugs which haven't been resolved on official SVN version yet. Has the ast 18 you've been working with been made available on a zypper repo yet?

mcargile wrote:@jamiemurray few questions:

What is the specific hardware are you running this on?
Is it virtualized?
Do you have physical DAHDI timers?
What does dahdi_test show when the audio is getting choppy?

To the best of my knowledge ConfBridge does not need a DAHDI timer, but the system over all benefits from having one. Basically it is pulling its timing from the underlying Asterisk timing system which will use the best timing source that is available. I do plan on getting clarification on this during AsteriskDev Con this year.


This specific system is entirely virtual and has been working without incident on MeetMe with at times up to 20 agents per server although usually only around 15 per sever.
The 4 tel servers on this cluster all have the following resources:
AMD EPYC 2nd Gen. 8 cores.
16GB ECC RAM.
260GB NVMe SSD storage (no archiving done, recordings remain on the server for the required length of time the client is required by law to keep the calls).
QEMU based virtualization.
Bandwidth definately isn't an issue, there's around 3-4Gbps available up and down to each server, they also communicate internally via private vlan and are physically located in the same room but not the same host.

dahdi_test shows 99.9-100% during the calls where the customer leg is breaking up.

Some of the other things I saw around when googling, was playing around with mixing_interval depending on the codecs sometimes resolved the issue, so I'm going to attempt with 20 rather than 40 to see if that makes a difference.
Others have reported issues with dsp_drop_silence causing issues too.
It's strange how it's just on the carrier leg the audio from the conference is bad, if it's a internal phone or channel (such as recording), the audio is perfect.
Skype: live:support_71847 | Tel: (US) +1 646 647 8850 (CA) +1 613 900 6456 (MX) +52 55 9990 3550 (UK) +44 1324 285022 (ES) +34 922 937 384
Managed Hosting - No tech skills required | VoIP Termination & DID numbering | https://jmurraysolutions.com
jamiemurray
 
Posts: 179
Joined: Fri Jan 11, 2013 4:12 pm
Location: Tenerife, Canary Islands

Re: ConfBridge Beta support!

Postby carpenox » Fri Sep 30, 2022 11:55 am

Last edited by carpenox on Wed May 03, 2023 5:34 pm, edited 1 time in total.
Alma Linux 9.4 | SVN Version: 3884 | DB Schema Version: 1720 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2404
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: ConfBridge Beta support!

Postby mcargile » Thu Oct 13, 2022 9:03 am

Asterisk 18 is in very early testing. I have it compiled on my dev system and have had it place a few million simulated autodialed outbound calls to make sure it does not crash. That is it. I have not tested the AMI or AGI scripts to make sure they are working properly. I have not tested the agent interface. I have not tested manual dials, transfers, recordings, or a dozen other features. I dont even know if those autodialed calls have routed to where they are supposed to go. In other words I cannot promise that anything about Vicidial besides that it will place the calls to the customer is working properly.

I am attending AsteriskDevCon this year on October 24th and would like to be able to report to them about our ConfBridge experience. So if you could continue testing ConfBridge it would be greatly appreciated.
Michael Cargile | Director of Engineering | ViciDialGroup | http://www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 617
Joined: Tue Jan 16, 2007 9:38 am

Re: ConfBridge Beta support!

Postby jamiemurray » Sun Oct 16, 2022 9:52 am

I'm using it successfully on a few very small single server installations without issue but these machines are overkill for the load of the system if I'm being honest.
The ones I stopped using it on were clusters of 50 agents or more because of the issue I described above with the audio on the carrier leg.
I may try with just one server in a busy cluster, that way if the issue becomes too much and we can't get to the cause quickly, I can disable it as an agent server as a quick solution.
Skype: live:support_71847 | Tel: (US) +1 646 647 8850 (CA) +1 613 900 6456 (MX) +52 55 9990 3550 (UK) +44 1324 285022 (ES) +34 922 937 384
Managed Hosting - No tech skills required | VoIP Termination & DID numbering | https://jmurraysolutions.com
jamiemurray
 
Posts: 179
Joined: Fri Jan 11, 2013 4:12 pm
Location: Tenerife, Canary Islands

Re: ConfBridge Beta support!

Postby mcargile » Sat Oct 22, 2022 6:36 am

So looking a bit further into the differences between ConfBridge and MeetMe I did find this post by Matt Jordon:

https://asteriskfaqs.org/2016/11/10/ast ... audio.html

It does look like ConfBridge uses the underlying timing interface provided by Asterisk to mix everything. Or at least it did in 2016. The priority of the timing interfaces in Asterisk are:

1. res_timing_timerfd.so
2. res_timing_kqueue.so (FreeBSD only)
3. res_timing_dahdi.so
4. res_timing_pthread.so

according to https://wiki.asterisk.org/wiki/display/ ... Interfaces. What is interesting is that page says, "The only functionality that requires internal timing is IAX2 trunking." which kind of implies that ConfBridge doesn't use timing.

@jamiemurray can you please try adding:

noload => res_timing_timerfd.so
noload => res_timing_kqueue.so
noload => res_timing_pthread.so

to /etc/asterisk/modules.conf and see if ConfBridge behaves better? That should force Asterisk to only use the DAHDI timing interface which is what MeetMe is using for mixing the audio.

EDIT: I forgot the => in the modules.conf noloads.
Michael Cargile | Director of Engineering | ViciDialGroup | http://www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 617
Joined: Tue Jan 16, 2007 9:38 am

Re: ConfBridge Beta support!

Postby mcargile » Mon Oct 24, 2022 12:06 pm

So I have some bad news for ConfBridge on Virtualization. MeetMe does its audio mixing within the DAHDI driver. This means it gets done in kernel space. ConfBridge does its audio mixing in the Asterisk Bridge mechanism which is done is user space. As such on a Virtual Machine MeetMe is operating just one step above the hypervisor where as ConfBridge is operating two steps above the hypervisor. This means the ConfBridge is going to be considerably more impacted by performance on VMs than MeetMe.

EDIT: The Digium developers did say that the underlying Bridge mechanism in Asterisk used by things like ConfBridge and ARI Bridging is "pluggable" meaning the audio mixing COULD be offloaded to the DAHDI Driver like MeetMe, but it currently does not do that.
Michael Cargile | Director of Engineering | ViciDialGroup | http://www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 617
Joined: Tue Jan 16, 2007 9:38 am

Re: ConfBridge Beta support!

Postby mcargile » Tue Oct 25, 2022 10:52 am

@jamiemurray
The Asterisk developers recommended changing the ConfBridge mixing_interval to 20 from 40 and recommended switching over to res_timing_dahdi.so for the system timing.

With the mixing_interval set to 40ms, ConfBridge will send out two 20ms RTP packets at the same time every 40ms. This has been known to confuse some SIP endpoints and media gateways they are not buffering the audio properly. Especially if packets are arriving out of order. With the interval set to 20ms it is sending out one 20ms RTP packet every 20ms. This spaces them out which makes it less likely that the packets will arrive at the destination out of order.

res_timing_timerfd.so which is the default Asterisk timing interface can fail to trigger when Asterisk forks off a new thread. AGI scripts which Vicidial uses heavily forks off a new thread every time they get executed. res_timing_dahdi.so should not do that.

These two changes SHOULD make ConfBridge more consistent on physical servers that are not overloaded. One Virtual Machines or overloaded physical servers there is still a good chance that ConfBridge will have audio issues. As I said in my previous post MeetMe does its audio mixing inside the DAHDI kernel driver. This means the audio mixing is done in Kernel space and as such is done at a higher priority. ConfBridge does its mixing in user space. This means that it is less likely to work consistently when overloaded or when other VMs on the same hypervisor need execution time.

We are currently waiting to hear back from Sangoma about what it would cost to get the Asterisk Bridging mechanism used by ConfBridge and the ARI bridging system to use DAHDI for mixing.
Michael Cargile | Director of Engineering | ViciDialGroup | http://www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 617
Joined: Tue Jan 16, 2007 9:38 am

Re: ConfBridge Beta support!

Postby jamiemurray » Wed Oct 26, 2022 8:57 am

Trying this out today on the client that had the most issues with it. I'm sure I'll find out within 30 minutes of them dialing if it's successful or not. They start around 11am eastern, will post updates as soon as I know for sure.
Skype: live:support_71847 | Tel: (US) +1 646 647 8850 (CA) +1 613 900 6456 (MX) +52 55 9990 3550 (UK) +44 1324 285022 (ES) +34 922 937 384
Managed Hosting - No tech skills required | VoIP Termination & DID numbering | https://jmurraysolutions.com
jamiemurray
 
Posts: 179
Joined: Fri Jan 11, 2013 4:12 pm
Location: Tenerife, Canary Islands

Re: ConfBridge Beta support!

Postby jamiemurray » Wed Oct 26, 2022 10:49 am

So far so good with 40 agents, another 15 agents start at 1pm eastern so will see if it continues then.
Skype: live:support_71847 | Tel: (US) +1 646 647 8850 (CA) +1 613 900 6456 (MX) +52 55 9990 3550 (UK) +44 1324 285022 (ES) +34 922 937 384
Managed Hosting - No tech skills required | VoIP Termination & DID numbering | https://jmurraysolutions.com
jamiemurray
 
Posts: 179
Joined: Fri Jan 11, 2013 4:12 pm
Location: Tenerife, Canary Islands

Re: ConfBridge Beta support!

Postby mcargile » Wed Oct 26, 2022 11:16 am

How many agents per tel server?
Michael Cargile | Director of Engineering | ViciDialGroup | http://www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 617
Joined: Tue Jan 16, 2007 9:38 am

Re: ConfBridge Beta support!

Postby jamiemurray » Wed Oct 26, 2022 12:44 pm

3 tel servers, 19 on one, 18 on each of the other 2. All still going well so far.
Skype: live:support_71847 | Tel: (US) +1 646 647 8850 (CA) +1 613 900 6456 (MX) +52 55 9990 3550 (UK) +44 1324 285022 (ES) +34 922 937 384
Managed Hosting - No tech skills required | VoIP Termination & DID numbering | https://jmurraysolutions.com
jamiemurray
 
Posts: 179
Joined: Fri Jan 11, 2013 4:12 pm
Location: Tenerife, Canary Islands

Re: ConfBridge Beta support!

Postby jamiemurray » Thu Oct 27, 2022 3:49 am

The day completed without any complaints about audio quality. test calls throughout the day were all fine too, so looking like those few changes have resolved the issue for me!
Skype: live:support_71847 | Tel: (US) +1 646 647 8850 (CA) +1 613 900 6456 (MX) +52 55 9990 3550 (UK) +44 1324 285022 (ES) +34 922 937 384
Managed Hosting - No tech skills required | VoIP Termination & DID numbering | https://jmurraysolutions.com
jamiemurray
 
Posts: 179
Joined: Fri Jan 11, 2013 4:12 pm
Location: Tenerife, Canary Islands

Re: ConfBridge Beta support!

Postby mcargile » Wed Nov 02, 2022 11:21 am

Still working well?
Michael Cargile | Director of Engineering | ViciDialGroup | http://www.vicidial.com

The official source for VICIDIAL services and support. 1-888-894-VICI (8424)
mcargile
Site Admin
 
Posts: 617
Joined: Tue Jan 16, 2007 9:38 am

Re: ConfBridge Beta support!

Postby jamiemurray » Wed Nov 02, 2022 2:17 pm

Yes, it's been in production on all my clients' systems since then and no complaints about audio except for today on a new setup.
I discovered though fail2ban was causing high usage on one server and eventually started causing packet loss, stopping f2b for now has resolved it.
Skype: live:support_71847 | Tel: (US) +1 646 647 8850 (CA) +1 613 900 6456 (MX) +52 55 9990 3550 (UK) +44 1324 285022 (ES) +34 922 937 384
Managed Hosting - No tech skills required | VoIP Termination & DID numbering | https://jmurraysolutions.com
jamiemurray
 
Posts: 179
Joined: Fri Jan 11, 2013 4:12 pm
Location: Tenerife, Canary Islands

Re: ConfBridge Beta support!

Postby okli » Thu Nov 03, 2022 1:14 am

jamiemurray wrote:Yes, it's been in production on all my clients' systems since then and no complaints about audio except for today on a new setup.

Thanks for sharing your experience!
Is this in virtual servers with same specs you posted earlier or physical servers?
okli
 
Posts: 670
Joined: Mon Oct 01, 2007 5:09 pm

Re: ConfBridge Beta support!

Postby jamiemurray » Thu Nov 03, 2022 2:37 pm

Working well on both physical and virtual, I will say however that virtual varies widely depending on the hardware used and config of the hypervisor. But my busiest entirely virtual cluster has 8 telephony servers with up to 20 agents per server, 100% recording and up to dial level 10, AMD, and I finally switched that one over a few days after I was happy the timing issue had been resolved and never looked back yet.
Skype: live:support_71847 | Tel: (US) +1 646 647 8850 (CA) +1 613 900 6456 (MX) +52 55 9990 3550 (UK) +44 1324 285022 (ES) +34 922 937 384
Managed Hosting - No tech skills required | VoIP Termination & DID numbering | https://jmurraysolutions.com
jamiemurray
 
Posts: 179
Joined: Fri Jan 11, 2013 4:12 pm
Location: Tenerife, Canary Islands

Re: ConfBridge Beta support!

Postby martinch » Tue Feb 28, 2023 3:42 am

Thanks mcargile and mflorell for the hard work on this!

There appears to be a small bug in extras\ConfBridge\vicidial.php.diff specifically here;

Code: Select all
+            ##### figure out which table to look for conferences in
+            $stmt="SELECT conf_engine from servers where server_ip = '$rowx[0]';";
+            if ($DB) {echo "|$stmt|\n";}
+                      $rslt=mysql_to_mysqli($stmt, $link);
+                      $row=mysqli_fetch_row($rslt);
+                      $conf_engine = $row[3]; // <-------------------------------------------- shouldn't this be $row[0]?
+                           $conf_table = "vicidial_conferences";
+                           if ( $conf_engine == "CONFBRIDGE" ) { $conf_table = "vicidial_confbridges"; }


I haven't noticed any issues in my specific setup though but thought I'd flag before it gets published into the trunk.

Thanks all,
Martin.
Project Lead @ mDial -> https://github.com/TheBlode/mDial
martinch
 
Posts: 273
Joined: Thu Nov 15, 2018 9:14 am
Location: England, UK

Re: ConfBridge Beta support!

Postby mflorell » Tue Feb 28, 2023 7:15 am

Thanks for reporting! We'll take a look at that today.
mflorell
Site Admin
 
Posts: 18379
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: ConfBridge Beta support!

Postby mflorell » Tue Feb 28, 2023 8:37 am

This has been fixed in svn/trunk revision 3691.

Thanks again!
mflorell
Site Admin
 
Posts: 18379
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: ConfBridge Beta support!

Postby hbondoc0988 » Thu Mar 02, 2023 11:27 am

Hey Matt, what the issue on patch when I try to do the patch got failed.. when I try to work on confbridg.. how to apply patch of every file?
Alma Linux 8.9 |Version: 2.14b0.5 | SVN Version: 3791 | DB Schema Version: 1702 | Asterisk 16.30.1
Youtube Channel : https://www.youtube.com/@hbtutorial -:- My Blog: https://hbtutorial09.blogspot.com -:- WhatsApp: +639174521009 :-Skype: live:.cid.9b6cdbf98b6441ef
hbondoc0988
 
Posts: 9
Joined: Fri Oct 23, 2020 8:37 am

Re: ConfBridge Beta support!

Postby hbondoc0988 » Thu Mar 02, 2023 11:35 am

patch -p0 < vicidial.php.diff
patching file vicidial.php
Hunk #1 succeeded at 3591 (offset 145 lines).
Hunk #2 succeeded at 3615 (offset 145 lines).
Hunk #3 succeeded at 3799 (offset 146 lines).
Hunk #4 succeeded at 3826 (offset 146 lines).
Hunk #5 succeeded at 3846 (offset 146 lines).
Hunk #6 succeeded at 3963 (offset 146 lines).
Hunk #7 succeeded at 3981 (offset 146 lines).
Hunk #8 succeeded at 4164 (offset 163 lines).
Hunk #9 FAILED at 23106.
1 out of 9 hunks FAILED -- saving rejects to file vicidial.php.rej
Alma Linux 8.9 |Version: 2.14b0.5 | SVN Version: 3791 | DB Schema Version: 1702 | Asterisk 16.30.1
Youtube Channel : https://www.youtube.com/@hbtutorial -:- My Blog: https://hbtutorial09.blogspot.com -:- WhatsApp: +639174521009 :-Skype: live:.cid.9b6cdbf98b6441ef
hbondoc0988
 
Posts: 9
Joined: Fri Oct 23, 2020 8:37 am

Re: ConfBridge Beta support!

Postby mflorell » Fri Mar 03, 2023 7:23 am

Depending on the svn/trunk revision you are patching, the last Hunk of the vicidial.php patch file may or may not be needed, since it is actually something that was fixed in the regular codebase. You can safely ignore that warning.
mflorell
Site Admin
 
Posts: 18379
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: ConfBridge Beta support!

Postby hbondoc0988 » Wed Mar 08, 2023 1:41 pm

Thank you Matt.
I wan tto apply this on cluster to I need to add this to all server
To enable this screen session you need to add a 'C' to the 'VARactive_keepalives' variable in the '/etc/astguiclient.conf' on your dialers, and comment out the following line from your crontab: ??
Alma Linux 8.9 |Version: 2.14b0.5 | SVN Version: 3791 | DB Schema Version: 1702 | Asterisk 16.30.1
Youtube Channel : https://www.youtube.com/@hbtutorial -:- My Blog: https://hbtutorial09.blogspot.com -:- WhatsApp: +639174521009 :-Skype: live:.cid.9b6cdbf98b6441ef
hbondoc0988
 
Posts: 9
Joined: Fri Oct 23, 2020 8:37 am

Re: ConfBridge Beta support!

Postby mflorell » Wed Mar 08, 2023 4:01 pm

You can use ConfBridge on only one dialer in a multi-dialer cluster if you want to.
mflorell
Site Admin
 
Posts: 18379
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: ConfBridge Beta support!

Postby martinch » Wed Mar 29, 2023 10:44 am

Hey mflorell and mcargile,

I've done some testing using the Beta and it worked well for me personally. My callouts;

- I had problems with
Code: Select all
mixing_interval=40
but had success with
Code: Select all
mixing_interval=10
and
Code: Select all
mixing_interval=20
. I was contemplating a patch into the Asterisk source code that allows mixing_interval to go down to as low as 5ms but Asterisk guys advised me that the benefits would be negligible the lower the value gets.
- I initially tested on a single core virtual machine and the there was noticeable jitter and artefacts.
- I tested on a better box with a quad-core CPU and things were much better. You'll start getting artefacts as you go up in concurrent calls but you'll be fine with 30 or 40 agents.

From the code side, there's no callouts from me apart from the bug in vicidial.php which has now been patched.

Thanks guys,
Martin.
Project Lead @ mDial -> https://github.com/TheBlode/mDial
martinch
 
Posts: 273
Joined: Thu Nov 15, 2018 9:14 am
Location: England, UK

Re: ConfBridge Beta support!

Postby dreedy » Mon Nov 27, 2023 10:48 am

Has anyone noticed an issue with DTMF and confBridge?

I have the setting on the carrier as this.
dtmf=mode=rfc2833 , i have also tried "auto", and "inband"
I see that it sends the digit on the cli but the connecting IVR i am trying to navigate does not receive this digit.
1- mysql/apache Server (ViciBox 11) Dell R640
1- Dialer (Vicibox 11) Dell R620
1- Web (Vicibox 11) Dell R620
1- Archive Server Drobo 810n

Asterisk 16.30.0-vici | VERSION: 2.14-924a | BUILD: 240716-1453 | svn 3856|dbschema 1717
dreedy
 
Posts: 182
Joined: Tue Nov 24, 2015 10:16 pm

Next

Return to Development

Who is online

Users browsing this forum: No registered users and 13 guests