Module: kamailio
Branch: master
Commit: a4e3cee470d27a691ec33b5dc11ad2e54246664a
URL:
https://github.com/kamailio/kamailio/commit/a4e3cee470d27a691ec33b5dc11ad2e…
Author: Camille Oudot <camille.oudot(a)orange.com>
Committer: Camille Oudot <camille.oudot(a)orange.com>
Date: 2016-04-11T18:53:05+02:00
dialog: fix $dlg(from_bindaddr) getter
---
Modified: modules/dialog/dlg_var.c
---
Diff:
https://github.com/kamailio/kamailio/commit/a4e3cee470d27a691ec33b5dc11ad2e…
Patch:
https://github.com/kamailio/kamailio/commit/a4e3cee470d27a691ec33b5dc11ad2e…
---
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: