Browse Source

uac: explicit name of the function called many times when updating from/to

Daniel-Constantin Mierla 8 năm trước cách đây
mục cha
commit
88612ea4ed
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      src/modules/uac/replace.c

+ 2 - 1
src/modules/uac/replace.c

@@ -262,7 +262,8 @@ int replace_uri( struct sip_msg *msg, str *display, str *uri,
 	if(get_route_type()==REQUEST_ROUTE) {
 		if(msg->msg_flags & uac_flag)
 		{
-			LM_ERR("Called uac_replace multiple times on the message\n");
+			LM_ERR("called uac_replace_%s() multiple times on the message\n",
+					(hdr==msg->from)?"from":"to");
 			return -1;
 		}
 	}