diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-23 14:45:22 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-07-23 14:45:22 +0000 |
commit | 1043987fff62e6d4b6c94afcdbc883bd20507c20 (patch) | |
tree | 0d9dd5ad6c37b3949b7eeeb106328ea85c82f081 /channels/chan_sip.c | |
parent | 6b2784bedb6d7d62e50c6689e4c7e23b4b7031da (diff) |
add two missing entries in the replica of the sip_tech that
does not use DTMF BEGIN frames.
1.4 seems correct (it does not have the two fields).
However, as this bug shows, the current way of creating the sip_tech
replica is too error-prone, one can easily forget to update one of
the two entries. Perhaps it would be better to create sip_tech_info
expliclty at module load, by doing
sip_tech_info = sip_tech;
sip_tech_info.send_digit_begin = NULL
(in this case, this is something applicable to 1.4 as well).
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76564 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index b8092fb76..eddc11c18 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -1768,11 +1768,13 @@ static const struct ast_channel_tech sip_tech_info = { .read = sip_read, .write = sip_write, .write_video = sip_write, + .write_text = sip_write, .indicate = sip_indicate, .transfer = sip_transfer, .fixup = sip_fixup, .send_digit_end = sip_senddigit_end, .bridge = ast_rtp_bridge, + .early_bridge = ast_rtp_early_bridge, .send_text = sip_sendtext, .func_channel_read = acf_channel_read, }; |