From 9b7cf2416a2f4f97e6e499b15089da4cfdbaf265 Mon Sep 17 00:00:00 2001 From: Stefan Sayer Date: Wed, 2 Dec 2009 16:09:15 +0000 Subject: [PATCH] more loggging in case of invalid next hop git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1621 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- core/plug-in/sipctrl/SipCtrlInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/plug-in/sipctrl/SipCtrlInterface.cpp b/core/plug-in/sipctrl/SipCtrlInterface.cpp index 31ed045a..482e3361 100644 --- a/core/plug-in/sipctrl/SipCtrlInterface.cpp +++ b/core/plug-in/sipctrl/SipCtrlInterface.cpp @@ -327,7 +327,7 @@ int SipCtrlInterface::send(const AmSipRequest &req, char* serKey, unsigned int& sip_uri parsed_uri; if (parse_uri(&parsed_uri, (char *)req.next_hop.c_str(), req.next_hop.length()) < 0) { - ERROR("invalid next hop URI\n"); + ERROR("invalid next hop URI '%s'\n", req.next_hop.c_str()); ERROR("Using default outbound proxy"); next_hop = SipCtrlInterfaceFactory::outbound_host; next_port_i = SipCtrlInterfaceFactory::outbound_port;