PlaySMS Can't send SMS

I am using Playsms 1.4 in ubuntu with apache 2, PHP 5.6, MySql 5.7. I have a custom gateway plugin to connect my provider Http Api.

here is my playSMS log.

192.168.10.25 192.168.10.18 2017-04-12 20:26:20 PID58ee471b9eb6b admin L2 sendsms_queue_create # saved queue_code:825d6d880fe60784f520a313675d5551 id:6

192.168.10.25 192.168.10.18 2017-04-12 20:26:20 PID58ee471b9eb6b admin L3 sendsms_manipulate_prefix # before prefix manipulation:[7907356]
192.168.10.25 192.168.10.18 2017-04-12 20:26:20 PID58ee471b9eb6b admin L3 sendsms_manipulate_prefix # after prefix manipulation:[9607907356]
192.168.10.25 192.168.10.18 2017-04-12 20:26:20 PID58ee471b9eb6b admin L3 simplerate_hook_rate_getbyprefix # rate not found to:9607907356 default_rate:0
192.168.10.25 192.168.10.18 2017-04-12 20:26:20 PID58ee471b9eb6b admin L3 simplerate_hook_rate_getcharges # uid:1 u:admin len:11 unicode:0 to:9607907356 enable_credit_unicode:0 count:1 rate: charge:0
192.168.10.25 192.168.10.18 2017-04-12 20:26:20 PID58ee471b9eb6b admin L2 sendsms # dst_count:1 sms_count:1 total_charges:0
192.168.10.25 192.168.10.18 2017-04-12 20:26:20 PID58ee471b9eb6b admin L2 sendsms_queue_push # saving queue_code:825d6d880fe60784f520a313675d5551 dst:9607907356
192.168.10.25 192.168.10.18 2017-04-12 20:26:20 PID58ee471b9eb6b admin L2 sendsms_queue_push # saved queue_code:825d6d880fe60784f520a313675d5551 smslog_id:6
192.168.10.25 192.168.10.18 2017-04-12 20:26:20 PID58ee471b9eb6b admin L2 sendsms # end queue_code:825d6d880fe60784f520a313675d5551 queue_count:1 sms_count:1 failed_queue:0 failed_sms:0

    • 2017-04-12 20:26:21 PID58ee471d3638a - L2 sendsmsd # start processing queue_code:825d6d880fe60784f520a313675d5551 chunk:0 queue_count:1 sms_count:1 scheduled:2017-04-12 20:26:20 uid:1 gpid:0 sender_id:Ifthithaah
    • 2017-04-12 20:26:21 PID58ee471d3638a - L2 sendsmsd # sending queue_code:825d6d880fe60784f520a313675d5551 smslog_id:6 to:9607907356 sms_count:1 counter:1
    • 2017-04-12 20:26:21 PID58ee471d3638a - L3 sendsms_intercept # msgtemplate modified sms_sender:[Ifthithaah] sms_footer:[@admin] sms_to:[9607907356] sms_msg:[test] uid:[1] gpid:[0] sms_type:[text] unicode:[0] queue_code:[825d6d880fe60784f520a313675d5551] smsc:[]
    • 2017-04-12 20:26:21 PID58ee471d3638a - L3 outgoing_hook_sendsms_intercept # found SMSCs:[dhiraagu]
    • 2017-04-12 20:26:21 PID58ee471d3638a - L3 outgoing_hook_sendsms_intercept # using prefix based smsc smsc:[dhiraagu] uid:1 parent_uid:0 from:Ifthithaah to:9607907356
    • 2017-04-12 20:26:21 PID58ee471d3638a - L3 sendsms_intercept # outgoing modified sms_sender:[Ifthithaah] sms_footer:[@admin] sms_to:[9607907356] sms_msg:[test] uid:[1] gpid:[0] sms_type:[text] unicode:[0] queue_code:[825d6d880fe60784f520a313675d5551] smsc:[dhiraagu]
    • 2017-04-12 20:26:21 PID58ee471d3638a - L2 sendsms_process # start
    • 2017-04-12 20:26:21 PID58ee471d3638a - L3 simplerate_hook_rate_getbyprefix # rate not found to:9607907356 default_rate:0
    • 2017-04-12 20:26:21 PID58ee471d3638a - L3 simplerate_hook_rate_getcharges # uid:1 u:admin len:11 unicode:0 to:9607907356 enable_credit_unicode:0 count:1 rate: charge:0
    • 2017-04-12 20:26:21 PID58ee471d3638a - L2 simplerate_hook_rate_cansend # allowed user uid:1 sms_to:9607907356 adhoc_credit:0 count:1 rate: charge:0 adhoc_balance:0
    • 2017-04-12 20:26:21 PID58ee471d3638a - L2 sendsms # saving smslog_id:6 u:1 parent_uid:0 g:0 gw:dhiraagu smsc:dhiraagu s:Ifthithaah d:9607907356 type:text unicode:0 status:0
    • 2017-04-12 20:26:21 PID58ee471d3638a - L2 sendsms_process # saved smslog_id:6 id:6
    • 2017-04-12 20:26:21 PID58ee471d3638a - L3 sendsms # final smslog_id:6 gw:dhiraagu smsc:dhiraagu message:test @admin len:11
    • 2017-04-12 20:26:21 PID58ee471d3638a - L3 dhiraagu_hook_sendsms # enter smsc:dhiraagu smslog_id:6 uid:1 to:9607907356
    • 2017-04-12 20:26:29 PID58ee471d3638a - L2 dhiraagu_hook_sendsms # invalid smslog_id:6 resp:[] smsc:dhiraagu
    • 2017-04-12 20:26:29 PID58ee471d3638a - L3 dlr # isdlrd:1 smslog_id:6 p_status:2 uid:1
    • 2017-04-12 20:26:29 PID58ee471d3638a - L2 sendsms_process # fail no hook for sendsms
    • 2017-04-12 20:26:29 PID58ee471d3638a - L2 sendsms_process # end
    • 2017-04-12 20:26:29 PID58ee471d3638a - L2 sendsmsd # result queue_code:825d6d880fe60784f520a313675d5551 to:9607907356 flag:2 smslog_id:6
    • 2017-04-12 20:26:29 PID58ee471d3638a - L2 sendsmsd # finish processing queue_code:825d6d880fe60784f520a313675d5551 uid:1 sender_id:Ifthithaah queue_count:1 sms_count:1
    • 2017-04-12 20:26:30 PID58ee1b395e8b5 - L3 dlrd # id:6 smslog_id:6 p_status:2 uid:1
    • 2017-04-12 22:00:00 PID58ee1b3951809 - L3 report_hook_playsmsd # login session removed uid:1 hash:b24d00d29eb1e453cc21cfd942412aa8

My problem is if i copy and past the generated url in to a browser with the credentials it gives me a NET::ERR_CERT_COMMON_NAME_INVALID. i think due to this playsms is unable to send sms.

Is there anyway to bypass this error.

Thank you in advance

Is there any way i can add curl -K or wget --insecure before the url eg:- ( curl -K https://bulkmessage.com.mv/jsp/receiveSMS.jsp?userid=xxxxxx&password=xxxxxx&to=xxxxxx&text=test+%40admin])

Reason is that if i copy the url from log and and want to send the url manualy i have to use curl -k or wget --insecure. if i dont use the option it fails to send.

Thank you in advance