Hi Eduard,
You should config loopback smsc which will handle your incoming message from opensmppbox to your service. Config example: #-----OPENSMPPBOX----- group = opensmppbox opensmppbox-id = 1234 opensmppbox-port = … bearerbox-host = … bearerbox-port = … log-level = … log-file = …. our-system-id = …. smpp-logins = ….. use-systemid-as-smsboxid=true source-addr-ton = … source-addr-npi = … dest-addr-ton = …. dest-addr-npi = …. #-----SMSC smpp LOOP1----- group = smsc smsc = loopback smsc-id = loop1 reroute-dlr=true allowed-smsc-id = loop1 # ------ SMS SERVICE ------ group = sms-service keyword = default catch-all=yes max-messages = 4 omit-empty = true assume-plain-text = yes concatenation = true max-messages = 4 post-url =…. # ------ SMS ROUTING ------ group = smsbox-route smsbox-id = 1234 smsc-id = loop1 Best regards Ruben Melikyan From: users [mailto:users-boun...@kannel.org] On Behalf Of Хиль Эдуард Sent: Saturday, 2 March, 2019 13:08 To: users@kannel.org Subject: route from opensmppbox to internal API Hi there! Let's imagine, that i have on my kannel one smsc and one sms-service with config: group = sms-service keyword = default post-url = "http://127.0.0.1/sendsms.php?src=%P <http://127.0.0.1/sendsms.php?src=%25P&dst=%25p&time=%25t&coding=%25c&smsc=%25n&charset=%25C> &dst=%p&time=%t&coding=%c&smsc=%n&charset=%C" concatenation = true max-messages = 0 In this case, when kannel calls this API, he used POST method and on this API (on PHP page) i have some code "file_get_contents('php://input')" where i can get text of SMS from html-body. All works correct and i'm satisfied. But now, i have opensmppbox and i must somehow route sms from opensmppbox to this API. I have find 2 methods: with "smsc http" and "smsc http with system-type generic", but in this both cases kannel uses GET method, and i must use %b variable that put text in http link (for example: ...&smsc=%n&charset=%C%text=%b), but i can't, cuz there are length and charset troubles - i can't put on my link sms message with over 900 symbols with strange codepage :'( So, maybe there are some other methods to route SMS from opensmppbox to kannel sms-service? Or maybe kannel can use POST method not only on sms-service group? -- Best regards, Me.