[sr-dev] git:3.1: uac: more verbose debug message

Daniel-Constantin Mierla miconda at gmail.com
Fri Jul 1 18:37:49 CEST 2011


Module: sip-router
Branch: 3.1
Commit: 57092200dbc11a61510988b7bb6939284618f5ff
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=57092200dbc11a61510988b7bb6939284618f5ff

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Wed Jun 22 11:42:30 2011 +0200

uac: more verbose debug message

- give hint of how to get rid of append_fromtag requirement on rr module
(cherry picked from commit 70ae31556b09d300f6d708b0e4edf287927748d2)

---

 modules_k/uac/uac.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules_k/uac/uac.c b/modules_k/uac/uac.c
index 81dfe35..3152ce7 100644
--- a/modules_k/uac/uac.c
+++ b/modules_k/uac/uac.c
@@ -221,8 +221,9 @@ static int mod_init(void)
 		if (from_restore_mode==FROM_AUTO_RESTORE) {
 			/* we need the append_fromtag on in RR */
 			if (!uac_rrb.append_fromtag) {
-				LM_ERR("'append_fromtag' RR param is not enabled!"
-					" - required by AUTO restore mode\n");
+				LM_ERR("'append_fromtag' RR param is not enabled"
+					" - required by AUTO restore mode!"
+					" Or you should set from_restore_mode param to 'none'\n");
 				goto error;
 			}
 			/* get all requests doing loose route */




More information about the sr-dev mailing list