summaryrefslogtreecommitdiffstats
path: root/For Weekly Test/12-09-2011
diff options
context:
space:
mode:
authorgsmselgtest2011-09-02 14:08:50 +0200
committergsmselgtest2011-09-02 14:08:50 +0200
commit4c81f16a8b69cc20dba24e639d0a3d79df037711 (patch)
treec16d22ed8e655e6b8f906f3282cfebdcabe9480b /For Weekly Test/12-09-2011
parentrearange test file (diff)
downloadgsm-selftest-4c81f16a8b69cc20dba24e639d0a3d79df037711.tar.gz
gsm-selftest-4c81f16a8b69cc20dba24e639d0a3d79df037711.tar.xz
gsm-selftest-4c81f16a8b69cc20dba24e639d0a3d79df037711.zip
more information for the sip handler
Diffstat (limited to 'For Weekly Test/12-09-2011')
-rw-r--r--For Weekly Test/12-09-2011/SIPHandler.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/For Weekly Test/12-09-2011/SIPHandler.py b/For Weekly Test/12-09-2011/SIPHandler.py
index 6d268a9..8802a09 100644
--- a/For Weekly Test/12-09-2011/SIPHandler.py
+++ b/For Weekly Test/12-09-2011/SIPHandler.py
@@ -7,7 +7,8 @@ import LogFileClass
from time import sleep
def log_cb(level, str, len):
- print "--------starting Handler--------"
+ print '\n'
+ print "--------starting Handler--------"
# Receive events from incoming Call
class Account(pj.AccountCallback):
@@ -94,12 +95,15 @@ def initLogFile(sipServer):
if sipServer == '132.230.4.8':
nameOfLogFile = 'SIP handler.log'
+ print '--SIP Asterisk--'
elif sipServer == 'sipgate.de':
nameOfLogFile = 'Landline handler.log'
+ print '--Landline--'
elif sipServer == '132.230.252.228':
nameOfLogFile = 'University SIP handler.log'
+ print '--university tephone network--'
logger = LogFileClass.Logging(nameOfLogFile)