Hi,
I think you also need to grab the userguide first :) This issue has been
asked for times.
in the smscs group:
for tmobile:
smsc-id = tmobila
denied-smsc-id = SMSCB
for SMSCB:
smsc-id = SMSCB
denied-smsc-id = tmobila
in the sms-service group:
group = sms-service
accepted-smsc = tmobile
group = sms-service
accepted-smsc = SMSCB
in the ge-url or post-url at each sms-service grab the %i value, either
you use sqlbox or standard kannel sendsms script, don't forget to add
the smsc=%i to route it.
Regards
Willy
On Fri, 2007-06-29 at 23:07 +0200, kannel box wrote:
> Dear all,
>
> Please take two minutes to read this through, we're in a great need of
> instant help...
>
> We've set up kannel with two SMSCs (an SMPP and an EMI SMSC), and now we
> urgently need to receive SMSes through both of them - and we're stucked
> with a problem we can't resolve.
>
> - we've got a separate web based application, and every incoming SMS
> should be forwarded to the same URL of this app, no matter where they
> came from
> - when we send an SMS to a number related to the first SMSC ("A", SMPP),
> it works great - calls the URL, passes the message to our application,
> it's also included in the logs in details (we use debug level logging)
> - when we send an SMS to the other SMSC ("B", EMI), Kannel instantly
> responds with an SMS containing "Request failed" - and there isn't
> a single line about it in the log files (checked access log, smsbox
> log, smsc log many times - absolutely nothing about the incoming SMS
> nor the reply).
>
> It feels that Kannel cannot find the sms service group where the message
> belongs... but we simply can't find out why, as we absolutely do not use
> any 'routing' for incoming messages...
>
> We've also tried to have two sms-service groups with the same get-url,
> with no effect - everything works like written above. Played hundreds of
> combinations in the last 8 hours with it... please help us if you can!
>
> Our current config:
>
> group = sendsms-user
> username = **
> password = **
> max-messages = 3
> concatenation = true
> smsbox-id = standardbox
>
> group = smsbox-route
> smsbox-id = standardbox
>
> group = sms-service
> get-url = "http://xxxxxxx"
> concatenation = true
> max-messages = 0
> omit-empty = true
> catch-all = true
> keyword=default
>
> # max-messages=0 because we don't want instant reply
>
> ###### SMSC A
>
> group = smsc
> smsc = cimd2
> smsc-id = tmobila
> host = 1.2.3.4
> port = 1234
> smsc-username = "1234"
> smsc-password = "1234"
> keepalive = 10
> my-number = +3634.......
> log-file = "/var/log/kannel/standard-SMSCA.log"
> preferred-prefix = "3612;+3612"
> denied-prefix = "3634;+3634"
>
> ###### SMSC B
>
> group = smsc
> smsc = emi
> smsc-id = SMSCB
> host = 1.2.3.4
> port = 1234
> smsc-username = "1234"
> smsc-password = 1234
> emi31-ip = "010101011101"
> force-otoa = "1139"
> enquire-link-interval = 30
> keepalive = 30
> system-type = "VMA"
> log-file = "/var/log/kannel/standard-SMSCB.log"
> log-level = 0
> alt-charset = "ISO-8859-1"
> reconnect-delay = 120
> sms-center = "+XxxxxxxX"
> denied-prefix = "+3612"
> preferred-prefix = "+3634"
> unified-prefix="0036,36,+36"
> notification-pid = 1234
>
> Thanks in advance!
> Kind regards,
>
> Tom
>