diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2005-02-19 03:22:24 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2005-02-19 03:22:24 +0000 |
commit | 59ef46c037b7fb59c59c7a613935732c6de70b75 (patch) | |
tree | 7953ef089d2831d6f03eef1eeb0950d1bf7d62bc /plugins/mate/examples | |
parent | e2e5536fef2f47e32b253481600e95120be4543e (diff) |
add mms.mate to the examples collection
svn path=/trunk/; revision=13430
Diffstat (limited to 'plugins/mate/examples')
-rw-r--r-- | plugins/mate/examples/mms.mate | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/plugins/mate/examples/mms.mate b/plugins/mate/examples/mms.mate new file mode 100644 index 0000000000..369be35109 --- /dev/null +++ b/plugins/mate/examples/mms.mate @@ -0,0 +1,41 @@ +# mms.mate +# $Id: $ + +# MMSE over HTTP +Action=PduDef; Name=mmse_over_http_pdu; Proto=http; Transport=tcp/ip; Payload=mmse; addr=ip.addr; port=tcp.port; http_rq=http.request; content=http.content_type; +Action=PduExtra; For=mmse_over_http_pdu; resp=http.response.code; method=http.request.method; host=http.host; content=http.content_type; +Action=PduExtra; For=mmse_over_http_pdu; method=http.request.method; host=http.host; +Action=PduExtra; For=mmse_over_http_pdu; trx=mmse.transaction_id; msg_type=mmse.message_type; notify_status=mmse.status; send_status=mmse.response_status; + +Action=Transform; Name=rm_client_from_http_resp1; Mode=Insert; Match=Strict; http_rq; +Action=Transform; Name=rm_client_from_http_resp1; Mode=Insert; Match=Every; addr; .not_rq; + +Action=Transform; Name=rm_client_from_http_resp2; Mode=Replace; Match=Strict; not_rq; ue; + +Action=PduTransform; For=mmse_over_http_pdu; Name=rm_client_from_http_resp1; +Action=PduTransform; For=mmse_over_http_pdu; Name=rm_client_from_http_resp2; + +Action=GopDef; Name=mmse_over_http; On=mmse_over_http_pdu; addr; addr; port; port; +Action=GopStart; For=mmse_over_http; http_rq; +Action=GopStop; For=mmse_over_http; http_rs; + +Action=GopExtra; For=mmse_over_http; host; ue; resp; notify_status; send_status; trx; + +# MMSE over WSP +Action=PduDef; Name=mmse_over_wsp_pdu; Proto=wsp; Payload=mmse; Transport=ip; trx=mmse.transaction_id; msg_type=mmse.message_type; notify_status=mmse.status; send_status=mmse.response_status; + +Action=Transform; Name=mms_start; Match=Loose; .mms_start; + +Action=PduTransform; Name=mms_start; For=mmse_over_wsp_pdu; + +Action=GopDef; Name=mmse_over_wsp; On=mmse_over_wsp_pdu; trx; +Action=GopStart; For=mmse_over_wsp; mms_start; +Action=GopStop; For=mmse_over_wsp; never; + +Action=GopExtra; For=mmse_over_wsp; ue; notify_status; send_status; + +# the MMS GoG +Action=GogDef; Name=mms; GogExpiration=60.0; +Action=GogKey; For=mms; On=mmse_over_http; trx; +Action=GogKey; For=mms; On=mmse_over_wsp; trx; +Action=GogExtra; For=mms; ue; notify_status; send_status; resp; host; trx; |