Update 'trashtalker.py'
This commit is contained in:
parent
f1675fd1f5
commit
c60d5872d0
|
@ -22,7 +22,7 @@ from random import shuffle
|
||||||
## appreciated.
|
## appreciated.
|
||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
LOG_LEVEL=1
|
LOG_LEVEL=0
|
||||||
sourcepath="/opt/media/"
|
sourcepath="/opt/media/"
|
||||||
sipport=5062
|
sipport=5062
|
||||||
# End configuration
|
# End configuration
|
||||||
|
@ -132,11 +132,11 @@ def PjDeinit():
|
||||||
global lib
|
global lib
|
||||||
lib.hangup_all()
|
lib.hangup_all()
|
||||||
try:
|
try:
|
||||||
acct.delete()
|
|
||||||
lib.destroy()
|
lib.destroy()
|
||||||
acct=None
|
acct.delete()
|
||||||
transport=None
|
|
||||||
lib=None
|
lib=None
|
||||||
|
transport=None
|
||||||
|
acct=None
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
elog(1, "deinit", "AttributeError when clearing down pjsip, this is likely fine")
|
elog(1, "deinit", "AttributeError when clearing down pjsip, this is likely fine")
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in New Issue