Hallo,
i tried to send sms to german eplus, but login seems to
fail. other operators e.g. detemobil (also using tap)
are ok
found a hint eplus now uses tap with "aim" ???
Bye
Ludger
2002-02-12 21:19:35 plugin (9): Using
'operator.default.tty'
2002-02-12 21:19:35 plugin (7): Calling 01771167 using
/dev/modem at 9600 bps
2002-02-12 21:19:35 plugin (9): -> 61 74 7a
0d atz.
2002-02-12 21:19:35 plugin (9): <-
61 a
2002-02-12 21:19:35 plugin (9): <- 74 7a
0d tz.
2002-02-12 21:19:35 plugin (9): <- 0d 0a 4f 4b 0d
0a ..OK..
2002-02-12 21:19:35 plugin (9): -> 61 74 64 74 30 31 37
37 atdt0177
2002-02-12 21:19:35 plugin (9): -> 31 31 36 37
0d 1167.
2002-02-12 21:19:35 plugin (9): <- 61 74 64 74 30 31 37
37 atdt0177
2002-02-12 21:19:35 plugin (9): <- 31 31 36 37
0d 1167.
2002-02-12 21:20:00 plugin (9): <- 0d 0a 43 4f 4e 4e 45
43 ..CONNEC
2002-02-12 21:20:00 plugin (9): <- 54 20 39 36 30 30 2f
4c T 9600/L
2002-02-12 21:20:00 plugin (8): Connected at 9600 bps
2002-02-12 21:20:02 caller (9): No config entry
'operator.eplus.passwd'
2002-02-12 21:20:02 caller (9): No config entry
'operator.default.passwd'
2002-02-12 21:20:02 plugin (9): No config entry
'operator.default.passwd'
2002-02-12 21:20:02 plugin (8): Wakeup
2002-02-12 21:20:02 plugin (8): Login
2002-02-12 21:20:02 plugin (9): ->
1b .
2002-02-12 21:20:02 plugin (9): -> 50 47
31 PG1
2002-02-12 21:20:02 plugin (9): ->
0d .
2002-02-12 21:20:03 plugin (9): <- 49
44 ID
2002-02-12 21:20:03 plugin (9): <-
3d =
2002-02-12 21:20:07 plugin (9): <-
49 I
2002-02-12 21:20:07 plugin (9): <- 44
3d D=
2002-02-12 21:20:11 plugin (9): <-
4c L
2002-02-12 21:20:11 plugin (7): Login timeout
2002-02-12 21:20:12 plugin (9): <- 4f 47 4f 4e 20 52 45
4a OGON REJ
2002-02-12 21:20:12 plugin (9): <- 45 43 54 45 44
20 ECTED
2002-02-12 21:20:13 plugin (9): <- 0d 0a 4f 4b 0d
0a ..OK..
2002-02-12 21:20:13 plugin (8): Hung up
Logged In: NO
Here's a patch for tap.c to work with eplus.
As this alters the login
procedure, other tap services must be tested with it.
Alternatively
save this as tap-eplus.c and use this as the eplus plugin.
(thanks
to Holger Marzen for the original patch for sms_client, see
http://groups.google.com/groups?q=01771167&hl=en&lr=&ie=utf-
8&oe=utf-
8&selm=a559pi%24a15%241%40bluebell.marzen.de&rnum=10
for more)
--- tap.c-orig Mon May 27 13:02:45 2002
+++ tap.c
Mon May 27 13:07:50 2002
@@ -268,7 +268,10 @@
for (i=0; i
< MAX_TRIES; i++)
{
- (smash.write)(fd, REQ1,
strlen(REQ1));
+ /* workaround for eplus germany, don't send first
<cr> */
+ if (i>0) {
+ (smash.write)(fd, REQ1, strlen(REQ1));
+
}
if ((smash.waitfor)(fd, TIME_T2, NULL, 1, ACK1) > 0)
{