774056846 4 months ago
parent
commit
d3cb11b4b4
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/core/voip/bot.py

+ 1 - 3
src/core/voip/bot.py

@@ -180,9 +180,7 @@ class MyCall(pj.Call):
         self.audio_port = None
         self.player = None
         self.asr = None
-
-        self.snowflake = Snowflake(worker_id=1, data_center_id=1)
-        self.session_id = 'S' + str(self.snowflake.next_id())
+        self.session_id = kwargs.get('variable_sip_h_P-LIBRA-CallId')
 
         print("self.session_id:", self.session_id)
         # self.scripts = build_demo_script()