bensari / mediaserver

Automatically exported from code.google.com/p/mediaserver
1 stars 0 forks source link

Protect from duplicate packets mgcp controller #110

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Since MGCP works over UDP there may be duplicate packets , which are met for 
example under high load in EC2 servers.
message is sent once from mss but received 2-3 times on mms.
Need to add server side protection against it.

Original issue reported on code.google.com by oifa.yul...@gmail.com on 6 Jan 2013 at 9:08

GoogleCodeExporter commented 8 years ago
Updated by revision 5b5c166b156a
Added transaction manager per ip + port.
Currently keeps transaction only on time transactions is alive ( between 
request and response ).
Need to add cache to keep it more since crcx , dlcx , mdcx life is 20ms max.

Original comment by oifa.yul...@gmail.com on 18 Jan 2013 at 4:06

GoogleCodeExporter commented 8 years ago
Updated by revision 61406361d98f
added 500ms cache time , should check the perfomance due to that and possibly 
increase up to 20 seconds.

Original comment by oifa.yul...@gmail.com on 19 Jan 2013 at 5:32

GoogleCodeExporter commented 8 years ago
Confirmed by restcomm team
For now will keep at 500 ms 

Original comment by oifa.yul...@gmail.com on 21 Jan 2013 at 1:30

GoogleCodeExporter commented 8 years ago
Confirmed by restcomm team
For now will keep at 500 ms 

Original comment by oifa.yul...@gmail.com on 21 Jan 2013 at 1:30