Installation d'un gestionnaire d'appels Asterisk dans une PME au ...

1,121 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,121
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
53
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Installation d'un gestionnaire d'appels Asterisk dans une PME au ...

  1. 1. Voice over Internet Protocol (VoIP) and Asterisk HOUNGUE Pélagie Contact : [email_address]
  2. 2. Outline <ul><li>Introduction </li></ul><ul><li>Enterprise Telephony : PABX </li></ul><ul><li>The IPBX </li></ul><ul><li>What is Asterisk ? </li></ul><ul><li>Material and software recommendations for the deployment of Asterisk solutions </li></ul><ul><li>Different scenarios for Asterisk solution deployment </li></ul><ul><li>Practical case of IMSP in Benin </li></ul><ul><li>Conclusion </li></ul>
  3. 3. Introduction <ul><li>Why enterprises need telephony? </li></ul><ul><ul><ul><li>Telephony is indispensable in conducting business and to be competitive </li></ul></ul></ul><ul><ul><ul><li>So Companies spend lot of money to buy their own telephony switch (PABX) </li></ul></ul></ul>
  4. 4. Enterprise Telephony : PABX <ul><li>Presentation of a PABX </li></ul><ul><ul><li>Definition : it is a private telephony switch. </li></ul></ul><ul><ul><li>Common Functionalities </li></ul></ul><ul><ul><ul><li>Direct dialing-in </li></ul></ul></ul><ul><ul><ul><li>Transfer call </li></ul></ul></ul><ul><ul><ul><li>Connection to PSTN </li></ul></ul></ul><ul><ul><ul><li>etc </li></ul></ul></ul><ul><ul><li>Cost </li></ul></ul><ul><ul><ul><li>between $1300 et $148000 (from studies conducted in Benin) </li></ul></ul></ul>
  5. 5. <ul><li>Problematic </li></ul><ul><ul><li>Extremely high cost </li></ul></ul><ul><ul><li>Use of proprietary protocols </li></ul></ul><ul><li>Interesting and new perspectives introduced by VoIP emergence: </li></ul><ul><ul><li>Possibility for the deployment enterprise telephony infrastructure using software (IPBX) </li></ul></ul>Enterprise Telephony : PABX (Con’t)
  6. 6. VoIP <ul><li>Definition : carry a voice on data network using IP packets. </li></ul><ul><li>Components </li></ul>
  7. 7. The IPBX <ul><li>What is a IPBX? </li></ul><ul><ul><li>Software which can be installed on a PC or a server and acting as an auto-switch. </li></ul></ul><ul><li>Example of IPBX </li></ul><ul><ul><li>Cisco Call Manager </li></ul></ul><ul><ul><li>SipX </li></ul></ul><ul><ul><li>OpenSER </li></ul></ul><ul><ul><li>Asterisk </li></ul></ul><ul><ul><li>And many more. </li></ul></ul>
  8. 8. What is Asterisk ? (Con’t) <ul><li>Functionalities </li></ul><ul><ul><li>Voicemail, conference call, put in wait of calls, transfer call, call forwarding, etc. </li></ul></ul><ul><li>Supported Protocols and codecs </li></ul><ul><ul><li>Protocols :H.323, SIP, IAX, MGCP, Skinny, etc. </li></ul></ul><ul><ul><li>Codecs : G711, G723, G726 (ADPCM ), Speek, GSM, etc. </li></ul></ul>
  9. 9. Signalling Protocols <ul><li>H.323 </li></ul><ul><ul><li>Standard published by ITU in 1996. </li></ul></ul><ul><ul><li>Stack of protocols </li></ul></ul><ul><ul><ul><li>H.225 RAS signaling, </li></ul></ul></ul><ul><ul><ul><li>H.225.0 Call signaling (Q.931), </li></ul></ul></ul><ul><ul><ul><li>H.245 Control signaling </li></ul></ul></ul><ul><ul><li>H.323 elements: </li></ul></ul><ul><ul><ul><li>Terminals </li></ul></ul></ul><ul><ul><ul><li>Gatekeepers </li></ul></ul></ul><ul><ul><ul><li>Gateways </li></ul></ul></ul><ul><ul><ul><li>Multiconference Unit (MCU) </li></ul></ul></ul>
  10. 10. Signalling Protocols <ul><li>SIP (Session Initiation Protocol) </li></ul><ul><ul><li>Created by the Internet Engineering Task Force (IETF) in 1999. RFC 3261 </li></ul></ul><ul><ul><li>Based on HTTP and SMTP </li></ul></ul><ul><ul><ul><li>SDP (Session Description protocol) </li></ul></ul></ul><ul><ul><ul><li>RTP/RTCP </li></ul></ul></ul><ul><ul><li>SIP elements: </li></ul></ul><ul><ul><ul><li>User Agents </li></ul></ul></ul><ul><ul><ul><li>Proxy Servers </li></ul></ul></ul>
  11. 11. Example of Call transaction with SIP
  12. 12. Signalling Protocols <ul><li>IAX protocols </li></ul><ul><ul><li>provide control and transmission of voip data between Asterisk servers </li></ul></ul><ul><ul><li>main goals of </li></ul></ul><ul><ul><ul><li>Minimize bandwidth usage </li></ul></ul></ul><ul><ul><ul><li>Avoid NAT problems </li></ul></ul></ul><ul><ul><ul><li>Support the ability to transmit dialplan information </li></ul></ul></ul>
  13. 13. Asterisk’s Implementation <ul><li>Package sources for installation </li></ul><ul><ul><ul><li>Asterisk main program ( Asterisk 1.4.19 ; 2008 Apr 02) </li></ul></ul></ul><ul><ul><ul><li>Zapata Telephony Driver (zaptel) </li></ul></ul></ul><ul><ul><ul><li>PRI librairies (libpri) </li></ul></ul></ul><ul><ul><ul><li>Asterisk Sounds Package </li></ul></ul></ul>
  14. 14. Asterisk’s Implementation <ul><li>Download Files on /usr/src </li></ul><ul><li>Extractions : # tar zxvf file_name.tar.gz </li></ul><ul><li>Compile Zaptel, libpri and asterisk </li></ul><ul><ul><li>#Cd /usr/src/name_directory </li></ul></ul><ul><ul><li># make clean </li></ul></ul><ul><ul><li># make </li></ul></ul><ul><ul><li># make install </li></ul></ul><ul><ul><li># make config </li></ul></ul>
  15. 15. Asterisk’s Implementation <ul><li>Dialplan </li></ul><ul><ul><li>extensions.conf in /etc/asterisk/ </li></ul></ul><ul><ul><li>Fours mains parts </li></ul></ul><ul><ul><ul><li>Contexts </li></ul></ul></ul><ul><ul><ul><ul><li>[general] </li></ul></ul></ul></ul><ul><ul><ul><li>Extensions </li></ul></ul></ul><ul><ul><ul><ul><li>exten => 2223,1,Answer() </li></ul></ul></ul></ul><ul><ul><ul><li>Priorities </li></ul></ul></ul><ul><ul><ul><ul><li>exten => 2223,1,Answer() </li></ul></ul></ul></ul><ul><ul><ul><ul><li>exten => 2223,2,hangup() </li></ul></ul></ul></ul><ul><ul><ul><li>Applications </li></ul></ul></ul><ul><ul><ul><ul><li>Answer() </li></ul></ul></ul></ul><ul><ul><ul><ul><li>Hangup() </li></ul></ul></ul></ul>
  16. 16. Asterisk’s Implementation <ul><li>Example of Content of sip.conf </li></ul><ul><li>[general] </li></ul><ul><ul><li>bindport=5060 </li></ul></ul><ul><ul><li>disallow=all </li></ul></ul><ul><ul><li>allow=alaw </li></ul></ul><ul><ul><li>allow=ulaw </li></ul></ul><ul><ul><li>allow=gsm </li></ul></ul><ul><ul><li>language=fr </li></ul></ul><ul><li>[500] </li></ul><ul><ul><li>type=friend </li></ul></ul><ul><ul><li>host=dynamic </li></ul></ul><ul><ul><li>username=pelagie </li></ul></ul><ul><ul><li>secret=pelagie </li></ul></ul><ul><ul><li>callerid=&quot;HOUNGUE Pelagie&quot; <500> </li></ul></ul><ul><ul><li>context=interne  </li></ul></ul><ul><ul><li>account_code=pelagie </li></ul></ul><ul><ul><li>callgroup=1 </li></ul></ul>
  17. 17. Material and software recommendations Hardware and Software recommendations
  18. 18. Material and software recommendations (Con’t) Telephony hardware recommendations
  19. 19. Different scenarios for Asterisk solution deployment <ul><li>Suggested architectures </li></ul><ul><ul><li>Asterisk server behind PABX Architecture </li></ul></ul>
  20. 20. Different scenarios for Asterisk solution deployment (con’t) <ul><li>Suggested architectures </li></ul><ul><li>Asterisk server in front of the PABX architecture </li></ul>
  21. 21. Different scenarios for Asterisk solution deployment (con’t) <ul><li>Suggested architectures </li></ul><ul><ul><li>Pure VOIP architecture </li></ul></ul>
  22. 22. Different scenarios for Asterisk solution deployment (Con’t) <ul><li>Suggested architectures </li></ul><ul><ul><li>Interconnexion of </li></ul></ul><ul><ul><li>multi sites enterprises </li></ul></ul>
  23. 23. Different scenarios for Asterisk solution deployment (Con’t) <ul><li>Suggested architectures </li></ul><ul><ul><li>Interconnexion of multi sites enterprises </li></ul></ul>
  24. 24. Pratical case of IMSP at Benin <ul><li>Choice of the pure VoIP architecture </li></ul><ul><li>Hardware : PC with linux CentOs distribution </li></ul><ul><li>Some deployed services </li></ul><ul><ul><ul><li>Call Detail Record </li></ul></ul></ul><ul><ul><ul><li>Call Transfer </li></ul></ul></ul><ul><ul><ul><li>Service of presence </li></ul></ul></ul><ul><ul><ul><li>Call Parking </li></ul></ul></ul><ul><ul><ul><li>Conference </li></ul></ul></ul><ul><ul><ul><li>Voicemail </li></ul></ul></ul><ul><ul><ul><li>Access voicemail box using web interface </li></ul></ul></ul><ul><ul><ul><li>… </li></ul></ul></ul>
  25. 25. Conclusion <ul><ul><li>Asterisk presents many advantages for Africa Small and Medium enterprises. These advantages are : </li></ul></ul><ul><ul><ul><li>Cost reduction for enterprise telephony deployment </li></ul></ul></ul><ul><ul><ul><li>Easy administration and custom management of the IPBX </li></ul></ul></ul><ul><ul><ul><li>Mobility and remote work </li></ul></ul></ul><ul><ul><ul><li>Asterisk facility to integrate information system (Customer Relationship Management) </li></ul></ul></ul><ul><ul><ul><li>Etc. </li></ul></ul></ul>
  26. 26. REFERENCES <ul><li>http://www.voip-info.org/ </li></ul><ul><li>www.asterisk.org </li></ul><ul><li>www.digium.com </li></ul><ul><li>Asterisk : The future of Telephony , Jim Van, Jared Smith, Leif Madsen </li></ul>
  27. 27. <ul><li>Thank You </li></ul>

×