[Freeswitch-users] CDRs for Gateways

Code Ghar codeghar at gmail.com
Thu May 20 20:25:41 PDT 2010


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?

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.

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      but it
didn't help.

<param name="legs" value="ab"/>

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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100520/cc5d406d/attachment-0001.html 


More information about the FreeSWITCH-users mailing list