martes, 11 de diciembre de 2007

Activa brings the Asterisk IP PBX to the call center


Activa for Asterisk...
Activa brings the Asterisk IP PBX to the call center. Its components aim to enable call center implementations with functionality such as computer telephony, screenpop&click2dial, agent control, automatic dialing...
The Activa package includes an Asterisk TAPI Service Provider (TSP) we called Asterisk ActivaTSP. This TSP enables integration of TAPI third party applications and Asterisk. So for instance you could initiate outbound calls through Asterisk using your Microsoft Outlook, Microsoft Dialer, ACT!, TapiCall and many more. Call screen-popup is also supported. The TSP itself has been developed using the basic ASTProvider framework.
The package also includes a basic framework that enables integration of Asterisk with your C++ applications
Current version is 1.4.2 (Version readme)
We invite you to download the package, configure ActivaTSP and try it.

ActivaTSP FAQ


What is Activa TSP ?
Generally speaking a TAPI Service Provider (TSP) is a 'driver' that enables Microsoft TAPI to communicate to a telephony device such as a switch or modem.
So Activa Asterisk TSP enables TAPI and TAPI-compatible applications to use the Asterisk IP-PBX: Microsoft Outlook, ACT!, TapiCall, MS Dialer,...

jueves, 6 de diciembre de 2007

Installation of A2Billing on Trixbox

Fuente: http://trac.asterisk2billing.org/cgi-bin/trac.cgi/wiki/TrixboxInstall

This installation was tested on Trixbox version 2.2, Earlier versions of Trixbox need to have A2Billing removed.
The usual caveats apply, e.g. the author takes no responsibility for any damage done to an existing installation.
It also assumes that this is a default installation in respect of database passwords.
The guide should take you as far as making calls on A2Billing and provide a base for experimentation and learning, but for more advanced topics like callback, routing and billing DID, and other customisations, then there is documentation available, links to some of which are at the bottom of this page.

Scripted Trixbox Install

If you choose to use the installer script this will configure a FRESH install of trixbox with A2b v1.3 Beta
To use type the following after logging into trixbox:

cd ~/wget http://www.efirehost.com/a2b_trixbox_2.2_installer_FRESH.shsh a2b_trixbox_2.2_installer_FRESH.sh

