Setting TON and NPI for the source address in a long message
Posted: Fri Sep 06, 2013 4:56 pm
Hi Guys;
I've been doing some tests on your demo application and I ran into an issue.
I'm trying to send a long message by using the method "Client.Submit(SMS.ForSubmit())" in your help document. However, I cannot set TON and NPI values for the source address.Therefore, I'm getting "invalid source address" error from smsc.
Is there any way to set those values? Or, Am I missing any point in the function?
Client.Submit(SMS.ForSubmit()
.ServiceType("test")
.Text("Test Test Test Test Test Test Test Test Test Test")
.From("1111")
.To("2222")
.DeliveryReceipt()
.Coding(DataCodings.Default)
);
I've been doing some tests on your demo application and I ran into an issue.
I'm trying to send a long message by using the method "Client.Submit(SMS.ForSubmit())" in your help document. However, I cannot set TON and NPI values for the source address.Therefore, I'm getting "invalid source address" error from smsc.
Is there any way to set those values? Or, Am I missing any point in the function?
Client.Submit(SMS.ForSubmit()
.ServiceType("test")
.Text("Test Test Test Test Test Test Test Test Test Test")
.From("1111")
.To("2222")
.DeliveryReceipt()
.Coding(DataCodings.Default)
);