Fail to send SMS To all Group members

hi

i just install playsms all is working fine i can send and receve sms without any problem except when i try to sen sms for all my group members ( 74 ) playsms send an sms only for the first member

any one have an idea what is the problem

were u sending to multiple groups ? and it sent only to 1 group, or 1 member of group ?

anton

thx for the replay

i have only one group with 74 contact when i send a sms to this group only the first contact from the 74 receive the sms and the rest dosen’t receive anything

ok. can you setup a smaller group, say 2 or 3 contacts ? and send to that group instead, just for tests

anton

okey ill do it right now

i setup a group with 3 contact and i send sms to it the result is the same only the first contact in the group receive the sms but the others doesn’t receive anything

ok, I can’t replicate the error in my server, I sent to 26 contacts and all sent.

which playSMS version are u using, which gateway and can we have the log (playsms.log), sanitize the log for passwords, hostname/ip address.

anton

im running on playsms 1.3 with kannel getway and huawei E173 modem and for log you need all the file our i have to extract a specified part ?

I hope you can follow this, first get to the shell and type this before sending SMS:

tail -f /var/log/playsms/playsms.log -n 0 | tee test1.txt

and then do the test, send an SMS to the group, smaller group preferred. after that ctrl+c the tail command to exit and get the test1.txt file. paste the content here (sanitize for important data before copy paste here).

anton

btw, if this is new installation, please use the latest instead, playSMS 1.4

anton

 105.144.162.35 smsglcar.com 2016-08-24 17:46:08 PID57bdc13fa70ab glcar L2 sendsms # start uid:2 sender_id:[1234] smsc:[]
105.144.162.35 smsglcar.com 2016-08-24 17:46:08 PID57bdc13fa70ab glcar L3 sendsms # maxlen:153000 footerlen:0 footer:[] msglen:5 message:[16h46]
105.144.162.35 smsglcar.com 2016-08-24 17:46:08 PID57bdc13fa70ab glcar L2 sendsms_queue_create # saving queue_code:3751bf49e67b83fa340bf0eb40af9df3 src:1234 scheduled:2016-08-24 17:46:08
105.144.162.35 smsglcar.com 2016-08-24 17:46:08 PID57bdc13fa70ab glcar L2 sendsms_queue_create # saved queue_code:3751bf49e67b83fa340bf0eb40af9df3 id:3
105.144.162.35 smsglcar.com 2016-08-24 17:46:08 PID57bdc13fa70ab glcar L3 sendsms_manipulate_prefix # before prefix manipulation:[0653768810]
105.144.162.35 smsglcar.com 2016-08-24 17:46:08 PID57bdc13fa70ab glcar L3 sendsms_manipulate_prefix # after prefix manipulation:[0653768810]
105.144.162.35 smsglcar.com 2016-08-24 17:46:08 PID57bdc13fa70ab glcar L3 sendsms_manipulate_prefix # before prefix manipulation:[0663701253]
105.144.162.35 smsglcar.com 2016-08-24 17:46:08 PID57bdc13fa70ab glcar L3 sendsms_manipulate_prefix # after prefix manipulation:[0663701253]
105.144.162.35 smsglcar.com 2016-08-24 17:46:08 PID57bdc13fa70ab glcar L3 simplerate_hook_rate_getbyprefix # rate not found to:0653768810 default_rate:0
105.144.162.35 smsglcar.com 2016-08-24 17:46:08 PID57bdc13fa70ab glcar L3 simplerate_hook_rate_getcharges # uid:2 u:glcar len:5 unicode:0 to:0653768810 enable_credit_unicode:0 count:1 rate: charge:0
105.144.162.35 smsglcar.com 2016-08-24 17:46:08 PID57bdc13fa70ab glcar L3 simplerate_hook_rate_getbyprefix # rate not found to:0663701253 default_rate:0
105.144.162.35 smsglcar.com 2016-08-24 17:46:08 PID57bdc13fa70ab glcar L3 simplerate_hook_rate_getcharges # uid:2 u:glcar len:5 unicode:0 to:0663701253 enable_credit_unicode:0 count:1 rate: charge:0
105.144.162.35 smsglcar.com 2016-08-24 17:46:08 PID57bdc13fa70ab glcar L2 sendsms # dst:2 sms_count:2 total_charges:0
105.144.162.35 smsglcar.com 2016-08-24 17:46:08 PID57bdc13fa70ab glcar L2 sendsms_queue_push # saving queue_code:3751bf49e67b83fa340bf0eb40af9df3 dst:0653768810
105.144.162.35 smsglcar.com 2016-08-24 17:46:08 PID57bdc13fa70ab glcar L2 sendsms_queue_push # saved queue_code:3751bf49e67b83fa340bf0eb40af9df3 smslog_id:5
105.144.162.35 smsglcar.com 2016-08-24 17:46:08 PID57bdc13fa70ab glcar L2 sendsms_queue_push # saving queue_code:3751bf49e67b83fa340bf0eb40af9df3 dst:0663701253
105.144.162.35 smsglcar.com 2016-08-24 17:46:08 PID57bdc13fa70ab glcar L2 sendsms_queue_push # saved queue_code:3751bf49e67b83fa340bf0eb40af9df3 smslog_id:6
105.144.162.35 smsglcar.com 2016-08-24 17:46:08 PID57bdc13fa70ab glcar L2 sendsms # end queue_code:3751bf49e67b83fa340bf0eb40af9df3 queue_count:2 sms_count:2 failed_queue:0 failed_sms:0
- - 2016-08-24 17:46:09 PID57bdc140d048a - L2 sendsmsd # start processing queue_code:3751bf49e67b83fa340bf0eb40af9df3 chunk:0 queue_count:2 sms_count:2 scheduled:2016-08-24 17:46:08 uid:2 gpid:0 sender_id:1234
- - 2016-08-24 17:46:09 PID57bdc140d048a - L2 sendsmsd # sending queue_code:3751bf49e67b83fa340bf0eb40af9df3 smslog_id:5 to:0653768810 sms_count:2 counter:1
- - 2016-08-24 17:46:09 PID57bdc140d048a - L3 sendsms_intercept # msgtemplate modified sms_sender:[1234] sms_footer:[] sms_to:[0653768810] sms_msg:[16h46] uid:[2] gpid:[0] sms_type:[text] unicode:[0] queue_code:[3751bf49e67b83fa340bf0eb40af9df3] smsc:[]
- - 2016-08-24 17:46:09 PID57bdc140d048a - L3 outgoing_hook_sendsms_intercept # no SMSC found uid:2 parent_uid:0 from:1234 to:0653768810
- - 2016-08-24 17:46:09 PID57bdc140d048a - L2 sendsms_process # start
- - 2016-08-24 17:46:09 PID57bdc140d048a - L3 simplerate_hook_rate_getbyprefix # rate not found to:0653768810 default_rate:0
- - 2016-08-24 17:46:09 PID57bdc140d048a - L3 simplerate_hook_rate_getcharges # uid:2 u:glcar len:5 unicode:0 to:0653768810 enable_credit_unicode:0 count:1 rate: charge:0
- - 2016-08-24 17:46:09 PID57bdc140d048a - L2 simplerate__cansend # allowed user uid:2 sms_to:0653768810 credit:0.000 count:1 rate: charge:0 balance:0
- - 2016-08-24 17:46:09 PID57bdc140d048a - L2 sendsms # saving smslog_id:5 u:2 g:0 gw:kannel smsc:glcar s:1234 d:0653768810 type:text unicode:0 status:0
- - 2016-08-24 17:46:09 PID57bdc140d048a - L2 sendsms_process # saved smslog_id:5 id:6
- - 2016-08-24 17:46:09 PID57bdc140d048a - L3 sendsms # final smslog_id:5 gw:kannel smsc:glcar message:16h46 len:5
- - 2016-08-24 17:46:09 PID57bdc140d048a - L3 kannel_hook_sendsms # enter smsc:glcar smslog_id:5 uid:2 to:0653768810
- - 2016-08-24 17:46:09 PID57bdc140d048a - L3 kannel_hook_sendsms # URL: http://smsglcar.com:13013/cgi-bin/sendsms?username=*****&password=****&from=1234&to=0653768810&dlr-mask=27&dlr-url=http%3A%2F%2Fsmsglcar.com%2Findex.php%3Fapp%3Dcall%26cat%3Dgateway%26plugin%3Dkannel%26access%3Ddlr%26type%3D%25d%26smslog_id%3D5%26uid%3D2%26smsc%3Dglcar&account=glcar&text=16h46