After that script finishes you MUST continue by clicking HERE (don't scroll down)

Remove the remnants of the old A2Billing install on Trixbox
In versions of Trixbox earlier than 2.2, a much older version of A2Billing was installed, and before proceding with the following steps, the remnants of the old A2Billing should be removed.
The directories and files to be removed are as follows: -
/var/www/html/a2billing/
/var/www/html/a2customer/
/var/lib/asterisk/agi-bin/a2billing.php
/var/lib/asterisk/agi-bin/libs_a2billing/
/etc/asterisk/additional_a2billing_iax.conf
/etc/asterisk/additional_a2billing_sip.conf
Log in to Trixbox, either via an SSH session or directly via a keyboard and monitor. rm /etc/asterisk/a2billing.conf
Drop the old database (if it exists) mysqladmin drop mya2billing -u root -ppassw0rd
Install PHP-PCNTL - a requirement of A2Billingwget http://dfn.dl.sourceforge.net/sourceforge/phprpms/php-pcntl-4.3.11-2.5.1.i386.rpm
rpm -iv php-pcntl-4.3.11-2.5.1.i386.rpm
Get A2Billing
Now get the latest version of A2Billing. At the time of writing this was 1.3 Beta 1
http://a2billing.net/download.php?get=a2billing-v1-3-Beta.tar.gz
Copy the file into /root/ then Untar it: -
NB. A useful application for moving, copying and editing files on linux machine and moving files from Windows to Linux is WinSCP http://winscp.net/ tar zxfv a2billing-v1-3-Beta.tar.gz
Install the A2Billing Databasecd 1.3.0-Beta/DataBase/mysql/Mysql-3.x_4.x/
echo "GRANT ALL PRIVILEGES ON *.* TO 'a2billinguser'@'localhost' IDENTIFIED BY 'a2billing' WITH GRANT OPTION;" mysql -ppassw0rd
mysqladmin create mya2billing -u a2billinguser -pa2billing
mysql mya2billing -u a2billinguser -pa2billing < class="anchor" title="Link to this section" href="http://trac.asterisk2billing.org/cgi-bin/trac.cgi/wiki/TrixboxInstall#InstalltheUserInterface"> cd ..
cd ..
cd ..
mv ./A2Billing_UI /var/www/html/A2Billing_UI
mv ./A2BCustomer_UI/ /var/www/html/A2BCustomer_UI
Install the default a2billing configuration filemv a2billing.conf /etc/asterisk/a2billing.conf
Install the AGIcd A2Billing_AGI
mv a2billing.php /var/lib/asterisk/agi-bin/a2billing.php
mv libs_a2billing /var/lib/asterisk/agi-bin
Install the extra sounds required.cd ..
cd /addons/sounds/
mv * /var/lib/asterisk/sounds/
Setup the IAX and SIP conf filescd /etc/asterisk/
touch additional_a2billing_iax.conf
touch additional_a2billing_sip.conf
touch extensions_a2billing.conf
Set permissions and ownersipchmod 666 /etc/asterisk/additional_a2billing_iax.conf
chmod 666 /etc/asterisk/additional_a2billing_sip.conf
chmod 666 /etc/asterisk/extensions_a2billing.conf
chown -R asterisk:asterisk /etc/asterisk/
chown -R asterisk:asterisk /var/www/html/
chown -R asterisk:asterisk /var/lib/asterisk/
The next job is edit the conf files to fit the Trixbox installation
Edit Conf Files to Suit A2Billing
This assumes the default Trixbox installation
Edit A2Billing.conf
The file a2billing.conf, located in /etc/asterisk/ is where all the defaults are set for the A2Billing system. It is recommended that most of the defaults are left as are, unless you are trying to achieve something specific. Changes to the file, when saved have an instant effect on the behaviour of A2Billing.
This file can be editted using your favourite editor, such as vi, via winSCP or via Config Edit included with Trixbox.

The Database section

comment out dbtype = postgres
remove the ; from ;dbtype = mysql
should look like this : - [database]
hostname = localhost
port = 5432
user = a2billinguser
password = a2billing
dbname = mya2billing
;dbtype = postgres
dbtype = mysql

Manager Connection Parameters

In the webui section, identify the Manager connection parameters. This allows A2Billing to communicate with Asterisk.
The values here should be set to the same as those in manager.conf, and its associated files. In the case of Trixbox, we have an entry for a2billinguser in manager_custom.conf. The existing parameters are: -
username = a2billinguser
Secret = a2billing
So we need to edit a2billing.conf manager connection credentials to match those in manager_custom.conf so that it looks like this: - ; MANAGER CONNECTION PARAMETERS
manager_host = localhost
manager_username = a2billinguser
manager_secret = a2billing
Now save a2billing.conf
There are plenty of other options that can be changed within a2billing.conf, and they are reasonably well documented and commented in the file.

Includes

During the install process, three new files were created: -
additional_a2billing_sip.conf - SIP friends
additional_a2billing_iax.conf - IAX Friends
extensions_a2billing.conf - A2Billing contexts
We need to ensure that the values in these files are picked up by Asterisk.
Edit /etc/asterisk/sip.conf and include additional_a2billing_sip.conf so that the last few lines of sip.conf look like this: - ; #, in this configuration file, is NOT A COMMENT. This is exactly
; how it should be.
#include sip_nat.conf
#include sip_custom.conf
#include sip_additional.conf
#include additional_a2billing_sip.conf
Then do the same for iax.conf so that it looks like this #include iax_registrations_custom.conf
#include iax_registrations.conf
#include iax_custom.conf
#include iax_additional.conf
#include additional_a2billing_iax.conf
NB - If using FreePBX 2.3, then do not edit sip and and iax.conf, but create two new files: -
sip_custom.conf, which should contain #include additional_a2billing_sip.conf
and
iax_custom.conf which contains #include additional_a2billing_iax.conf
you must then set the ownership:- chown asterisk:asterisk /etc/asterisk/iax_custom.conf
chown asterisk:asterisk /etc/asterisk/sip_custom.conf
Finally, we need to include extensions_a2billing.conf in extensions_custom.conf
Edit extensions_custom.conf and add #include extensions_a2billing.conf under the other includes, so that it looks like this: - #include extensions_trixbox.conf
#include extensions_hud.conf
#include extensions_a2billing.conf

A2Billing Contexts

In extensions_a2billing.conf, add the following lines: - [a2billing]
exten => _X.,1,Answer
exten => _X.,n,Wait(1)
exten => _X.,n,DeadAGI(a2billing.php1)
exten => _X.,n,Hangup
NB. Note the 1 after a2billing.php - The 1 refers to which agi-conf to use in a2billing.conf if you want a2billing to react in a different way to the default, copy everything from agi-conf1 to the end of the file, and paste at the end of the file, then rename your new agi-conf to agi-conf2. Your new defaults can then be called with (a2billing.php2)
Save this file, and issue a reload on Asterisk to apply the new asterisk config files.
You now have a basic A2Billing platform set up, so we need to create some defaults in A2Billing GUI.

Setting up A2Billing_UI

Before we can start adding accounts to the system,we need to set up some basic defaults within the Graphical User Interface.
This set of instructions is only providing a basic working system with no frills.
If the instructions above have gone well, you should be able to log into A2Billing Adminstration portal which is to be found at http:///A2Billing_UI/
You will be presented with a username and password enter: -
username = root
password - myroot
Other passwords that are setup by default are admin and mypassword. Clearly, it is a good idea to change these.
Click Administrator on the sidebar, show administrator -> edit

Trunks

In order to make outbound calls, it is necessary to create a trunk.
It is assumed that you already have a working trunk in the Trixbox / FreePBX, and this trunk can be used in A2Billing.
Identify the name of the trunk in FreePBX - in this instance, we'll assume its called MYIAXTEL
On the Sidebar, Trunks -> Add Trunk
Give the trunk a useful name - for example in this case, MYIAXTEL_Trunk
Enter the type of trunk you are using in FreePBX (SIP / IAX2 / ZAP)and enter the type of trunk in "Provider Tech" In this case, we'll assume it's an IAX trunk, so enter IAX2.
In the Provider IP section, simply type the name of the trunk you have already set up in FreePBX. In this example MYIAXTEL
Click "confirm data" in the bottom right hand corner of the screen

Create Some Rates

There are a number of steps to creating the rates. The relationships are as follows.
One customer / Card has one call plan
A Call Plan can have many Rate Cards
A Rate Card can have Many Rates.
Create a Call Plan
On the sidebar, click Ratecard -> Create call plan
Give the call plan a name, e.g. StandardCallPlan
You have two options, LCR and LCD - LCR will route the call at the cheapest rate for you, and LCD will route the call at the cheapest rate for the customer.
Leave Package set to "No Package Offer" as we have not created one yet.
Remove Inter Prefix should be set to yes if your VoIP provider demands that the numbers be dialled in IETF format. Leave it to NO if you just want the calls dialled as is.
We will assume in this case that you have a VoIP provider that demands IETF format e.g. to dial the UK you would dial 44 xxx xxx xxx rather than 0044... or 01144... so set the Remove Inter Prefix to YES and click confirm data.
Create New Ratecard
We now have to create a new ratecard. For demonstration purposes, we'll call it StandardRates
Click "Create new Ratecard" on the sidebar.
In TariffName enter StandardRates
Select MYIAXTEL_trunk in the trunk field and confirm data.
Add Rate Card to Call Plan
Go back and click "List Call Plan" and if everything is still going well, you should see StandardCallPlan listed. Click Edit at the end of the line, and at the boittom of the page, in the dropdown, select the previously created StandardRates Click Add, and confirm data.
As you get rates from different providers, they can be added into the call plan and selected on the basis of price.
Add Some Rates
We now have to add some rates. Rates can be imported in bulk from a CSV file, or typed in one at a time. If a rate for a destination does not exist, then A2Billing cannot deliver the call.
Each dialling code for each destination needs to be added. It is important to be accurate with the dialling codes. For instance, if there is a destination, say a premium rated dialling code in East Africa that you are under charging, someone can make a lot of money at your expense.
Unfortunately, there is not a definitive dialling code list with sufficient granularity that I can find on the internet. However, your carrier should be able to supply you with a list of dialling codes and the charges they make.
A country list with dialling codes is included with A2Billing under Misc -> Browse Prefix. This list however, does not take into account destinations such as Mobile and Premium Rated Numbers.
So for the moment, we are testing via VoIP, our VoIP provider demands that we send them the digits in IETF format, and we want to make a out first call over A2Billing to a UK national number. UK National numbers only begin with either 441 or 442
So we will add the first rate. Assume billing to the nearest second, the cost is 1 US cent per minute and we are selling at 2 cents per minute. We are assuming everything is in US Dollars for the moment because we have not changed the default currency.
NB. To change the default currency, Edit a2billing.conf base_currency = Each currency has a unique 3 letter identifier. To find the identifier, click Billing -> Currency List on the sidebar, then hunt for your country. When a2billing.conf is saved, you can update the exchange rates in the currencies screen.
Click Ratecard -> Add Rate
Select the ratecard you are adding the rate to in the ratecard dropdown
Enter the dial prefix as 441-442. This will allow any calls dialled as 441... and 442...
Enter a name for the destination - UK National
Set the buying rate - in this case 0.01
Set the minimum duration - assume 1 as in 1 second
Set the Buyrate Billing Block, assume 1 again. If you are chaged to the nearest minute, then put 60.
Put in the selling rate - 0.02
The Sellrate min duration - 1
The sellrate Billing Block - 1 for per second billing.
The connect charge and disconnect charge can be left blank for the moment
Leave the Trunk to not defined, as we defined it earlier for the ratecard as a whole.
and finally confirm data.
The system is now ready to create a customer, and make the first call.

Creating the First Customer

The customer can be created one at a time from the Admin interface, created in bulk from the admin screens, or created from the customer signup page at http://>/A2Billing_UI/Signup
In order to create a customer from the signup page, outbound email has to be working (type setup-mail from the command line)
In this example - we will create a new customer from the admin interface.
Click Customers -> Create Customers
Add a balance, say 10
Select the StandardCallPlan we created earlier
Activated = yes
Signup Confirmation = yes
Enter your Name and email address in the appropriate fields
and confirm data.

Create a SIP Account

Assume we are using a SIP phone for demonstration purposes. The same principles apply to an IAX phone as well.
Under List customers, click the SIP button
Click "Generate Additional_A2Billing.conf
Click to reload the asterisk server.
Click Customers -> List SIP Friend, and there should be a new entry in there.
Click edit at the end of the line.
Your SIP phone needs to be configured with the following parameters: -
Hostname is the IP Address of your Trixbox
Your Extension / Username will be the numbers in the "Username" Field
Your Secret will be the numbers in the "Secret" Field
And ensure that the DTMF mode is the same on your phone as it is in the DTMFMODE field.
Your phone should now be registered to the Asterisk Server. You can check this by looking at the Asterisk Info screen in Trixbox.

Make the call

There is one small change to made to a2billing.conf in this application - set "use_dnid = yes" in a2billing.conf and save the file.
Dial the number you want to try - in our example, you can only dial numbers begining with 441 and 442, or 00441 or 00442. The call plan settings will strip the international prefix numbers off the call, if they exist.
Press send, and you will hear your current balance, the number of minutes you can dial that destination, and then if everything has gone well, you should then be connected to the distant end.
Make A2Billing accessable from the outside world
In order to call into A2Billing from the outside world, we will need a DID pointed at trixbox, or indeed a normal telephone line.
We capture the call in Inbound Routes in Trixbox / FreePBX and send it into A2Billing.
Because FreePBX only allows you to send calls to a custom context that is prefixed with "Custom-" in we need to add a custom context in extensions-a2billing.conf
So in config edit, vi or your favourite text editor, add the following lines to extensions-a2billing.conf so that the entire file looks like this: - [a2billing]
exten => _X.,1,Answer
exten => _X.,n,Wait(1)
exten => _X.,n,DeadAGI(a2billing.php1)
exten => _X.,n,Hangup
[custom-a2billing]
exten => _X.,1,Answer
exten => _X.,n,Wait(1)
exten => _X.,n,DeadAGI(a2billing.php1)
exten => _X.,n,Hangup
Then go to Inbound Routes in FreePBX / Trixbox and add a new inbound route
Enter your DID in the DID number.
Select the Custom App: radio button and in the Custom App field enter the following string: -
custom-a2billing,${EXTEN},1
then submit and apply configuration changes.
You should be able to dial the number, and you will hear, "Please enter your account number" Type in your card number. That is the first field in A2Billing -> Customers -> List Customers -> Edit
Your balance will then be read out to you, then you can dial the number, the maximum duration will be read out to you, then you should be connected to the number you dialled.
NB. You may have to change "use_dnid = no" when dialling in using this system, or you can add another agi_conf (agi_conf2) to the bottom of a2billing.conf and call it from Inbound Routes by using the following string: -
custom-a2billing,${EXTEN},2

Conclusion

This guide should have put you into a position to make calls out of A2Billing, and get a basic configuration going.
But it is only the tip of the iceberg as to what the system can do.
For further reading there are a number of sources: -
The logic of how it works can be found at User Guide
A description of all the pages is at User Manual
More information about configuring the call back elements and other features such as customising the look and feel of A2Billing, not described in this document, can be found in the installation files under Addons/Docs
Further information and help can be found in the A2Billing forum at http://forum.asterisk2billing.org/
Commercial Support, sales and special projects are available from the A2Billing Team. Email support@asterisk2billing.org and sales@asterisk2billing.org
As ever, to help this project develop, then please report any bugs or any ommisions / errata in the documentation.
And finally, if you found this documentation and the A2Billing product useful, we'd really appreciate it if you showed your appreciation with a small donation to help support costs of broadband etc.

Attachments
a2b_trixbox_2.2_installer_FRESH.sh (5.1 kB) - added by crshman on 06/04/07 08:37:28.
addHeadingLinks(document.getElementById("searchable"), "Link to this section");

searchHighlight()
Download in other formats:
Plain Text

miércoles, 28 de noviembre de 2007

Firewall, NAT y SIP

Sip ,trunking, nat y los firewall...los cuales no son faciles.. (http://www.ingate.com/)

Ingate SIParators

http://www.ingate.com/SIP-trunking.php

he most common solution for enterprises with a local IP-PBX to connect to the PSTN is via a local PSTN gateway. However, today more and more service providers offer one single connection for both data and voice between the carrier and the enterprise. This is commonly called a SIP trunk. For the enterprise this means that they no longer need either the local PSTN gateway or costly PRI/BRI?s as the local IP-PBX can be connected to the service provider?s PSTN gateways over the Internet.

The SIP Trunking software module, working in conjunction with an Ingate Firewall or SIParator, solves the Network Address Translation (NAT) traversal issues that are faced by businesses using a SIP trunk. Together, they control both incoming and outgoing communications and route the communication to the intended users. All voice traffic (as well as data traffic) must traverse the enterprise firewall/NAT. However, SIP traffic cannot traverse traditional enterprise firewalls and NAT devices. As a result, the firewall/NAT device blocks all SIP traffic, which includes VoIP. Ingate resolves this issue, enabling enterprises to utilize SIP trunks and enjoy the benefits of SIP trunking while maintaining the security and integrity of their network.
A cost-efficient solution, the SIP trunk reduces monthly expenses for the enterprise as they:

* Only need one connection for both data and voice
* No longer need PRI/BRI connections
* Don?t have to buy or maintain a local PSTN-gateway

Firewalls and Benefits of Proxy-Based Solutions -- Technical details

The Ingate Firewall® or Ingate SIParator® solves the basic problem of firewall and NAT traversal using a SIP proxy-based implementation. The SIP proxy is a complete solution to the firewall and NAT traversal issues introduced by the enterprise firewall. A proxy is designed to briefly stop the signaling packets so that each one can be inspected before the header information is rewritten. The SIP proxy also makes sure the packets are delivered to the appropriate endpoints. This provides the enterprise with a flexible, controlled implementation of SIP-based communications that also maintains voice/video quality. Ingate Firewalls and SIParators offer a number of advantages:

* Near-end NAT traversal for connecting SIP communications between an enterprise and a carrier
* Dynamically open and close the media ports to admit voice or video on both UDP and TCP ports
* Encryption for communication privacy and prevention of eavesdropping. Include termination, transcoding and passthrough of TLS and SRTP
* Authentication and registration at the carrier side
* Give priority of voice traffic using the Ingate Quality of Service features
* ENUM look-up to route the call IP-IP all the way if possible
* Least cost routing of international calls

Confirmed interoperability

Ingate has confirmed interoperability several of the leading IP-PBX vendors and ITSPs. See the full list here.
Startup Tool for SIP Trunking

The Startup Tool is an installation tool for Ingate Firewall® and Ingate SIParator® products using the Ingate SIP Trunking software module, which facilitates the setup of complete SIP trunking solutions. The tool will automatically configure a user?s Ingate Firewall or SIParator to work with the IP-PBX or SIP trunking service provider of their choice. With the push of a button, the configuration tool will automatically create a SIP trunk connection designed to the user?s individual setup.
Read more about the tool here.

Read more about the Ingate SIP Trunking software module

Learn more about the Ingate Firewall

Learn more about the Ingate SIParator

For additional information on Ingate SIP trunking solution please contact info@ingate.com

viernes, 23 de noviembre de 2007

DISA - Direct Inward System Access

DISA ()
Direct Inward System Access leaves out the people who call into the system and provides them with an internal dial tone.
DISA (password [context [callerid [mailbox [@-voice context ]]]])
DISA (file with a password, [callerid [mailbox [@-voice context]]]) provides a dial tone internal callers outside so that they can make calls as if calling from inside extension . Upon hearing the dial tone, an access code must be entered followed by the "#". If it is correct, the caller hears another tone, which is the system of dial tone and the caller can make and initiate calls.
[Caution] This type of access represents a serious threat to security and real and must be carefully considered and planned before use, but you should be used at all!
The option is a numerical code that access should be introduced to the caller to make calls. Following this syntax, all users on the floor using the same access code. If you want to allow access unsecured, enter the string "no password," instead of a real password.
The context option specifies the context in which it began the call is placed. If not provided, DISA () assumes that the context called disabilities.
The callerid option determines the number of mail (and the optional voice context) of a mailbox. If the mailbox containing new messages to the caller will hear a stuttered dial tone to indicate this.
Alternatively, you can use the password file to define multiple access passwords. Each line of this file can contain either an access code or a combination of an access code and a context, separated by the "|" character (pipe). If not specified the context, it is assumed disability.
If the caller is authenticated successfully with a valid access code, DISA () will start the call in the context specified.

lunes, 22 de octubre de 2007

WebDial con Asterisk

http://voipbox.libits.org/?l=en&p=webdial#s

Te puede servir como ejemplo....bueno estuvimos hablando del uso de BASH...
No se si es bien lo que necesitas...pero puede servir.

Un abrazo ,Helius

Webdial with Asterisk
For Webdial to work with Asterisk, a web server that can handle CGI scripts, has to run on the same machine. When you click the OK button of the input box, a small popup window is created, in which the CGI script is run. It first closes the popup, then creates a call file that rings your phone and when you pick up the receiver, Asterisk connects you to the number you clicked on. Therefore it needs to know your extension number in addition to the number you want to dial. A sample shell script to achieve this is provided below, but this can be just as easily coded in Perl or PHP. It uses the query arguments, channel, from for the caller, to for the number to call, context and timeout to determine how many seconds to ring your phone. Some changes to the sample might be on order to make it work in your environment.

#!/bin/sh
echo -e "Content-type: text/html\\n\\n" # Close the popup
callfile=/tmp/`sed -e 's/[^0-9]//g' /proc/uptime`.call # Create a unique filename
eval `echo $QUERY_STRING|sed -e 's/&/ /g'` # Create variables from arguments
cat <$callfile # See here for callfile syntax
Channel: $channel/$from
Callerid: $from
WaitTime: $timeout
Context: $context
Priority: 1
Extension: $to
EOF
mv $callfile /var/spool/asterisk/outgoing


Make sure the script is executable for the user, your web server is running under. To test it enter something like
http://server/path/webdial.cgi?channel=SIP&context=default&from=123&to=4567890&timeout=15
in your browser, where channel is the channel your phone is connected to, context is the one for calling out, from is your extension, to is a number you want to dial and timeout the number of seconds, you want your phone to ring. If this works, you can create the bookmarklet.
Create Webdial bookmarklet to work with Asterisk

miércoles, 3 de octubre de 2007

Helius Fax

Javier mira estos emails cortos..sobre Sangoma, Siemens, faxesHay muchas variables a ver, ademas de los problemas reales con los aparatos de fax (falta de papel, roturas, etc) y las limitantes actuales entre trixbox y la Siemens. Por eso creo, que seria muy importante tener un ambiente de pruebas..!!Y no pasar las penurias en el cliente como hoy...ademas de la falta de posibilidades por el tipo de conexion. ------------------------------Siememes HiPath 3550------------------------------------------------------No son los mismos valores que para Uruguay ojo!!Muy parecido a lo egregamos hoy al DryTek..!Estava tendo alguns problemas com uma Siememes HiPath 3550. Coloquei no indications.conf [br]description = Brazilringcadence = 1000,4000dial = 425busy = 425/250,0/250ring = 425/1000,0/4000congestion = 425/250,0/250,425/750,0/250callwaiting = 425/50,0/1000 ; Dialrecall not used in Brazil standard (using UK standard) dialrecall = 350+440; Record tone is not used in Brazil, use busy tonerecord = 425/250,0/250; Info not used in Brazil standard (using UK standard) info = 950/330,1400/330,1800/330stutter = 350+440 zaptel.conf defaultzone=brloadzone=br zapata.conflanguage=br sip.conf [general] country=br E resolvi o problema. ---------------------------Fax through Sangoma------------------------------------------------------- in our company we are trying to do this: Fax <--> Traditional PBX <--> Asterisk <--> PSTN In practice, we have put an Asterisk equipped with a Sangoma A102 (2 PRI ports) between our PBX ( Siemens HiCom) and the PSTN in order to have a VoIP network along the traditional telephony network. The problem is with the fax. We just want to send and receive faxes from/to our fax machine connected to the Siemens (without needing any interaction with our VoIP network, the faxes are sent to/received from PSTN). Unfortunately we are experiencing a lot of problems: the faxes not always work and when they work, it's likely to have incomplete pages. I know that faxing with VoIP is very troublesome, but maybe someone else is using a similar configuration and he found a good configuration or maybe has some hints to improve the results. We are using Asterisk 1.2.13.-------------------------Sangoma will detect the tones and disable echo cancel---------------------Incoming faxes, the Sangoma will detect the tones and disable echo cancel. To send outbound, you will have to add another trunk group, of one or more channels and disable echo cancellation and use that to dial out. Example (/etc/asterisk/zapata.conf)blah blahechocancel=yesblah blah group = 1channel =>1-20 blah blahecho cancel=nogroup = 2channel=22-23 So you would use for faxing specifically Zap/g2/ and it will use channel 22 or 23 but with echo turned off. Use Zap/g1 and it will use the first group of channels with echo cancel on (or whatever other parameters come before the group command)----------------------------------- ULAW ou ALAW ------------------------------------------------------Renato, FAX sobre VoIP é um negócio chato, nunca funciona 100%.Pense na possibilidade de colocar uma Placa FXS direto no seu Asterisk.DIGIVOICE -> ASTERISK -> FXS -> Aparelho de FAX.Assim pode ligar o FAX direto no Asterisk e não precisa converter sua chamada para VoIP e jogar na rede para o ATA, pois a latência,perda de pacotes e outros motivos influenciam diretamente no envio de FAX.Considerações,FAX e Multifuncionais modernas enviam FAX na velocidade de 33.6Kbps, enviando através de ATA / VoIP não vai funcionar.veja se consegue abaixar a velocidade no seu aparelho.Ative o recurso de correção de erro do seu fax (Se tiver)Lembre-se de sempre usar ULAW ou ALAW para envio de fax, se for outro codec com maior compressão não funciona.Certifique-se que está fixando o codec no sip.conf.Experimente desligar o cancelamento de echo do seu ATA, normalmente ele faz isso automaticamente ao detectar o sinal de fax, masé necessário forçar-----------------------------------T.38 support in Asterisk------------------------------------------The T.38 support in Asterisk 1.4 is only pass through. Asterisk is notan endpoint or gateway of any sort. It only works passthrough inSIP to SIP calls without chan_local or chan_agent involved. Both endpoints of the call will need T.38 support and have T.38enabled in sip.conf.Asterisk 1.4 as I see it is still a bit unstable and not ready forproduction use. Be careful out there.-------------------------------------------------------------------------------------------------------------------Podria seguir pegando Emails de Asterisk, trixbox y Siemens...pero no es el caso...Solo queria enviarte los que considere importantes..!! --------------------------------------------------------------------------------------------------------------------- "Nós somos o que fazemos no dia-a-dia. A excelência, portanto não é um ato, mas sim um hábito" - Aristóteles Grupo de Usuarios y Desarrolladores Debian del Uruguay Debian Uruguay (Guddú)http://debianuruguay.org/Debian (デビアン) は、あなたのコンピュータのためのフリーなオペレーティングシステム (OS) です しかし、OS の基本ツールのほとんどが GNU プロジェクトに由来しているため、GNU/Linux と名付けています。---

Helius tonos antel

Me imagino que esto debe ser cosa de cada dia, por ser una empresa de telefonia...
Por las dudas, se los envios.
Tonos Uruguay
http://www.3amsystems.com/wireline/tone-search.htm?start=0&kTone=1004
Country Tone Freq/Hz Cadence/s
Uruguay Busy tone 425 0.5 on 0.5 off
Uruguay Congestion tone 425 0.25 on 0.25 off
Uruguay Dial tone - I 425 continuous
Uruguay Dial tone - II 450 0.7 on 0.8 off 0.2 on 0.3 off
Uruguay Negative indication tone 425 0.5 on 0.5 off
Uruguay Positive indication tone 425 2x(0.1 on 0.2 off) 0.1 on 1.3 off
Uruguay Ringing tone 425 1.0 on 4.0 off
Uruguay Special information tone 950/1400/1800 3x0.333 on 1.0 off
Uruguay Waiting tone 425 0.2 on 0.2 off 0.2 on 4.4 off
Uruguay Warning tone - operator intervening 425 0.15 on 0.25 off 0.15 on 1.45 off
Ademas tiene ejemplos de configuracion:
Switch to a different display format: [Sipura/Linksys] [Zaptel/Asterisk]

Ejemplo Country Tone:
Sipura/Linksys
Uruguay Busy tone 425@xx;yy(0.5/0.5/1)
Uruguay Congestion tone 425@xx;yy(0.25/0.25/1)
Uruguay Dial tone - I 425@xx;yy(*/0/1)
Uruguay Dial tone - II 450@xx;yy(0.7/0.8/1,0.2/0.3/1)
Uruguay Negative indication tone 425@xx;yy(0.5/0.5/1)
Uruguay Positive indication tone 425@xx;yy(0.1/0.2/1,0.1/0.2/1,0.1/1.3/1)
Uruguay Ringing tone 425@xx;yy(1/4/1)
Uruguay Special information tone 950@xx,1400@xx,1800@xx;yy(0.333/0/1,0.333/0/2,0.333/1/3)
Uruguay Waiting tone 425@xx;yy(0.2/0.2/1,0.2/4.4/1)
Uruguay Warning tone - operator intervening 425@xx;yy(0.15/0.25/1,0.15/1.45/1)
Country Tone
Zaptel/Asterisk string
Uruguay Busy tone 425/500,0/500
Uruguay Congestion tone 425/250,0/250
Uruguay Dial tone - I 425
Uruguay Dial tone - II 450/700,0/800,450/200,0/300
Uruguay Negative indication tone 425/500,0/500
Uruguay Positive indication tone 425/100,0/200,425/100,0/200,425/100,0/1300
Uruguay Ringing tone 425/1000,0/4000
Uruguay Special information tone 950/333,1400/333,1800/333,0/1000
Uruguay Waiting tone 425/200,0/200,425/200,0/4400
Uruguay Warning tone - operator intervening 425/150,0/250,425/150,0/1450

Helius Fax

por lo de "Pobres condiciones linea"Did you change the rxgain or the rx setting? I changed the rxgain from 0.0 to 20.0. I might make some more test calls, reducing the rxgain to see at what setting the incoming fax detection breaks. Might invoke ztmonitor as well.Are you using the rxfax module or have you changed to nvfaxdetect? This time around I was using the rxfax module only. One variation that I noticed with AAH 1.5 was: (no son Trixbox, pero vienen bien)Without NVFaxDetect-Internal SIP fax -> 666 = OK. Internal SIP fax-> 7777 = Failure (Does not recognise fax & dials my default test ext). Incoming PSTN fax -> AAH 1.5 = OK.With NVFaxDetect-Internal SIP fax -> 666 = OK.Internal SIP fax-> 7777 = OK.Incoming PSTN fax -> AAH 1.5 = OK.Now I understand what you mean by fax detection as distinct from fax handshaking/negotiation.How I sent the test FAXHere is my ztmonitor during sending. (I split the rx and tx onto separate lines to get around the wp formatting) and then during the reception of the Telstra fax report.SENDING A FAXpbx:~# /usr/src/zaptel-1.2.2/ztmonitor 1 -vvVisual Audio Levels.-------------------- Use zapata.conf file to adjust the gains if needed.( # = Audio Level * = Max Audio Hit )<----------------(RX)----------­ ------><----------------(TX)----------­ ------>######################* ########################*########################*########################*####################### *######################## *######################## *######################## *######################## * ######################## *##########################*RECEIVING A FAXpbx:~# /usr/src/zaptel-1.2.2/ztmonitor 1 -vvVisual Audio Levels.--------------------Use zapata.conf file to adjust the gains if needed. ( # = Audio Level * = Max Audio Hit )<----------------(RX)----------­ ------>#########*#########*#########*#########*##########*######### *######### *##########*<----------------(TX)----------­ ------> Telstra FaxStream reported:Transmission level: -17.1dBm EXCELLENTLine noise level: -54.3dBm EXCELLENTTelstra recommends fax transmission levels be of -15.0 to -17.0 dBmother reported scores were all EXCELLENT with 100.00% error free (yay!!)My ztmonitor txgain is about 2/3 to 3/4 up the scale and is a smidge OVER the Telstra recommendation so I could drop it a notch or two.looks like the notion of getting the ztmonitor vu meter about half way is indeed what we need (I like to test these things for myself!)Like I thought before.... I could up my rxgain a bit and reduce the txgain but I found a bit of audible hiss crept into the voice calls with rxgain over 13.I did change my setting to:rxgain=11.0txgain=-3.0-- "Nós somos o que fazemos no dia-a-dia. A excelência, portanto não é um ato, mas sim um hábito" - Aristóteles Grupo de Usuarios y Desarrolladores Debian del Uruguay Debian Uruguay (Guddú)http://debianuruguay.org/Debian (デビアン) は、あなたのコンピュータのためのフリーなオペレーティングシステム (OS) です しかし、OS の基本ツールのほとんどが GNU プロジェクトに由来しているため、GNU/Linux と名付けています。---

jueves, 27 de septiembre de 2007

Helius Fax

First off, do not use any version over 0.0.3. I am using 0.0.3 on centos 4.5, asterisk 1.2.24 and freepbx 2.3 and it is working very well. One very important thing to keep in mind is that faxing over voip will only work reliably with ulaw or alaw and your internet connection MUST be able to sustain a constant data stream with low jitter. If your interested I have a shell script to install asterisk 1.2.24 and
freepbx-2.3 with rxfax and txfax on centos 4 and working on centos 5.

miércoles, 26 de septiembre de 2007

Gustavo JAVA

_______________________________________________________________


www.CodeJava.org - Edición n° 100
Portal de la Comunidad de desarrolladores Java y Linux


¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
_______________________________________________________________
NOTICIAS
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯


El open source, a un clic


IBM anunció un servicio gratuito que permitirá a los usuarios de
cualquier tipo de dispositivo móvil o de computadora, incluyendo
los iPhones, acceder en tiempo real a miles de recursos técnicos y
tecnologías emergentes con el clic de un botón.


http://www.codejava.org/v2_vernota.htm?idxnota=64673


¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
IBM lo invita a registrarse gratis a su programa para desarroladores


En este sitio web usted podrá encontrar, entre otras cosas: downloads
referidos a productos de IBM, información de servicios y soluciones,
publicación de eventos, tutoriales y soporte en línea, noticias de
Java, SOA, servicios y arquitectura web, XML, y mucho más.


http://www-128.ibm.com/developerworks


¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Te escucho, te veo


Polycom, proveedor líder mundial en soluciones de comunicación
colaborativa unificada (UCC), anunció una oferta integral para
IBM Lotus Sametime, que permite iniciar conferencias de alta
calidad de punto a punto y de multipuntos de voz, video o
combinadas con voz y video.


http://www.codejava.org/v2_vernota.htm?idxnota=64670


¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
El software crece en Argentina


CESSI, Cámara de Empresas de Software y Servicios Informáticos
de Argentina, dio a conocer un documento con las Propuestas para
un Plan de Acción Sectorial 2008-2011. Se prevé un fuerte
crecimiento en el mercado.


http://www.codejava.org/v2_vernota.htm?idxnota=64671


¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Desarrolladores que certifican


La consultora argentina Snoop Consulting consiguió la acreditación
de Nivel 2 de CMMI (Capability Maturity Model Integration),
modelo de madurez desarrollado para la mejora o evaluación de
los procesos de desarrollo y mantenimiento de sistemas y productos
de software.


http://www.codejava.org/v2_vernota.htm?idxnota=64899


_______________________________________________________________
INFRAESTRUCTURA
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
El mainframe moderno


Una de las charlas del reciente developerWorks Forum que se
realizó en Buenos Aires se centró en las capacidades que los
mainframes ofrecen hoy en día en entornos SOA y cómo se ubican
en el centro de los negocios.


http://www.codejava.org/v2_vernota.htm?idxnota=64672


_______________________________________________________________
BASES DE DATOS
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Manipulando mensajes del tipo XMLNS


Este texto de Jorge Fernández Lara provee información específica
para tratar los mensajes que pertenecen al dominio XMLNS, y que
son analizados por el parser genérico XML. El XMLNS es una
extensión del XML y proporciona la ayuda del namespace. El ejemplo
ofrecido muestra cómo utilizar ESQL para trabajar con los namespaces.


http://www.codejava.org/v2_vernota.htm?idxnota=64902


_______________________________________________________________
LENGUAJES Y HERRAMIENTAS
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Configuración de adaptadores de recursos


IBM Rational Software Architect (RSA) nos permite crear conexiones
J2C para comunicarse con un COBOL/CICS o un IMS utilizando la
arquitectura de conexión J2EE (JCA) de manera muy sencilla a
través de uno de los tantos "wizard" que trae incorporado. El
artículo es de Julián Benítez.


http://www.codejava.org/v2_vernota.htm?idxnota=64898


_______________________________________________________________
APLICACIONES
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
IBM Workplace Dashboards Framework


El especialista Javier Lerech nos explica en este artículo cómo y
para qué pueden utilizarse los dashboards (tableros de control)
con el objetivo de mejorar la respuesta del negocio y la productividad.
http://www.codejava.org/v2_vernota.htm?idxnota=64900


_______________________________________________________________
MANAGEMENT
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Más sobre Rational Funcional Tester


En el número anterior de Codejava, presentamos esta herramienta
que permite a los desarrolladores incrementar la calidad de sus
productos. En esta ocasión, el especialista de IBM Santiago Puente
ahonda en el tema y nos ofrece una perspectiva más amplia.


http://www.codejava.org/v2_vernota.htm?idxnota=64897


_______________________________________________________________
SOA
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Verastream y el SOA de IBM


Attachmate, una de las diez principales compañías privadas que
ofrecen software empresarial en todo el mundo, anunció su
admisión a la especialidad SOA de IBM con Verastream. Aquí, las
características de esta familia y el anuncio de un webinar para
explotar su uso con plataformas mainframe.
http://www.codejava.org/v2_vernota.htm?idxnota=64669


_______________________________________________________________
ACERCA DEL NEWSLETTER
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
CONTACTO : Para contactarse con el equipo de www.CodeJava.org
escríbanos a newsletter@codejava.org.

lunes, 24 de septiembre de 2007

Gustavo SWIK

http://swik.net/Asterisk

Helius Softphone

Para plataformas Windows, Linux, Mac.
http://iaxclient.sourceforge.net/iaxcomm/
iaxComm is an Open Source softphone for the Asterisk PBX.
iaxComm is cross-platform program developed on aWindows XP system.
iaxComm is targeted for the Win32, Linux and Mac OS X systems. I try to avoid anything that will cause a problem under Mac OS, but have no way of building or testing on a Mac.
Features:
* iLBC support
* speex support
* Music on Hold.
* Blind Transfer.
* Custom Ringtones per CallerID
* Speakerphone mode.
* Register with multiple servers (ie enterprise server and iaxtel).
* Multiple call appearances.
* User selectable audio devices.
* User defined ringtones.
* Autoanswer intercom calls (with password protection).
* Registration with an asterisk server prior to dialing is no longer required.
* Simplified Directory dialogs.
* Incoming callers automatically added to phone book.
Los hay solo es cuestion de buscar con ganas..!!

Helius softphone

Freedom to Call, Freedom to Code

OpenWengo is a community of enthusiasts and developers, creating free software products related to communication over IP. The flagship product of the OpenWengo project is a softphone which allows you to make free PC to PC video and voice calls, and to integrate all your IM contacts in one place.
OpenWengo was started and is supported by the french VoIP provider Wengo . Through our partnership with Wengo, we also offer very cheap PC to telephone and SMS rates. OpenWengo is an active community - come join us
http://www.openwengo.org/
OpenWengo is a communication tool based on the SIP protocol, developed by the OpenWengo community and released under the GNU General Public License. It is more than just VoIP software: it is a full-fledged communications tool that lets you enjoy free calls, video conferencing, SMS, chat over many existing protocols (MSN, AIM/ICQ, Yahoo!, Jabber)... Everything you need to stay in touch with your friends and family!
Firefox Extension
*
Windows
o 0.68 XPI - 1.5 Mb
*
Mac OS X
o 0.68 XPI - 2.3 Mb
*
GNU/Linux
o 0.68alpha XPI - 2.4 Mb


WengoPhone screenshot
http://www.openwengo.org/index.php/openwengo/public/homePage/openwengo/public/projectsNgScreenShots

Helius SIP

on este tipo de documentacion es la que hay que trabajar desarrollando...ya que existen muchas cosas en los protocolos..que no estan siendo usadas o subaprovechadas...
RFC 3261 - SIP: Session Initiation Protocol http://www.faqs.org/rfcs/rfc3261.html

Helius, Call Center

Software de Manejo de Colas..Muy bueno.
OJO!! es pago , se puede bajar para probar.
Mira los ScreenShots tew van a dar una idea del producto.
QueueMetrics - A call center monitoring software for the Asterisk PBX
screenshots
http://queuemetrics.com/screenshots.jsp

http://queuemetrics.com/index.jsp
QueueMetrics
With over 150 quantitative metrics available, your call center runs smoothly and problems are easily pointed out. You measure budget targets, SLA targets, agent activity and more with a level of details that goes down to listening to any call on any queue - right from your browser.
You see taken calls, lost calls, agent sessions and call center activity, broken down by period, queue or agent.
QueueMetrics lets you monitor your call center in real time - what your agents are doing, how many calls are waiting in each queue, how much time has been spent in each stage of call handling. You can barge-in to selected calls and view agents displays remotely. You can also set alarm conditions and have QueueMetrics report them graphically.
A real-time wallboard mode lets you use a video projector or a large screen in order to see the activity of your call-center in real-time.
QueueMetrics supports an unlimited number of inbound queues, each with multiple prioritized agents, and supports virtual queues made up of aggregations of existing queues. Calls that are processed on more than one queue can also be tracked easily thanks to the "multi-stint" call mode.
QueueMetrics eases the burden of your agents too - they can easily see whether the're logged on or not, they can see their incoming calls as they are processed and they can even launch external webapps - passing data gathered from IVRs or Caller*ID information - at the click of a button. They can mark incoming calls with call codes, and can set the reasons why they go on pause from the ACD, so you can track who did sales and back-office activities at a glance.
You can also have external visitors access the system remotely and see real-time reports and daily indicators, in real time. They can also listen to ongoing calls and view the agents' screens.
So whether you manage a 2 or a 200-agent call center, with one single server or a cluster of Asterisk boxes, and want to understand what's going on with it, QueueMetrics will help you meet and exceed your goals.
QueueMetrics fully supports all versions of Asterisk ranging from version 0.7 to the latest version 1.4.
QueueMetrics supports both analysis of the queue log file and reading data out of a MySQL database, in order to suit even the biggest call centers. Multi-server and clustered call centers are also supported.
QueueMetrics supports both inbound and outbound call-centers, with full reporting in both cases.

Helius Digium appliance

Te interesa una solución comercial de Asterisk paquetizada como el Digium Appliance? Finalizado el 14/4/2007 19:27 Sí, como integrador 66 % 66 % (14) Sí, como cliente final 14 % 14 % (3) No 19 % 19 % (4) Depende (explicar en comentarios) 0 % (0) Total de Votos: 21 Total de electores: 21
------------------------------------------------------------------------------------------------
Digium : Digium anuncia el lanzamiento de su PBX empotrada 'Asterisk Appliance'
Enviado por HeLL on 14/9/2006 7:31:38 (262 Lecturas)
Digium Appliance es una PBX con un Asterisk empotrado especial para este sistema que corre uCLinux, una distribución de Linux para sistemas empotrados y que incluye una versión de Asterisk Business Edition (ABE) especial para esta plataforma.
Incorpora una exclusiva GUI para programarla desarrollada por Digium y que facilita la forma de programar Asterisk y adaptarla a las soluciones basadas en este software.
Esta PBX está diseñada para pequeñas y medianas empresas (PYMES) e incorpora una conexión a la red telefónica mediante líneas analógicas (FXS y FXO).
Incluye un completo manual de desarrollo y de uso para que cualquier persona pueda configurarla y adaptarla a sus necesidades así como soporte para tarjetas Compact Flash donde almacenar datos externos (mensajes de buzón de voz, sonidos, etc)
También incluye puertos LAN y WAN para conectar terminales IP y conseguir una separación completa con la red de datos existente; documentación y manuales y soporte completo de Digium para la configuración y/o desarrollo de nuevas aplicaciones para este Asterisk.
Más información, en la web de Digium
-----------------------------------------------------------------------------------------------
Digium : Digium anuncia el lanzamiento de su nueva tarjeta para líneas analógicas Enviado por armstrong on 27/10/2005 13:46:37 (295 Lecturas )
La empresa norteamerica Digium, principal impulsora del proyecto Asterisk ha anunciado la comercialización de un nuevo modelo de tarjeta denominada genéricamente TDM2400P.
Esta tarjeta surge para cubrir la gran demanda existente de numerosas líneas FXS/FXO en un entorno empresarial existente. La tarjeta sigue la filosofía de la familia TDM400P, salvo que los módulos FXS/FXO van agrupados de 4 en 4, hasta un total de 6 módulos (24 puertos) por tarjeta.
El conector de salida es un amphenol de 25 pares (o rj21).
Desde el 1 de Noviembre se estarán aceptando pedidos, y el 28 de noviembre es la fecha prevista para su lanzamiento en todo el mundo.
Tendremos que probarla!
Para más información: http://www.digium.com/index.php?menu=product_detail&category=hardware&product=TDM2400P

Gustavo Click to call

Click-to-Call con tu propio softphone
Muchas veces, cuando vemos un número de teléfono en una web o en nuestra agenda, nos gustaría poner hacer clic con el ratón y que el sistema llame utilizando nuestro propio softphone, pero a menudo los números de teléfono vienen con el protocolo “callto:” y no viene definida ninguna aplicación para utilizar este protocolo.
En Linux es bastante sencillo asociar este protocolo a una aplicación, en el gestor de protocolos (de KDE o de GNOME) se configura con una facilidad digna de admirar, pero en Windows generalmente a de ser una aplicación la que asocie este protocolo para que sea utilizado.
Inicialmente el protocolo “callto:” venía asociado a la aplicación NetMeeting, y más tarde Skype hizo lo propio, de manera que muchas personas que ponen su número de teléfono ya lo enlazan con el prefijo callto.
Pero si queremos poder hacer llamadas desde nuestro softphone a través de nuestro Asterisk, tendremos que marcarlo a mano.
Por fín he encontrado los registros de Windows necesarios para asociar este protocolo a un softphone cualquiera enviándole como parámetro el número de teléfono indicado en el enlace y os lo pongo aquí para que podais hacer llamadas con vuestro softphone a cualquier número con el enlace 900900900 (por ejemplo).
Estoy seguro que esto ya lo conocía bastantes personas, aunque por mucho que lo he buscado jamás lo había encontrado.
Podeis editar el archivo y modificarlo por la ruta de vuestro softphone añadiendo al final el %1 que será sustituido por el número de teléfono al que se va a llamar.
No lo he podido probar porque no tengo ningún Windows a mano, pero os dejo la web donde podeis descargaros el tutorial y el archivo para el registro de windows.
http://www.a-enterprise.ch/content/view/170/111/

Helius softphone

MozIAX XPI for Linux

MozIAX XPI for Windows



http://moziax.mozdev.org/installation.html

Screenshots

http://moziax.mozdev.org/screenshots.html

MozIAX receiving a call on Windows XP

Main UI (with dialpad and levels), two active calls

Call history

Manager window

Now with splash screen !

Small UI: dialpad and levels hidden to save screen space


Usage
Using MozPhone should be quite intuitive: make calls, answer (or refuse !) incoming calls... The menu is accessible by a right click on the main window.
Preferences
Preferences are accessed by the main menu (right clicking on the main window). they are grouped by:

* network: server address, IAX username and password, asterisk manager username and password,
* browser: to open URL with another browser,
* devices: choose input, output and ringing devices
* controls,
* windows: choose which windows MozPhone should display,
* codecs.

MozIAX uninstall As all extensions, MozIAX will appear in Firefox's Extension Manager; you can modify preferences or uninstall it from there.

Helius Hardware

Open Source Hardware
This project is a modular four port daughter card for the Blackfin STAMP. Here is a picture of the 4fx/fxsmod/fxomod boards assembled on top of a BF537 STAMP board:
Building an Embedded Asterisk PBX Part 1
http://www.rowetel.com/blog/?p=15
Building an Embedded Asterisk PBX Part 2
http://www.rowetel.com/blog/?p=16
Building an Embedded Asterisk PBX Part 3
http://www.rowetel.com/blog/?p=27
--
"Nós somos o que fazemos no dia-a-dia. A excelência, portanto não é um ato, mas sim um hábito"
- Aristóteles
Grupo de Usuarios y Desarrolladores
Debian del Uruguay

HElius visual Dailplan

Visual Dialplan for Asterisk
http://www.apstel.com/
http://www.apstel.com/products/vdp/screenshots.jsp
Overview
Visual Dialplan for Asterisk® is innovative visual modeling platform that enables Asterisk users to create, maintain and validate Asterisk dialplans in an easy, convenient and natural way.
Simply drag, drop and connect dialplan blocks to make company IVR, Call Center queues, inbound or outbound call flows and much more.
Model, don't code!
You may also use samples to create standard dialplan in minutes, or create complex and large dialplans using comfort of a modern Rapid Application Development environment.

Benefits
Benefits for Asterisk dialplan developers:
* Never write a line of code anymore, simply drag, drop and connect dialplan blocks to make company IVR, Call Center queues, inbound and outbound call flows, voicemail boxes, conferencing etc.
* Use samples (templates) to create standard dialplan in minutes. We make dialplan development easy and fun, no need to have Asterisk dialplan experience to create large dialplans.
* Create complex dialplans in a convenient, intuitive and natural way using comfort of a modern Rapid Application Development environment without sacrificing functionality and capability of a standard Asterisk dialplan

Benefits for Asterisk consultants and professionals:
* Easily maintain and manage complex and large dialplans

Benefits for Asterisk management and GUI vendors:
* Enhance your Asterisk based solution by plugging in Visual Dialplan and providing innovative dialplan management solution to your customers

Lemener

De: Emilio [mailto:emilio.lemener@gmail.com] Enviado el: Viernes, 07 de Septiembre de 2007 05:39 a.m.
Para: Gustavo Giannattasio
Asunto: Re: asterisk



Buen día Gustavo,
Mire el ejemplo que encontre de un caso utilizado con Ruby on Rails y asterisk.
Sobre todo el link esta muy ilustrativo (por la arquitectura) y el adjunto pone un ejemplo de como implementar un servicio en 20 pasos. Estaría bueno para probar a ver que pasa.

http://www.oreillynet.com/pub/a/etel/2005/12/19/hacking-in-asterisk-and-rails.html
http://www.oreillynet.com/pub/a/etel/2005/12/19/hacking-in-asterisk-and-rails.html
Saludos
Emilio.

HElius APSTEL

Visual Dialplan
http://apstel.com/

------------------------------------------------------------------------------------------------------
Visual Dialplan for Asterisk® is innovative visual modeling platform that enables Asterisk users to create, maintain and validate Asterisk dialplans in an easy, convenient and natural way.

Simply drag, drop and connect dialplan blocks to make company IVR, Call Center queues, inbound or outbound call flows and much more.

Model, don't code!

You may also use samples to create standard dialplan in minutes, or create complex and large dialplans using comfort of a modern Rapid Application Development environment.

------------------------------------------------------------------------------------------------------

Aqui van dos ejemplos un IVR y otro de un modelo de Oficina, son los que vienen como ejemplo en el software.

Je..je No todo lo que brilla es oro...no es facil...
Quizas siendo el UNO en Visual Basic...se pueda minimizar el tiempo de aprendizaje y ni hablar tenerla muy pero muy clara en Asterisk.

Yo paso..esta vez...
Vou deixar para quem saiba usar o programa VisualBasic com segurança !!

--

Helius UClinux

qui va la Respuesta oficial de Digium, Inc.
desde Kevin P. Fleming (Director of Software Technologies)

Noah Miller wrote:

> From what I've heard from Digium employees, you can treat it like a
> normal linux box (it's not locked in any way), so you should be able
> to do whatever you want with it. I think the distro is very stripped
> down, though, so it may not have all the programs and utilities you
> might find in Debian or Fedora.

It runs uClinux; it has nothing except what is required for operation, so it is nearly totally different from a traditional Linux distribution running on an x86 platform.

As far as configuration editing, the Asterisk GUI has a tab that allows editing any configuration file on the system, but of course there are changes you could make that would break the GUI, so in general we tell customers not to do that, since the box is intended to be a simple small business PBX, not a general purpose Asterisk platform.

--
Kevin P. Fleming
Director of Software Technologies
Digium, Inc. - "The Genuine Asterisk Experience" (TM)

Helius Codecs 2

digium te deixa registrar o codec G729 duas vezes

> > Olá A atodos
> >
> > Sou iniciante do asterisk, inicailmente comprei uma licença G729,
> > porem não instalei ainda, meu asterisk está em caráter de estudo e
> > gostaria de instalar o codec nele, mas tendo em vista que este
> > hardware nao será o definitivo. pergunta, eu terai problemas em
> > reinstlar o codec no server que ficará em produção?
> >
> > Li o readme que poderei fazer backup da pasta
> > "/var/lib/asterisk/licenses" que são ligadas ao MAC address da placa
> > de rede. Então ai que tá o problema, a placa de rede não será a
> > mesma, mesmo pq o servidor de produção, eu irei configurar
> > remotamente, sem acesso físico a ele.
> >
> > estou certo que não poderei instalar este codec no meu server bkp e
> > depois migra-lo?
> >
>
>
> Olá Maurício,
>
> A digium te deixa registrar o codec duas vezes. Sendo assim vc pode
> instalar-lo agora e uma segunda vez, quando tiver sua máquina definitiva.
>
> Após a segunda vez, vc terá que entrar em contato com a Digium e
> solicitar o "reset" de sua licensa. Ainda não fiz isto, mas acredito
> que se vc tiver um desculpa adequada, eles irão autorizar outras
> instalações
> -- portanto ainda não passei por isto e não sei te dizer se é
> realmetne assim.

Já tiver que efetuar o reset da licensa com a Digium, o processo foi bem tranquilo.

Helius sangoma T.38

Asterisk T.38 Faxing with External Voice/Router Box

Number of Sangoma customers are using Asterisk + External Voice Router Box (Mediatrix or Audio Codes) as a reliable T.38 faxing solution.

Network Diagram:

Telco <------ t1/e1 pri -----> [Sangoma Port1] <-----------------> [Zaptel/Asterisk]
|
Fax <--> [ATA] <-- sip --> [ Router ] <-- t1/e1 pri -> [ Sang Port2 ] <-|

In this scenario it is important to note that External Router T.38 box must have a strong signal from Asterisk/Zaptel [ Sangoma Port2 ]. Customers haver reported that txgain must be increased for proper fax operation.


In /etc/asterisk/zapata.conf
For group2 [sangoma port2] section set
txgain = 8
rxgain = 1
Adjust txgain util you get desired fax performance.


It is also recomended that Sangoma Port2 is configured to use the incoming clock from Sangoma Port1.

in /etc/wanpipe/ directory
wanpipe1.conf -> sangoma port1
wanpipe2.conf -> sangoma port2
Set wanpipe1.conf Port1 to receive incoming clock from Telco
TE_CLOCK=NORMAL
Set wanpipe2.conf Port2 to receive incoming clofk from Port1
TE_CLOCK=MASTER
TE_REF_CLOCK=1
Set the External Router T.38 box for Slave clocking.
This way the whole system has a single clock that is received from the telco.

Helius Voicemail

Se puede implementar un numero general, para escuchar mensajes de voz...
por ejemplo:

Si el telefono de Siemens son 200, 201, 202, ..250.

discando #200, #201, #202, etc..

Va a pedir la contraseña del buzon y se puede escuchar los mensajes, almacenarlos, borrarlos, etc

;Verificacion de casilla de voz
exten => _#XXX, 1, VoiceMailMain(${EXTEN}@context) exten => _#XXX, 2, Hangup()

Helius codecs

G.729 Codec
Voice Compression

http://www.digium.com/en/products/voice/g729codec.php

The G.729 codec is an industry standard which allows for placing more calls in limited bandwidth to utilize IP voice in more cost effective ways. A typical call consumes 64Kbps of voice bandwidth. G.729 reduces the call to 8Kbps (normal IP overhead adds to this number). Many people are using Asterisk with G.729 to replace expensive gateways. Asterisk currently supports G.729 Annex A only.

Concerning performance, the G.729 codec translations are performed in software, and the overhead should be considered when sizing the server for an Asterisk system. Internal testing with dual Intel® Xeon 1.8GHz processors allowed 60 concurrent G.729 calls. Dual Xeon 2.8GHz processors allowed 80 concurrent G.729 calls.

The G.729 codec works with all Digium hardware cards and on any processor.

We recommend that you read Digium's policy for the G.729 codec before purchasing.


README.txt

Asterisk/Digium G.729
----------------------------
[Download Procedure]

The G.729 codec binary and register utility may be downloaded from the following site:


http://downloads.digium.com/pub/telephony/codec_g729/
http://downloads.digium.com/pub/register

There are different versions of the codec for Asterisk 1.4 and all prior releases; the codec module for Asterisk 1.4 will NOT load into older versions, and vice-versa. Please be sure that you download the correct version of the codec for your Asterisk version.

There are also various optimized versions of the codec binary available for different

commonly available CPU types, in both x86-32 and x86-64 architectures. You are welcome to try any or all of the various versions to see which provides the best performance on your Asterisk server; the 'show translation recalc 60' command in the Asterisk CLI can be used

to gauge the performance of the codec binary you have installed.

In addition, there are frequently updated builds of the codec binary posted, and each build has a 'build version number'. This version number is part of the filename, and is also included

in the copyright/license message that is displayed when the module is loaded into Asterisk.
In this document build number 'v30' has been used as an example, but when you read this document the current build number may be different (higher).


* Command Line Example for the Pentium 4M and Asterisk 1.2 *
# Log in as the user "root".
cd /root
wget
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-1.2/x86-32/codec_g729a_v30_pentium4m.tar.gz
tar xzvf codec_g729a_v30_pentium4m.tar.gz
wget
http://downloads.digium.com/pub/register/x86-32/register

Notes:

- Directories corresponding with x86-32 and x86-64 G.729 codec binaries are located in
the Asterisk directories. Choose whether your system is x86-32 or x86-64. Inside those

directories you will see codec TAR files containing the codec binary for each type
of processor supported. Choose the correct processor type which matches your system.

- Additional registration utilities and
G.729 codec binaries for additional processor types
and operating systems may be found in the unsupported directory.

[Installation Procedure]

Refer to the General Notes section if you have any problems regarding G.729.

1) Refer to the Download Procedure section in order to obtain the correct G.729 codec
binary and register utility for your system. These step-by-step instructions are
assuming that both the G.729
codec binary and the register utility have been
downloaded to the root home directory of your Asterisk server.

2) Copy the codec_g729a.so file to the /usr/lib/asterisk/modules directory.

* Command Line Example *

cp /root/codec_g729a_v30_pentium4m/codec_g729a.so /usr/lib/asterisk/modules

3) Change the permissions of the /root/register file to r-x------. Change the user
and group ownership of the /root/register file to "root".


