simple test tool for mgcp alg function of nat device
gw (inside) <---> AX (NAT device) <---> ca (outside)
-
Custom message file: mgcp_test_msg.txt
- Message file contains blocks
- Block starts with %block_name, and ends with %
- gw messages are defined as gw block (%gw sent_count, %gw sent_count@recevied_count)
- ca messages are defined as ca block (%ca sent_count, %ca sent_count@recevied_count)
- sent_count@recevied_count message block only can be sent when got recevied_count number of messages
-
Run ca using: python mgcp_test.py -f mgcp_test_msg.txt -s
-
Run gw using: python mgcp_test.py -f mgcp_test_msg.txt