Update 'trashtalker.py'

This commit is contained in:
Maff 2019-04-29 13:34:36 +00:00
parent f1675fd1f5
commit c60d5872d0
1 changed files with 4 additions and 4 deletions

View File

@ -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