Skip to content

Strange bytes on connect #5

@kpanic23

Description

@kpanic23

My setup is: 56k modem --> SIP ATA --> asterisk with softphone --> BBS via telnet.
When I dial into the softmodem, it always sends a couple of bytes to the telnet server (hexdump output):

0000000 9111 9111 9111 9111 9111 9111 9111 9111
0000010 9111 9111 9111 9111 9111 9111 9111 9111
0000020 9111 9111 9111 9111 9111 9111 9111 9111
0000030 9111 9111 9111 9111 9111 9111 9111 9111
0000040 9111 9111 9111 9111 9111 9111 9111 9111
0000050 9111 9111 9111 9111 9111 9111 9111 9111
0000060 9111 9111 9111 9111 9111 9111 9111 9111
0000070 9111 9111 9111 9111 9111 9111 9111 9111
0000080 9111 9111 9111 9111 9111 9111 9111 9111
0000090 9111 9111 9111 9111 9111 9111 1016 1a02
00000a0 0201 0601 0001 0000 ff00 0102 0303 0801
00000b0 0204 0040 0108 0903 1d01 0310 caf2

I have no idea if that is my modem trying to "convince" the softmodem to connect with a faster speed or if it's just some garbage caused by the handshake. After these bytes the transmission is perfectly fine.
Is there anything possible to get rid of these bytes? Since they're getting sent to the login prompt, login instantly fails and the connection gets terminated.

Edit: The "garbage characters" stop as soon as the calling modem shows "CONNECT", so it's definitely a bit of the handshake. Have tried with a couple more modems, most of the bytes are the same, only a few differ:

Elsa Microlink 56k i
0000000 9111 9111 9111 9111 9111 9111 9111 9111
0000010 9111 9111 9111 9111 9111 9111 9111 9111
0000020 9111 9111 9111 9111 9111 9111 9111 9111
0000030 9111 9111 9111 9111 9111 9111 9111 9111
0000040 9111 9111 9111 9111 9111 9111 9111 9111
0000050 9111 9111 9111 9111 9111 9111 9111 9111
0000060 9111 9111 9111 9111 9111 9111 9111 9111
0000070 9111 9111 9111 9111 9111 9111 9111 9111
0000080 9111 9111 9111 9111 9111 9111 9111 9111
0000090 9111 9111 9111 9111 9111 9111 9111 9111
00000a0 9111 9111 9111 9111 9111 9111 9111 1016
00000b0 1a02 0201 0601 0001 0000 ff00 0102 0303
00000c0 0801 0204 0040 0108 0903 0101 0310 0afa
Lucent WinModem
0000000 9111 9111 9111 9111 9111 9111 9111 9111
0000010 9111 9111 9111 9111 9111 9111 9111 9111
0000020 9111 9111 9111 9111 9111 9111 9111 9111
0000030 9111 9111 9111 9111 9111 9111 9111 9111
0000040 9111 9111 9111 9111 9111 9111 9111 9111
0000050 9111 9111 9111 9111 9111 9111 9111 9111
0000060 9111 9111 1016 1a02 0201 0601 0001 0000
0000070 ff00 0102 0303 0801 0204 0040 0108 0903
0000080 0101 0310 0afa 1016 1a02 0201 0601 0001
0000090 0000 ff00 0102 0303 0801 0204 0040 0108
00000a0 0903 0101 0310 0afa

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions