Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

XX-10177: Allow the NAT traversal plugin to see buffered messages.

  • Loading branch information...
commit 212fd89c5ef567fe0a404fd8690861de5f03b319 1 parent 9d53ae2
Joegen Baclor authored
View
8 sipXproxy/lib/authplugins/NatTraversalAgent/NatTraversalAgent.cpp
@@ -426,6 +426,14 @@ NatTraversalAgent::authorizeAndModify(const UtlString& id, /**< The authenticate
return result;
}
+void NatTraversalAgent::handleBufferedOutputMessage( SipMessage& message,
+ const char* address,
+ int port )
+{
+ Os::Logger::instance().log(FAC_NAT, PRI_DEBUG, "handleBufferedOutputMessage >>> handleOutputMessage from %s:%u", address, port );
+ NatTraversalAgent::handleOutputMessage(message, address, port);
+}
+
void NatTraversalAgent::handleOutputMessage( SipMessage& message,
const char* address,
int port )
View
4 sipXproxy/lib/authplugins/NatTraversalAgent/NatTraversalAgent.h
@@ -82,6 +82,10 @@ class NatTraversalAgent : public AuthPlugin, SipOutputProcessor, OsNotification
const char* address,
int port );
+ virtual void handleBufferedOutputMessage( SipMessage& message,
+ const char* address,
+ int port );
+
/// Read (or re-read) the authorization rules.
virtual void readConfig( OsConfigDb& configDb /**< a subhash of the individual configuration
* parameters for this instance of this plugin. */
Please sign in to comment.
Something went wrong with that request. Please try again.