* Command Line Example *
chmod 500 /root/register
chown root.root /root/register

4) Internet access is required from your Asterisk server in order to register your
G.729 key for licensed use. Outgoing network traffic on TCP port 443 (SSL) must be

allowed in order for the register utility to successfully communicate with Digium's
license server and complete the registration process. The name of the first
Ethernet device on your Asterisk server must be eth0 in order for the
G.729
registration process to complete successfully. The G.729 registration process will
not be successful if the first Ethernet device is eth1, eth2, etc.
The registration utility will prompt you for your
G.729 license key.

* Command Line Example *
/root/register

5) Asterisk must be restarted in order to load your new G.729 licensed channels.

* Command Line Example *
asterisk -rx "restart now"


6) Verify that the number of G.729 licensed channels available to Asterisk matches the
number of G.729 licensed channels that you purchased. This can be verified by
issuing "show g729" in the Asterisk CLI. Take into consideration any previous

G.729 licensed channels that you may have already had registered to your Asterisk
server before verifying this number.

* Command Line Example *
asterisk -rvvv
*CLI> show g729
0/0 encoders/decoders of 2 licensed channels are currently in use


7) Follow the instructions provided in the Backup Procedure section.

[Backup Procedure]

*** It is extremely important that you backup all of the files located in the ***
*** /var/lib/asterisk/licenses directory. This directory contains the Host-ID ***

