USSD INTERFACE -> java web app communication

早过忘川 提交于 2019-12-03 03:58:43

You need SMPP. OpenSMPP is a great Java library for SMPP. I've done USSD-SMPP with it. Just ask the carrier for connection parameters:

  1. system-id
  2. system-type
  3. ip address
  4. port
  5. password

If you want further information on the fields, read SMPP specification PDF. It's pretty good simple reading.

Usually there are some TLVs (special parameters) you will need to set in your SMPP packets in order to use USSD, but nothing outside the standard protocol. Also, do keep in mind that you will need some special packet flow when dealing with USSD. That flow should be provided by the Gateway provider (the one that sold the SMPP-USSD gateway to the carrier).

One last very important thing: you need help from the carrier in order to do these kind on things. There is no way you will end up getting USSD to work without their help. They need to provide you not only by granting you access to their platform, but with monitoring your packets and sometimes telling you what's wrong.

Hope it helps.

Vumi is a free software stack that can do USSD and SMPP bindings etc for you. It's written in Python. They have documentation etc that should be interesting to you.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!