Module: kamailio Branch: master Commit: 88612ea4ed49db8a10cb8b1ddf23bc0783e937c3 URL: https://github.com/kamailio/kamailio/commit/88612ea4ed49db8a10cb8b1ddf23bc07...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2017-05-12T16:34:12+02:00
uac: explicit name of the function called many times when updating from/to
---
Modified: src/modules/uac/replace.c
---
Diff: https://github.com/kamailio/kamailio/commit/88612ea4ed49db8a10cb8b1ddf23bc07... Patch: https://github.com/kamailio/kamailio/commit/88612ea4ed49db8a10cb8b1ddf23bc07...
---
diff --git a/src/modules/uac/replace.c b/src/modules/uac/replace.c index 42626fe..db5ea25 100644 --- a/src/modules/uac/replace.c +++ b/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; } }