[sr-dev] git:4.3:84c715b5: dialog: fix $dlg(from_bindaddr) getter

Camille Oudot camille.oudot at orange.com
Mon Apr 11 18:54:44 CEST 2016


Module: kamailio
Branch: 4.3
Commit: 84c715b524da26d8c62308cfe83ed41edb75dd63
URL: https://github.com/kamailio/kamailio/commit/84c715b524da26d8c62308cfe83ed41edb75dd63

Author: Camille Oudot <camille.oudot at orange.com>
Committer: Camille Oudot <camille.oudot at orange.com>
Date: 2016-04-11T18:55:00+02:00

dialog: fix $dlg(from_bindaddr) getter

(cherry picked from commit a4e3cee470d27a691ec33b5dc11ad2e54246664a)

---

Modified: modules/dialog/dlg_var.c

---

Diff:  https://github.com/kamailio/kamailio/commit/84c715b524da26d8c62308cfe83ed41edb75dd63.diff
Patch: https://github.com/kamailio/kamailio/commit/84c715b524da26d8c62308cfe83ed41edb75dd63.patch

---

diff --git a/modules/dialog/dlg_var.c b/modules/dialog/dlg_var.c
index 450f8a5..8d76b8f 100644
--- a/modules/dialog/dlg_var.c
+++ b/modules/dialog/dlg_var.c
@@ -878,7 +878,7 @@ int pv_parse_dlg_name(pv_spec_p sp, str *in)
 		break;
 		case 13: 
 			if(strncmp(in->s, "from_bindaddr", 13)==0)
-				sp->pvp.pvn.u.isname.name.n = 2;
+				sp->pvp.pvn.u.isname.name.n = 20;
 			else goto error;
 		break;
 		default:




More information about the sr-dev mailing list