patch:
This patch adds an ;lr parameter to initial route set in order to conform with loose-routing defined in RFC3261.
This commit is contained in:
parent
630fa8eb58
commit
e745a232ca
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ int sip_dialog_alloc(struct sip_dialog **dlgp,
|
|||
}
|
||||
|
||||
for (i=0; i<routec; i++) {
|
||||
err |= mbuf_printf(dlg->mb, "Route: <%s>\r\n", routev[i]);
|
||||
err |= mbuf_printf(dlg->mb, "Route: <%s;lr>\r\n", routev[i]);
|
||||
if (i == 0)
|
||||
rend = dlg->mb->pos - 2;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue