You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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
The text was updated successfully, but these errors were encountered:
when the originate execute a dialstring on
_cb_Originate
callback if the result is Error and the message isExtension does not exists
, the callback fails when try to save atcall_progress_log
with the messageColumn '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 propertystatus
is set to 'null'. To fix the issue I added the next line:because on
_cb_Originate
there is a condition when$bExito
is falseif ($this->status == 'Placing') $this->status = 'Failure';
, butstatus
property is not defined so the value is set to null and failed.Hope this can help some else
The text was updated successfully, but these errors were encountered: