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

rtpengine_manage sends 180 Responses to rtpengine when onreply_route is enabled #2577

Closed
aalba6675 opened this issue Dec 5, 2020 · 1 comment

Comments

@aalba6675
Copy link
Contributor

aalba6675 commented Dec 5, 2020

Description

Different behaviour of rtpengine_manage depending on where it is called

  1. Response 180 is not sent to rtpengine :12221 using only reply_route
  2. Response 180 is sent to rtpengine :12221 using onreply_route[MANAGE_REPLY]

Scenario 1 - reply_route only

  • call rtpenginge_manage() in reply_route for responses
  • works for 200 OK
  • for 180 Ringing, the command does not appear on the wire to rtpengine :12221

Scenario 2 - reply_route is empty, use onreply_route[MANAGE_REPLY]

  • call rtpenginge_manage() in onreply_route[MANAGE_REPLY]
  • works for 200 OK
  • for 180 Ringing, the command appears on the wire to rtpengine :12221, and SDP is injected

Troubleshooting

Reproduction

  1. Confirmed that setup is working without onreply_route[MANAGE_REPLY]
  2. Caller does not see any SDP inside 180 response; no wire data from this means that rtpengine_manage decided not to send anything to rtpengine :12221
  3. Move call to rtpengine_manage() inside onreply_route[MANAGE_REPLY]
  4. Now observe that SDP appears inside 180 response, indicating that rtpengine_manage decided that it should send the "offer" command to rtpengine :12221

Debugging Data

@aalba6675
Copy link
Contributor Author

I think it is due to my misconfiguration.

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