Turkish message problem
Turkish message problem
Hi,
I'm trying to send a Turkish message with inetlab.
I'm having problems.
Can you help me.
I'm trying to send a Turkish message with inetlab.
I'm having problems.
Can you help me.
Re: Turkish message problem
Hi lolorosso,
what kind of problem are you facing?
how do you send the message? Could you post the code here?
what kind of problem are you facing?
how do you send the message? Could you post the code here?
Re: Turkish message problem
Hi,
The message is split into 149 characters.
My Code:
The message is split into 149 characters.
My Code:
Code: Select all
ISubmitSmBuilder submitSmBuilder = SMS.ForSubmit()
.From(submitMessageParameters.Originator, (byte)submitMessageParameters.OrigTON, (byte)submitMessageParameters.OrigNPI)
.To(submitMessageParameters.Destination, (byte)submitMessageParameters.DestTON, (byte)submitMessageParameters.DestNPI)
.Coding(DataCodings.Latin1)
.Text(submitMessageParameters.SMText)
.ExpireAt(submitMessageParameters.ValidityPeriod)
.DeliveryReceipt();
if (submitMessageParameters.MessageType == MessageType.turkcesms)
{
submitSmBuilder.NationalLanguageSingleShift(NationalLanguage.Turkish);
}
IList<SubmitSm> req = submitSmBuilder.Create(smppClient);
Re: Turkish message problem
Could you provide more details about the issue?
What text did you sent?
What message text the recipient sees on the phone?
What type of .NET encoding did you map to DataCoding.Latin1?
https://docs.inetlab.com/smpp/v2.8/arti ... oding.html
Does your SMS provider support National language shift table?
https://en.wikipedia.org/wiki/GSM_03.38 ... ift_tables
What text did you sent?
What message text the recipient sees on the phone?
What type of .NET encoding did you map to DataCoding.Latin1?
https://docs.inetlab.com/smpp/v2.8/arti ... oding.html
Does your SMS provider support National language shift table?
https://en.wikipedia.org/wiki/GSM_03.38 ... ift_tables
Re: Turkish message problem
Hi,
My SMS provider supports National language shift chart
When I want to send a message in Turkish, the message fragments become 149 characters.
Can you share a sample code to send a long message in Turkish.
Thank you.
My SMS provider supports National language shift chart
When I want to send a message in Turkish, the message fragments become 149 characters.
Can you share a sample code to send a long message in Turkish.
Thank you.
Re: Turkish message problem
The number of characters depends on the message content. What length are you expecting?Using a shift table, a message can still use 7-bit encoding for the characters, but a different set can be chosen to correctly show accented and language specific characters. This allows up to 155 characters, encoded in 136 octets (140 octets, minus the 4-octets of User Data Header required to indicate the use of a shift table and the language code). With both Locking and Single shift tables, up to 152 characters are allowed, encoded in 133 octets (140 octets, minus 7-octets User Data Header).
Please also answer on all questions above.
Re: Turkish message problem
Hi
MessageText: Özel XXXXX XXXX Koleji Düzey Belirleme Sınavı'na sinav.xxxxxxxxxxxxxxxxxx.com adresi üzerinden giriş yapabilirsiniz. Kullanıcı adı kısmına "ÖĞRENCİNİN TC KİMLİK MUMARASI", şifre kısmına "000000" yazarak sınavınıza giriş yapabilirsiniz. Başarılar dileriz. ÖZEL XXXX KOLEJI BXXX
For req, it returns 3 SubmitSm. It should be 2.
We are having trouble calculating before sending it to the operator.
MessageText: Özel XXXXX XXXX Koleji Düzey Belirleme Sınavı'na sinav.xxxxxxxxxxxxxxxxxx.com adresi üzerinden giriş yapabilirsiniz. Kullanıcı adı kısmına "ÖĞRENCİNİN TC KİMLİK MUMARASI", şifre kısmına "000000" yazarak sınavınıza giriş yapabilirsiniz. Başarılar dileriz. ÖZEL XXXX KOLEJI BXXX
Code: Select all
ISubmitSmBuilder submitSmBuilder = SMS.ForSubmit()
.From(submitMessageParameters.Originator, (byte)submitMessageParameters.OrigTON, (byte)submitMessageParameters.OrigNPI)
.To(submitMessageParameters.Destination, (byte)submitMessageParameters.DestTON, (byte)submitMessageParameters.DestNPI)
.Coding(DataCodings.Default)
.Text(submitMessageParameters.SMText)
.ExpireAt(submitMessageParameters.ValidityPeriod)
.DeliveryReceipt();
submitSmBuilder.NationalLanguageSingleShift(NationalLanguage.Turkish);
IList<SubmitSm> req = submitSmBuilder.Create(smppClient);
We are having trouble calculating before sending it to the operator.
Re: Turkish message problem
thank you. I'll check this issue.
Re: Turkish message problem
Turkish language has both Single and Locking shift tables.
I think in your case you need to use locking shift table.
I think in your case you need to use locking shift table.
Code: Select all
.NationalLanguageLockingShift(NationalLanguage.Turkish)
Re: Turkish message problem
Hi,
This problem. Depends on the version.
https://prnt.sc/x8p8b8
Also, when I test NationalLanguageLockingShift in the new version, different problems continue to occur.
IList <SubmitSm> req = submitSmBuilder.Create (smppClient);
The Req value should be 3. but the returned list is 2 parts.
Sample MessageText: Özel XXXXX XXXX Koleji Düzey Belirleme Sınavı'na sinav.xxxxxxxxxxxxxxxxxx.com adresi üzerinden giriş yapabilirsiniz. Kullanıcı adı kısmına "ÖĞRENCİNİN TC KİMLİK MUMARASI", şifre kısmına "000000" yazarak sınavınıza giriş yapabilirsiniz. Başarılar dileriz. ÖZEL XXXX KOLEJİ BXXX
the last character is different. "İ"
This problem. Depends on the version.
https://prnt.sc/x8p8b8
Also, when I test NationalLanguageLockingShift in the new version, different problems continue to occur.
IList <SubmitSm> req = submitSmBuilder.Create (smppClient);
The Req value should be 3. but the returned list is 2 parts.
Sample MessageText: Özel XXXXX XXXX Koleji Düzey Belirleme Sınavı'na sinav.xxxxxxxxxxxxxxxxxx.com adresi üzerinden giriş yapabilirsiniz. Kullanıcı adı kısmına "ÖĞRENCİNİN TC KİMLİK MUMARASI", şifre kısmına "000000" yazarak sınavınıza giriş yapabilirsiniz. Başarılar dileriz. ÖZEL XXXX KOLEJİ BXXX
the last character is different. "İ"
Re: Turkish message problem
Which versions did you test?
Could you please test with latest https://www.inetlab.com/Download/2.9.0- ... b.SMPP.zip
Could you please test with latest https://www.inetlab.com/Download/2.9.0- ... b.SMPP.zip
Re: Turkish message problem
Hi,
1.1.20.4 version I use
when i test the file you sent.
.NationalLanguageLockingShift ok.
The problem persists in NationalLanguageSingleShift.
However my project. It calculates length for NationalLanguageSingleShift.
1.1.20.4 version I use
when i test the file you sent.
.NationalLanguageLockingShift ok.
The problem persists in NationalLanguageSingleShift.
However my project. It calculates length for NationalLanguageSingleShift.
Re: Turkish message problem
I think I found where is the issue.
Please try the version https://www.inetlab.com/Download/2.9.0- ... b.SMPP.zip
How your project calculates the length?
Please try the version https://www.inetlab.com/Download/2.9.0- ... b.SMPP.zip
How your project calculates the length?
Re: Turkish message problem
I ran the tests, no problem.
This is great.
I use a system suitable for NationalLanguageSingleShift to calculate.
Now my question is, what should I do for the version we have or should I get a new license? If I need to buy a new license.
My project works synchronously. :(
This is great.
I use a system suitable for NationalLanguageSingleShift to calculate.
Now my question is, what should I do for the version we have or should I get a new license? If I need to buy a new license.
My project works synchronously. :(
Re: Turkish message problem
Version 1.1 is not supported anymore.
I suggest you to upgrade to version 2.9. There are a lot of improvements.
I suggest you to upgrade to version 2.9. There are a lot of improvements.