3-5 seconds voice delay on asterisk

All installation and configuration problems and questions

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

3-5 seconds voice delay on asterisk

Postby airflux » Fri Nov 07, 2014 2:04 pm

Hi Team,
thank you for Vicidial, is really great.

I'm using Vicibox Server v.5 from a lot of time on 2 old server Dell R200 (1 db and web, 1 dialer) with cheapest hardware and it's working perfectly with 20 seats and 1 PRI E1 as carrier, I bought the book to say "thanks team".

I got a really strange problem on a new installation: when I make a call the voice is a bit robotized and has from 3 to 5 seconds delay between called an callee.
I was thinking the problem was with my sip and dsl carrier (Abcom - AL) because i noticed about that when i was using manual/ratio dial methods, but after a ton of tests I found asterisk as cause of this anomaly! No way! Asterisk? Why asterisk?! It works, but it do not works.. can't be asterisk... but is asterisk! Is not real. I use asterisk everywhere, it is so good. o_O Im going crazy

I'll try to explain the scenario, and sorry for my English, is not good at all :)
My network setup is simple. 1 router, 1 switch, 10 pc, 2 servers. I think the problems is in asterisk because I've created 2 sip accounts (7012, 7013) directly in sip.conf and an extension in extension.conf to make test calls locally without using any vici-script-agi-extension

in extensions.conf
[test_internal_calls]
exten => 7012,1,Dial(SIP/7012)
exten => 7013,1,Dial(SIP/7013)

asterisk cli:
[Nov 7 17:44:52] VERBOSE[21307] app_dial.c: [Nov 7 17:44:52] -- SIP/7013-0000000a is ringing
[Nov 7 17:45:01] VERBOSE[21307] app_dial.c: [Nov 7 17:45:01] -- SIP/7013-0000000a answered SIP/7012-00000009
[Nov 7 17:45:01] VERBOSE[21307] rtp_engine.c: [Nov 7 17:45:01] -- Locally bridging SIP/7012-00000009 and SIP/7013-0000000a

The call works (this is the simplest extension ever) as expected (why not?!), but as i said the voice is robotized and have a random delay between 3 and 5 seconds... locally!

I tryed Vicibox 6.0.2 with last svn version and an bit older Vicobx 5.0.3 on my 3 available servers, tested all codecs with and without translation (alaw, gsm, ulaw, g729)
- 1 HP dl380 G5, 2x Xeon Dual Core E5160 3Ghz, 2x 146Gb SAS raid1, 16Gb ram (tested as db, as dialer, as all in one db and dialer)
- 1 HP dl360 G5, 1x Xeon Dual Core E5140 2.33Ghz, 146Gb SAS raid1, 8Gb ram (tested as dialer)
- 1 Dell R200, Xeon Dual Core E3110 3Ghz, 4Gb ram (tested as dialer)

The problems persists, but If I make a direct sip call between my 2 clients without using asterisk it works well. The avg load on all servers is normal, cpu load is low, no error messages, sip messages in debug is ok. What i think is "strange" is that i using another Dell R200 with the same setup and it works soo good.

I cant figure why this appens and I hope someone can help me.

Thanks.
airflux
 
Posts: 29
Joined: Fri Nov 07, 2014 12:39 pm

Re: 3-5 seconds voice delay on asterisk

Postby airflux » Tue Nov 11, 2014 6:30 am

Hi guys,
there are something new. I installed centos 6 and asterisk 1.8 on same servers and everything works very well. I think the problem is related to Opensuse and asterisk-1.8.29-vici, but I cant understand what's wrong.
Vicibox 7.0.2 - V. 2.12-551a Build 160427-1656 - svn 2353 – 3 Dell R610 (1 db+www - 4 sas raid 10, 2 dialers - 2 sas raid 1)
Vicibox 7.0.3 - V. 2.14-585a Build 170114-1356 - svn 2659 – 2 Dell R610 (1 db+www - 4 sas raid 10, 1 dialer - 2 sas raid 1)
airflux
 
Posts: 29
Joined: Fri Nov 07, 2014 12:39 pm

Re: 3-5 seconds voice delay on asterisk

Postby DomeDan » Fri Nov 14, 2014 3:30 am

Strange indeed!
does it happen if you call though the carrier too or just local?
try to recompile asterisk.
Vicidial Partner. Region: Sweden/Norway.
Does Vicidial installation, configuration, customization, add-ons, CRM implementation, support, upgrading, network-related, pentesting etc. Remote and onsite assistance.
Email: domedan (at) gmail.com
DomeDan
 
Posts: 1226
Joined: Tue Jan 04, 2011 9:17 am
Location: Sweden


Return to Support

Who is online

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