aboutsummaryrefslogtreecommitdiffstats
path: root/channels/iax2-parser.h
diff options
context:
space:
mode:
authordvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b>2009-02-04 21:25:14 +0000
committerdvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b>2009-02-04 21:25:14 +0000
commit6c67e59d30b469026ad37dab0817f4a2875efb49 (patch)
treeff5fcb0a901ac275103b475a3b9906f375e85ad4 /channels/iax2-parser.h
parentc9c18ea1daf0245263d43209017b8c0d8cfb0332 (diff)
Fixes issue with IAX2 transfer not handing off calls. Reverts changes in 116884
Fixes issue with IAX2 transfers not taking place. As it was, a call that was being transfered would never be handed off correctly to the call ends because of how call numbers were stored in a hash table. The hash table, "iax_peercallno_pvt", storing all the current call numbers did not take into account the complications associated with transferring a call, so a separate hash table was required. This second hash table "iax_transfercallno_pvt" handles calls being transfered, once the call transfer is complete the call is removed from the transfer hash table and added to the peer hash table resuming normal operations. Addition functions were created to handle storing, removing, and comparing items in the iax_transfercallno_pvt table. The changes reverted in 116884 caused backwards compatibility issues involving iax2 transfer with 1.6.0, 1.4, and 1.2. (closes issue #13468) Reported by: nicox Tested by: dvossel git-svn-id: http://svn.digium.com/svn/asterisk/trunk@173502 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/iax2-parser.h')
-rw-r--r--channels/iax2-parser.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/channels/iax2-parser.h b/channels/iax2-parser.h
index 6c0b3a714..e40669d3d 100644
--- a/channels/iax2-parser.h
+++ b/channels/iax2-parser.h
@@ -109,8 +109,6 @@ struct iax_frame {
unsigned int sentyet:1;
/* Non-zero if should be sent to transfer peer */
unsigned int transfer:1;
- /* Non-zero if should be sent to media peer */
- unsigned int media:1;
/* Non-zero if this is the final message */
unsigned int final:1;
/* Ingress or outgres */