<div>
<div>Hi,</div><div><br></div><div>I am a bit puzzled by this behavior in Mediaproxy.</div><div><br></div><div><span>It seems session setup is ok, but right after the media starts to be sent, media proxy changes source port from the announced </span>55062<span> to source port 1057 (which is not in the range configured for MediaProxy, which runs default 50000:60000).</span></div><div><br></div><div>In this scenario we need RTP to jump twice at the MediaProxy as if being two chained MediaProxy, but its one instance.</div><div> </div><div>Media is supposed to go:</div><div>UAC:5070 -> MediaProxy:55056 | src:MediaProxy:55058 -> MediaProxy:55060 | src:MediaProxy:55062 -> UAS:5068</div><div><br></div><div>By looking at tcpdump from MediaProxy node, It does for 10 RTP packages, then it changes to:</div><div>UAC:5070 -> MediaProxy:55056 | src:MediaProxy:1057 -> UAS:5068</div><div>This causing UAS NAT-fw to drop the traffic.</div><div><br></div><div>All the logs look ok and describes the expected scenario, the port 1057 is not mentioned anywhere in the logs. The summary for the two MediaProxy sessions are enclosed below.</div><div><br></div><div>Any clue on why MediaProxy would suddenly choose a port that is not configured? Thankful if anyone can help.</div><div><br></div><div>Thanks</div><div>Daniel Nihlen</div><div><br></div><div><br></div><div>{</div><div>'from_tag':'436228537-1334871012169-',</div><div>'dialog_id':'979:1821238755',</div><div>'start_time':1334871016.600482,</div><div>'timed_out':False,</div><div>'call_id':'BW233012169190412878530602@80.72.7.184',</div><div>'to_tag':'f203c8de38ce72f2',</div><div>'streams':[</div><div>{</div><div>'status':'closed',</div><div>'caller_codec':'G711u',</div><div>'post_dial_delay':6.776170015335083,</div><div>'callee_codec':'G711a',</div><div>'start_time':0,</div><div>'caller_bytes':0,</div><div>'callee_bytes':115000,</div><div>'caller_packets':0,</div><div>'end_time':14,</div><div>'callee_remote':'95.206.36.83:5068',</div><div>'caller_remote':'80.72.7.144:55058',</div><div>'media_type':'audio',</div><div>'callee_local':'80.72.7.144:55062',</div><div>'timeout_wait':0,</div><div>'caller_local':'80.72.7.144:55060',</div><div>'callee_packets':575</div><div>}</div><div>],</div><div>'duration':14,</div><div>}</div><div><br></div><div><br></div><div><br></div><div><br></div><div>{</div><div>'from_tag':'cf2051150e37a9bf',</div><div>'dialog_id':'1870:670542586',</div><div>'start_time':1334871016.6051979,</div><div>'timed_out':False,</div><div>'call_id':'1fc29155e7bf374c@192.168.1.100',</div><div>'to_tag':'1864273067-1334871012481',</div><div>'streams':[</div><div>{</div><div>'status':'closed',</div><div>'caller_codec':'G711u',</div><div>'post_dial_delay':6.786207914352417,</div><div>'callee_codec':'G711a',</div><div>'start_time':0,</div><div>'caller_bytes':115000,</div><div>'callee_bytes':0,</div><div>'caller_packets':575,</div><div>'end_time':14,</div><div>'callee_remote':'80.72.7.144:55060',</div><div>'caller_remote':'95.206.36.83:5070',</div><div>'media_type':'audio',</div><div>'callee_local':'80.72.7.144:55058',</div><div>'timeout_wait':0,</div><div>'caller_local':'80.72.7.144:55056',</div><div>'callee_packets':0</div><div>}</div><div>],</div><div>'duration':14,</div><div>}</div><div><br></div>
</div>
<div></div>