diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2009-07-24 10:54:50 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2009-07-24 10:54:50 +0000 |
commit | 8feecd0b77bf54204d7fd893fca4c255240d2769 (patch) | |
tree | b6af3742d4adf010f2d58e1ba431dc6b7e3fa6b8 /net/asterisk10/files/sip_force_callid.diff | |
parent | Change MAINTAINER to my @FreeBSD.org address (diff) |
Update to 1.4.25.
Diffstat (limited to 'net/asterisk10/files/sip_force_callid.diff')
-rw-r--r-- | net/asterisk10/files/sip_force_callid.diff | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/net/asterisk10/files/sip_force_callid.diff b/net/asterisk10/files/sip_force_callid.diff index 67a3e0192633..09cf274581d1 100644 --- a/net/asterisk10/files/sip_force_callid.diff +++ b/net/asterisk10/files/sip_force_callid.diff @@ -1,12 +1,11 @@ ---- 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)); +--- 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)); } - } + |