|
@@ -279,7 +279,7 @@ class MyCall(pj.Call):
|
|
|
# pj.PJSIP_INV_STATE_CONNECTING
|
|
|
# pj.PJSIP_INV_STATE_CONFIRMED
|
|
|
# pj.PJSIP_INV_STATE_DISCONNECTED
|
|
|
- self.logger.info("daviddebugger::onCallState::%s", call_info)
|
|
|
+ self.logger.info("daviddebugger::onCallState::%s", call_info.state)
|
|
|
if call_info.state == pj.PJSIP_INV_STATE_CONFIRMED:
|
|
|
# 当呼叫状态为已确认(即接通)
|
|
|
self.bot_say_hello()
|