diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2011-11-07 23:38:48 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2011-11-07 23:38:48 +0000 |
commit | 2b05847ed94e390cdfe7c15313ab7b623a1b0cf0 (patch) | |
tree | dc72111eb39db03a5eb54f7313444d5e1b4ca2a4 /net/asterisk14/files/sip_force_callid.diff | |
parent | - Honor custom PREFIX [1] (diff) |
Ressurect asterisk14 and upgrade to the latest 1.4.42, which should be
free of any known vulnerabilities.
Diffstat (limited to 'net/asterisk14/files/sip_force_callid.diff')
-rw-r--r-- | net/asterisk14/files/sip_force_callid.diff | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/asterisk14/files/sip_force_callid.diff b/net/asterisk14/files/sip_force_callid.diff new file mode 100644 index 000000000000..09cf274581d1 --- /dev/null +++ b/net/asterisk14/files/sip_force_callid.diff @@ -0,0 +1,11 @@ +--- channels/chan_sip.c.orig 2009-05-12 21:18:44.000000000 +0300 ++++ channels/chan_sip.c 2009-05-26 12:58:10.000000000 +0300 +@@ -3061,6 +3061,8 @@ + } else if (!strcasecmp(ast_var_name(current), "SIPTRANSFER_REPLACES")) { + /* We're replacing a call. */ + p->options->replaces = ast_var_value(current); ++ } else if (!strcasecmp(ast_var_name(current), "SIP_FORCE_CALLID")) { ++ ast_string_field_set(p, callid, ast_var_value(current)); + } + } + |