Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MME not handling Emergency Attach correctly #16

Open
spencersevilla opened this issue Dec 10, 2019 · 1 comment
Open

MME not handling Emergency Attach correctly #16

spencersevilla opened this issue Dec 10, 2019 · 1 comment

Comments

@spencersevilla
Copy link

spencersevilla commented Dec 10, 2019

When a UE sends an Attach Request, the normal/expected values for "EPS Attach Type" in NAS message are 0x1 (EPS attach) or 0x2 (combined EPS/IMSI attach). Interestingly, our code does not appear to check this value and simply copies it into the "EPS Attach Result" field in the Attach Accept message. This logic works for those normal values above, but fails for request type 0x110 ("EPS Emergency Attach") in attach request, which maps to "Reserved" in attach response. When we send this Attach accept message, we then receive an EMM Status error.

Copying the value when we make the attach accept could make sense if we write in different path-handling for Emergency Attach. We need to read the 3GPP and figure out how to handle these emergency attach messages, since this is important. I don't think we want to (or can) handle emergency calls so we should probably respond with an Attach Reject or something along those lines.

Refs:

@spencersevilla
Copy link
Author

@pathiratk I think this would be a great one to focus on :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant