Hi
Your need to create your receive.php script with appropriate code to
connect to your mysql and do the insert in the tables you define it.
Regards,
Alvaro
|-----------------------------------------------------------------------------------------------------------------|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS
y GPRS online
Visitenos en www.perusms.com
Le mer. 27 nov. 2019 à 15:14, Nat Paul <[email protected]> a écrit :
> 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
>
>
>