Skype for Asterisk™ Administrator Manual
Total Page:16
File Type:pdf, Size:1020Kb
Skype for Asterisk™ Administrator Manual 601-00017 Rev. B2 Digium, Inc. 445 Jan Davis Drive NW Huntsville, AL 35806 United States Main Number: 1.256.428.6000 Tech Support: 1.256.428.6161 U.S. Toll Free: 1.877.344.4861 Sales: 1.256.428.6262 www.asterisk.org www.digium.com www.asterisknow.org © Digium®, Inc. 2010 All rights reserved. No part of this publication may be copied, distributed, transmitted, transcribed, stored in a retrieval system, or translated into any human or computer language without the prior written permission of Digium, Inc. Digium, Inc. has made every effort to ensure that the instructions contained in this document are adequate and error free. The manufacturer will, if necessary, explain issues that may not be covered by this documentation. The manufacturer’s liability for any errors in the documents is limited to the correction of errors and the aforementioned advisory services. This document has been prepared for use by professional and properly trained personnel, and the customer assumes full responsibility when using it. Adobe and Acrobat are registered trademarks, and Acrobat Reader is a trademark of Adobe Systems Incorporated. Asterisk, Digium, Switchvox, and AsteriskNOW are registered trademarks and Asterisk Business Edition, AsteriskGUI, and Asterisk Appliance are trademarks of Digium, Inc. Any other trademarks mentioned in the document are the property of their respective owners. Digium, Inc. Page 2 TABLE OF CONTENTS Chapter 1: Overview.................................................................................................................6 1.1 What is Asterisk®?..........................................................................................................9 1.2 Asterisk as a Phone Switch (PBX)..................................................................................9 1.3 Asterisk as a Gateway.....................................................................................................9 1.4 Asterisk as a Feature/Media Server................................................................................9 1.5 Asterisk in the Call Center.............................................................................................10 1.6 Asterisk in the Network..................................................................................................10 1.7 Asterisk Everywhere......................................................................................................10 Chapter 2: Installation............................................................................................................11 2.1 Installation Overview......................................................................................................12 2.2 Register Skype for Asterisk...........................................................................................13 2.2.1 Open Source Asterisk............................................................................................14 2.2.2 AsteriskNOW..........................................................................................................14 2.3 Install Skype for Asterisk...............................................................................................15 2.3.1 Open Source Asterisk............................................................................................15 2.3.2 AsteriskNOW..........................................................................................................16 2.4 Digium G.729 Software Codec Module.........................................................................17 2.5 Load Skype for Asterisk Modules..................................................................................18 2.6 Verify Installation...........................................................................................................20 2.7 Backup License File.......................................................................................................20 Chapter 3: Configuration........................................................................................................21 3.1 chan_skype.conf............................................................................................................22 3.2 Dial Technology.............................................................................................................26 3.2.1 Outgoing Calls........................................................................................................26 3.2.2 Incoming Calls........................................................................................................27 3.3 Functions.......................................................................................................................28 Digium, Inc. Page 3 3.3.1 Channel Function...................................................................................................28 3.3.2 CallerID Function....................................................................................................30 3.3.3 Skype Call Property Function.................................................................................31 3.3.4 Skype Account Property Function..........................................................................33 3.3.5 Skype Buddy Functions..........................................................................................36 3.3.6 Skype Chat Function..............................................................................................37 3.4 Hints...............................................................................................................................39 3.5 Manager Commands.....................................................................................................41 3.5.1 Skype Account Property.........................................................................................41 3.5.2 Skype Add Buddy...................................................................................................42 3.5.3 Skype Remove Buddy............................................................................................42 3.5.4 Skype Buddies.......................................................................................................43 3.5.5 Skype Buddy..........................................................................................................43 3.5.6 Skype Chat Send...................................................................................................44 Chapter 4: Troubleshooting...................................................................................................45 4.1 Manager Events.............................................................................................................45 4.1.1 Skype Account Status Events................................................................................45 4.1.2 Skype Buddy Status Events...................................................................................46 4.1.3 Skype Chat Message Events.................................................................................47 4.2 Asterisk Command Line Interface (CLI)........................................................................48 4.2.1 skype login user <username>................................................................................48 4.2.2 skype logoff user <username>...............................................................................48 4.2.3 skype show buddies <username>..........................................................................48 4.2.4 skype set debug off [user] [<username>]...............................................................49 4.2.5 skype set debug on [user] [<username>]...............................................................49 4.2.6 skype show hostid..................................................................................................49 4.2.7 skype show licenses...............................................................................................49 4.2.8 skype show settings...............................................................................................49 4.2.9 skype show users...................................................................................................49 4.2.10 skype show user <username>.............................................................................49 4.2.11 skype set vedebug off <username>.....................................................................49 Digium, Inc. Page 4 4.2.12 skype set vedebug on <username>.....................................................................49 4.2.13 skype show version..............................................................................................50 4.3 Frequently Asked Questions.........................................................................................51 Appendix A: Glossary and Acronyms..................................................................................58 Appendix B: DIGIUM END-USER PURCHASE AND LICENSE AGREEMENT....................69 Digium, Inc. Page 5 Chapter 1: Overview Digium's Skype for Asterisk™ (SfA) is an add-on channel driver for Asterisk based systems. Adding Skype for Asterisk to any Asterisk server enables complete access to the Skype community, including low cost PSTN access and free calling to over 440+ million Skype users. Skype for Asterisk integrates seamlessly with the Skype community. Skype for Asterisk performance is superior to the proxy or gateway products available for connecting to the Skype community. There