I firstly tryied synaptic version of kannel but it didn't work, then I
downloaded last 1.4.1 version zip file source code :
http://www.kannel.org/download/1.4.1/gateway-1.4.1.zip

and then unzip, ./configure (without any parameter) and make (without
any parameter) and make check and sudo make install (without any
parameter).

Now I have the three executables in kannel_root/gw (bearer, smsbox and
wapbox) and the fakesmsc in the kannel_root/test directory

I read you can install many kannel on the same operating system, just
pay attention to use specific ports for all them. You can use "sudo nmap
127.0.0.1 -p 1-65535" command to check current processes waiting for
connexion, to be sure not to overlap them.







Le jeudi 16 octobre 2008 à 13:00 +0200, Quoc-Quang SRENG a écrit :
> Guillaume,
> 
> 
> Which version of Kannel are you using ?
> On mine, the bearerbox and smsbox binaries are in the /usr/sbin
> directory
> but I can't find any fakesmsc.
> 
> 
> what does your kannel directory contain ? I can' t find a directory
> with any consistent files.
> 
> 
> 
> On Thu, Oct 16, 2008 at 11:38 AM, Guillaume Godart
> <[EMAIL PROTECTED]> wrote:
>         Hi,
>         
>         I compiled sources on ubuntu 8.04 and after that the
>         executable fakesms
>         was effectively in kannel_dir/test
>         
>         and I used the command command :
>         kannel_dir/test/fakesmsc -i 0.01 -m 0 "123 345 text default"
>         
>         and I can control kannel sms flows with the
>         contrib/kannel-monitor/index.php page (deplaced in my website
>         directory)
>         
>         Guillaume
>         PS : Need to restart the bearer and the smsbox executable
>         after each config file modification...
>         
>         
>         
>         
>         
>         
>         
>         Le jeudi 16 octobre 2008 à 11:07 +0200, Quoc-Quang SRENG a
>         écrit :
>         
>         > Hello everyone,
>         >
>         >
>         > I'm also trying to use the fakesmsc to make some load
>         testing on our
>         > server but I think there is something I'm missing. Like you,
>         > Guillaume, I have succeeded in sending short messages
>         through my
>         > regular SMSC / broker, using a http request (lynx -dump
>         > "http://127.0.0.1/sendsms?...";). Now I'm willing to make
>         some server
>         > load test, so I need to setup the fakesmsc to make those
>         tests without
>         > actually sending the SMS. In other words, to make those
>         tests without
>         > spending money :)
>         >
>         >
>         > And logically, I tried to setup a sendsms-user whose smsc-id
>         is forced
>         > to the fake_smsc. But I can't see it working. All I get is
>         that
>         > message on the smsbox
>         >
>         >
>         > 2008-10-16 11:03:48 [20573] [3] INFO: sendsms used by <fake>
>         > 2008-10-16 11:03:48 [20573] [3] INFO: sendsms
>         sender:<fake:MSGSENDER>
>         > (127.0.0.1) to:<+33656677889> msg:<Hello World !>
>         >
>         >
>         > and on the bearerbox
>         >
>         >
>         > 2008-10-16 11:03:48 [20577] [8] DEBUG: boxc_receiver: sms
>         received
>         > 2008-10-16 11:03:48 [20577] [8] DEBUG: send_msg: sending msg
>         to boxc:
>         > <smsbox1>
>         > 2008-10-16 11:04:12 [20568] [7] DEBUG: sms_router:
>         gwlist_len = 3
>         > 2008-10-16 11:04:12 [20568] [7] DEBUG: sms_router: handling
>         message
>         > (0x81b3658 vs 0x81b3658)
>         > 2008-10-16 11:04:12 [20568] [7] DEBUG: sms_router: handling
>         message
>         > (0x81a7078 vs 0x81b3658)
>         > 2008-10-16 11:04:12 [20568] [7] DEBUG: sms_router: handling
>         message
>         > (0x81a5fe0 vs 0x81b3658)
>         > 2008-10-16 11:04:12 [20568] [7] DEBUG: sms_router: handling
>         message
>         > (0x81b3658 vs 0x81b3658)
>         > 2008-10-16 11:04:12 [20568] [7] DEBUG: sms_router: time to
>         sleep 30.00
>         > secs.
>         >
>         >
>         > I would be really thankfull if someone could help us with a
>         short
>         > explanation.
>         >
>         >
>         > I have investigated the kannel documentation and it appears
>         that we
>         > have to test that fake SMS center with the ./test/fakesmsc
>         binary. I
>         > just can't find that binary. However I thought that
>         logically I should
>         > have been able to use the "Gateway control form" as with any
>         SMSC.
>         >
>         >
>         > Once again, I would be really thankfull if someone could
>         help us with
>         > a short explanation.
>         >
>         >
>         >
>         >
>         >
>         >
>         > On Wed, Oct 15, 2008 at 5:04 PM, Alejandro Guerrieri
>         > <[EMAIL PROTECTED]> wrote:
>         >         Do you have the fakesmsc process connected to
>         kannel?
>         >
>         >         Regards,
>         >
>         >         Alex
>         >
>         >
>         >
>         >         On Wed, Oct 15, 2008 at 12:52 PM, Guillaume Godart
>         >         <[EMAIL PROTECTED]> wrote:
>         >                 Hi,
>         >
>         >                 When I send an sms with the "Gateway control
>         form" to
>         >                 the fake smsc it
>         >                 is "Queued for later delivery". Why isn't it
>         >                 (virtualy) sent
>         >                 immediately ?
>         >
>         >                 Sincerely,
>         >                 Guillaume
>         >
>         >
>         >
>         >
>         >
>         >
>         
>         
>         
> 
> 


Reply via email to