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