Skip to main content
Participant
June 13, 2008
Question

SMS Event Gateway

  • June 13, 2008
  • 2 replies
  • 1252 views
Hello all,
I am having a problem with the SMS event gateway in regards to sending optional parameters. In the SMPP 3.x spec, there are parameters that can be used by the SMSC, and our aggregator is utilizing two of them. I am trying to determine how to deliver the optional parameters to the SMSC successfully. In the CF docs it describes how to send a subset of the optional parameters, but is there a way to send others? For example, the cf docs say you can send msgStr.alertOnMsgDelivery = 1 to set the alert_on_message_delivery (0x130C) parameter. The SMPP spec states that 0x1400 - 0x3FFF are "Reserved for SMSC Vendor specific optional
parameters". How can I send these parameters via the SMS event gateway? I need to send two parameters (0x2151 & 0x2152), can this be done via the gateway?

Thanks!

Rich
This topic has been closed for replies.

2 replies

RLS
Inspiring
July 11, 2008
See the solution I just posted in Forums -> Event Gateways -> MX Telecom ID Codes.

RLS
RLS
Inspiring
July 8, 2008
I have the same problem, Joralac. I'm looking for the same answer. Here's what I just posted in the Event Gateways forum which seems to be a no-man's-land forum because nothing there ever gets answered... :-)

RLS

What I posted there was:

...

After experimenting with SMS providers, we settled on MX Telecom. Great - except that the level of the service we have says that we must send back a special username based on the carrier from which the message came. Pain in the posterior...

So, for example, they give this parameter for Operator Code:
ID: 0x3010
Name: Operator Code
Direction: MX -> Customer
Length: Variable
value: string (not null terminated)

So, if my cfscript code looks something like this:

mesg = structNew();
mesg.command = "submit";
mesg.sourceAddress = "12345";
mesg.destAddress = "16125551212";
mesg.shortMessage = "Hello, World.";
sendGatewayMessage("smsMyMenuTest", mesg);

Just how do I encode and pass along that parameter that they want?