Added new callback for module: post_func (called at the end of the test), added userdata param for modules, and added new module media_playrec with some scripts

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2029 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjsip-apps/src/test-pjsua/mod_pres.py b/pjsip-apps/src/test-pjsua/mod_pres.py
index e3b996a..6b6fb2b 100644
--- a/pjsip-apps/src/test-pjsua/mod_pres.py
+++ b/pjsip-apps/src/test-pjsua/mod_pres.py
@@ -1,4 +1,4 @@
-# $Id:$
+# $Id$
 import time
 import imp
 import sys
@@ -9,7 +9,7 @@
 
 
 # Test body function
-def test_func(t):
+def test_func(t, user_data):
 	u1 = t.process[0]
 	uri1 = cfg_file.test_param.inst_params[0].uri
 	acc1 = "-1"