Mblox connect through HTTP using XML

Mblox connect through HTTP using XML SearchSearch
Author Message
Shiby Varghese
New member
Username: Shiby

Post Number: 12
Registered: 01-2007
Posted on Friday, July 06, 2007 - 06:45 pm:   

Hi Sir,
How do we connect to Mblox using HTTP by posting the content URL for the SI message, UDH..etc as an XML file? Since Mblox accept the request in the form of an XML file. So basically we require to POST all the necessary parameters to Mblox HTTP URL. Is it possible to do that with nowSMS?

Thanks and regards
Shiby varghese
Shiby Varghese
New member
Username: Shiby

Post Number: 13
Registered: 01-2007
Posted on Sunday, July 08, 2007 - 03:40 pm:   

Hey... can anybody help me to integrate nowSMS with mblox through HTTP?

Thanks,
Shiby
Shiby Varghese
New member
Username: Shiby

Post Number: 14
Registered: 01-2007
Posted on Sunday, July 08, 2007 - 03:42 pm:   

I know, nowSMS has included mblox support for SMPP, but dont know about XML over HTTP support..

Thanking u in advance,
Shiby
Shiby Varghese
New member
Username: Shiby

Post Number: 15
Registered: 01-2007
Posted on Tuesday, July 10, 2007 - 09:17 am:   

Hi,
I am Customer of nowSMS and my license is valid till end of year. So please give me some clarity on the above mentioned stuffs.

Thanks
Shiby
Shiby Varghese
New member
Username: Shiby

Post Number: 16
Registered: 01-2007
Posted on Tuesday, July 10, 2007 - 09:20 am:   

Hi,
I am Customer of nowSMS and my license is valid till end of year. So please give me some clarity on the above mentioned stuffs.

Thanks
Shiby
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7336
Registered: 10-2002
Posted on Wednesday, July 11, 2007 - 03:14 pm:   

Hi Shiby,

No, we do not support the HTTP POST of an XML content for an SMSC connection.

MBlox supports SMPP, and we recommend using SMPP.

-bn
Shiby Varghese
New member
Username: Shiby

Post Number: 17
Registered: 01-2007
Posted on Wednesday, July 11, 2007 - 03:17 pm:   

Hi Bryce,
Thanks for the information.
could you please tell me where I can get the complete manual for integrating nowSMS with Mblox.

Thanks
Shiby
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7345
Registered: 10-2002
Posted on Wednesday, July 11, 2007 - 06:22 pm:   

Hi Shiby,

The primary issue when connecting to mBlox via SMPP is that they use extended SMPP parameters for specifying premium rate settings.

They don't use standard settings, they use settings that are specific to, and defined by, mBlox.

To enable support for specifying premium rate SMS parameters when connecting to mBlox over SMPP, edit SMSGW.INI, and add the following section:

[SMPPOptions]
mblox_operator=1402,String,5
mblox_tariff=1403,String,5
mblox_sessionid=1404,String,45
user_message_reference=204,Integer,2

When these settings are present, additional parameters are supported when submitting a message to NowSMS via an HTTP URL request. "&SMPPOption_mblox_operator=" will specify a value for the destination operator. "&SMPPOption_mblox_tariff=" will specify a value for the premium rate tariff associated with the message. "&SMPPOption_mblox_sessionid=" is required for some premium rate SMS operator implemtnations. For additional information on any of these parameters, please refer to the documentation supplied to you by mBlox.

"&SMPPOption_user_message_reference=" is a generic option that allows you to set/retrieve the value of the SMPP "user_message_reference" variable. An mBlox FAQ suggests that it is possible to use this option to specify a billing reference, although we have not seen clear examples of this.

Please note that mBlox support will often suggest that you use a value of "0" for the mblox_tariff initially. However, customers have reported to us that mBlox appears to require a 5 digit code for this field, and that "00000" should be used instead of "0".

When these SMSGW.INI file settings are present, NowSMS will also route these parameters to HTTP-based 2-way commands. If a message is received which contains values for either of these settings, NowSMS will automatically append "&SMPPOption_mblox_operator=value" and/or "&SMPPOption_mblox_tariff=" to the 2-way URL. It is not necessary to add any variables to the 2-way command template, as these values will be appended automatically if present in a received message.