*** specific license files for your system. These license files are tied to the ***
*** MAC address of all the ethernet devices installed in your system. Creating a ***
*** backup of this directory will allow you to restore your
G.729 license file in ***
*** case you need to reinstall your operating system. This will help prevent you ***
*** from needing to contact Digium to request authorization to increment your ***
*** G.729 key and from needing to purchase a new
G.729 key if you exceed the ***
*** maximum number of G.729 key increments allowed. ***

[General Notes]

- Multiple G.729 keys may be registered to the same Asterisk server. This will allow

you to increase the total number of available G.729 licensed channels on your
Asterisk server. New G.729 keys may be registered to your Asterisk server using the
same instructions provided in the Installation Procedure section. There will be an

additional G.729 license file generated in the /var/lib/asterisk/licenses directory
for each G.729 key that is successfully registered to your Asterisk server. It is
extremely important that you follow the instructions provided in Backup Procedure

section whenever a new G.729 key is successfully registered to your Asterisk server.

- A G.729 key must be re-registered if any of the Ethernet devices in your Asterisk
server are changed, added, or removed. The unique
G.729 license file which is
located in your /var/lib/asterisk/licenses directory is tied to the MAC address of
all the Ethernet devices installed in your system. A G.729 key can only be
re-registered once without authorization from Digium. Digium must be contacted by

