latest sr_3.0 fixes.
* origin/sr_3.0: (36 commits)
core: added id to every field of gw table schema
tcp: use the forced socket ip as source
tmx: pv_t_copy_msg: copy also the send flags
textops(k): msg_apply_changes: preserve the send flags
seas: use set_force_socket()
rr(k): use set_force_socket()
registrar(k): use set_force_socket()
pv: use set_force_socket()
kex: use set_force_socket()
domainpolicy: use set_force_socket()
rr(s): use set_force_socket()
registrar(s): use set_force_socket()
tm: use set_force_socket() instead of msg->force_send_socket
tm: preserve forced sockets and send flags during dns failover
core: extra flag when forcing a socket
core: kamailio mode config parser fix
core: PAI and PPI parsing support fixed
core: dset minor cleanups
core: append_branch() sets also the send_socket, path & flags
remove extra backslash in make modules-doc action
...
*/
qvalue_t get_ruri_q(void);
- int get_request_uri(struct sip_msg* _m, str* _u);
+
+
+ /*
+ * Get actual Request-URI
+ */
+ inline static int get_request_uri(struct sip_msg* _m, str* _u)
+ {
+ *_u=*GET_RURI(_m);
+ return 0;
+ }
+
+
+
int rewrite_uri(struct sip_msg* _m, str* _s);
-/**
+/*! \brief
* Set a per-branch flag to 1.
*
* This function sets the value of one particular branch flag to 1.