Using mod_cdr_csv, it is easy to create CDRs for registered users. However, how can we get CDRs for external gateways? For example, FreeSWITCH is configured to receive calls from one gateway and send them out through another. In this scenario, when neither inbound nor outbound gateway registers itself to FreeSWITCH, how can we generate and store CDRs for inbound gateway? <br>
<br>Similarly, let's say a SIP provider sends a call meant for a registered user. For example, if a cell phone calls 6175550000, it is routed through the telephone network to the SIP provider. This provider routes the call to FreeSWITCH, which looks up in its dial plan that this number should be routed to extension (or registered user) 1000. There are no CDRs generated for either the SIP provider's gateway or the registered user in this case.<br>
<br>In both these scenarios, if a call is inbound to FreeSWITCH but has not been generated by a registered user, mod_cdr_csv does not create CDRs. I have even tried to set the following parameter in cdr_csv.conf.xml<span class="ul-threaded" style="margin: 0.5em 0pt 0pt -20px;"><span class="text-cell"><span> but it didn't help.<br>
<br><param name="legs" value="ab"/></span></span></span><br><br>My question is this: can mod_cdr_csv generate CDRs for inbound calls from sources other than registered users? If it can't, how can this be achieved?<br>