when the originate execute a dialstring on _cb_Originate callback if the result is Error and the message is Extension does not exists, the callback fails when try to save at call_progress_log with the message Column 'new_status' cannot be null as shown in the next image:

This is happening because on the method marcarLlamada at line 546 you are hardcoding the status 'Placing' inside the array to save the initial status, but the property status is set to 'null'. To fix the issue I added the next line:
$this->status = 'Placing';
// Notificar el progreso de la llamada
$paramProgreso = array(
'datetime_entry' => date('Y-m-d H:i:s', $timestamp),
'new_status' => $this->status,
'retry' => $retry,
'trunk' => $trunk,
'id_call_'.$this->tipo_llamada => $this->id_llamada,
'extra_events' => $precall_events,
);
because on _cb_Originate there is a condition when $bExito is false if ($this->status == 'Placing') $this->status = 'Failure';, but status property is not defined so the value is set to null and failed.
Hope this can help some else
when the originate execute a dialstring on
_cb_Originatecallback if the result is Error and the message isExtension does not exists, the callback fails when try to save atcall_progress_logwith the messageColumn 'new_status' cannot be nullas shown in the next image:This is happening because on the method
marcarLlamadaat line 546 you are hardcoding the status 'Placing' inside the array to save the initial status, but the propertystatusis set to 'null'. To fix the issue I added the next line:because on
_cb_Originatethere is a condition when$bExitois falseif ($this->status == 'Placing') $this->status = 'Failure';, butstatusproperty is not defined so the value is set to null and failed.Hope this can help some else