Re: [asterisk-users] concurrent channels limit

2012-04-03 Thread Syco
no, it's a set of script that I'm supposed to update. However the result 
will be similar.


On 02/04/2012 17:42, Israel Gottlieb wrote:

are you by chance using the a2billing script?


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] concurrent channels limit

2012-04-02 Thread Syco

No, I don't do transcoding, I've disabled all the codec except for the g729.
But in my last test I've found out what is the problem (not yet how to 
solve it)
I make all my calls through a php agi, this old script works well on 
asterisk 1.4 and I want to move on 1.8.

Just for test I've created three different (simplest) scripts:
1 - stream a file codified in g729
2 - make some mysql queries and stream the file
3 - make an http hit and stream the file
I stream an audio file to create calls that last some minute and test 
also the audio quality, I don't know if there's a better way.


Anyway, if I use one of this 3 agi (also randomly) I'm able to establish 
up to 2500 channels with a perfect audio.


If I use my old agi I could establish just 74 channels. I'm going mad on 
this because the number is not variable, is not one time 80 and the 
other 70 and sometimes 88, it's always 74.
The old agi script is a little longer than my test scripts, but it make 
the same things.
I could accept the loss of some channels, but from 2500 to 74 there is a 
difference a little too big.



On 02/04/2012 00:37, Matt Riddell wrote:

How many g729 licenses do you have?  You sure you're not transcoding?


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] concurrent channels limit

2012-04-02 Thread Israel Gottlieb
are you by chance using the a2billing script?

On Mon, Apr 2, 2012 at 5:43 PM, Syco syco...@gmail.com wrote:

 No, I don't do transcoding, I've disabled all the codec except for the
 g729.
 But in my last test I've found out what is the problem (not yet how to
 solve it)
 I make all my calls through a php agi, this old script works well on
 asterisk 1.4 and I want to move on 1.8.
 Just for test I've created three different (simplest) scripts:
 1 - stream a file codified in g729
 2 - make some mysql queries and stream the file
 3 - make an http hit and stream the file
 I stream an audio file to create calls that last some minute and test also
 the audio quality, I don't know if there's a better way.

 Anyway, if I use one of this 3 agi (also randomly) I'm able to establish
 up to 2500 channels with a perfect audio.

 If I use my old agi I could establish just 74 channels. I'm going mad on
 this because the number is not variable, is not one time 80 and the other
 70 and sometimes 88, it's always 74.
 The old agi script is a little longer than my test scripts, but it make
 the same things.
 I could accept the loss of some channels, but from 2500 to 74 there is a
 difference a little too big.



 On 02/04/2012 00:37, Matt Riddell wrote:

 How many g729 licenses do you have?  You sure you're not transcoding?


 --
 __**__**_
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
  
 http://lists.digium.com/**mailman/listinfo/asterisk-**usershttp://lists.digium.com/mailman/listinfo/asterisk-users

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] concurrent channels limit

2012-04-01 Thread Matt Riddell
On 31/03/2012, at 3:28 AM, Syco wrote:
 But if I change the dialplan, remove background and wait functions, add play 
 with a g729 audio file instead, I could do again just 80 concurrent call.


How many g729 licenses do you have?  You sure you're not transcoding?

--
Cheers,

Matt Riddell
___

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/pabx_on_disk.php (PABX on a Disk)
http://www.venturevoip.com/exchange.php (Full ITSP Solution)
http://www.venturevoip.com/cc.php (Call Centre Solutions)




--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] concurrent channels limit

2012-03-30 Thread Steven Howes
On 30 Mar 2012, at 10:14, Syco wrote:
 Finally the problem is: I cannot manage more than 80 concurrent calls.

What happens on the 81st call?..

S

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] concurrent channels limit

2012-03-30 Thread Danny Nicholas
Check the sip.conf.sample file.  I think it is the call-limit parameter that
is getting you.  The sample file should tell you what the default is.
Another possibility is that your rtp range is set too low;  the normal
range is 1-2, which allows for 2500 calls(or 5000 if you set other
things correctly).

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Steven Howes
Sent: Friday, March 30, 2012 7:45 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] concurrent channels limit

On 30 Mar 2012, at 10:14, Syco wrote:
 Finally the problem is: I cannot manage more than 80 concurrent calls.

What happens on the 81st call?..

S

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to
Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] concurrent channels limit

2012-03-30 Thread Syco

Asterisk says to process the call correctly:

  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
-- Executing [17000@sipp:1] Answer(SIP/sipp-005a, ) in
   new stack
-- Executing [17000@sipp:2] Set(SIP/sipp-005a, rn=100)
   in new stack
-- Executing [17000@sipp:3] Goto(SIP/sipp-005a, set100)
   in new stack
