Sms is not going out with Telnyx

Hello,

I have configured playsms with Telynx carrier but still not able to send sms.
Below is the log which I am getting after sending test sms.

Please can anyone help me on this.

'10.0.2.15 10.0.2.15 2019-11-04 18:06:58 PID5dc01b6a17c06 admin L2 sendsms # start uid:1 sender_id:[usmed] smsc:[]
10.0.2.15 10.0.2.15 2019-11-04 18:06:58 PID5dc01b6a17c06 admin L3 sendsms # maxlen:15147 footerlen:7 footer:[ @admin] msglen:47 message:[Hi u there, good morning!! This is test message]
10.0.2.15 10.0.2.15 2019-11-04 18:06:58 PID5dc01b6a17c06 admin L2 sendsms_queue_create # saving queue_code:e21b4c176b0b8a29dd9a10a5308ec825 src:usmed scheduled:2019-11-04 16:06:58
10.0.2.15 10.0.2.15 2019-11-04 18:06:58 PID5dc01b6a17c06 admin L2 sendsms_queue_create # saved queue_code:e21b4c176b0b8a29dd9a10a5308ec825 id:30
10.0.2.15 10.0.2.15 2019-11-04 18:06:58 PID5dc01b6a17c06 admin L3 sendsms_manipulate_prefix # before prefix manipulation:[+13155940200]
10.0.2.15 10.0.2.15 2019-11-04 18:06:58 PID5dc01b6a17c06 admin L3 sendsms_manipulate_prefix # after prefix manipulation:[+13155940200]
10.0.2.15 10.0.2.15 2019-11-04 18:06:58 PID5dc01b6a17c06 admin L3 simplerate_hook_rate_getbyprefix # rate not found to:+13155940200 default_rate:0
10.0.2.15 10.0.2.15 2019-11-04 18:06:58 PID5dc01b6a17c06 admin L3 simplerate_hook_rate_getcharges # uid:1 u:admin len:54 unicode:0 to:+13155940200 enable_credit_unicode:0 count:1 rate: charge:0
10.0.2.15 10.0.2.15 2019-11-04 18:06:58 PID5dc01b6a17c06 admin L2 sendsms # dst_count:1 sms_count:1 total_charges:0
10.0.2.15 10.0.2.15 2019-11-04 18:06:58 PID5dc01b6a17c06 admin L2 sendsms_queue_push # saving queue_code:e21b4c176b0b8a29dd9a10a5308ec825 dst:+13155940200
10.0.2.15 10.0.2.15 2019-11-04 18:06:58 PID5dc01b6a17c06 admin L2 sendsms_queue_push # saved queue_code:e21b4c176b0b8a29dd9a10a5308ec825 smslog_id:29
10.0.2.15 10.0.2.15 2019-11-04 18:06:58 PID5dc01b6a17c06 admin L2 sendsms # end queue_code:e21b4c176b0b8a29dd9a10a5308ec825 queue_count:1 sms_count:1 failed_queue:0 failed_sms:0

    • 2019-11-04 18:06:59 PID5dc01b6b4c5bb - L2 sendsmsd # start processing queue_code:e21b4c176b0b8a29dd9a10a5308ec825 chunk:0 queue_count:1 sms_count:1 scheduled:2019-11-04 18:06:58 uid:1 gpid:0 sender_id:usmed
    • 2019-11-04 18:06:59 PID5dc01b6b4c5bb - L2 sendsmsd # sending queue_code:e21b4c176b0b8a29dd9a10a5308ec825 smslog_id:29 to:+13155940200 sms_count:1 counter:1
    • 2019-11-04 18:06:59 PID5dc01b6b4c5bb - L3 sendsms_intercept # msgtemplate modified sms_sender:[usmed] sms_footer:[@admin] sms_to:[+13155940200] sms_msg:[Hi u there, good morning!! This is test message] uid:[1] gpid:[0] sms_type:[text] unicode:[0] queue_code:[e21b4c176b0b8a29dd9a10a5308ec825] smsc:[]
    • 2019-11-04 18:06:59 PID5dc01b6b4c5bb - L3 outgoing_hook_sendsms_intercept # no SMSC found uid:1 parent_uid:0 from:usmed to:+13155940200
    • 2019-11-04 18:06:59 PID5dc01b6b4c5bb - L2 recvsms_process # using default SMSC smsc:[telnyx]
    • 2019-11-04 18:06:59 PID5dc01b6b4c5bb - L2 sendsms_process # start
    • 2019-11-04 18:06:59 PID5dc01b6b4c5bb - L3 simplerate_hook_rate_getbyprefix # rate not found to:+13155940200 default_rate:0
    • 2019-11-04 18:06:59 PID5dc01b6b4c5bb - L3 simplerate_hook_rate_getcharges # uid:1 u:admin len:54 unicode:0 to:+13155940200 enable_credit_unicode:0 count:1 rate: charge:0
    • 2019-11-04 18:06:59 PID5dc01b6b4c5bb - L2 simplerate_hook_rate_cansend # allowed user uid:1 sms_to:+13155940200 adhoc_credit:100000000 count:1 rate: charge:0 adhoc_balance:100000000
    • 2019-11-04 18:06:59 PID5dc01b6b4c5bb - L2 sendsms # saving smslog_id:29 u:1 parent_uid:0 g:0 gw:telnyx smsc:telnyx s:usmed d:+13155940200 type:text unicode:0 status:0
    • 2019-11-04 18:06:59 PID5dc01b6b4c5bb - L2 sendsms_process # saved smslog_id:29 id:27
    • 2019-11-04 18:06:59 PID5dc01b6b4c5bb - L3 sendsms # final smslog_id:29 gw:telnyx smsc:telnyx message:Hi u there, good morning!! This is test message @admin len:54
    • 2019-11-04 18:06:59 PID5dc01b6b4c5bb - L3 telnyx_hook_sendsms # enter smsc:telnyx smslog_id:29 uid:1 to:+13155940200
    • 2019-11-04 18:06:59 PID5dc01b6b4c5bb - L3 telnyx_hook_sendsms # fail to sendsms due to missing PHP curl functions
    • 2019-11-04 18:06:59 PID5dc01b6b4c5bb - L3 dlr # isdlrd:1 smslog_id:29 p_status:2 uid:1
    • 2019-11-04 18:06:59 PID5dc01b6b4c5bb - L3 telnyx_hook_sendsms # sendsms end
    • 2019-11-04 18:06:59 PID5dc01b6b4c5bb - L2 sendsms_process # fail no hook for sendsms
    • 2019-11-04 18:06:59 PID5dc01b6b4c5bb - L2 sendsms_process # end
    • 2019-11-04 18:06:59 PID5dc01b6b4c5bb - L2 sendsmsd # result queue_code:e21b4c176b0b8a29dd9a10a5308ec825 to:+13155940200 flag:2 smslog_id:29
    • 2019-11-04 18:06:59 PID5dc01b6b4c5bb - L2 sendsmsd # finish processing queue_code:e21b4c176b0b8a29dd9a10a5308ec825 uid:1 sender_id:usmed queue_count:1 sms_count:1
    • 2019-11-04 18:06:59 PID5dc0160481d55 - L3 dlrd # id:27 smslog_id:29 p_status:2 uid:1

