custom parameters

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

custom parameters

Post by armandsbrants »

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: 992
Joined: Tue Apr 25, 2006 9:45 am

Re: custom parameters

Post by alt »

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 »

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 »

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 »

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

Re: custom parameters

Post by alt »

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