我熟悉Camel-SMPP,它对我的消费者和生产者路线也很有用.我正在使用Selenium SMPP SIM来测试它.
来自uri ="smpp://smppclient@127.0.0.1:8056?password = password&systemType = consumer"/>
to uri ="smpp:// smppclient @ localhost:2775?password = password && systemType = producer"/>
但是,我想让我的Camel作为服务器运行(它接受来自众多客户的SMS).我当前的From路由与一个SMS发送器紧密耦合.如何将其修改为通用服务器.骆驼有可能吗?
我正在尝试使用JAVA发送短信.谷歌搜索后,我发现SMPP协议将用于它,并偶然发现下面的源代码.
public class SendSMS
{
public static void main(String[] args) throws Exception
{
SendSMS obj = new SendSMS();
SendSMS.sendTextMessage("<mobile number>");
}
private TimeFormatter tF = new AbsoluteTimeFormatter();
/*
* This method is used to send SMS to for the given MSISDN
*/
public void sendTextMessage(String MSISDN)
{
// bind param instance is created with parameters for binding with SMSC
BindParameter bP = new BindParameter(
BindType.BIND_TX,
"<user_name>",
"<pass_word>",
"<SYSTEM_TYPE>",
TypeOfNumber.UNKNOWN,
NumberingPlanIndicator.UNKNOWN,
null);
SMPPSession smppSession = null;
try
{
// smpp session …Run Code Online (Sandbox Code Playgroud) 我想使用jsmpp(或者smslib)发送和接收短信.我可以发送短信并获取我的短信发送报告.但我无法从SMSC收到短信.我下载了用于接收短信的Java SMPP客户端应用程序,但它没有帮助.我想用在线smpp服务器测试这个软件,如果它从在线服务器收到短信我会知道提供商有问题,这给了我smpp网关.谢谢..
如何在smpp中使用用户数据(UDH)?现在我想向指定端口发送短信。
我使用 OpenSMPP 作为我的项目库..
我们正在使用SMPP cloud-hopper库将SMS长消息短信发送到SMS网关 Innovativetxt.com,但看起来我们拆分后的长消息TO 140字节各部分.每条消息中的字符数达到134个字符.
但是行业标准是一种153字符应为GSM编码长消息的每一部分.当我们通过140字节分割时,只有134个字符,我们做错了吗?如果我们尝试提交大于140字节的消息,网关提供商会使用消息超大邮件正文拒绝它.
应将消息拆分为每个153个字符,然后再分配给SMSC,而不是每个消息140字节.
拆分长消息的最佳方法是什么?通过消息大小,即140字节或消息字符计数?
任何人都可以通过cloudhopper或其他基于Java的库来解决相同的问题.
jsmpp ×5
java ×4
smpp ×4
sms ×2
apache-camel ×1
fuseesb ×1
jbossfuse ×1
sms-gateway ×1
smslib ×1