test kannel with fakesmsc
Alejandro Guerrieri
aguerrieri at kannel.org
Thu Feb 24 08:16:04 CET 2011
You're trying to connect both to port 10005, you should use 10000 on one of the two fakesmsc's to match what you configured.
Hope it helps.
--
Alex Guerrieri
On 24/02/2011, at 05:59, ha nguyen viet <habeotron at gmail.com> wrote:
> Hi all, i am using kannel sms gateway version 1.4.3 now.
>
> i want to test kannel with fakesmsc. it works ok but when i config 2 fakesmsc with 2 ports then run it: start bb, start sb and stop it, run in 2 terminal test/fakesmsc -r 10005 -i 0.1 -m 5 "1 2 text nop" and test/fakesmsc -r 10005 -i 0.1 -m 5 "1 2 text ha" so i start sb again. the problem is kannel random sms reply to each fakesmsc.
>
> so does kannel always do it or my configkannel is wrong?
>
> i config like this:
>
> group = smsc
> smsc = fake
> smsc-id = smsc01
> port = 10000
> connect-allow-ip = 127.0.0.1
>
> group = smsc
> smsc = fake
> smsc-id = smsc02
> port = 10005
> connect-allow-ip = 127.0.0.1
>
> .......
> group = sms-service
> accepted-smsc = smsc01;smsc02
>
> thanks guys.
More information about the devel
mailing list