summaryrefslogtreecommitdiff
path: root/pjsip/include/pjsip/sip_util.h
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2008-02-22 08:36:06 +0000
committerBenny Prijono <bennylp@teluu.com>2008-02-22 08:36:06 +0000
commit604b84d7eac9b00fd43dd52a35a23359f106277c (patch)
treeef783c2b47e7f22ece491baa31a701e3dbda2c1d /pjsip/include/pjsip/sip_util.h
parent2fe9c49e7d023c2efcc69ff835c49a3c3d8662e5 (diff)
Ticket #492: Bug in strict route processing when challenged with 401/407 response
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1816 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsip/sip_util.h')
-rw-r--r--pjsip/include/pjsip/sip_util.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/pjsip/include/pjsip/sip_util.h b/pjsip/include/pjsip/sip_util.h
index b6b3df8e..92264be6 100644
--- a/pjsip/include/pjsip/sip_util.h
+++ b/pjsip/include/pjsip/sip_util.h
@@ -220,6 +220,21 @@ PJ_DECL(pj_status_t) pjsip_get_request_dest(const pjsip_tx_data *tdata,
PJ_DECL(pj_status_t) pjsip_process_route_set(pjsip_tx_data *tdata,
pjsip_host_info *dest_info );
+
+/**
+ * Swap the request URI and strict route back to the original position
+ * before #pjsip_process_route_set() function is called. If no strict
+ * route URI was found by #pjsip_process_route_set(), this function will
+ * do nothing.
+ *
+ * This function should only used internally by PJSIP client authentication
+ * module.
+ *
+ * @param tdata Transmit data containing request message.
+ */
+PJ_DECL(void) pjsip_restore_strict_route_set(pjsip_tx_data *tdata);
+
+
/**
* This structure holds the state of outgoing stateless request.
*/