In addition to supporting these options via HTTP URL request, it is possible to configure default settings for any of these options for each outbound SMPP connection. To define default settings, manually edit the SMSGW.INI, and in the section header for an SMPP connection (e.g., [SMPP - ip.address:port]), add a "DefaultSMPPOptions=" setting, where the value of this setting can contain any of the "SMPPOptions" settings. For example, "DefaultSMPPOptions=mblox_tariff=00000". To include multiple options, separate the entries with a ";", for example, "DefaultSMPPOptions=mblox_tariff=00000;user_message_reference=1".

An additional note ... if you are using 2-way SMS, and sending replies back to received messages, then it is desirable to send the mblox_operator parameter back out with your reply. NowSMS will not do this by default, but a technique for doing so is described in the following thread:

http://support.nowsms.com/discus/messages/1/17273.html

-bn
Shiby Varghese
New member
Username: Shiby

Post Number: 18
Registered: 01-2007
Posted on Thursday, July 12, 2007 - 01:11 pm:   

Hi Bryce,
I really require you help since The following is the URL to be sent as a wap push to mobile phones in U.S through mblox and the below line shows the encoded string and Can you please tell me whether the encoding which I have done is correct or not?
----------------------------------------------------------------------------
[....]

Thanks and regards
Shiby Varghese
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7362
Registered: 10-2002
Posted on Thursday, July 12, 2007 - 08:44 pm:   

Hi Shiby,

I didn't analyse the packet in great detail ... instead I sent a WAP Push from the NowSMS web interface and compared it.

For whatever it's worth, NowSMS generates service indication push messages a little different. I don't think its significant ... we include a signal action always when you use the web form (but not always if you go via direct URL submission).

And you don't include any text in the notification ... that can cause problems for some devices.

All that said, does mBlox support WAP Push on all of the US networks? Most services in the US seem to not use WAP Push ... they send a text message that includes the URL in the text, and rely on the SMS client on the device to parse the URL out of the text of the SMS (which most clients do).

-bn
Shiby Varghese
New member
Username: Shiby

Post Number: 19
Registered: 01-2007
Posted on Friday, July 13, 2007 - 07:43 am:   

Hi Bryce,
Bryce>All that said, does mBlox support WAP Push on all of the US networks?
Thant is the funniest part.
1. To Verizon connection, mblox conevert the message into an MMS and send. Also Verizon does not accept any jar and jad file as such.
2. Sprint handset, does not support content in jpeg/gif or any other form.. it requires a GCD file which points to the actual content.

Bryce, I have nowSMS license and now wondering what I will do with my license when a situation like this comes where we need to send wap push messages through mblox using HTTP(XML) to U.S users.
Can we work out some thing for this? I really appreciate any steps from your side to solve this discrepancies in cross carrier connections with nowSMS and U.S aggregators/operators.

Thanking you in advance
Shiby varghese

Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7368
Registered: 10-2002
Posted on Friday, July 13, 2007 - 08:59 pm:   

Hi Shiby,

Can you send me the relevant technical documents on the mBlox XML interface? Also send any information that they have supplied regarding WAP Push.

It sounds like there are some capabilities available via that interface which are not available via their SMPP interface.

We'd need to review that information before I could offer any additional comment.

Please send the documents to nowsms@now.co.uk, and put "Attention: Bryce" in the subject line of the message.

-bn

Shiby Varghese
New member
Username: Shiby

Post Number: 21
Registered: 01-2007
Posted on Tuesday, December 11, 2007 - 06:09 am:   

hi,
I am using nowSMS to connect to our customer and was working fine, but last week onwards nowSMS is not sending any messages... the following is the reports it shows

[SMS]
SubmittedBy=127.0.0.1
Data=.
pid=00
dcs=00
Binary=0
PhoneNumber=51195320195
[ErrorDetail]
RetryCount=6
LastRetryTime=20071211112314
LastErrorInfo=Unknown Error 000186AA -- SMPP - xxx.xx.xxx.xxx:xxxx

what would be the problem?

Thanks and regards
Shiby