-- Goto (sipp,17000,12)
-- Executing [17000@sipp:12] Answer(SIP/sipp-005a, ) in
   new stack
-- Executing [17000@sipp:13] BackGround(SIP/sipp-005a,
   you-seem-impatient) in new stack
-- SIP/sipp-005a Playing 'you-seem-impatient.ulaw'
   (language 'en')
-- Executing [17000@sipp:14] Wait(SIP/sipp-0055, 20) in
   new stack

sipp says Aborting call on an unexpected BYE for call: 
96-1956@192.168.200.185


asterisk -rx 'core show channels'|tail -n3 shows:
80 active channels- constant
80 active calls- constant
160 calls processed  - increase every second


the sipp command I use is ./sipp 192.168.200.64 -sn uac -i 
192.168.200.185 -s 17000 -d 9 -l 1 -r 100 -rp 3 -t un

that generate 100 calls every 30 seconds. every call last 90 seconds.

I'm not trying to break the limit of 1 calls, I want just to have 
200 or 300 calls.
sip does not have setted any limit, and call-limit is deprecated in 
asterisk 1.8.



On 30/03/2012 14:04, Danny Nicholas wrote:

Check the sip.conf.sample file.  I think it is the call-limit parameter that
is getting you.  The sample file should tell you what the default is.
Another possibility is that your rtp range is set too low;  the normal
range is 1-2, which allows for 2500 calls(or 5000 if you set other
things correctly).

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Steven Howes
Sent: Friday, March 30, 2012 7:45 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] concurrent channels limit
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] concurrent channels limit

2012-03-30 Thread Syco
Ok, this was a stupid thing (my fault), with  -r 1000 I get easily 1000 
concurrent calls that terminate in 20 seconds.

This calls just answer, play a file the first 2 seconds and then wait.
Then sipp close because of two many errors, this is the log:

   sipp: The following events occured:
   2012-03-30-15:17:07:081---1333117027.081757: Discarding
   message which can't be mapped to a known SIPp call:
   BYE sip:sipp@192.168.200.185:52281 SIP/2.0^M
   Via: SIP/2.0/UDP 192.168.200.64:5060;branch=z9hG4bK2a711f73;rport^M
   Max-Forwards: 70^M
   From: sut sip:17000@192.168.200.64:5060;tag=as4ad7b2e8^M
   To: sipp sip:sipp@192.168.200.185:52281;tag=2001SIPpTag0015^M
   Call-ID: 15-2001@192.168.200.185^M
   CSeq: 102 BYE^M
   User-Agent: Asterisk PBX 1.8.11.0^M
   X-Asterisk-HangupCause: Normal Clearing^M
   X-Asterisk-HangupCauseCode: 16^M
   Content-Length: 0^M
   ^M
   .
   2012-03-30-15:17:07:580---1333117027.580847: Discarding
   message which can't be mapped to a known SIPp call:
   BYE sip:sipp@192.168.200.185:52281 SIP/2.0^M
   Via: SIP/2.0/UDP 192.168.200.64:5060;branch=z9hG4bK2a711f73;rport^M
   Max-Forwards: 70^M
   From: sut sip:17000@192.168.200.64:5060;tag=as4ad7b2e8^M
   To: sipp sip:sipp@192.168.200.185:52281;tag=2001SIPpTag0015^M
   Call-ID: 15-2001@192.168.200.185^M
   CSeq: 102 BYE^M
   User-Agent: Asterisk PBX 1.8.11.0^M
   X-Asterisk-HangupCause: Normal Clearing^M
   X-Asterisk-HangupCauseCode: 16^M
   Content-Length: 0^M
   ^M
   .
   2012-03-30-15:17:07:982---1333117027.982422: Discarding
   message which can't be mapped to a known SIPp call:
   BYE sip:sipp@192.168.200.185:38844 SIP/2.0^M
   Via: SIP/2.0/UDP 192.168.200.64:5060;branch=z9hG4bK66a86c70;rport^M
   Max-Forwards: 70^M
   From: sut sip:17000@192.168.200.64:5060;tag=as43adc103^M
   To: sipp sip:sipp@192.168.200.185:38844;tag=2001SIPpTag009^M
   Call-ID: 9-2001@192.168.200.185^M
   CSeq: 102 BYE^M
   User-Agent: Asterisk PBX 1.8.11.0^M
   X-Asterisk-HangupCause: Normal Clearing^M
   X-Asterisk-HangupCauseCode: 16^M
   Content-Length: 0^M
   ^M
   .
   2012-03-30-15:17:08:504---1333117028.504334: Unable to get a
   UDP socket (3).


But if I change the dialplan, remove background and wait functions, add 
play with a g729 audio file instead, I could do again just 80 concurrent 
call.





On 30/03/2012 14:50, Danny Nicholas wrote:


Change --r 100 to --r 300.

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users