was the log stopped ? there should be more entries after submitting message to kannel

anton

yes this is the rest of the file

105.154.169.157 smsglcar.com 2016-08-24 17:46:12 PID57bdc1443a422 - L2 kannel__call # start load:/var/www/html/playsms/plugin/gateway/kannel/dlr.php
105.154.169.157 smsglcar.com 2016-08-24 17:46:12 PID57bdc1443a422 - L2 kannel__dlr # unable to process DLR. remote_addr:[105.154.169.157] or remote_host:[smsglcar.com] does not match with your bearerbox_host config:[localhost] smsc:[glcar]
105.154.169.157 smsglcar.com 2016-08-24 17:46:16 PID57bdc14835660 - L2 kannel__call # start load:/var/www/html/playsms/plugin/gateway/kannel/dlr.php
105.154.169.157 smsglcar.com 2016-08-24 17:46:16 PID57bdc14835660 - L2 kannel__dlr # unable to process DLR. remote_addr:[105.154.169.157] or remote_host:[smsglcar.com] does not match with your bearerbox_host config:[localhost] smsc:[glcar]
^c

hmm no that doesn’t look like a full log, are you copying from text1.txt or from screen ?

anton

yes im i just copy from the screen i gess i have to open the file and copy the content ?

yes, or attach (upload) in your reply

please sanitize first

anton

Ok, I’ve seen the log. It looked like the script that did the submission to kannel exit immediately after submitting send SMS request to Kannel, I’m not sure why, no information from your log

My advice is to upgrade your installation to 1.3.1 and then 1.4, or start a new one with 1.4

anton

okey thx Anton i will upgrade my installation and keep you in update

best regards