Hello, i'm implementing some integration with clickatell in our
smsgateway and we would like to receive the notifications that are
send from clickatell. We have the follow problems:
1) What's the URL that i have to configure in clickatell "connection"
in the option "Enable SMS Status Notification (MT Callback)" to get
the notifications?
2) We have implemented some method to receive the notification in our
sender:
public class InboundNotification implements
IInboundMessageNotification {
public void process(AGateway gateway, MessageTypes msgType,
InboundMessage msg) {
if (msgType == MessageTypes.INBOUND)
System.out.println(">>> New Inbound message
detected from Gateway:
"
+
gateway.getGatewayId());
else if (msgType == MessageTypes.STATUSREPORT)
System.out.println(">>> New Inbound Status
Report message detected
from Gateway: "
+
gateway.getGatewayId());
System.out.println(msg);
}
}
Is this correct?
Well, good job with the smslib project,
regards ;)
--
You received this message because you are subscribed to the Google Groups
"SMSLib Discussion Group" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/smslib?hl=en.