Problem sending Vertical bar

Problem sending Vertical bar SearchSearch
Author Message
Johnny
New member
Username: Johny

Post Number: 44
Registered: 02-2009
Posted on Thursday, October 31, 2013 - 08:55 am:   

Hi

I use NowSMS v2013.07.02

I have a problem sending | (Vertical bar)
When I send | (Vertical bar)in the Text message tab, mobile phone receive @ character.
mobile phone have to receive 0x1b20 (7 bit Encoding value of | (Vertical bar)) but it receive 7 bit Encoding value 0x1b00.

I attach the our NOW SMS configuration

SMSGW.ini
[SMSGW]
Modem1=SMPP - 203.xxx.xxx.xx:xxx
WebAuth=No
WebMenu=Yes
WebPort=8800
ReceiveSMS=No
ReceiveMMS=No
Debug=Yes
ReceiveSMSCharset=utf-8
ConfigurationUpdateTriggerRestart=20111107161457
SeparateUserQueues=Yes
AlertEMailSender=xxxxxxxx
AlertEMailQueueSize=50
AlertEMailSMTPUser=xxxxxxxx
AlertEMailSMTPPass=0510xxxxxx
PHPEnable=No
PHPAllowRemote=No
AlertEMailSMTPServer=xxxxxxxx
AlertEMailSMTPPort=25
AlertEMailRecip=yxxxxxxxxxx
AlertEMailSendInfo=No
[Inbound SMS Routing]
[SMPP - 203.xxxx.xxxx.xx:6xx]
SMPPVersion=v3.4
UserName=NPLEX7
Password=ESME7
SenderAddressOverride=Yes
Receive=No
ReceiveMMS=No
UseSSL=No
LongSMSAlt=Yes
KeepAlive=58
SenderAddress=+821029991115


SMSOUT log
2013-10-31 16:05:11,47A31834,xxx.xx.xx.xx,22114403,OK -- SMPP - 203.229.247.33:6208,Sender=+821029991115;SMSCMsgId=1000DCC;Text="|"




Please check this problem
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 4712
Registered: 08-2008
Posted on Thursday, October 31, 2013 - 03:20 pm:   

Hi Johnny,

I do not see any encoding errors on the NowSMS side.

When configured to use the GSM (or default) character set for an SMPP connection, NowSMS encodes the vertical bar character | as 0x1B 0x40. That is the correct encoding. (Enable the SMPPDEBUG.LOG or do a Wireshark trace, and this is what you will see.)

Of possibly related note ... 0x40 is the character encoding for @ in the iso-8859-1 character set, and 0x00 is the character encoding for @ in the GSM character set. So it looks like the SMSC is expecting iso-8859-1 input and generating GSM character set output.

Can you send the @ symbol ok? If you cannot send @ successfully, you should change your SMSC character set to iso-8859-1 (or "iso-8859-1 as default" ... both settings use the same character set, the "as default" version leaves data_coding at 0 instead of 3).

If you can send @ OK, then do not change the character setting. Instead it is likely that your SMSC has an error handling this character.

--
Des
NowSMS Support