Skip to content

AGW 'Y' frame call from/to NOT reversed for inbound connections #427

Closed
@martinhpedersen

Description

@martinhpedersen

According to my protocol reference AGWPE TCP/IP API Tutorial by Ing. Pedro E. Colla (LU7DID) and George Rossopoulos (SV2AGW), when requesting outstanding frames for a connection (the 'Y' frame):

Careful must be exercised to fill correctly both the CallFrom and CallTo fields to match the ones of an existing connection, otherwise AGWPE won’t return any information at all from this query.

The order of the CallFrom and CallTo is not trivial, it should reflect the order used to start the connection, so

  • If we started the connection CallFrom=US and CallTo=THEM
  • If the other end started the connection CallFrom=THEM and CallTo=US

Please refer to the ‘C’ frame sent by AGWPE upon connection to understand how to identify who initiated a connection.

When implementing this behavior (the way interpret it), I get an error on inbound connections in the Direwolf log output indicating that no matching connection was found: Can't get outstanding frames for %s -> %s, chan %d.

This seems to be discussed in the source code, but there is no apparent conclusion. So I guess the initial question to be answered is, what's the correct behavior? What do other AGW clients and/or servers expect "in the wild"?

Thanks!

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