Ver código fonte

加个请求头的日志

三七 1 dia atrás
pai
commit
fb31353d8f

+ 1 - 1
src/main/java/com/telerobot/fs/config/SipSessionStatusCode.java

@@ -42,4 +42,4 @@ public class SipSessionStatusCode {
     public static final int BUSY_EVERYWHERE = 600;
     public static final int DECLINE = 603;
     public static final int DOES_NOT_EXIST_ANYWHERE = 604;
-}
+}

+ 3 - 0
src/main/java/com/telerobot/fs/outbound/batchcall/CallTask.java

@@ -330,6 +330,9 @@ public class CallTask implements Runnable {
 			this.backgroundJobUuid = backgroundJobUuid;
 		}
 		public void processFsMsg(Map<String, String> headers) {
+
+			log.info("====processFsMsgHeaders:{}",headers);
+
 			String uniqueID = headers.get("Unique-ID");
 			String caller = headers.get("Caller-Caller-ID-Number");
 			String dest = headers.get("Caller-Destination-Number");