Have you installed php´s curl module?

Thanks for your response, Yes we have installed PHP curl function and then issue has been fixed but now we are stuck at different level of issue which shown in logs below:

’ - 2019-11-14 01:34:12 PID5dcc61bbcd5ed - L2 sendsms # saving smslog_id:52 u:1 parent_uid:0 g:0 gw:telnyx smsc:telnyx s:+12677400864 d:+13155940200 type:text unicode:0 status:0

    • 2019-11-14 01:34:12 PID5dcc61bbcd5ed - L2 sendsms_process # fail to save in db table smslog_id:52 db_query:[INSERT INTO playsms_tblSMSOutgoing (smslog_id,uid,parent_uid,p_gpid,p_gateway,p_smsc,p_src,p_dst,p_footer,p_msg,p_datetime,p_status,p_sms_type,unicode,queue_code) VALUES (‘52’,‘1’,‘0’,‘0’,‘telnyx’,‘telnyx’,’+12677400864’,’+13155940200’,’ @admin’,‘Test 25’,‘2019-11-13 18:34:12’,‘0’,‘text’,‘0’,‘80e4c633838b67dd0cefd36a8137cb6b’)]
    • 2019-11-14 01:34:12 PID5dcc61bbcd5ed - L2 sendsms_process # end’

Please any one suggest what could be the issue behind this.