Nikos Balkanas pisze:
Hi,

Rerouting is something else. Your question is obviously about routing. Please post detailed bb logs from startup, leading up to the problem. Probably smscs are inactive, i.e. have not started up.
I was talking about routing

all smsc were active

when I added  forced-smsc =  to every send-sms users group like this

# SEND-SMS USERS

group = sendsms-user
username = GS2ModemEra14
password = GS2ModemEra14
forced-smsc = GS2ModemEra14


group = sendsms-user
username = GS2ModemEra15
password = GS2ModemEra15
forced-smsc = GS2ModemEra15

group = sendsms-user
username = GS2ModemPlus07
password = GS2ModemPlus07
forced-smsc = GS2ModemPlus07

group = sendsms-user
username = GS2ModemPlus08
password = GS2ModemPlus08
forced-smsc = GS2ModemPlus08

routing starts working
and when I try to send sms with sendsms:

url looks like this:
http://172.16.160.82:13013/cgi-bin/sendsms?username=GS2ModemEra14&password=GS2ModemEra14&from=xxxx&to=xxx&text=test&smsc-id=GS2ModemEra14&dlr-mask
=31&coding=0&validity=1440
but it is strange why forced-smsc is necessary if smsc-id parameter was pass in sendsms url?

bearbox logs looks like this:

2009-12-16 08:02:48 [11165] [12] DEBUG: boxc_receiver: sms received
2009-12-16 08:02:48 [11165] [12] WARNING: Cannot find SMSCConn for message to <xxxx>, rejected. 2009-12-16 08:02:48 [11165] [12] WARNING: Message rejected by bearerbox, no router!

According to the user's guide this sendsms request with that configuration should reroute sms to GS2ModemEra14 or GS2ModemEra15 smsc

http://172.16.160.82:13013/cgi-bin/sendsms?username=GS2ModemPlus08&password=GS2ModemPlus08&from=xxxx&to=xxx&text=test&smsc-id=GS2ModemPlus08&dlr-mask
=31&coding=0&validity=1440

this sms should be rerouted to GS2ModemPlus08 or GS2ModemPlus07 smsc

why those sms were rejected?
when I leave only preferred-smsc-id list for each modem everything working fine but I think that rerouting wouldn't work as I wish

what is wrong?

thanks for your help

Pawel




--
Paweł Buńko

Starszy Programista
Dział Budowy Oprogramowania Systemów Zarządzania
Biuro Rozwoju Produktu

tel. +48 22 61 16 729; 502 477 791
fax. +48 22 61 09 143

mail: p.bu...@autoguard.pl; www.autoguard.pl

AutoGuard S.A. z siedzibą w Warszawie (04-128), ul. Omulewska 27. Spółka 
wpisana do Krajowego Rejestru Sądowego w Sądzie Rejonowym dla m. st. Warszawy w 
Warszawie, XIII Wydział Gospodarczy Krajowego Rejestru Sądowego pod nr KRS 
0000287629.
Kapitał akcyjny: 1.059.000,00 zł (w pełni opłacony), NIP 113-22-19-747, REGON 
016284203.

Klauzula poufności:
Ta wiadomość może zawierać informacje poufne. Jeżeli nie jesteś adresatem 
wiadomości (i/albo otrzymałeś ją omyłkowo), prosimy poinformować nadawcę oraz 
ją usunąć. Wszelkie kopiowanie, ujawnianie lub dalsze przekazywanie materiałów 
zawartych w tej wiadomości elektronicznej jest zabronione.
Disclaimer:
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and delete this e-mail. Any unauthorized copying, 
disclosure or distribution of the material in this e-mail is strictly forbidden.


Reply via email to