Hello!
Links I changed from http:// to XTTP://. I couldn’t post because new users allow only 2 links.
When I send sms I got:
playsmsd log:
- - 2016-06-30 12:00:47 PID5774dfbfb26c7 - L2 sendsmsd # start processing queue_code:508cd2e37afff814d65bf606e7b1aa9c chunk:0 queue_count:1 sms_count:1 scheduled:2016-06-30 12:00:46 uid:1 gpid:0 sender_id:+0079990951332
- - 2016-06-30 12:00:47 PID5774dfbfb26c7 - L2 sendsmsd # sending queue_code:508cd2e37afff814d65bf606e7b1aa9c smslog_id:2183 to:+7926XXX2667 sms_count:1 counter:1
- - 2016-06-30 12:00:47 PID5774dfbfb26c7 - L3 sendsms_intercept # msgtemplate modified sms_sender:[+0079990951332] sms_footer:[] sms_to:[+7926XXX2667] sms_msg:[e34] uid:[1] gpid:[0] sms_type:[text] unicode:[0] queue_code:[508cd2e37afff814d65bf606e7b1aa9c] smsc:[]
- - 2016-06-30 12:00:47 PID5774dfbfb26c7 - L3 outgoing_hook_sendsms_intercept # no SMSC found uid:1 parent_uid:0 from:+0079990951332 to:+7926XXX2667
- - 2016-06-30 12:00:47 PID5774dfbfb26c7 - L2 sendsms_process # start
- - 2016-06-30 12:00:47 PID5774dfbfb26c7 - L3 simplerate_hook_rate_getbyprefix # rate not found to:+7926XXX2667 default_rate:0
- - 2016-06-30 12:00:47 PID5774dfbfb26c7 - L3 simplerate_hook_rate_getcharges # uid:1 u:admin len:3 unicode:0 to:+79269172667 enable_credit_unicode:0 count:1 rate: charge:0
- - 2016-06-30 12:00:47 PID5774dfbfb26c7 - L2 simplerate__cansend # allowed user uid:1 sms_to:+7926XXX2667 credit:457.000 count:1 rate: charge:0 balance:457
- - 2016-06-30 12:00:47 PID5774dfbfb26c7 - L2 sendsms # saving smslog_id:2183 u:1 g:0 gw:kannel smsc:kannel s:+0079990951332 d:+79269172667 type:text unicode:0 status:0
- - 2016-06-30 12:00:47 PID5774dfbfb26c7 - L2 sendsms_process # saved smslog_id:2183 id:2017
- - 2016-06-30 12:00:47 PID5774dfbfb26c7 - L3 sendsms # final smslog_id:2183 gw:kannel smsc:kannel message:e34 len:3
- - 2016-06-30 12:00:47 PID5774dfbfb26c7 - L3 kannel_hook_sendsms # enter smsc:kannel smslog_id:2183 uid:1 to:+79269172667
- - 2016-06-30 12:00:47 PID5774dfbfb26c7 - L3 kannel_hook_sendsms # URL: XTTP://10.1.255.254:13013/cgi-bin/sendsms?username=root&password=XXXXXX&from=%2B0079990951332&to=%2B7926XXX2667&dlr-mask=31&dlr-url=http%3A%2F%2Fsms.XXX.net%2Findex.php%3Fapp%3Dcall%26cat%3Dgateway%26plugin%3Dkannel%26access%3Ddlr%26type%3D%25d%26smslog_id%3D2183%26uid%3D1%26smsc%3Dkannel&account=admin&text=e34
- - 2016-06-30 12:00:47 PID5774dfbfb26c7 - L3 kannel__outgoing # smslog_id:2183 response:0: Accepted for delivery
- - 2016-06-30 12:00:47 PID5774dfbfb26c7 - L3 dlr # isdlrd:1 smslog_id:2183 p_status:0 uid:1
- - 2016-06-30 12:00:47 PID5774dfbfb26c7 - L3 kannel__outgoing # end smslog_id:2183 p_status:0
- - 2016-06-30 12:00:47 PID5774dfbfb26c7 - L2 simplerate__deduct # enter smslog_id:2183
- - 2016-06-30 12:00:47 PID5774dfbfb26c7 - L3 simplerate_hook_rate_getbyprefix # rate not found to:+7926XXX2667 default_rate:0
- - 2016-06-30 12:00:47 PID5774dfbfb26c7 - L3 simplerate_hook_rate_getcharges # uid:1 u:admin len:3 unicode:0 to:+79269172667 enable_credit_unicode:0 count:1 rate: charge:0
- - 2016-06-30 12:00:47 PID5774dfbfb26c7 - L2 credit_hook_rate_setusercredit # no changes uid:1 balance:457
- - 2016-06-30 12:00:47 PID5774dfbfb26c7 - L2 simplerate__deduct # user uid:1 parent_uid: smslog_id:2183 msglen:3 count:1 rate: charge:0 credit:457.000 balance:457
- - 2016-06-30 12:00:47 PID5774dfbfb26c7 - L2 simplebilling__post # saving smslog_id:2183 rate: credit:457.000 count:1 charge:0
- - 2016-06-30 12:00:47 PID5774dfbfb26c7 - L2 simplebilling__post # saved smslog_id:2183 id:1830
- - 2016-06-30 12:00:47 PID5774dfbfb26c7 - L3 simplerate__deduct # deduct successful uid:1 parent_uid: smslog_id:2183
- - 2016-06-30 12:00:47 PID5774dfbfb26c7 - L3 simplerate__deduct # credit_lowest_limit:0 balance:457 charge:0
- - 2016-06-30 12:00:47 PID5774dfbfb26c7 - L2 sendsms_process # end
- - 2016-06-30 12:00:47 PID5774dfbfb26c7 - L2 sendsmsd # result queue_code:508cd2e37afff814d65bf606e7b1aa9c to:+79269172667 flag:1 smslog_id:2183
- - 2016-06-30 12:00:47 PID5774dfbfb26c7 - L2 sendsmsd # finish processing queue_code:508cd2e37afff814d65bf606e7b1aa9c uid:1 sender_id:+0079990951332 queue_count:1 sms_count:1
- - 2016-06-30 12:00:48 PID5774d5212615d - L3 dlrd # id:3878 smslog_id:2183 p_status:0 uid:1
bearerbox.log:
2016-06-30 11:48:44 [83330] [10] DEBUG: send_msg: sending msg to box: <10.1.255.254>
2016-06-30 11:48:44 [83330] [10] DEBUG: boxc_sender: sent message to <10.1.255.254>
2016-06-30 11:48:44 [83330] [9] DEBUG: boxc_receiver: got ack
2016-06-30 11:48:55 [83330] [8] DEBUG: Dumping 0 messages to store
2016-06-30 11:48:56 [83330] [9] DEBUG: boxc_receiver: heartbeat with load value 0 received
2016-06-30 12:00:47 [83330] [9] DEBUG: boxc_receiver: sms received
2016-06-30 12:00:47 [83330] [9] DEBUG: send_msg: sending msg to box: <10.1.255.254>
2016-06-30 12:00:49 [83330] [6] DEBUG: AT2[SMSC]: TP-Validity-Period: 24.0 hours
2016-06-30 12:00:49 [83330] [6] DEBUG: AT2[SMSC]: --> AT+CMGS=17^M
2016-06-30 12:00:49 [83330] [6] DEBUG: AT2[SMSC]: <-- >
2016-06-30 12:00:49 [83330] [6] DEBUG: AT2[SMSC]: send command status: 1
2016-06-30 12:00:49 [83330] [6] DEBUG: AT2[SMSC]: --> 0031000B919762192766F70000A703E5190D
2016-06-30 12:00:49 [83330] [6] DEBUG: AT2[SMSC]: --> ^Z
2016-06-30 12:00:54 [83330] [6] DEBUG: AT2[SMSC]: <-- >
2016-06-30 12:00:54 [83330] [6] DEBUG: AT2[SMSC]: <-- +CMGS: 47
2016-06-30 12:00:54 [83330] [6] DEBUG: AT2[SMSC]: <-- OK
2016-06-30 12:00:54 [83330] [6] DEBUG: AT2[SMSC]: send command status: 0
2016-06-30 12:00:54 [83330] [6] DEBUG: DLR[internal]: Adding DLR smsc=SMSC, ts=47, src=+79990951332, dst=+7926XXX2667, mask=31, boxc=
2016-06-30 12:00:54 [83330] [6] DEBUG: SMSC[SMSC]: creating DLR message
2016-06-30 12:00:54 [83330] [6] DEBUG: SMSC[SMSC]: DLR = XTTP://sms.XXX.net/index.php?app=call&cat=gateway&plugin=kannel&access=dlr&type=%d&smslog_id=2183&uid=1&smsc=kannel
2016-06-30 12:00:54 [83330] [10] DEBUG: send_msg: sending msg to box: <10.1.255.254>
2016-06-30 12:00:54 [83330] [10] DEBUG: boxc_sender: sent message to <10.1.255.254>
2016-06-30 12:00:54 [83330] [9] DEBUG: boxc_receiver: got ack
2016-06-30 12:00:56 [83330] [9] DEBUG: boxc_receiver: heartbeat with load value 0 received
2016-06-30 12:01:03 [83330] [6] DEBUG: AT2[SMSC]: <-- +CDS: 25
2016-06-30 12:01:03 [83330] [6] DEBUG: AT2[SMSC]: <-- 07919712690000F1062F0B919762192766F7616003210035216160032100752100
2016-06-30 12:01:03 [83330] [6] DEBUG: AT2[SMSC]: received message from SMSC: +79219600001
2016-06-30 12:01:03 [83330] [6] DEBUG: AT2[SMSC]: got STATUS-REPORT for message <47>:
2016-06-30 12:01:03 [83330] [6] DEBUG: AT2[SMSC]: Numeric receiver (international) <+7926XXX2667>
2016-06-30 12:01:03 [83330] [6] DEBUG: DLR[internal]: Looking for DLR smsc=SMSC, ts=47, dst=+7926XXX2667, type=1
2016-06-30 12:01:03 [83330] [6] DEBUG: DLR[internal]: created DLR message for URL <XTTP://sms.XXX.net/index.php?app=call&cat=gateway&plugin=kannel&access=dlr&type=%d&smslog_id=2183&uid=1&smsc=kannel>
2016-06-30 12:01:03 [83330] [10] DEBUG: send_msg: sending msg to box: <10.1.255.254>
2016-06-30 12:01:03 [83330] [10] DEBUG: boxc_sender: sent message to <10.1.255.254>
2016-06-30 12:01:03 [83330] [9] DEBUG: boxc_receiver: got ack
2016-06-30 12:01:06 [83330] [8] DEBUG: Dumping 0 messages to store
2016-06-30 12:01:26 [83330] [9] DEBUG: boxc_receiver: heartbeat with load value 0 received
But status in playsms doesn’t change
kannel.conf:
# SMS SERVICE
group = sms-service
keyword = default
accept-x-kannel-headers = true
catch-all = true
max-messages = 0
assume-plain-text = true
catch-all = true
get-url = "XTTP://sms.XXX.net/index.php?app=call&cat=gateway&plugin=kannel&access=geturl&t=%t&q=%q&a=%a&Q=%Q&smsc=%i"