Index: modules/uac/replace.c =================================================================== --- modules/uac/replace.c (revision 6608) +++ modules/uac/replace.c (working copy) @@ -458,7 +458,12 @@ /* get new uri */ if ( new_uri.lencallid) + LM_ERR("new URI shorter than old URI (callid=%.*s)\n", + msg->callid->body.len,msg->callid->body.s); + else + LM_ERR("new URI shorter than old URI (callid=?)\n"); goto failed; } for( i=0 ; i