Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Mastering FreeSWITCH

You're reading from   Mastering FreeSWITCH Advanced tips and tricks for advanced multimedia communication

Arrow left icon
Product type Paperback
Published in Jul 2016
Publisher Packt
ISBN-13 9781784398880
Length 300 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Authors (8):
Arrow left icon
Russell Treleaven Russell Treleaven
Author Profile Icon Russell Treleaven
Russell Treleaven
Seven Du Seven Du
Author Profile Icon Seven Du
Seven Du
 Schreiber Schreiber
Author Profile Icon Schreiber
Schreiber
Ken Rice Ken Rice
Author Profile Icon Ken Rice
Ken Rice
Mike Jerris Mike Jerris
Author Profile Icon Mike Jerris
Mike Jerris
Florent Krieg Florent Krieg
Author Profile Icon Florent Krieg
Florent Krieg
Kalyani Kulkarni Kalyani Kulkarni
Author Profile Icon Kalyani Kulkarni
Kalyani Kulkarni
Charles Bujold Charles Bujold
Author Profile Icon Charles Bujold
Charles Bujold
+4 more Show less
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Mastering FreeSWITCH
Credits
About the Authors
About the Reviewers
Contributors
www.PacktPub.com
Preface
1. Typical Voice Uses for FreeSWITCH FREE CHAPTER 2. Deploying FreeSWITCH 3. ITSP and Voice Codecs Optimization 4. VoIP Security 5. Audio File and Streaming Formats, Music on Hold, Recording Calls 6. PSTN and TDM 7. WebRTC and Mod_Verto 8. Audio and Video Conferencing 9. Faxing and T38 10. Advanced IVR with Lua 11. Write Your FreeSWITCH Module in C 12. Tracing and Debugging VoIP 13. Homer, Monitoring and Troubleshooting Your Communication Platform Index

Developing a module


As we commoners always do, and which sets us apart from Jedis such as Anthony Minessale II, we start developing our new FreeSWITCH module by copying from a working one.

You can start by copying the one I'm presenting here, mod_example. I have started copying mod_skel, removing complex things from it, then I added simple things. I like simple things.

You copy the entire directory and rename it, you delete Makefile.in and Makefile (for example, you only leave and edit Makefile.am) and you rename all occurrences of the same name in each of the files contained in that directory. In my case, mod_skel.c was renamed mod_example, and all instances of skel were modified to example inside all other files. At the end of this process, if you grep in the new directory, you don't find any more mention of skel (the original module name).

You then go in the main FreeSWITCH sources directory, edit modules.conf file, and add a line for your new module. After that, from that same main sources...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime
Visually different images