rtpproxy icon indicating copy to clipboard operation
rtpproxy copied to clipboard

Using diffrent port for sending and recieving UDP packets.

Open aftnix opened this issue 9 years ago • 1 comments

The architecture is following :

client--------------->kamailio+rtpproxy------>softswitch

I'm concerned with the client--->rtpproxy path.

rtpproxy uses the same port from receiving UDP packets from client and sending udp packets to client. Can this be changed, like they will use different ports? From README, it seems the algorithm rtpproxy follows when establishing session, dictates the port usage described above. So i think to achieve what i'm describing i have to change the src of rtpproxy. Which section of the code i should concentrate on? (I'm willing to submit patches, this behaviour then will be toggled from command line)

aftnix avatar Nov 09 '15 09:11 aftnix

Yes, rtpproxy does symmetric RTP, meaning it will use the same port for sending and receiving between it and the client.

To make the behaviour asymmetric, It would need to be patched.

Can you explain the use case for asymmetric behaviour here?

jevonearth avatar Nov 17 '15 00:11 jevonearth