Page 1 of 1

CANCEL_SM

Posted: Fri Mar 06, 2009 8:26 am
by prog019
Hi,

Can you describe(source code) example of usage CANCEL_SM for canceling all not delivered SMS s ?

Thanks.

Posted: Sat Mar 28, 2009 11:51 am
by alt

Code: Select all

SubmitSm sm =  ... ;

SubmitSmResp resp = client.Submit(sm);

CancelSmResp c_resp = client.Cancel(sm.ServiceType, resp.MessageId, sm.SrcTon, sm.SrcNpi, sm.SrcAddr, sm.DestTon, sm.DestNpi, sm.DestAddr);

Posted: Sat Mar 28, 2009 5:16 pm
by prog019
Thank You very much.