libmilter.py 文件源码

python
阅读 47 收藏 0 点赞 0 评论 0

项目:sipxecs-voicemail-transcription 作者: andrewsauder 项目源码 文件源码
def debug(msg , level=1 , protId=0):
    if not DEBUG: return
    if level <= DEBUG:
        out = '[%s] DEBUG: ' % time.strftime('%H:%M:%S')
        if protId:
            out += 'ID: %d ; ' % protId
        out += msg
        print(out, file=sys.stderr)
# }}}

# Response Constants {{{
#
# Constants for responses back to the MTA.  You should use these actions
# at the end of each callback.  If none of these are specified,
# CONTINUE is used as the default
#
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号