This is our old Q&A Site. Please post any new questions and answers at


I've deployed a MATE configuration file to filter SIP signalling + media. Using the filter: mate.session.callid == "mycallid" I only get SIP signalling but no media. I can get SIP+media with the following filter only: mate.session.media_port == "myport". Is it possible to fix the configuration file to get media filtering by call-id?

Pdu sip_pdu Proto sip Transport udp/ip {
Extract callid From sip.Call-ID;
Extract from From sip.from.user;
Extract to From;
Extract method From sip.Method;
Extract cseq_method From sip.CSeq.method;
Extract media_addr From sdp.connection_info.address;
Extract media_port From;
Gop sip_ses On sip_pdu Match (callid) {
Extra (callid, from, to, media_port);

Pdu udp_pdu Proto udp Transport ip {
Extract media_addr From ip.addr;
Extract media_port From udp.port;
Gop udp_ses On udp_pdu Match (media_port, media_port) {
Extra (media_port);

Pdu tcp_pdu Proto tcp Transport ip {
Extract media_addr From ip.addr;
Extract media_port From tcp.port;
Extract tcp_start From tcp.flags.syn;
Extract tcp_stop From tcp.flags.fin;
Gop tcp_ses On tcp_pdu Match (media_port, media_port) {
Start (tcp_start=1);
Stop (tcp_stop=1);
Extra (media_port);

Gog session {
Member sip_ses (media_port);
Member udp_ses (media_port);
Member tcp_ses (media_port);
Extra (callid, from, to);


asked 23 Nov '12, 00:26

Robin's gravatar image

accept rate: 0%

edited 26 Nov '12, 04:32


Did you manage to resolve this issue ?

Thanks in anticipation

(13 Sep '15, 20:07) sshark
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 23 Nov '12, 00:26

question was seen: 2,186 times

last updated: 13 Sep '15, 22:07

p​o​w​e​r​e​d by O​S​Q​A