[OpenSIPS-Users] mediaproxy 2.4.2

Saúl Ibarra Corretgé saul at ag-projects.com
Fri Dec 3 09:35:19 CET 2010


Hi,

On 12/02/2010 11:24 PM, Richard Revels wrote:
> This is interesting. On one relay the ports are two apart from each
> other between the INVITE and 200 like I am used to seeing, but on the
> other relay the ports are all over the map. However, I've done some test
> calls, and verified they used the second relay, and the audio set up
> fine on all of them. I guess sometimes the media relay doesn't use
> consecutive ports. Probably going to restart that one relay later anyway
> though.
>

Ports are allocated and freed afterwards, so ports won't be consecutive 
always.

> Here is the tshark command I was using to look at this in my capture
> files. Took me a while to get it right so it might save someone some
> time later.
>
> tshark -T fields -e frame.time -e ip.src -e ip.dst -e sip.Method -e
> sip.Status-Code -e sip.Call-ID -e sdp.connection_info.address -e
> sdp.media.port -R "(sip.Method == INVITE or (sip.Status-Code == 200 and
> sip.CSeq.method == INVITE)) and sdp.connection_info.address ==
> <MEDIA_RELAY_IP>" -r <CAPTUREFILENAME>
>

Thanks for sharing :-) You may also find pcapsipdump 
(http://sourceforge.net/projects/pcapsipdump/) useful.


Regards,

-- 
Saúl Ibarra Corretgé
AG Projects



More information about the Users mailing list