Module: sip-router
Branch: kamailio_3.0
Commit: 99d5e6c0d1fa81acb0f42bae137ec256004aba5f
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=99d5e6c…
Author: Carsten Bock <lists(a)bock.info>
Committer: Carsten Bock <lists(a)bock.info>
Date: Wed Jan 6 16:51:59 2010 +0100
Backport of the changes (see previous commits).
---
modules_k/dialog/dlg_handlers.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/dialog/dlg_handlers.c b/modules_k/dialog/dlg_handlers.c
index 3cf2a3b..450cc12 100644
--- a/modules_k/dialog/dlg_handlers.c
+++ b/modules_k/dialog/dlg_handlers.c
@@ -227,7 +227,7 @@ int populate_leg_info( struct dlg_cell *dlg, struct sip_msg *msg,
contact = ((contact_body_t *)msg->contact->parsed)->contacts->uri;
/* extract the RR parts */
- if(!msg->record_route && (parse_headers(msg,HDR_RECORDROUTE_F,0)<0) ){
+ if(!msg->record_route && (parse_headers(msg,HDR_EOH_F,0)<0) ){
LM_ERR("failed to parse record route header\n");
goto error0;
}