|
@@ -521,7 +521,7 @@ class OutboundClient:
|
|
|
event_name = info.getHeader("Event-Name")
|
|
|
self.server.logger.info('Event-Name: %s', event_name)
|
|
|
device_id = info.getHeader("unique-id")
|
|
|
- caller_number = info.getHeader("Caller-Caller-ID-Number") # 获取来电号码
|
|
|
+ caller_number = str(info.getHeader("Caller-Caller-ID-Number")) # 获取来电号码
|
|
|
|
|
|
call_id = 'C' + str(Snowflake().next_id())
|
|
|
new_device_id = 'D' + str(Snowflake().next_id())
|