Hi,

I need help,

somebody can i explain how save value of get-url in database mysql ?

1. Now, when i send sms on my phone android with keyword, i can see the sms
 on kannel :

i made command line : cat /var/log/kannel/access.log


 2019-11-26 13:54:52 Receive SMS [SMSC: MySmscId ] [SVC:] [ACT:Myshortcode]
[BINF:1001] [FID:] [META:?smpp?] [from:sender] [to:receiver]
[flags:-1:0:-1:0:-1] [msg:3:Xxx] [udh:0:]
2019-11-26 13:55:19 Receive SMS [SMSC: MySmscId ] [SVC:] [ACT: Myshortcode
] [BINF:1001] [FID:] [META:?smpp?] [from: sender ] [to: receiver ]
[flags:-1:0:-1:0:-1] [msg:3:Www] [udh:0:]


and with curl "http://localhost:13000/status";, i see


SMS: received 1 (2 queued), sent 0 (0 queued), store size 2
SMS: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec

this is my config service :

#Default SERVICE
group = sms-service
keyword = default
#get-url = "http://127.0.0.1/testsendsms.php?from=%p&to=%P&text=%a&smscid=%i
"
get-url = "http://127.0.0.1/receive.php?from=%p&to=%P&text=%a&smscid=%i";
accept-x-kannel-headers = true
accepted-smsc = gabontelecom
max-messages = 3
catch-all = true
concatenation = true

Reply via email to