Tlv settings

Tlv settings SearchSearch
Author Message
Frank
New member
Username: Lavalife

Post Number: 2
Registered: 10-2007
Posted on Friday, October 19, 2007 - 09:26 pm:   

Hi,
Could you help to give some instruction setting the tlvs?
I tested but looks like didn't send out those tlv values. What I did was first checked the smpp connection->advanced setting->Use TLV parameters for port number and segmentation. Set the http port as 8800
also in [SMPPOptions] section of SMSGW.ini file, set 1402 and 1403 as operator and tariff
(those are tlvs required)

Then from http post:
http://servername:8800/?PhoneNumber=xxxxxxxxxx&Sender=xxxxx&Text=test@SMPPOption_mblox_tariff=1&SMPPOption_mblox_operator=xxxxx&User=xxxx&Password=xxxx

When I checked the debug file,the SMSDEBUG.LOG showed that the same I just posted. But SMPPDEBUG.LOG show no tlvs I sent.
Malcolm - Now Support
Moderator
Username: Malcolm

Post Number: 237
Registered: 12-2006
Posted on Friday, October 19, 2007 - 10:53 pm:   

Hi Frank,

Do not worry about the "Use TLV parameters for port numbers and segmentation" setting. It is not related to the configuration of the additional TLV parameters (SMPPOptions). This particular setting only specifies whether NowSMS will use TLV parameters for segmented/concatenated/long messages or messages that contain source or destination port numbers. (If not checked, NowSMS builds GSM UDH for these settings ... which is better understood by most providers.)

Can I see the [SMPPOptions] section from the SMSGW.INI?

Does it look like this?

[SMPPOptions]
mblox_operator=1402,String,5
mblox_tariff=1403,String,5


That should be enough to enable support for those parameters.

Have you restarted the NowSMS service after making the edits to SMSGW.INI?
Frank
New member
Username: Lavalife

Post Number: 3
Registered: 10-2007
Posted on Monday, October 22, 2007 - 12:03 am:   

Yes. I just set as same as as your posted and I did restart several times. Is the content of SMSGW.ini case sensitive?
Any other things that I should check?

Thanks for your help!
Frank
Frank
New member
Username: Lavalife

Post Number: 4
Registered: 10-2007
Posted on Monday, October 22, 2007 - 09:05 pm:   

Updates,
There's no space between parameters.
mblox_operator=1402, String, 5 (This is wrong)
Malcolm - Now Support
Moderator
Username: Malcolm

Post Number: 244
Registered: 12-2006
Posted on Tuesday, October 23, 2007 - 08:14 pm:   

Was that the issue? Spaces?