[SR-Users] rtpproxy_manage and ip addresses

tonchek at mac.com tonchek at mac.com
Fri Jun 13 21:44:38 CEST 2014


HI to ALL!

As I understand the logic of rpproxy_manage work, it uses packet source IP and port number from m= field of SDP as socket for rtpproxy process.
So, we can see it in SIP and  rtpproxy debug messages:

IP 77.94.133.231.5060 > 77.94.133.232.5060: UDP, length 1170

[...headers stripped...]

v=0
o=root 1523540081 1523540081 IN IP4 188.40.66.75
s=Asterisk PBX 1.6.1.20
c=IN IP4 188.40.66.75
t=0 0
m=audio 15260 RTP/AVP 8 0 101

[...sdp stripped...]

Jun 13 21:38:09 puma rtpproxy[4728]: INFO:handle_command: new session on a port 57680 created, tag FppNrF9K7S8gF;1
Jun 13 21:38:09 puma rtpproxy[4728]: INFO:handle_command: pre-filling caller's address with 77.94.133.231:15260

where 172.22.11.16 is SIP packet source IP address and 17646 is the port number from SDP.

Is it possible to change this behavior and use IP address from incoming SDP as well as port number?

Thank you

Anton






More information about the sr-users mailing list