Re: Bug in Kannel Response Status codes
Andreas Fink <[email protected]> Mon, 28 Sep 2015 11:18:29 +0200
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
one possible reason for this is that kannel has an alternate route. how does your allowed-smsc-id / denied-smsc-id entries look like? > On 28 Sep 2015, at 11:07, Kirti Mandwade <[email protected]> wrote: > > > Hello All, > > Kannel does not give expected status codes when an smsc is down, stopped or removed. > > Here is what I did. > 1) I ran smsc-stop command : > lynx -dump "http://localhost:13000/stop-smsc?password=admin-password&smsc=smsc-name <http://localhost:13000/stop-smsc?password=admin-password&smsc=smsc-name>" > > 2)Then i tried sending SMS and it gave me > > 202 Accepted status from Kannel > > 3) In the bearer box it gave : > WARNING: Cannot find SMSCConn for message to <27800.......>, rejected. > 2015-09-09 15:38:42 [20697] [13] DEBUG: SMSC[UNKNOWN]: creating DLR message > 2015-09-09 15:38:42 [20697] [13] WARNING: Message rejected by bearerbox, no router! > > > Then tried smsc-remove command > lynx -dump "http://localhost:13000/remove-smsc?password=admin-password&smsc=smsc-name <http://localhost:13000/remove-smsc?password=admin-password&smsc=smsc-name>" > > and sent message. > > According to Kannel > Kannel svn-r5114 User's Guide. > > <>http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html#AEN910 <http://www.kannel.org/download/kannel-userguide-snapshot/userguide.html#AEN910> > > I should have got - 202 3: Queued for later delivery > > but I got 202 Accepted status with the same error in the bearerbox > > After that I tried removing confirguration for the smsc from directory that Kannel looks for from the include statement and restarted kannel and sent SMS > > Even after that i got the same results 202 Accepted status from Kannel and error in bearerbox. > > > Kannel should not give Accepted status if that SMSC is stopped, removed or does not exist but Kannel accepts it and rejects the message in bearerbox. > If Kannel will not respond with any other status then no one can find out that messages were not sent and smsc was down or does not exist. > > Here is my redmine link > https://redmine.kannel.org/issues/744 <https://redmine.kannel.org/issues/744> > > Please look into this issue. > > Regards > Kirti >
signature.asc
(application/pgp-signature, 841 B)
-----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJWCQXmAAoJEOtfx+3l1p1nEDcP/iVFOi4YAzWcZWSc+xWaC2x+ MQZDe2U/cGIMX1ON2az3cj34dqXQlF0iTvFaZGh2E6z8NuUxctk2W+07ehz8sV2e Cvs4EY6o8Q5zyOyS/ELpy/vwniOEi12VZAJuOXBR2s5Rg/VMRfNz084wLiQUYsvV TeDldCN95zl4pjoxmQcAIToI0NlHMK/H3Piph2PloNGvTeH3r09dUeKAFmHgjUaF jvO0F2CYLarixwW5WjFdj/pFHwzr5wiF70ySUIcxcxbK1J564zdCIr2p+4Ov6xoF VVwXZBdPJR+WbGof6xrdK1CNOqpUKx4Ry2a8WjBsRn+y7Z/YfYGgxRFgaD8R5FJf qwJChTAPqPR0NcXn107is+OsCUw+HF9tEbE66leBXrt7n9COkm7h83vjWZddGWMC vbW2sMh9+S6BnUq/ZmWWT8o+FLtrKKURNQCnAqW5iUwD0djxRZmavOQZlzNQBseN rpBVlUOQrW4oaHYirkJnRpjvYLpxQD9uHfPl7AZO1rkm5TaCUiIExyymWOjoOavY Tjs0IeSbAtHZnORaejGx91bsOqx1qx9bcdtjL6fqDFt4h/Jk2aXHeAcXG5hhnh94 CLWlbm2clf1Qsr2Ni4rdYi+UKFV0WhsL6z5xKGt5Qbh4PYKs6pqJXYq/vk5PrSTg BAT4hXfxm8T/W9AZbCfd =4jY+ -----END PGP SIGNATURE-----