Search found 987 matches

by alt
Mon Aug 02, 2010 11:59 am
Forum: ALT.SMS.SmppClient
Topic: How to use Submit Multi method?
Replies: 20
Views: 137701

Some SMSC does not support SubmitMulti. Please ask them if this message allowed to you.
by alt
Fri Jul 23, 2010 9:01 am
Forum: ALT.SMS.SmppClient
Topic: Status 1025
Replies: 2
Views: 35968

0x00000400- 0x000004FF Reserved for SMSC vendor specific errors

Please ask SMSC side.
by alt
Thu Jul 15, 2010 5:14 pm
Forum: ALT.SMS.SmppClient
Topic: return ESME_RINVMSGLEN while sending a message
Replies: 12
Views: 24863

I don't see any errors in the library.
Try to send wrong packets log to SMSC technician.
Possible they can analyze it and tell you the reason.
by alt
Thu Jul 15, 2010 5:09 pm
Forum: ALT.SMS.SmppClient
Topic: Password length too long
Replies: 8
Views: 73938

It is written in v3.4 specification
by alt
Thu Jul 15, 2010 9:04 am
Forum: ALT.SMS.SmppClient
Topic: Password length too long
Replies: 8
Views: 73938

9th symbol is always null (0x00)


C-Octet String
A series of ASCII characters terminated with the NULL character.
by alt
Sun Jul 11, 2010 6:53 pm
Forum: ALT.SMS.SmppClient
Topic: return ESME_RINVMSGLEN while sending a message
Replies: 12
Views: 24863

Does SMSC always send this error code when you send message in UCS2 encoding?
by alt
Wed Jul 07, 2010 7:46 am
Forum: ALT.SMS.SmppClient
Topic: return ESME_RINVMSGLEN while sending a message
Replies: 12
Views: 24863

I think you need to ask SMSC side why they return this status for correct messages. Sometimes, because of network buffer size, SubmitSm packet can be received from network using two read operations. Possible SMSC does not wait when they receive second part of SubmitSm packet and it returns ESME_RINV...
by alt
Wed Jul 07, 2010 7:35 am
Forum: ALT.SMS.SmppClient
Topic: How can send message in Main
Replies: 12
Views: 98635

SmppClient events should be initialized right after
client = new SmppClient();

client.evDeliverSmComplete += new ALT.SMS.SmppClient.DeliverSmEventHandler(client_evDeliverSmComplete);

Also in your last code you need to rename method client_evDeliverSm to
client_evDeliverSmComplete
by alt
Tue Jul 06, 2010 7:50 pm
Forum: ALT.SMS.SmppClient
Topic: How can send message in Main
Replies: 12
Views: 98635

Oh, sorry, I did it in wrong project

correct code should start with

client.evDeliverSmComplete += new ALT.SMS.SmppClient.DeliverSmEventHandler(client_evDeliverSmComplete);
by alt
Tue Jul 06, 2010 6:58 pm
Forum: ALT.SMS.SmppClient
Topic: How can send message in Main
Replies: 12
Views: 98635

client.evDeliverSmComplete += new ALT.SMS.SmppClient.DeliverSmEventHandler(client_evDeliverSmComplete); ... public void client_evDeliverSmComplete(object sender, DeliverSm data) { if (data.SegmentNumber > 0) { AddMessageSegmentToCollector(data); string messageText = SmppClient.GetMessageText(data.Us...
by alt
Tue Jul 06, 2010 6:27 pm
Forum: ALT.SMS.SmppClient
Topic: How can send message in Main
Replies: 12
Views: 98635

evDeliverSmComplete is event, but you are trying to use it as method

in your code should be line with

client.evDeliverSm += ...

replace it with

client.evDeliverSmComplete += ...
by alt
Tue Jul 06, 2010 2:40 pm
Forum: ALT.SMS.SmppClient
Topic: How can I connect to seweral SMSC
Replies: 3
Views: 13727

SmppClientDemo application created for connection with only one SMSC.

You need to write your own application. Where you need to make connection and binding with several SMSC, attach each client to required events.
Also you need to reestablish connection when one of the client disconnects.
by alt
Tue Jul 06, 2010 2:23 pm
Forum: ALT.SMS.SmppClient
Topic: How can send message in Main
Replies: 12
Views: 98635

Try another event evDeliverSmComplete.

In the evDeliverSm event response DeliverSmResp is not sent yet and SMSC waits when client send response.
evDeliverSmComplete event is raised when response already sent.
by alt
Tue Jul 06, 2010 2:04 pm
Forum: ALT.SMS.SmppClient
Topic: How can I connect to seweral SMSC
Replies: 3
Views: 13727

You need to create several SmppClient instances and connect each to different SMSC.