Thanks, I changed the ports and it works. But I find nothing inserted on my database on a server on internet !!!
Le Vendredi 14 Juin 2002 15:53, Richard Bowen a écrit : > If you are using one of the older version of Kannel then you want to start > your Fake SMSC first. If you are using version 1.1.6 then can start your > fake SMSC after you have started the bearerbox and smsbox. > > If it still doesn't check you are talking to the right ports. > > Rich > > >>> Nil <[EMAIL PROTECTED]> 06/14/02 13:32 PM >>> > > There is my kannel.conf: > > group = core > admin-port = 13000 > admin-password = negomi > status-password = negomi > admin-deny-ip = "*.*.*.*" > admin-allow-ip = "127.0.0.1" > smsbox-port = 13003 > box-deny-ip = "*.*.*.*" > box-allow-ip = "127.0.0.1" > wdp-interface-name = "*" > log-file = "kannel.log" > log-level = 1 > access-log = "kannel.access" > unified-prefix = "+331,00331,0;+,00" > > # Smsbox related > group = smsbox > bearerbox-host = localhost > #smsbox-port = 13001 > #box-deny-ip = "*.*.*.*" > #box-allow-ip = "127.0.0.1" > #unified-prefix = "00358,0" > #white-list = "http://127.0.0.1/white-list.txt" > #black-list = "http://127.0.0.1/black-list.txt" > #store-file = "kannel.store" > > > # SMSC Fake > group = smsc > smsc = fake > #host = > port = 10000 > #connect-allow-ip = > > # SMSC GSM > #group = smsc > #smsc = at > #modemtype = wavecom > #device = /dev/ttyS0 > #pin = 6131 > > # SMS SERVICE POST-URL EXAMPLE > group = sms-service > keyword = home > #post-url = > "http://www.mextor.net/tests/essaisms.php4?phone=%p&text=%r&time=%t" > post-url = > "http://www.mextor.net/tests/essaisms.php4?phone='0101010101'&text='essai'& >time='2002-02-02 14:00'" > > > > when i type > ./fakesmsc -i 2 -m 200 "100 300 text home" > > it says > 2002-06-14 14:18:05 [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = > 0 2002-06-14 14:18:05 [0] INFO: Host localhost Port 10000 interval 2.000 > max-messages 200 > 2002-06-14 14:18:05 [0] INFO: fakesmsc starting > 2002-06-14 14:18:05 [0] DEBUG: fakesmsc: sent message 1 > 2002-06-14 14:18:05 [0] INFO: fakesmsc: 1 messages sent and 0 received > 2002-06-14 14:18:05 [0] INFO: fakesmsc: total running time 0.0 seconds > 2002-06-14 14:18:05 [0] INFO: fakesmsc: terminating > > > and when i type > ./bearerbox -v 1 kannel.conf > > it says: > 2002-06-14 14:17:08 [0] INFO: Debug_lvl = 1, log_file = <none>, log_lvl = 0 > 2002-06-14 14:17:08 [0] WARNING: DLR: using default 'internal' for storage > type.2002-06-14 14:17:08 [0] INFO: Added logfile `kannel.log' with level > `1'. 2002-06-14 14:17:08 [0] INFO: ---------------------------------------- > 2002-06-14 14:17:08 [0] INFO: Kannel bearerbox II version cvs- starting > 2002-06-14 14:17:08 [0] INFO: Started access logfile `kannel.access'. > 2002-06-14 14:17:08 [0] INFO: SSL not supported, no SSL initialization > done. 2002-06-14 14:17:08 [0] ERROR: bind failed > 2002-06-14 14:17:08 [0] ERROR: System error 98: Address already in use > 2002-06-14 14:17:08 [0] ERROR: smsc_fake: could not create listening socket > in port 10000 > 2002-06-14 14:17:08 [0] ERROR: Failed to create fake smsc connection > 2002-06-14 14:17:08 [0] PANIC: Cannot start with SMSC connection failing > 2002-06-14 14:17:08 [4] ERROR: bind failed > 2002-06-14 14:17:08 [4] ERROR: System error 98: Address already in use > 2002-06-14 14:17:08 [4] PANIC: Could not open smsbox port 13003 > Erreur de segmentation > > > Any suggestion ? > > Thank you > > PS: > I think that to make my tests, i'm supposed to start fake smsc first, > then bearerbox and smsbox. > Then I wait and see ! > am I right ? > > > _____________________________________________________________________ > This message has been checked for all known viruses by UUNET delivered > through the MessageLabs Virus Control Centre. For further information visit > http://www.uk.uu.net/products/security/virus/ > > > _____________________________________________________________________ > This message has been checked for all known viruses by UUNET delivered > through the MessageLabs Virus Control Centre. For further information visit > http://www.uk.uu.net/products/security/virus/