Hi David<br><br>I looked at what you suggested. Before your suggestion, in /usr/local/freeswitch/conf/autoload_configs/cdr_csv.conf file, I had the following lines<br><br><br><!-- Only log in Master.csv --><br><!--<param name="master-file-only" value="true"/>--><br>
<br>After your suggestion, I changed it to <br><br><!-- Only log in Master.csv --><br>
<!--<param name="master-file-only" value="true"/>--><br><br>and then did a reloadxml. Now all CDRs were created in /usr/local/freeswitch/log/cdr-csv/Master.csv and CDRs for inbound calls from unregistered sources (i.e. external gateways) were also created in this file. Thanks for your help.<br>
<br><br><br>Code,<br><br>I think you have a major issue or configuration error with your FS <br>setup.<br>FS, as any B2BUA, generates a CDR for any inbound leg, either from a <br>registered user or from a non-registered gateway.<br>
It doesn't care where it comes from, it just does it.<br>I can barely imagine a softswitch that would not write the CDR <br>matching a call that was routed through it.<br><br>The CDR for the outbound leg is optional.<br>
<br>Can you confirm you are looking in Master.csv ?<br><br>David Ponzone Direction Technique<br>email: david.ponzone at <a href="http://ipeva.fr">ipeva.fr</a><br>tel: 01 74 03 18 97<br>gsm: 06 66 98 76 34<br><br>Service Client IPeva<br>
tel: 0811 46 26 26<br><a href="http://www.ipeva.fr">www.ipeva.fr</a> - <a href="http://www.ipeva-studio.com">www.ipeva-studio.com</a><br><br>Ce message et toutes les pièces jointes sont confidentiels et établis <br>
à l'intention exclusive de ses destinataires. Toute utilisation ou <br>diffusion non autorisée est interdite. Tout message électronique est <br>susceptible d'altération. IPeva décline toute responsabilité au titre <br>
de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes <br>pas destinataire de ce message, merci de le détruire immédiatement et <br>d'avertir l'expéditeur.<br><br><br><br><br>Le 21/05/2010 à 05:25, Code Ghar a écrit :<br>
<br>> Using mod_cdr_csv, it is easy to create CDRs for registered users. <br>> However, how can we get CDRs for external gateways? For example, <br>> FreeSWITCH is configured to receive calls from one gateway and send <br>
> them out through another. In this scenario, when neither inbound nor <br>> outbound gateway registers itself to FreeSWITCH, how can we generate <br>> and store CDRs for inbound gateway?<br>><br>> Similarly, let's say a SIP provider sends a call meant for a <br>
> registered user. For example, if a cell phone calls 6175550000, it <br>> is routed through the telephone network to the SIP provider. This <br>> provider routes the call to FreeSWITCH, which looks up in its dial <br>
> plan that this number should be routed to extension (or registered <br>> user) 1000. There are no CDRs generated for either the SIP <br>> 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 <br>> not been generated by a registered user, mod_cdr_csv does not create <br>> CDRs. I have even tried to set the following parameter in <br>
> cdr_csv.conf.xml but it didn't help.<br>><br>> <param name="legs" value="ab"/><br>><br>> My question is this: can mod_cdr_csv generate CDRs for inbound calls <br>> from sources other than registered users? If it can't, how can this <br>
> be achieved?<br>> _______________________________________________<br>> FreeSWITCH-users mailing list<br>> FreeSWITCH-users at <a href="http://lists.freeswitch.org">lists.freeswitch.org</a><br>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>> <a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100521/98197810/attachment-0001.html">http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100521/98197810/attachment-0001.html</a> <br>
<br>