Which method of output in XML_CDR did you implement? There are two:<div><br></div><div>1. Writing to a file on disk and then parsing the file</div><div>2. Writing to HTTP / HTTPS via POST and handle the parsing on the web server side</div>
<div><br></div><div>As in the earlier suggested solution from myself, I prefer #1. An added advantage of this is, I can see the content of the XML file in a simple text file reader, and modify my parsing script accordingly.</div>
<div><br></div><div>Usually the "sip_from_user" variable carries the "caller id". If that is true for your case, then in PHP it would be something like (assuming $sip_from_user is initiated with the corresponding XML value):</div>
<div><br></div><div>$sip_from_user = "1444" . $sip_from_user;</div><div><br></div><div>Regards</div><div>HASSAN</div><div><br></div><div><br><div class="gmail_quote">On Thu, Jun 20, 2013 at 8:20 PM, Abdullah <span dir="ltr"><<a href="mailto:abdullah@smonte.com" target="_blank">abdullah@smonte.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">HI ALL,<br>
<br>
<br>
I have used *"XML-CDR"* in free-switch .<br>
<br>
I have successfully created Cdr IN TABLE OF cdr with default pattern .<br>
<br>
I want to change that field name and data with append some digit on its<br>
caller_id .<br>
<br>
<br>
<br>
any Idea,<br>
<br>
THANKS<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://freeswitch-users.2379917.n2.nabble.com/How-create-customize-CDR-in-free-Switch-tp7591980p7592004.html" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/How-create-customize-CDR-in-free-Switch-tp7591980p7592004.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div>