phone in order to request authorization to have your G.729 key incremented. Digium
reserves the right to deny authorization for having a G.729 key incremented.

- The silence suppression feature is not available using the codec_g729a.so file.

Asterisk will generate output similar to "Dropping extra frame of G.729 since we
already have a VAD frame at the end" if the remote end is attempting to use silence
suppression with G.729. Consult with the remote end to ensure that silence

suppression is not being used. You may have problems using G.729 if the remote end
attempts to use silence suppression.

- It is not required or suggested to specify a load line in the
/etc/asterisk/modules.conf for the codec_g729a.so file. Asterisk will automatically

load it using the autoload option. The autoload option is set on by default.

----------------------------

Contact the Digium Technical Support Department by phone, either toll free at 1-877-LINUX-ME (1-877-546-8963) or locally at 1-256-428-6000, if you have any questions

or concerns. You may also contact us by email at support@digium.com

Helius dimensionado 24 set

Dimensioning an Asterisk system

Typical questions asked on the mailing asterisk-users are:

How fast/big must my machine be in order to serve my needs?

How many simultaneous calls can Asterisk handle?


Unfortunately there are no simple answers. You'll need work through the following checklist to at least get nearer to an answer or be able to post a meaningful question to asterisk-users:

1. What type of phones do you plan to use (analog, SIP, Skinny, H.323, MGCP)?
2. How many phones will you operate?
3. How many external lines do you have, and of which type (analog, BRI, PRI, T1, VoIP)?
4. How many concurrent internal/external calls do you expect (example: 30%)? Consult the Erlang tables (see links below) if in doubt.
5. What codecs will be employed, and will you need to do a lot of transcoding? Tip: Enter SHOW TRANSLATION at the CLI.
6. What features shall the system provide (echo cancellation, voicemail, conferencing queues & call center, recording, fax, voice menu, text-to-speech, speech recognition)?
7. How reliable/scalable must your system be?
8. How many Asterisk boxes do you plan to put in place?
9. What does your IP network look like (speed, QoS support, VLAN, Power-over-Ethernet)?


