Module: sip-router Branch: pd/outbound Commit: 86440c81639e1aff66e7449a121ac8ae6d43197a URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=86440c81639e1aff66e7449a121ac8ae6d43197a
Author: Peter Dunkley <[email protected]> Committer: Peter Dunkley <[email protected]> Date: Fri Mar 15 11:14:06 2013 +0000 modules/pv: can only retrieve $ruid for a request - cache it in an avp for the request if you need it later --- modules/pv/pv_core.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/modules/pv/pv_core.c b/modules/pv/pv_core.c index 9c90902..36dfbba 100644 --- a/modules/pv/pv_core.c +++ b/modules/pv/pv_core.c @@ -1810,6 +1810,9 @@ int pv_get_ruid(struct sip_msg *msg, pv_param_t *param, if(msg==NULL) return -1; + if(msg->first_line.type == SIP_REPLY) + return pv_get_null(msg, param, res); + if(msg->ruid.len==0) { LM_DBG("no ruid\n"); _______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
