1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/net/asterisk14/files/sip_force_callid.diff
Maxim Sobolev 285e2c278a 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.
2008-05-16 09:24:29 +00:00

13 lines
445 B
Diff

--- 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));
}
}