How to test setup

All installation and configuration problems and questions

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

How to test setup

Postby arunvoip » Wed Aug 02, 2006 12:58 am

HI,

I have installed my Asterisk and Vicidail server. But now I have one problem that before putting in production how do I test that using this server I can make 30 concurent call.

Please help on this. Waiting for a quick reaply,

thanks

Arun
arunvoip
 
Posts: 36
Joined: Fri Jun 16, 2006 1:46 am

Postby mflorell » Wed Aug 02, 2006 1:55 am

We usually do capacity testing to automated numbers on our own system, but you can easily do test calls to any automated number on any system.

It is difficult to measure system performance on a testing basis since it is very hard to duplicate live agent behaviour and live call terminations.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby arunvoip » Wed Aug 02, 2006 2:03 am

HI Matt,

thanks for your reply. So, is there any tool or software that I can use to test my this setup.

thank

Arun
arunvoip
 
Posts: 36
Joined: Fri Jun 16, 2006 1:46 am

Postby mflorell » Wed Aug 02, 2006 2:36 am

We use another Asterisk server to test with and just run calls from the vicidial server to the other asterisk server. works pretty well for us.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby henry » Sun Mar 18, 2007 12:41 pm

Hi,

I've been trying to setup a solution similar to those you have mentioned in this thread so that new staff can become familiar with the system on test calls. For this purpose I created an extension which wouldn't be used as standard in my system which plays an echo test so that they can stay on calls for as long as they like, practice external transfers, etc.

When I upload data with the required numbers (1555xxxx) to match the extension into the automated dialler, log an agent in and press resume no calls get connected to the agent and the dialler just runs through all the data.

The extension definition is shown below along with the console output. Any tips on achieving this test setup would be greatly appreciated!

Regards,

Henry


exten => _1555.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _1555.,n,Answer
exten => _1555.,n,Playback(demo-echotest)
exten => _1555.,n,Echo
exten => _1555.,n,Playback(demo-echodone)
exten => _1555.,n,Hangup



-- Executing AGI("Local/155522575@default-1b7d,1", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing AGI("Local/155522575@default-1b7d,1", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("Local/155522575@default-1b7d,1", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing Hangup("Local/155522575@default-1b7d,1", "") in new stack
== Spawn extension (default, 8365, 5) exited non-zero on 'Local/155522575@default-1b7d,1'
-- Executing DeadAGI("Local/155522575@default-1b7d,1", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing DeadAGI("Local/155522575@default-1b7d,1", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
== Spawn extension (default, 155522575, 3) exited non-zero on 'Local/155522575@default-1b7d,2'
-- Executing DeadAGI("Local/155522575@default-1b7d,2", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing DeadAGI("Local/155522575@default-1b7d,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0---------------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing AGI("Local/155578206@default-5ec7,2", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Answer("Local/155578206@default-5ec7,2", "") in new stack
> Channel Local/155578206@default-5ec7,1 was answered.
-- Executing Playback("Local/155578206@default-5ec7,2", "demo-echotest") in new stack
-- Playing 'demo-echotest' (language 'en')
-- Executing Playback("Local/155578206@default-5ec7,1", "sip-silence") in new stack
-- Playing 'sip-silence' (language 'en')
-- Executing AGI("Local/155578206@default-5ec7,1", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing AGI("Local/155578206@default-5ec7,1", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("Local/155578206@default-5ec7,1", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing Hangup("Local/155578206@default-5ec7,1", "") in new stack
== Spawn extension (default, 8365, 5) exited non-zero on 'Local/155578206@default-5ec7,1'
-- Executing DeadAGI("Local/155578206@default-5ec7,1", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing DeadAGI("Local/155578206@default-5ec7,1", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
== Spawn extension (default, 155578206, 3) exited non-zero on 'Local/155578206@default-5ec7,2'
-- Executing DeadAGI("Local/155578206@default-5ec7,2", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing DeadAGI("Local/155578206@default-5ec7,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0---------------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
henry
 
Posts: 18
Joined: Mon Mar 12, 2007 5:08 am

Postby mflorell » Sun Mar 18, 2007 9:19 pm

VICIDIAL will not connect Local/ channel calls. You need to go out through an outside trunk(I've even looped IAX out through an IP relay port back to the Asterisk server to accomplish this before)
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby henry » Mon Mar 19, 2007 5:07 am

That worked great, I used an IAX trunk as you suggested to another Asterisk box. Need to remember the dial parameters too though for VICIDIAL to transfer it to an agent (tTo)
Code: Select all
exten => _1555.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _1555.,n,Dial(IAX2/username:password@server/echotestextension,30,tTo)
exten => _1555.,n,Hangup
henry
 
Posts: 18
Joined: Mon Mar 12, 2007 5:08 am


Return to Support

Who is online

Users browsing this forum: No registered users and 109 guests