Commit 4b28e1d4 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#3116] Call unregister explicitely before end of python script

parent 703c715c
......@@ -97,7 +97,7 @@ class SflPhoneTests():
def test_ip2ip_send_hangup(self):
"""Make a call to a server (sipp) on port 5062"""
i = 0
while(i < 10):
while(i < 200):
callid = self.sflphone.Call("sip:test@" + REMOTEADDR_lo)
time.sleep(0.5)
......@@ -107,6 +107,7 @@ class SflPhoneTests():
i = i+1
self.sflphone.unregister()
del self.sflphone
......
......@@ -136,6 +136,8 @@ class SflPhoneCtrlSimple(Thread):
def unregister(self):
print "Unregister"
if not self.registered:
return
#raise SflPhoneError("Not registered !")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment