summaryrefslogtreecommitdiffstats
path: root/For Weekly Test/20-07-2011/classController.py
diff options
context:
space:
mode:
Diffstat (limited to 'For Weekly Test/20-07-2011/classController.py')
-rw-r--r--For Weekly Test/20-07-2011/classController.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/For Weekly Test/20-07-2011/classController.py b/For Weekly Test/20-07-2011/classController.py
index 08f4e63..a9c5f82 100644
--- a/For Weekly Test/20-07-2011/classController.py
+++ b/For Weekly Test/20-07-2011/classController.py
@@ -78,8 +78,6 @@ class test:
print "Connecting to Caller handler", self.origAdd,self.portOrig
print "Caller handler status:", x.connect()
- x.sendData('hello Handler')
-
# wait respond from origin handler
signal.signal(signal.SIGALRM, timeout_handler)
signal.alarm(60)
@@ -126,7 +124,7 @@ class test:
if self.dest == "landlineReceiver.py":
self.portDest = 50106
- if self.dest == "LocalSIPReceiver.py":
+ if self.dest == "localsipReceiver.py":
self.portDest = 50107
#mean external GSM
@@ -154,12 +152,13 @@ class test:
if destHandler == "ready":
print "Receiver handler : Ready"
- print ""
+ print "self.destNo"
+
x.sendData("start|"+self.destNo)#send message to handler to start the call
signal.signal(signal.SIGALRM, timeout_handler)
- signal.alarm(120)
+ signal.alarm(1200)
print "------------ Test Result ------------"
print ""