custom parameters

.NET library for SMPP protocol
Locked
armandsbrants
Posts: 5
Joined: Mon May 27, 2013 1:55 pm

custom parameters

Post by armandsbrants » Mon May 27, 2013 2:01 pm

Hello,

I am currently evaluating the library if I can do everything I need.

Receiving SMS seems OK at the moment, I was able to do it with the demo application.

However sending SMS is a challenge. The thing is that I need to send not only standard parameters such as DestAddr but, some additional mobile operator defined parameters as well. Could you please tell me how to do it?

Thanks in advance,
Armands
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: custom parameters

Post by alt » Mon May 27, 2013 2:40 pm

Hello Armands,

Could you tell which parameter you need to define? What is required by mobile operator?

Best Regards,
Alexey
armandsbrants
Posts: 5
Joined: Mon May 27, 2013 1:55 pm

Re: custom parameters

Post by armandsbrants » Mon May 27, 2013 6:44 pm

The parameter is called operator_tarif_category, for example. Like I said, something very custom.

Armands
armandsbrants
Posts: 5
Joined: Mon May 27, 2013 1:55 pm

Re: custom parameters

Post by armandsbrants » Tue May 28, 2013 7:09 am

OK, got it. I need the ID from them which I got and can use.

Another question is - how do I specify the type?

Thanks,
Armands
armandsbrants
Posts: 5
Joined: Mon May 27, 2013 1:55 pm

Re: custom parameters

Post by armandsbrants » Tue May 28, 2013 9:10 am

Figured everything out.
alt
Site Admin
Posts: 985
Joined: Tue Apr 25, 2006 9:45 am

Re: custom parameters

Post by alt » Thu May 30, 2013 8:49 pm

In case of custom TLV parameter you can try

Code: Select all

SMS.ForSubmit()
.From(srcAdr, srcTon, srcNpi)
.To(dstAdr, dstTon, dstNpi)
.Text(tbSend.Text)
.AddParameter(0x1403, "free");
Locked