Hi,

I noticed several strange things with fakesmsc (from last CVS version) that
I used with option "-m 1..." in order to test sms-services without sending a
real MO :

1) I have problems with routing when fakesmsc is running. In fact, I don't
want MT directed to an EMI2 SMSC to be catched by fakesmsc (even if that one
is running). However, some of them are catched sometimes but not always
(strange isn't it ?) :

# /opt/pck/gateway/test/fakesmsc -m 1 "01 23 text salut"
2001-10-22 12:54:43 [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0
2001-10-22 12:54:43 [0] INFO: Host localhost Port 10000 interval 1.000
max-messages 1
2001-10-22 12:54:43 [0] INFO: fakesmsc starting
2001-10-22 12:54:43 [0] INFO: fakesmsc: sent message 1
2001-10-22 12:54:43 [0] INFO: Got message 1: <424201 01 data
Fluxus2+%3A+pas+de+service+associ%E9+au+SMS+'salut'+%E0+2001-10-22%2B10%3A54
+de+01+%E0+424201>
2001-10-22 12:55:17 [0] DEBUG: Got message 2: <01234567890123451 1 text MT>
2001-10-22 12:55:28 [0] INFO: fakesmsc: 1 messages sent and 2 received

I put a allowed-smsc-id entry for fakesmsc group and a forced-smsc for
sendsms-user (used for the MT sent to the EMI2 SMSC) to avoid that problem
but then I have a new problem : I can use fakesmsc command to test MO
services since it doesn't receive any more messages :

/opt/pck/gateway/test/fakesmsc -m 1 "01 23 text salut"
2001-10-22 12:51:09 [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0
2001-10-22 12:51:09 [0] INFO: Host localhost Port 10000 interval 1.000
max-messages 1
2001-10-22 12:51:09 [0] INFO: fakesmsc starting
2001-10-22 12:51:09 [0] INFO: fakesmsc: sent message 1
2001-10-22 12:52:10 [0] INFO: fakesmsc: 1 messages sent and 0 received

2) when I send a message which only correspond to the default sms-service,
if I send a TEXT message, I received a DATA answer :

# /local/pck/gateway/test/fakesmsc -m 1 "01 23 text salut"
2001-10-19 17:49:03 [0] INFO: Got message 1: <424201 01 data
Fluxus2+%3A+pas+de+service+associ%E9+au+SMS+'salut'+%E0+2001-10-19%2B15%3A49
+de+01+%E0+424201>

In another case, I have a TEXT answer :

# /local/pck/gateway/test/fakesmsc -m 1 "01 23 text s salut"
2001-10-19 17:53:48 [0] INFO: Got message 1: <424203 01 text Fluxus2 :
salut>

However, fakesmsc help says "Server replies are shown in the same message
format" and those 2 sms-services are very similar :
group = sms-service
keyword = default
text = "Fluxus2 : pas de service associé au SMS '%a' à %t de %p à %P"

group = sms-service
keyword = s
text = "Fluxus2 : %s"

3) since I use "fakesmsc -m 1..." in order to test sms-services without
sending a real MO, I found annoying for this use that the program doesn't
exit automatically. Can someone modify the code to add that option, please ?

Thanks in advance for your help.

Gildas.
---
Gildas PERROT, [EMAIL PROTECTED]
Fluxus, 30 rue du Château des Rentiers,          __o
75647 Paris Cedex 13  http://www.fluxus.net ---_`\<,_
Fluxus est une société BT Ignite.       ----- (_)/ (_)


Reply via email to