Search found 984 matches

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

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: 67216

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: 67216

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: 24729

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: 24729

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: 89626

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: 89626

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: 89626

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: 89626

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: 13659

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: 89626

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: 13659

You need to create several SmppClient instances and connect each to different SMSC.
by alt
Tue Jul 06, 2010 2:02 pm
Forum: ALT.SMS.SmppClient
Topic: return ESME_RINVMSGLEN while sending a message
Replies: 12
Views: 24729

Your submit_sm messages are ok.
Do you get ESME_RINVMSGLEN when you send short text?

Please try to find out if SMSC supports concatenated messages?
And try SubmitMode.Payload mode.
by alt
Sun Jul 04, 2010 8:36 pm
Forum: ALT.SMS.SmppClient
Topic: Please help! getting error "Bad status returned during
Replies: 1
Views: 7312

Do you always have this response?
It looks like server drops connection when you send SMPP packet.
Please check your connection parameters.
by alt
Sun Jul 04, 2010 8:32 pm
Forum: ALT.SMS.SmppClient
Topic: Cannot bind as Transceiver
Replies: 1
Views: 8142

Please ask if SMSC defined restrictions for your ID.
Sometimes they are not allow to bind in Transceiver mode.
Or they allow to bind only one connection.