如何自定义freeswitch-cdr
关于cdr,只要涉及freeswitch,都关心cdr存储和处理。
如果现有的cdr你自己不满意,如何自定义呢?
我们参考freeswitch mod_json_cdr 来看看源码如何实现的。
源码只有几百行,特别适合初学者学习。
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2014, Anthony Minessale II
*
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not