Hi!

I am trying to define several SMSc on kannel and i make it sucessfully,
but i have a problem and is that i wanna that kannel uses by default one
of them, but it insists in using always the one based on the gsm modem,
below is the config i am using, could you please help me in what i am
doing wrong?, if i force the paramter smsc in the URL with the smsc name
it works great.

Thanks in advance,

## DEFINIMOS LOS SMS POSIBLES

group = smsc
smsc-id = tsm
smsc = http
pin = 5454
system-type   = kannel
smsc-username = metropoli2000
smsc-password = notavailable
#send-url  = http://elweb.de.juanen.com/send_mt
send-url = http://fake/kannel_gw_temp.php
no-sender = true
no-sep    = true
port = 10000
connect-allow-ip = 127.0.0.1;192.168.1.*

group = smsc
smsc-id = vodafone
smsc = at2
modemtype = siemens_s45
speed = 57600
device = /dev/ttyS1
pin = 0000
system-type   = kannel
smsc-username = metropoli2000
smsc-password = none
no-sender = true
no-sep    = true
sms-center = +34607003110
port = 10000
connect-allow-ip = 127.0.0.1;192.168.1.*

group = smsc
smsc-id = amena
smsc = http
pin = 5454
system-type   = kannel
smsc-username = metropoli2000
smsc-password = none
send-url = http://fake/kannel_gw_temp.php
no-sender = true
no-sep    = true
port = 10001
connect-allow-ip = 127.0.0.1;192.168.1.*
#########################################

group = smsbox
bearerbox-host = 192.168.1.6
sendsms-port = 13013
global-sender = 7484
log-file = "/var/log/smsbox.log"
log-level = 5
access-log = "/var/log/access.log"


#########################################
### DEFINIMOS LAS PASARELAS DE ENVIO DE SMS POR CADA OPERADOR (SMSPUSH)

group = sendsms-user
username = m2000
password = pepito
user-deny-ip = "*.*.*.*"
user-allow-ip = "192.168.1.*;127.0.0.1"
concatenation = 1
max-messages = 3
forced-smsc = tsm

group = sendsms-user
username = vodafone
password = pepito
user-deny-ip = "*.*.*.*"
user-allow-ip = "192.168.1.*;127.0.0.1"
concatenation = 1
max-messages  = 3
allowed-prefix =
600;607;610;617;627;637;647;661;662;666;667;670;677;678;687;697
denied-prefix = *
forced-smsc = vodafone

# SERVICES

group = sms-service
keyword = nop
text = "You asked nothing and I did it!"

# this service is for Kannel relay testing, when this Kannel
# works as relay gateway

group = sms-service
keyword = relay
get-url =
"http://localhost:15130/sms?user=kannel&pass=rL4y&from=%p&to=%P&text=%r";
max-messages = 0


# there should be default always

group = sms-service
keyword = default
text = "No service specified"

include = "etc/modems.conf"




-- 
--------------------------------------------------------------------------
|Juan Enrique Gomez Perez
|Metropoli2000 Networks, S.L.
| Phone: +34 914250023 Fax: +34 914250136
| email: [EMAIL PROTECTED]
--------------------------------------------------------------------------
PGP Fingerprint: 6B39 3A2B A17B 1E8E CFFD  FC14 678E 0A22 BD80 C486
Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBD80C486

If this message hasn't a correct signature please notify 
it to [EMAIL PROTECTED] To get the public key please
use the above url. Thanks for your help.
--------------------------------------------------------------------------

Attachment: signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmadadigitalmente

Reply via email to