The next steps are to a) check out the hardware examples (use cases) section of this Wiki, and b) after that possibly set up a test system that is able to simulate your requirements so that you can run a load test e.g. using .call files generated by a script.

How many concurrent calls?
Here a collection of statements voiced on asterisk-users:

Note: When adding to this list, please provide CPU & Memory usage, not load average. These are much more concrete metrics and have much greater relevance when comparing different hardware and operating systems. Entries are sorted by CPU size.

* for old & slow CPUs take a look at Asterisk hardware recommendations
* Gumstix-based SIP-to-IAX proxy server can route about 40 calls concurrently (no transcoding, Gumstix 400XM, voicemail on CF card)
* Pentium 133 MHz, 16 megs of ram: Handles up to 3 concurrent SIP calls before quality degrades (no info about transcoding)
* Linksys NSLU2 aka "slug" (NAS Device for $79): Manages around 4 SIP calls with g711 or gsm (but not g729) on its IXP400 processor
* Pentium 1, 166mhz, 32meg ram: Successfully runs 4 SIP calls with codec g711
* Pentium II 233/64 RAM: 2xBRI (=4 ISDN channels) plus a lot of SIP devices
* The SC1100 CPU on the Net4801 will only successfully encode two streams of voice using G.729a compression. It is generally accepted that Asterisk requires about 30 MHz of CPU power per active voice channel. Thus the 266 MHz CPU on the Net4801, in theory, supports around eight simultaneous calls. This presumes that all calls are G.711 encoded audio. The Soekris Net4801, while inexpensive, has been absolutely reliable as a host platform, delivering adequate processing power to support six extensions and up to four active lines at one time. It could perhaps do more, but such was beyond the scope of my ability to test.
* (Mai 05) on a Soekris board: purely translating from G.729 IAX2 <-> G.729 SIP (maybe using IAX trunking), note that's not a codec translation: I have people doing at least ~30 calls in that manner (using AstLinux)
* A Soekris 4801 can easily support 20 - 25 SIP clients if they are all running the same codec (I use ulaw), I know of others that have 20+ sip clients and a t-1 card in the soekris for zap channels and it works fine. If you have to do any sort of transcoding a soekris is not the way to go but for a small installation it works great.
* Soekris 4801 at 266 MHz: Four concurrent ZAP calls might be tricky: even if you aren't doing transcoding, you will still probably have to do echo cancellation, which is CPU intensive (especially on the Soekris)! As far as 60 calls: maybe SIP to SIP, with re-invites and even that is pushing it.
* Capacity of MeetMe: With 28 persons on a Pentium II, 300MHz, 128 MB vmstat shows 70% idle.
* 5 calls to music on hold (where it's transcoding from the GSM moh file to G711 is causing my 533MHz VIA processor with 64Kb cache is using between 5 and 12% CPU.
* "I have anywhere from 15, to a peak max of 30 traders all using the same meetme conf during the day. My * is running on a old 4U 500Mhz machine (dual board, one processor installed now). With the exception of of a few problems from software sip phones, our implementation has been relatively problem free."
* VIA embedded 800 MHz: Max. concurrent and transcoded calls with speex: 4, ilbc: 9; g729: 11, g726: 22, lpc10: 24, gsm: 25, A-law: 83
* VIA EPIA 1GHz fanless: Compressed codecs are fine - as long as you aren't transcoding ;-) I figured I could push 30 non transcoded calls through one, but I've never had the ability to fully test it out. The max. I had going on one system was 20 calls. This box has 256MB of RAM. Asterisk 1.2.16, zaptel 1.2.15. It's running apache+php, sendmail, and asterisk. Boot it off flash and have it load an initrd.gz into RAM. Everything will run entirely from RAM - no writes to the flash at all! I can get everything inside a 48MB flash drive
* Asterisk 1.2 beta managed pretty well at SIPit: I ran Asterisk on a 1 GHz laptop and could easily handle 250 concurrent calls with re-invited RTP, That took about 9% of the CPU. With RTP codec conversion (ulaw-alaw, easy load) my poor laptop run at 99% load already around 50 calls...
* Celeron 1GHz with 2 Gigs of RAM that handles 72 DIDs, 24 connections to our traditional PBX, and is our incoming FX server. (Also running 1.0.9)
* Dual P3 1.13ghz, with 5 PSTN Channels via PRI -> G729 channels, has a constant load of 0.45
* I do have a dual 1.266 PIII with 2 GB of RAM that handles 75-85 concurrent SIP (GSM) sessions + 3 IAX2 trunks for a total of about 100 calls at the same time (using * 1.0.9). I also have this server set up for a file server (authentication using LDAP in a Win2K ADS domain).
* Intel P4 1.7G 512mg 20 gig HDD with 2 T400P boards for access bank and 60 analog phones; 24 channel PRI
* (Apr '03) chan_h323: Takes advantage of the codec pass-through feature of Asterisk (unlike chan_oh323), but has no jitter buffer. We simulated 125 concurrent calls setup in random (sub-15 second) intervals, using passthru, on a 500mhz P4 without causing more than a 5 second delay in call setup time. On that same machine we simulated 45 concurrent calls using GSM transcoding, again without a long delay in call setup time. We have also a few production systems (single P4 2.53 ghz, 2gig ram) in pass-thru mode with 3 T-1s of concurrent real traffic.
* Today, we were able to reach an astonishing 790 simultaneous audio playbacks. (sip to asterisk, any codec.) on a 350$ pc. Tests were done on we a pIV on 2.4ghz with 512mb ram. Unless you dont do cpu hungry tasks such as transcoding you can go as low as 1% idle cpu cycles without the slightest audio glitch in this test
* Celeron 2.4 GHz, 386 MB RAM, 1xT1 for (only) 10 phones
* 2.6 GHz Pentium4 800MHz bus w/ HyperThreading enabled, 2 GB RAM (however 1 GB really is sufficient): 40 concurrent SIP-to-ZAP calls (maybe more are possible): "Measured for about a 12 hour period and over 5000 total phone calls per day. With this server you can see the load average jump from 0.00 to 6.25 in a matter of a minute"
* g729 performance taken from the Digium web site: Internal testing with dual Intel� Xeon 1.8GHz processors allowed 60 concurrent calls. Dual Xeon 2.8GHz processors allowed 80 concurrent calls.
* "The load is extremely depandant upon what you are doing with it. For example, a simple IVR/Zap-T1-channels-only system can handle 10 times the number of consecutive calls of a SIP&Zap conference call system (at least in my experience)."
* MeetMe configs on single P4 (512M and 2G). I've seen no technical problems up to and over 30 attendees, all coming in via H.323 (chan_h323), using g.711u (no transcoding). Word of warning- above 10 people, a single misconfigured softphone attendee can create chaos. Based on load averages (at 25 people, single P4 with 2G ram and nothing else going on on the box, we see about a 0.5 load average), there's no reason why it wouldn't support 50 or 60 attendees before seeing problems.
* P4-3Ghz/1Gb RAM: Native format_mp3 for MoH running on FreeBSD 5.4 with Asterisk CVS HEAD (July 2005). mp3 decode quality is great... up to 70 simultaneous MoH (8khz 16bit mono mp3) calls with about 80% idle.
* (Aug 05) Pentium 4 (No HT) 3.0Ghz, 1 GB Ram. Handles 46 G.711 SIP calls while playing SayDigits(1234567890) to them all. Load average 0.43.
* We've been doing some benchmark experiments on a 3GHz HT box with 1GB of ram, mirrored traditional IDE disks. The box has a Digium quad-PRI, a TDM40B, a TDM22B and a Sirrix quad-BRI board in it. This box can run 120 active calls over 4 PRI spans. Its running MusicOnHold into 60 of the channels, playing various GSM prompts into the other 60. The "user" cpu usage is about 25%, the "system" cpu about 25% also. (I imagine the system cpu will go down if I remove the "extra" boards). I can add to that 5000 registered SIP peers and 5000 registered IAX2 peers - total of about 100 registration refreshes per second. That adds about 40% more user CPU and pretty much fills up CPU. Audio quality is still perfectly fine though, and PRI slips few and far between. Load average for the whole mix sits between 5 and 10. About 550Kb/s out and 400Kb/s out on the ethernet for the registration traffic.
* 3.2 Gig Pentium 4, HyperThreading (HT) turned off, Memory 1 Gig, no hard drive, running in Ramdrive, Memory usage never goes over 256Meg. I'm using asterisk with looping call test configs to play audio and using 3 of the same spec servers to pound calls through 1 server. I managed to get 350 concurrent calls through (g711, no transcoding) with perfect audio consistently with ~20% idle processor load. Anything above that and things start breaking up. Using Asterisk 1.2.6 I'm running into a limit of 276 SIP calls and no more. IAX calls can go 400+, so I test with combination 200+ SIP calls and the rest IAX and a combination of more and less SIP and IAX calls. With HT turned on, SMB loaded in the kernel gave ~20% performance increase, BUT, using 425+ channels gave very inconsistent results, choppy audio, calls dropped, no audio, and call setup time slowed.
* "Dual Xeon 3.06, 120 channels (60 calls) with H.323, G.729 using less than 10% CPU, no transcoding is being performed"
* We installed a quad xeon 3ghz which transcoded ~100 active channels (as a gateway). Take a look at the codec demands (in asterisk show codecs I believe) and scale from there. This box was 60% loaded - which is all we're comfortable with before latency goes too high.
* "Look for the recent 'capacity testing' thread. We've had some discussions on it, but so far the bottom line sounds like you won't be able to run more than 20-25 decent quality calls before asterisk dies when transcoding and H323 are involved." (note: maybe this applies to oh323? For h323 the tests shown at Astertest indicate that for high CPU codecs like g729, ilbc and speex the protocol doesn't matter, so h323, sip and iax should all perform the same here)
* "I read somewhere that one of our associates here has experienced about 45 calls when transcoding. The question becomes if this is all we can do with one server, what is the point of getting 4 E1s Digium card while one can never be able to use 120 channels transcoding from VOIP to TDM?"
* "My rule of thumb has been 100 G.729 channels for a dual 3.0ghz Xeon machine. Cost: around $42 per channel (I buy SCSI systems with RAID, and that includes the $10 charge for the G.729 license.) (Not including Digium 4 T1/E1 card) Your mileage may vary in both performance and price. Cost for an AS5300-style solution: around $110 per channel, and that's on the used market pricing plan."
* On my own testing I could get 200 simultaneous calls on a Xeon 2.4 using SIPP, each call was 10sec so the box had 20 incomming cps, obviously this was using SIP not Zap. Since I don't have another Xeon to put on my box how do MP scale ? I believe that I cannot get 400 calls for 2 Xeon but maybe 350.
* (Jan '06) Dual Xeon 2.8 GHz Intel Chassis with 1GB RAM: Running +-35 IAX2 channels out a 2 x PRI (E1) Digium Zap channels. Importantly the box is recording all the calls and logging all cdr's in a mysql DB.
* (Apr '05) Dell PowerEdge dual 3.2 GHZ XEON (32 bit), 2GB ram: It's configured using realtime-extensions / sipfriends / iaxfriends with a local mysql daemon, 80% of all calls are IAX <-> SIP calls with no codec transcoding and no jitterbuffering, and 20% of all calls are IAX <-> IAX native transferrred calls, again no codec translation. The box has no zap channels. Now, when I have a load of 100 simultaneous users calling (that means I have 200 simultaneous lines open of IAX and SIP calls (where 80% of those calls are IAX calls translated to SIP/RTP) then asterisk uses an average of about 30% to 35% processortime (divided over the processors) and mysqld then using about 1% average load .. so the maximum callers I can have is about 300 ..
* One very important thing to remember when you are talking about SIP-to-Zap calls in Asterisk is the processor spikes. Taken on average, a quad processor machine might be able to handle 200 concurrent Sip-to-Zap conversations, but the reality is that there is a 4x load spike that occurs at random times with Sip-to-Zap conversations that would kill your big box when one occurs.
* An Asterisk system can only handle a max. of 250 concurrent ZAP channels. This is due to the design limit (255) within the ZAP channel driver. __Update Sep 2005: That limit has been removed a LONG time ago. Zaptel provides another interface for opening device files past the ~250 or so that exist in /dev/zap.
* Mark Spencer on Mon, 2004-11-29: I've got IAXTel moved over to "realtime" but it's still very overloaded apparently causing long delays. There are currently 6000 registered users, over 1000 of which are typically actually registered to the iaxtel box at one time.
* (Oct 06) I am doing testing with SIPP tool. Now the thing is that asterisk is not able to handle more then 550 concurrent calls with call rate 100 call/sec (on my amd 64bit dual core machine with 2 gb ram). I am doing this with 'canreinvite=yes' mode so there is no issue of RTP traffic. I just want to astablish peer to peer call thru asterisk (I hang up calls after some time so this is including all invite and hangup related massages)
* (May 05) In my testing of CVS-HEAD I can get 5551+ sip "sessions" without media on asterisk without a problem (testing with only 1 SIP user). The load average is around 2-3. On a side note... on my 3ghz P4 HT box I can get 629 ulaw sip calls with media (verified) without a problem. The load average on the box was around 14 and it still sounded perfect... so if you had a dual 3.4 ghz Xeon box you should have ZERO problems doing a DS3 with asterisk. (That is if the interrupt is 1000 per second and not 28000 and its all ulaw) ... note that if you do not set the ulimit -n 100000 or something similar efore you start asterisk you'll run out of FD's around 151 calls.
* (May 05) But the real scalability wall I've seen is number of registered peers... That's what takes down a box (at least with IAX). I've heard reports of a Dual Xeon 3.2GHz not being able to handle even 1000 IAX peers. ... I managed to get about 2500 users online on one box by modifying iax2.h (reg expire changed from from 60 to 240 seconds) decent IAX clients will comply with that setting .. b.t.w. don't go higher, because many NAT gateways will close their dynamic NAT mappings after 300 secs, a few some even after 30 secs!
* (May 05) While you may not choose to put 10k users on Asterisk, I have. Many more, as a matter of fact. Some of these systems were simply media/application servers, while some handled registrations as well. While I agree that Asterisk needs some help on registration volumes and scaling, I'd not sell it short so quickly. At the moment, the only reason I still would use SER would be for the registration and call processing/loadbalance speed - Asterisk provides all that I need for back-end call processing.
* (Apr 05) Signate Telephony Server 5000�s 51 Gigabits per second I/O capacity sustains more than 5,000 Session Initiation Protocol (SIP) call streams per module using 80% of the capacity of a gigabit network. Up to eight uniquely scalable modules can share a 6.4GB/second interconnect based on SGI technology that enables a coordinated system supporting over 40,000 simultaneous call streams.
* CTC Connections (www.ctcconnections.com) provides an full features Multi-Tenant asterisk cluster system with load balancing, high availability, DNS SRV with ability to remove a server from the cluster at anytime without informing the cluster management system. It scales upwards of 20,000 + calls with media pass trough and 100,000+ with no media pass through.



Providers
VON magazine Dec. 2005: For 2004 Voicepulse announced having run 10 million minutes of IAX traffic. In Dec. 2005 that is about the montly amount of their IAX traffic. An Asterisk-based ITSP in Brasil claims 100.000 users.

Call centers

* (Nov 05) We use boxes for outbound dial setup. I don't think I'd attempt to go past 4 E1s (120 lines) which would be 5 T1s. If the box is running hard like that the load average will sit around 7 or so, still fair amount of spare CPU but there is no way an Asterisk box will run well with the CPU anything like maxed out. Our site has 250 agents or so and the work is currently spread over 6 servers with 3 E1 PRIs on each. Each box makes around 3000 to 5000 call attempts per hour.


CPU load graphs
On this link http://quasar.sourceforge.net/bench.htm you can find the article from which you can obtain CPU loading depending on number of immediate zap-to-sip calls information.
Lessons learned:

* with zaptel software echo cancellation switched on the number of calls a box can take is cut in half (measured with transcoding SIP <--> E1)
* without echo cancellation up to 240 concurrent SIP-to-E1 calls are estimated on a 3 GHz Debian system with 2.6 kernel


Determining limits
What really matters is the load on your system and the type of channels you are using. Zap channels are more reliable at extremely high loads than any VOIP channel. Manager Actions can fail at extremely high loads. All VOIP channels will suffer quality loss at extremely high loads. By extremely high loads I mean about 5.00 and higher of system load (10.00 on dual CPU machine) There are other factors, but this has proven fairly reliable for us. System Load by channels in use is different from server to server depending on the CPU/RAM/Motherboard and other application running on the server.

Digium Hardware (July 2005)
Digium cards are now smarter! Digium is proud to announce second-generation firmware for Digium multispan TE-series hardware PCI cards. This firmware provides several new features. These features allow Digium cards to do more work in hardware and leaving the server's CPU open to do other tasks, all of which contribute to less CPU overhead, and therefore improved performance, and more channels running through a single PC or server.
... This is a 67% increase over previous benchmarks ...

The new firmware solution relies less on the server's CPU for the operation of the Digium card, therefore reducing CPU overhead and improving performance and increasing channel processing. For example, a dual-processor, 3-GHz 800FSB Intel XEON server with 1MB L2 cache, and a Digium 4-port T1/E1 card, can now convert 120 SIP channels with G.729 compression to the PSTN without Digium's echo cancellation module and 150 channels with G.729 compression with the Digium echo cancellation module.



If you have very high traffic volume
Scott Stingel www.evtmedia.com writes:
My largest client has a configuration (15 asterisk boxes) that takes up to 1800 simultaneous IVR calls, supplied by a large private DMS-100 PBX over 60 E1 spans. The calls typically are very short (5 seconds).

* I suggest: Use 1 processor (chassis) (example: 2.8Ghz P4) for every 4 E1's (example: one TE405P card) when you have a large amount of call setup traffic. I tried a dual-Xeon to see if I could handle two TE410P's instead of one in a pure IVR (Zap) environment, but many calls were dropped under full load. So I've now decided just to put one TE410 or TE405 in a box as a maximum. If you are doing a limited amount of transcoding, and don't have a lot of call setup load, you might get more than 120 channels in a system, but be cautious! Also, I haven't re-tested using the new Digium firmware, see above)
* Try to do as much as possible using the dialplan (extensions.conf). AGI scripts are very powerful but cost you in performance when you're running large numbers of lines. (more info, see: designers' FAQ #2)
* For the processor to use, see the Wiki for suggestions. I've used P4 and Xeon based Tyan and Intel motherboards with success.


512 simultaneous SIP-to-SIP calls with Digital Recording How to use a RAM disk to eliminate the I/O bottleneck associated with digitally recording calls via the Monitor application Hardware for Asterisk: Quad Xeon MP CPU at 3.16 GHz with 20 GB RAM (Dell Poweredge 6850) The 512 calls was also the only load on the system during testing. We are actually using the box in production now and with the additional load of agents, announcements, MOH, unattended monitoring, NFS transfers of the leg files to a remote box for mixing, etc. it looks like a more realistic number is somewhere between 250-300 simultaneous calls. For instance, at this moment we have 45 calls in queue and 116 active calls (resulting in roughly 250 leg files being generated) and the box is about 65% idle. I'm assuming that the scaling will be somewhere between linear and exponential, which is where I'm deriving my projected numbers from.

* Original posting
* Follow-Up



Load testing - Zap
Scott Stingel: You can build Zap load testers for asterisk, using the outgoing call facility (see sample.call). What I've found:

(a) I don't think it manages queuing very well if there are a limited amount of outbound resources. For example, if you define a group ("g9" for example) of two lines for use in outbound calling, it works fine if the number of outbound calls to be made at any moment never exceeds 2. A third call file in this example, will be grabbed by asterisk, but will fail immediately. So I had to create a mechanism in my Perl script to ensure that the outbound calls actually completed - no easy feat since I couldn't tell when that occurs from the perl script too easily.

(b) There was a problem dumping more than about 12-15 outbound calls at once in the outgoing directory, even if there were plenty of channels available to make the calls. Asterisk would grab them but would not process some of them. This is a load-testing scenario, and not too common I realise, but something to be aware of. It didn't seem to matter if I switched to a more powerful processor. Note that this problem may have been fixed (see below).

Jesse Janzer: Just a quick mention, we implemented a generic paging system and regularly dump more than 30 files into the outgoing spool (during an agi script) at once to accomplish the page, never had a problem...

The outgoing facility works fine at lower call volumes, if you stagger the creation of the files in the outgoing directory.

Tip: You can manage when the call starts by setting the mtime of the blah.call file. See the sample script at http://www.fnords.org/~eric/asterisk

Quad T1 card performance testing - Digium vs. Sangoma


Load Testing - IP
Juanjo: Remember to increase the max number of file descriptors and RTP ports.
Using SIPP

Test1:
I have reached 1500 concurrent SIP/GSM calls against the Echo application at 50cps of 10s duration on a Xeon 2.4Ghz single cpu. Anyway I�m trying to make a more real scenario since I believe Echo application doesn�t process audio too much just copies it.
When testing I monitor Asterisk against a 7960 calling MusicOnHold at about 500-600 concurrent calls I start to have audio dropouts.

Test2:
I set up a UAC which was generating 10cps of 10s duration and the corresponding UAS which received this calls. The command used to generate the calls which were GSM was:
sipp 192.168.65.100 -s 700 -sf uac.xml -d 10000 -r 10

The command to receive the calls on another box was:
sipp -sf uas.xml

I�m using my own uac.xml and uas.xml just to talk GSM, I monitored using my 7960 against a MusicOnHold. On my Xeon 2.4Ghz no call were dropped and no audio problems. Note that I use nat=yes and canreinvite=no for UAC/UAS in Asterisk config sip.conf. Older versions of SIPP didn�t support authentication.

* For 40cps of 10sec duration (which means 400 concurrent calls) it works just fine for me.
* At 50cps of 10sec duration no call are dropped but I start seeing some SIP packets retransmitions.
* At 60cps lots of call gets dropped but the funny thing is that the audio through the 7960 isn�t much affected.


However: I'm not seeing any RTP traffic generated from SIPP UAC which means that * won't generate any traffic at all since it recover the clock from the received stream AFAIK. So maybe the tests aren't measuring the whole * capacity just the SIP stack. One solution is to end the calls on a MusicOnHold extension but passing through an intermediate * which is the measured one.
A cleaner solution for Asterisk 1.2, however, is outlined here: Using SIPP to stress-test Asterisk. Finally bug/patch 5374 should fix this for Asterisk 1.4 and later.

SIP testing (May 2007)
I've drawn three conclusions from this set of benchmarks (uLaw only, no transcoding, Asterisk business edition: ABE-B.1-3).
1. At low call volumes, the dual-core server outperforms the single-core server by the expected margin.
2. Calls bridged to an agent are more CPU intensive than calls listening to audio via the Playback() application or calls in queue. This is expected, because they involve more SIP channels and more work is done on the RTP frames (bridging, recording, etc.).
3. For all call types, the majority of the CPU time is spent in the kernel (servicing system calls, etc.). I've observed this to be true at all call volumes on our production server, with the ratio sometimes in the range of 20 to 1. This may suggest that the popular perception that Asterisk doesn't scale well because of its extensive use of linked lists doesn't tell the whole story.

Notes

* Transcoding is very resource hungry (CPU intensive); the same applies to echo cancellation
* g729 codecs licenses can be purchased for Asterisk, whereas g723.1 licenses are not available and therefore Asterisk can only provide pass-thru functionality for g723.1
* IAX trunking can help to significantly reduce network traffic for 3 or more simultaneous calls between two Asterisk machines
* Hypterthreading is not well implemented in the 2.4.x kernels; the newer 2.6.x versions are more advisable to be used if HT is desired


Erlang tables
Calculating the number of external phone lines needed

* http://www.erlang.com/calculator/
* http://personal.telefonica.terra.es/web/vr/erlang/eng/mtaula.htm
* http://www.itu.int/itudoc/itu-d/dept/psp/ssb/planitu/plandoc/erlangt.html
* http://www.ct-labs.com/Dr%20C/q27.htm