smpp

Connect two Restcomm SMSC

六眼飞鱼酱① 提交于 2019-12-11 06:38:18
问题 I have requirement of connecting two Restcomm SMSCs over SMPP, and route a message via them. RestcommSMSC-1 (as client) --- SMPP ---- RestcommSMSC-2 (as Server) I have read documentation, but that doesn't seem to help much. How I can achieve this? 回答1: Have you tried this link, https://github.com/RestComm/smscgateway This link contains source code and some documentation about RestComm. 来源: https://stackoverflow.com/questions/45686616/connect-two-restcomm-smsc

How to use User Data in smpp?

送分小仙女□ 提交于 2019-12-11 05:39:54
问题 How to use User Data(UDH) in smpp? Now I want to send sms specified port. I use OpenSMPP as my project lib.. 回答1: Follow these steps to send UDH over SMPP: Set the UDHI bit to 1 on the esm_class field. The simplest way to do this - esm_class = esm_class | 0x40. Put UDH at the beginning of short_message field. Read on for a quick summary. See the references to know in details how to encode UDH. Here is how to encode UDH: The first byte of UDH must mention the length (in bytes) of remaining

Kannel Sqlbox not working (trying to connect to SQL Server instead of MySQL)?

落花浮王杯 提交于 2019-12-10 00:08:34
问题 I have a Kannel up and running on an Ubuntu 16.04 box, with local MySQL DLR storage. I want to add sqlbox to queue the incoming SMS in the same database. When I try to launch the sqlbox sqlbox.conf , here is what I get. 2017-08-03 14:02:21 [55982] [0] INFO: Starting to log to file /var/log/kannel/kannel-sqlbox.log level 0 2017-08-03 14:02:21 [55982] [0] INFO: Added logfile `/var/log/kannel/kannel-sqlbox.log' with level `0'. 2017-08-03 14:02:21 [55982] [0] PANIC: SQLBOX: MSSql: connection

How to correctly represent message class in SMPP

非 Y 不嫁゛ 提交于 2019-12-09 10:53:12
问题 I am currently trying to figure out how sms classes are correctly represented in SMPP. However I am by now completely confused by the standard and it's documentation. In normal sms we have Class0: Flash sms, which are shown on the display Class1: Normal Sms to be stored on the sim or internally in the device Looking at the SMPP spec, I first find the parameter data_coding in the submit_sm operation, which is used to set the DCS sent via MAP. As far as I understand this, if we want to

How to set up Kannel without using a 3rd party gateway service

早过忘川 提交于 2019-12-06 06:43:42
问题 I'd like to set up Kannel to send SMS messages without going through a 3rd party gateway like Clickatell or Twilio. In other words, I'd like to connect to the SMPP server for each wireless services (AT&T, Verizon, etc.). How difficult/easy is it to run a Kannel server this way? Each SMSC has to be configured for each mobile network. What is the support like for each network in the US (AT&T, Verizon, T-mobile, Sprint)? Can someone point me to a tutorial/blog for pulling this off (besides the

Message ID for SMS submission and delivery not the same

孤街浪徒 提交于 2019-12-06 05:53:21
Is it correct that the Message ID returned as part of the SUBMIT_SM_RESP does not match the Message ID returned in the DELIVER_SM delivery receipt? From reading the SMPP 3.4 spec 1.2 I thought it would, because the spec states in Appendix B for the delivery receipt: The message ID allocated to the message by the SMSC when originally submitted. but I'm finding for example the hex returned in the SUBMIT_SM_RESP to be c81f136b00116d53000000000b68c86e01481101 whilst the decimal returned in the DELIVER_SM to be 14420265882147188051 and no amount of bit-fiddling shows any correlation between the two

Concatenated SMS extended symbols at segments border - what is correct split method?

喜夏-厌秋 提交于 2019-12-06 04:20:43
For concatenated SMS messages (in GSM encoding), if extended table symbol (one of these: }{[]|~^\€) is placed at the end of segment, what is correct way to split such message: Leave first byte of symbol (0b) at the end of segment and put second byte to the beginning of next one, and so fill all available bytes of UD (which seems logically correct) OR Move whole symbol bytes to the next segment and leave unused byte at the end? I didn't found any clarification neither in SMPP 3.4 specs or implementation guide nor in GSM 03.38 specs, so assume that method selection is up to content provider or

Multiple SMPP Sessions

梦想与她 提交于 2019-12-05 07:48:57
问题 Lets say there are two receiver session from same application to a SMPP over different TCP ports. Message is sent to application and reply is (i.e deliver_sm_resp) is coming to SMPP via the other session Is this possible or reply should be come over the same SMPP session? 回答1: No, the deliver_sm_resp should be sent back using the same session as the deliver_sm was received on. The response is linked with the request by a sequence number that is incremented with each request on the session so

Kannel as SMPP server

给你一囗甜甜゛ 提交于 2019-12-04 20:14:45
I have created SMS gateway application in which I'm using kannel to connect to MNO(Mobile Network Operators) SMSCs.I have set of clients who are connected to my application given the API (JSON API) and in my application I basically send the request to kannel via its http API. How I have this new clients whose requirement is that his request should go via SMPP protocol as he doesn't feel that JSON API is that much secure as messages can be altered on its way to the recipient. To create SMPP server I'm using Node JS SMPP server and client module and then after receiving the request I basically

Kannel Sqlbox not working (trying to connect to SQL Server instead of MySQL)?

那年仲夏 提交于 2019-12-04 18:14:45
I have a Kannel up and running on an Ubuntu 16.04 box, with local MySQL DLR storage. I want to add sqlbox to queue the incoming SMS in the same database. When I try to launch the sqlbox sqlbox.conf , here is what I get. 2017-08-03 14:02:21 [55982] [0] INFO: Starting to log to file /var/log/kannel/kannel-sqlbox.log level 0 2017-08-03 14:02:21 [55982] [0] INFO: Added logfile `/var/log/kannel/kannel-sqlbox.log' with level `0'. 2017-08-03 14:02:21 [55982] [0] PANIC: SQLBOX: MSSql: connection settings for id 'sqlbox-db' are not specified! 2017-08-03 14:02:21 [55982] [0] PANIC: sqlbox(gw_backtrace