This is it - yes, httpserver is working very well just get the error
when I uncomment the Http interface.

# Set a different balancer than the default.
smsserver.balancer=RoundRobinLoadBalancer

# Lets add a modem
gateway.0=modem1, SerialModem
modem1.port=COM3
modem1.baudrate=115200
modem1.manufacturer=MultiTech
modem1.model=MTCBA-G-U-F4
modem1.protocol=PDU
modem1.pin=0000
modem1.inbound=yes
modem1.outbound=yes
modem1.smsc_number=
modem1.init_string=ATZ\rATZ\rATZ\r


interface.0=http1, Http
http1.get_url=http://192.168.0.47/ActiveInfoLineTextMessage.aspx?text=
%text%&originator=%originator%


interface.1=httpServer, HttpServer
httpServer.port=8080
httpServer.password.read=0000
httpServer.password.send=1111


settings.inbound_interval=600
settings.outbound_interval=10


settings.delete_after_processing=yes
settings.send_mode = async

# Allowed dispatch time-fames per priority
settings.timeframe.low=0900-2200
settings.timeframe.normal=0000-2359
settings.timeframe.high=0000-2359

On Mar 5, 3:29 pm, Thanasis <[email protected]> wrote:
> Hi,
>
> Can you post your config file?
> Also make sure that you have included (build) both the Http and the
> HttpServer classes.
>
> On Mar 5, 7:03 pm, JoeG <[email protected]> wrote:
>
> > Ok, thanks.  Here's what I added
>
> > interface.0=http1, Http
> > http1.get_url=http://192.168.0.47/ActiveInfoLineTextMessage.aspx?text=
> > %text%&originator=%originator%
>
> > interface.1=httpServer, HttpServer
> > httpServer.port=8080
> > httpServer.password.read=0000
> > httpServer.password.send=1111
>
> > Per the documentation, I get an error Unknown Interface in conf file
>
> > I've recompile the server with http added
>
> > Thoughts?
>
> > On Mar 4, 12:13 pm, Thanasis <[email protected]> wrote:
>
> > > Yes, you certainly can.
>
> > > On Mar 4, 8:09 pm, JoeG <[email protected]> wrote:
>
> > > > Apologize but couldn't find this in the docs.
>
> > > > Can I configure the SMS Server to use both HTTP and HTTPServer
> > > > interfaces at the same time?
>
> > > > Thus, a message arrives, a URL is called via HTTP and then passed to
> > > > HTTPServer ...
>
> > > > Thanks,

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