Closed rayidi closed 7 years ago
I've fixed this issue by changing the below line from
$numMatches = preg_match('/^id:([^ ]+) sub:(\d{1,3}) dlvrd:(\d{3}) submit date:(\d{10,12}) done date:(\d{10,12}) stat:([A-Z ]{7}) err:(\d{2,3}) text:(.*)$/si', $this->message, $matches);
to
$numMatches = preg_match('/^id:([^ ]+) sub:(\d{1,3}) dlvrd:(\d{3}) submit date:(\d{10,12}) done date:(\d{10,12}) stat:([A-Z ]{7}) err:(\d{2,4}) text:(.*)$/si', $this->message, $matches);
Hello @rayidi ,
Still i am getting same issue after change numMatches.
Fatal error: Uncaught InvalidArgumentException: Could not parse delivery receipt: id:0959366982 submit date:1911210611 done date:1911210611 stat:DELIVRD err:000
Can you please provide me any other solution?
Thanks
Hi there,
To receive delivery reports from the smpp vendor, while submitting the sms I've used the below piece of code.
SmppClient::$sms_registered_delivery_flag = SMPP::REG_DELIVERY_SMSC_BOTH;
While parsing for the delivery report, I'm getting below error.
What i'm missing here?