Nikos Balkanas pisze:
That's because you have a typo. You should use:
&smsc=<smscid>
in your URL
instead of:
&smsc-id=<smscid>
thanks a lot :) stupid mistake
BR,
Nikos
----- Original Message ----- From: "Pawel Bunko" <[email protected]>
To: "Nikos Balkanas" <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, December 16, 2009 1:27 PM
Subject: Re: problem with routing sms to proper smsc
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: [email protected]; 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.
--
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: [email protected]; 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.