add two missing entries in the replica of the sip_tech that
authorLuigi Rizzo <rizzo@icir.org>
Mon, 23 Jul 2007 14:45:22 +0000 (14:45 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Mon, 23 Jul 2007 14:45:22 +0000 (14:45 +0000)
commit6a9270d87921bac8471bd5393e721590e1d146c3
tree0d9dd5ad6c37b3949b7eeeb106328ea85c82f081
parent90dc0cfa85dbe55c7f34e59fb56b97f582d57db4
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: https://origsvn.digium.com/svn/asterisk/trunk@76564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c