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