All,

Currently using fs 1.8.56 on a demo unit.

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.

This is a speratic issue and I can’t narrow down why this may be happening.

I am using a php script to post my CDRS.

Does anyone have any suggestions?

I do have set to record a / b legs of the call and to prefix the a leg.

A snippit from the php script is below.

 

                $var = $cdr->variables;

                $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)

                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');",

                $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);

 

 

Jason Holden

 

Phone: 1-866-836-9198 X405

Direct: 7868009949

www.thinksimplicity.com

 

Logo 2019 Email Final 250