On Fri, 2002-04-12 at 15:02, Marco Teixeira wrote: > Hi all, > > First time installing kannel, > and have some issues still pending. > Have been around with these quit a > long time now, and after searching the > mail lists found nothing, so bear with me > please if it sounds newbie stuff. > > I'm trying ti make Nagios, a network monitoring > tool, send me warnings trough sms. > > If there is connection to internet, kannel should > use TCP/IP SMSC if not it should use backup SMSC > by a 33.6 analog modem. > Only want to send, receiving is of no matter.
I've done code to emi2 to have a host/port and alt-host/alt-port. If you are gonna use emi2 ;), you cound say that host = smsc host and alt-host = other ip that routes through the modem (with auto-dial?). In emi2, when a connection is dropped, kannel tryes primary smsc, then alternative smsc. But if alternative smsc doesn't drop, kannel won't ever try to see if primary smsc is up. It's more a round-robin connection, but testing the availability of the primary first. But if you want to connect to the same SMSC but by different routes, you should probably create a tunnel, connect kannel to it and let that machine route the tunnel trough the up connection. examples of a tunnel: 5000 stream tcp nowait.250 root /usr/sbin/tcpd /usr/bin/nc -q 60 -s mylocalip -p mylocalport smscip smscport > > > Question: Anyone managed to do this ? > Can i define a like primary and backup SMSC ? > Does kannel manage to send sms using "cgi" > gateways like mtnsms? > > Thanks for your time. > Best regards > > ================================ > Marco Teixeira > Centro de Comunica��es > Universidade do Minho > Campus Azur�m > 4800 Guimar�es > > Tel: +351253510165 > http://www.ccom.uminho.pt > mailto:[EMAIL PROTECTED] > ================================ > > >
