资源说明:able of Contents
Preface 1
Chapter 1: Routing Calls 5
Introduction 5
Internal calls 8
Incoming DID calls 10
Outgoing calls 11
Ringing multiple endpoints simultaneously 13
Ringing multiple endpoints sequentially (simple failover) 15
Advanced multiple endpoint calling with enterprise originate 19
Time of day routing 22
Manipulating To: headers on registered endpoints to reflect DID numbers 26
Chapter 2: Connecting Telephones and Service Providers 29
Introduction 29
Configuring a SIP phone to register with FreeSWITCH 30
Connecting audio devices with PortAudio 33
Using FreeSWITCH as a softphone 36
Configuring a SIP gateway 38
Configuring Google Voice 42
Codec configuration 43
Chapter 3: Processing Call Detail Records 47
Introduction 47
Using CSV CDRs 47
Using XML CDRs 51
Inserting CDRs into a backend database 53
Using a web server to handle XML CDRs 56
Using the event socket to handle CDRs 59
ii
Table of Contents
Chapter 4: External Control 63
Introduction 63
Getting familiar with the fs_cli interface 64
Setting up the event socket library 68
Establishing an inbound event socket connection 69
Establishing an outbound event socket connection 72
Using fs_ivrd to manage outbound connections 76
Filtering events 79
Launching a call with an inbound event socket connection 81
Using the ESL connection object for call control 86
Using the built-in web interface 89
Chapter 5: PBX Functionality 93
Introduction 93
Creating users 94
Accessing voicemail 96
Company directory 98
Using phrase macros to build sound prompts 100
Creating XML IVR menus 103
Music on hold 107
Creating conferences 110
Sending faxes 112
Receiving faxes 115
Basic text-to-speech with mod_flite 118
Advanced text-to-speech with mod_tts_commandline 120
Listening to live calls with telecast 124
Recording calls 125
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。