Closed durd07 closed 3 years ago
@nearbyfly
SIP is also raw text based protocol and widely used for multiple media communication. It sounds like reasonable proposal.
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted" or "no stalebot". Thank you for your contributions.
Title: SIP protocol support in envoy
Description:
Background
SIP protocol is widely used in communications industry like VoLTE or 5G Core. More and more operators are willing to deploy their product on Cloud Native Service Mesh environment. But SIP protocol has many different routing mechanism and other specific features like transaction affinity, registration affinity, weighted load balancer based on resource utilization and so on. It is impossible to just reuse TCP Proxy as the proxy in envoy. A new standalone extension sip-proxy is necessary in order to enable Service Mesh for SIP protocol.
Requirements
A new extension should be added into envoy to support basic SIP features, the detail SIP Call Flow Requirements can be found here: https://docs.google.com/document/d/1viLfnzhLL7MUDvcRaFe6VfRJzHqsWCqnwjNtQ9_WgG8/edit?usp=sharing
Design Ideas
This is the draft configuration for sip extension:
The major functions are following:
The system architecture is below:
Sip Request
Sip Response
![image](https://user-images.githubusercontent.com/4532849/116659215-d314ba80-a9c3-11eb-91e4-d7e9bf28703d.png)
The basic call flow for sip proxy extension is below: