]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix recalled party B feature flags for a failed DTMF atxfer.
authorRichard Mudgett <rmudgett@digium.com>
Wed, 25 Apr 2012 01:21:43 +0000 (01:21 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 25 Apr 2012 01:21:43 +0000 (01:21 +0000)
commit262ee9fd0284537e2c7bebf9ff7794b4537383f3
treed1cbbf20e4a2c671d70bdf6db42925595381f56b
parent0dbc13d01304eadbee993350c41e091155177923
Fix recalled party B feature flags for a failed DTMF atxfer.

1) B calls A with Dial option T
2) B DTMF atxfer to C
3) B hangs up
4) C does not answer
5) B is called back
6) B answers
7) B cannot initiate transfers anymore

* Add dial features datastore to recalled party B channel that is a copy
of the original party B channel's dial features datastore.

* Extracted add_features_datastore() from add_features_datastores().

* Renamed struct ast_dial_features features_caller and features_callee
members to my_features and peer_features respectively.  These better names
eliminate the need for some explanatory comments.

* Simplified code accessing the struct ast_dial_features datastore.

(closes issue ASTERISK-19383)
Reported by: lgfsantos

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@363428 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/features.c