The "200 OK" message returned from the UAC will need to be manipulated too as above. Thus a NAT handling code must be included in the section on_reply_route[]
. A flag was set (7) on the INVITE message to indicate that this transaction is to or from a client behind a NAT device. In the reply route we will check this flag and if it is set we will have to fix the contact, and have the RTP forced to Media Relay server. It is important to emphasize that the "200 OK" message contains an SDP header describing the session parameters agreed.
Building Telephony Systems with OpenSER
Building Telephony Systems with OpenSER
Overview of this book
Table of Contents (18 chapters)
Building Telephony Systems with OpenSER
Credits
About the Author
About the Reviewers
Preface
Free Chapter
Introduction to SIP
The SIP Express Router
OpenSER Installation
OpenSER Standard Configuration
Adding Authentication with MySQL
Building the User Portal with SerMyAdmin
Connectivity to the PSTN
Call Forward and Voice Mail
SIP NAT Traversal
OpenSER Accounting and Billing
Troubleshooting Tools
After Words
Index
Customer Reviews