Language support

Language support SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through October 31, 2007 » Language support « Previous || Next »
Author Message
Arvind MV
New member
Username: Arvindmv

Post Number: 3
Registered: 03-2007
Posted on Monday, September 10, 2007 - 01:14 pm:   

Bryce,
My application could right now able to send the SMS and retrieve the MMS. But the text format used is english language. Now i am trying to implement the same through different languages[For ex: Spanish]. Right now my SMS input is like "Para el envió y" but the output doesn't reflect with the same as input, instead it shows some junk data.

Is thier any settings in NowSMS which i can fix this issue or is thier any specific UTF format i need to follow.

Please guide me as this is becoming critical requirement for my application.

Thanks in advance,
Arvind

Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7429
Registered: 10-2002
Posted on Monday, September 10, 2007 - 03:13 pm:   

Hi Arvind,

By default NowSMS assumes that you will use UTF-8 encoding. UTF-8 is an 8-bit encoding for Unicode, so any accented characters like ó generally get encoded in multiple bytes.

If it is not convenient for you to use UTF-8, it is also possible to include a URL parameter to tell NowSMS which character set you are using. You can probably just modify your URL parameter to add "&charset=iso-8859-1" to quickly get things working the way you expect. iso-8859-1 is the standard character set that is most frequently used in Western Europe and the Americas.

Another note ... If you're using 2-way SMS functionality, you can set the character set that NowSMS uses to interface to your scripts via the "Receive SMS Character Set" setting on the "2-way" page of the NowSMS configuration.


-bn
Arvind MV
New member
Username: Arvindmv

Post Number: 4
Registered: 03-2007
Posted on Tuesday, September 11, 2007 - 03:51 am:   

Thanks for your response.

Can you assist me to configure 2-way command to redirect the incoming SMS to my smpp application,
which is not a web application.

Regards,
Arvind
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7455
Registered: 10-2002
Posted on Tuesday, September 11, 2007 - 03:54 pm:   

Hi Arvind,

First a note ... if you are using SMPP to submit the message to NowSMS, and you are having a character set encoding problem, you may need to set the data_coding flag to 3. By default, NowSMS assumes that you are using the GSM character set. Setting the data_coding flag to 3 indicates that you are using iso-8859-1.

Alternatively, if you want NowSMS to assume that any SMPP clients connecting to it are using iso-8859-1 as the default character set, you can edit SMSGW.INI ... create a section header [SMPP], and under this header, add SMSCCharset=iso-8859-1

The above setting will cause NowSMS to use iso-8859-1 as its default character set for SMPP clients.

Ok ... with that said, on to your most recent question ... redirecting the incoming SMS to your SMPP application.

To connect your SMPP application to NowSMS, you need to define an "SMS Users" account in NowSMS. The SMPP client connects to NowSMS as its SMPP server using this account information.

To route received SMS messages back to the SMPP client, there are two ways to accomplish this.

1.) In the settings for the "SMS Users" account, check "Route received messages to user via SMPP", and in the "Recipient address(es) to route to this user" field, you can define a comma delimited list of phone numbers to be routed to this SMPP client.

If NowSMS receives a message from an upstream SMSC connection, and the recipient address of the message matches a phone number defined here, the message will be routed to the SMPP client instead of to the 2-way command processor. (Note: If the upstream SMSC is a GSM modem, the recipient address that is assigned to the received message is the "Phone Number" property associated with the GSM modem definition in the "SMSC" list of NowSMS.)

2.) It is also possible to route all messages received from a particular upstream SMSC connection to a specific "SMS Users" account so that they can be retrieved via SMPP. To do this, in the "Properties" for the "SMSC" definition in NowSMS, select the user account in the "Route SMS to local user" setting.


-bn

Login Login / Register Logout Logout Search Last 30 Days Topics Topics