summaryrefslogtreecommitdiff
path: root/net/asterisk14/files/sip_force_callid.diff
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2008-05-16 09:24:29 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2008-05-16 09:24:29 +0000
commit285e2c278ab94c27d91796679099a77878524cdf (patch)
treefdb5db734e5d21b486bc025816887cd269754368 /net/asterisk14/files/sip_force_callid.diff
parentKradview is a GPLed viewer of images obtained for some different (diff)
o Update to 1.4.19.2;
o move all additional functionality into separate patches and make it opt in. It has been concern of asterisks devs that the FreeBSD pacakage adds functionalty not present in the original version, whch could be confusing.
Diffstat (limited to 'net/asterisk14/files/sip_force_callid.diff')
-rw-r--r--net/asterisk14/files/sip_force_callid.diff12
1 files changed, 12 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..67a3e0192633
--- /dev/null
+++ b/net/asterisk14/files/sip_force_callid.diff
@@ -0,0 +1,12 @@
+--- channels/chan_sip.c.orig 2008-04-09 11:39:09.000000000 +0300
++++ channels/chan_sip.c 2008-04-09 11:40:28.000000000 +0300
+@@ -2998,6 +2998,9 @@
+ p->t38.state = T38_LOCAL_DIRECT;
+ if (option_debug)
+ ast_log(LOG_DEBUG,"T38State change to %d on channel %s\n", p->t38.state, ast->name);
++ } else if (!strcasecmp(ast_var_name(current), "SIP_FORCE_CALLID")) {
++
++ ast_string_field_set(p, callid, ast_var_value(current));
+ }
+
+ }