[sr-dev] git:4.0: registrar: print bogus AoR in error log
Ovidiu Sas
osas at voipembedded.com
Thu Jun 6 21:33:16 CEST 2013
Module: sip-router
Branch: 4.0
Commit: 4b8f5eea61310a7d2545d06d513697b0c8631289
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4b8f5eea61310a7d2545d06d513697b0c8631289
Author: Ovidiu Sas <osas at voipembedded.com>
Committer: Ovidiu Sas <osas at voipembedded.com>
Date: Thu Jun 6 15:21:19 2013 -0400
registrar: print bogus AoR in error log
(cherry picked from commit e41230071e367015ecf794c147c60fda0bcd1907)
---
modules/registrar/common.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/registrar/common.c b/modules/registrar/common.c
index 7cb179f..11e73f0 100644
--- a/modules/registrar/common.c
+++ b/modules/registrar/common.c
@@ -66,7 +66,7 @@ int extract_aor(str* _uri, str* _a, sip_uri_t *_pu)
if (parse_uri(uri->s, uri->len, puri) < 0) {
rerrno = R_AOR_PARSE;
- LM_ERR("failed to parse Address of Record\n");
+ LM_ERR("failed to parse AoR [%.*s]\n", uri->len, uri->s);
return -1;
}
More information about the sr-dev
mailing list