Tank you,

2009/3/10 Thanasis <[email protected]>

>
> Hi,
>
> You are correct, the config file does not currently have an option to
> set a custom SMSC number.
> I've filed an enhancement request myself in order to fix it:
> http://code.google.com/p/smslib/issues/detail?id=193
>
> For the moment, you should really change the code in order to do this.
> I would propose to do this:
> Edit org.smslib.smsserver.gateways.SerialModem.java and as the last
> line in the create() method add the following line:
>
> ((org.smslib.modem.SerialModemGateway) getGateway()).setSmscNumber
> ("123456");
>
> Set the smsc number to the value of your choice.
> Recompile. This change will affect all of your serial devices (in case
> you have more than one).
>
>
> On Mar 10, 6:57 pm, "[email protected]" <[email protected]>
> wrote:
> > I believe the error should be for lack of SMSCNumber because using
> > SerialModemGateway and setando this property works well, as in not
> > working SMSServer of error SMSServer error GTW modem: GMS Error 330:
> > Retryng ..., how do I setar SMSCNumber in SMSServer.conf, and whether
> > it works with the same Gateway.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SMSLib User Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/SMSLib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to