<div dir="auto">We had a same issue. It started with version 1.10.7.<div dir="auto"><br></div><div dir="auto">Also posted this question in mailing list. It was told that nothing changed in source code. We solved it to change logic how we are processing cdrs</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 29 Jun 2022, 22:05 Jason Holden, <<a href="mailto:jasonh@thinksimplicity.com">jasonh@thinksimplicity.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div class="m_4977764153317863825WordSection1"><p class="MsoNormal">All,<u></u><u></u></p><p class="MsoNormal">Currently using fs 1.8.56 on a demo unit.<u></u><u></u></p><p class="MsoNormal">I’ve noticed that on some CDRS the sip_from_user shows the dialed number that the extension placed when it should show the extension number.<u></u><u></u></p><p class="MsoNormal">This is a speratic issue and I can’t narrow down why this may be happening.<u></u><u></u></p><p class="MsoNormal">I am using a php script to post my CDRS.<u></u><u></u></p><p class="MsoNormal">Does anyone have any suggestions?<u></u><u></u></p><p class="MsoNormal">I do have set to record a / b legs of the call and to prefix the a leg.<u></u><u></u></p><p class="MsoNormal">A snippit from the php script is below.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"> $var = $cdr->variables;<u></u><u></u></p><p class="MsoNormal"> $sql = sprintf("INSERT INTO cdrClients (site_code,npa,call_direction,cac_call_type_id,call_uuid,direction,user,domain,from_user,from_host,to_user,to_host,req_user,req_host,bridge_channel,sip_term_status,sip_term_cause,sip_hangup_disposition,bridge_hangup_cause,hangup_cause,hangup_cause_q850,start_stamp,answer_stamp,end_stamp,duration,billsec)<u></u><u></u></p><p class="MsoNormal"> VALUES('%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s','%s');",<u></u><u></u></p><p class="MsoNormal"> $var->site,$var->NPA,$var->call_direction,$var->cac_call_type_id,$var->call_uuid,$var->direction,$var->user_name,$var->domain_name,$var->sip_from_user,$var->sip_from_host,$var->sip_to_user,$var->sip_to_host,$var->sip_req_user,$var->sip_req_host,rawurldecode($var->bridge_channel),$var->sip_term_status,$var->sip_term_cause,$var->sip_hangup_disposition,$var->bridge_hangup_cause,$var->hangup_cause,$var->hangup_cause_q850,rawurldecode($var->start_stamp),rawurldecode($var->answer_stamp),rawurldecode($var->end_stamp),$var->duration,$var->billsec);<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Jason Holden<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Phone: 1-866-836-9198 X405<u></u><u></u></p><p class="MsoNormal">Direct: 7868009949<u></u><u></u></p><p class="MsoNormal"><a href="http://www.thinksimplicity.com" target="_blank" rel="noreferrer">www.thinksimplicity.com</a><u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><img border="0" width="80" height="15" id="m_4977764153317863825Picture_x0020_1" src="cid:image003.jpg@01D88BAF.CDF2F8E0" alt="Logo 2019 Email Final 250"><u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p></div></div>_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank" rel="noreferrer">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" rel="noreferrer">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>