Page 1 of 1

How can I connect to seweral SMSC

Posted: Tue Jul 06, 2010 6:45 am
by komil
Now I`m used ALT SMS and very successful, but I`m want used seweral SMSC how can I do it?


With best regards,
Komil

Posted: Tue Jul 06, 2010 2:04 pm
by alt
You need to create several SmppClient instances and connect each to different SMSC.

Posted: Tue Jul 06, 2010 2:11 pm
by komil
alt wrote:You need to create several SmppClient instances and connect each to different SMSC.
at first time I`m think I`m have to add SMSC parameters in app.config
which I do but when I`m add <appSettings>
<!-- User application and configured property settings go here.-->
<!-- Example: <add key="settingName" value="settingValue"/> -->
<add key="Host" value="xxxxxxxxxxx" />
<add key="Port" value="xxxx" />
<add key="SystemId" value="xxxx" />
<add key="Password" value="xxx" />
<add key="SystemType" value="" />
<add key="Ton" value="0" />
<add key="Npi" value="1" />
<add key="SrcAdr" value="3000" />
<add key="SrcAdrTON" value="0" />
<add key="SrcAdrNPI" value="1" />
<add key="DestAdr" value="" />
<add key="DestAdrTON" value="1" />
<add key="DestAdrNPI" value="1" />
</appSettings>

program don`t working in which part of code I`m must be add new SMSC?

Komil

Posted: Tue Jul 06, 2010 2:40 pm
by alt
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.