working api scheduled + working daemons for phone and sender + working adapters
This commit is contained in:
parent
ff6b3e79df
commit
136b3f76ce
|
@ -253,7 +253,7 @@ namespace controllers\internals;
|
||||||
/**
|
/**
|
||||||
* Get all messages to send and the number to use to send theme.
|
* Get all messages to send and the number to use to send theme.
|
||||||
*
|
*
|
||||||
* @return array : [['id_scheduled', 'text', 'id_phone', 'destination', 'flash'], ...]
|
* @return array : [['id_scheduled', 'text', 'id_phone', 'destination', 'flash', 'mms', 'medias'], ...]
|
||||||
*/
|
*/
|
||||||
public function get_smss_to_send()
|
public function get_smss_to_send()
|
||||||
{
|
{
|
||||||
|
|
|
@ -76,6 +76,8 @@ class Sender extends AbstractDaemon
|
||||||
'id_phone' => $sms['id_phone'],
|
'id_phone' => $sms['id_phone'],
|
||||||
'destination' => $sms['destination'],
|
'destination' => $sms['destination'],
|
||||||
'flash' => $sms['flash'],
|
'flash' => $sms['flash'],
|
||||||
|
'mms' => $sms['mms'],
|
||||||
|
'medias' => $sms['medias'] ?? [],
|
||||||
];
|
];
|
||||||
|
|
||||||
msg_send($this->queues[$queue_id], QUEUE_TYPE_SEND_MSG, $msg);
|
msg_send($this->queues[$queue_id], QUEUE_TYPE_SEND_MSG, $msg);
|
||||||
|
|
Loading…
Reference in New Issue