Attention is currently required from: laforge, lynxis lazus.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/erlang/osmo-epdg/+/35901?usp=email )
Change subject: Make PDP-Type and APN from GSUP AuthInfoReq available through all layers ......................................................................
Patch Set 1:
(1 comment)
File src/aaa_diameter_swx.erl:
https://gerrit.osmocom.org/c/erlang/osmo-epdg/+/35901/comment/a638af84_7f39e... PS1, Line 192: %16#21 -> idk why, if it go through this path, I get an encode error:
18:13:36.308 [debug] Swx MAR: IPv4Opt=<<"<FF><FF><FF><FE>">> IPv6Opt=[] *DBG* aaa_ue_fsm_262420000000001 send {error,encode} to <0.174.0> *DBG* aaa_ue_fsm_262420000000001 consume call {swm_auth_req,33,"internet"} from <0.174.0> in state state_new 18:13:36.329 [error] Error: encode
Maybe I'm encoding wrong an OctetString? Quick check in https://www2.erlang.org/documentation/doc-10.5/lib/diameter-2.2.1/doc/html/d... says:
OctetString() = string() | binary()
Maybe I need to encode it as a 4 int tuple, as explained in "Derived AVP Data Formats" section just below the line I shared above.