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

Response from diameter is not validated #95

Closed
veerakumarcsgi opened this issue Aug 17, 2018 · 1 comment
Closed

Response from diameter is not validated #95

veerakumarcsgi opened this issue Aug 17, 2018 · 1 comment

Comments

@veerakumarcsgi
Copy link

for a scenario where we have different avp agreements (Dictionary having different response/answer) for
Voice ccr/a , Data ccr/a , Event ccr/a.

1)found that currently code base does not validate the answer

iam planning to enhance the parser to hold commands for different request type and then use them to validate response/answer

any one faced such a scenario ..any other approach used ?

@fiorix
Copy link
Owner

fiorix commented Aug 28, 2018

There's nothing in the code to specifically validate any of these answers. Basically you write your own handlers.

Perhaps I'm missing something here but the general rule is that request/response handlers are out of the scope of the library code.

@fiorix fiorix closed this as completed Aug 28, 2018
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

2 participants