Summary

In this chapter, you learned many new concepts regarding dialogs. To use them is relatively simple: you have to enable the module and create the dialog using the create_dialog() function. Make sure that you have understood the concept of dialog matching, which is key to making it work and understanding the possible issues. Dialog variables and flags are useful when you need to persist variables from an initial request to a sequential request. To count calls by the domain, caller, or any other parameter, use the profiling feature. You also learned how to send commands and generate statistics via the MI interface. Overall, this chapter is very important, so do not forget the advanced features such as the SIP session timers, dialog validation, ...

Get Building Telephony Systems with OpenSIPS - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.