[asterisk-dev] Spring is here :: Test the Asterisk Spring Collection 2006!

Olle E Johansson oej at edvina.net
Mon Apr 10 12:08:56 MST 2006


10 apr 2006 kl. 18.28 skrev Kristian Kielhofner:

> Johansson Olle E wrote:
>>>
>>>     Could you please detail the specific configuration of the  
>>> Asterisk  systems used in your test?  It would be nice to have a  
>>> somewhat  consistent test platform.
>>>
>> I had one AMD64 with Fedora core 4 and one MacMini and one Dell 1  
>> GHZ  Ubuntu... All running various branches and
>> versions of Asterisk, just to give me more pain.
>> As you see, I like diversity :-) Guess I need to set up a FreeBSD  
>> as  well.
>> Tomorrow, I'll run this with the test branch on the same machines.
>> /O
>
> Olle,
>
> 	Thanks for the reply, but I was more specifically interested in  
> your Asterisk configuration - extensions.conf, sip.conf, etc.
>
> 	I have a few configurations that I have used in the past but I  
> have yet to find the "perfect" config.  Perhaps you have it!

Oh, I have no perfect configuration... The SIP accounts are minimal,  
just names, passwords, contexts and IP address.


This is the interesting part on both sides:

[enterprise]
exten => _X.,1,set(number=$[${EXTEN} + 1])
exten => _X.,n,verbose 
(----------------------------------------------------------------------- 
------- ${EXTEN} ------------)
exten => _X.,n,gotoif($[${number} = 250]?ready,1)
exten => _X.,n,dial(SIP/enterprise/${number})
exten => _X.,n,hangup
exten => ready,1,answer
exten => ready,n,wait(1)
exten => ready,n,playback(tt-monkeys)
exten => ready,n,wait(1)
exten => ready,n,hangup

I start the call by calling 10 at enterprise from the console and then  
wait until I either hear monkeys
or see a total mess on the screen.

We should be able to create a svn repository with various test  
configurations, that are fixed.
- One SIP stress test
- One IAX2 stress test
- One Realtime stress test
- Codec conversion tests

Good idea.
/O



More information about the asterisk-dev mailing list