Summary: | ASTERISK-03512: atxfer lost digits entered while playing "pbx-transfer" | ||
Reporter: | mcisse (mcisse) | Labels: | |
Date Opened: | 2005-02-14 11:05:27.000-0600 | Date Closed: | 2008-01-15 15:25:36.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Resources/res_features |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) features_2_14_2005_rev0.diff ( 1) features_2_14_2005_rev1.diff | |
Description: | I've mapped atxfer to dtmf '#". So to transfer to phone 41, I dial ASTERISK-37 while in communication. But digits entered while asterisk is playing pbx-transfer seem to be lost. In fact, I must wait the dial tone before entering destination, to succeed. Unfortunately, users dial DTMF without waiting the end of pbx-transfer. So, transfer is done with a wrong number. So, is there any way for atxfer to work, even if dialed fast? | ||
Comments: | By: twisted (twisted) 2005-02-14 11:16:49.000-0600 Generally, don't you wait for the dialtone before dialing? By: mcisse (mcisse) 2005-02-14 11:43:38.000-0600 Yeah, but many users don't wait for the dialtone. In fact, the first time, I'll wait for the dialtone, the second time too. But after 100 times, waiting the dialtone is annoying, really. In fact, users just go typing #xxx without even waiting for any audio feedback. Or maybe, we may skip the "pbx-transfer" to have immediatly the dialtone. By: Anthony Minessale (anthm) 2005-02-14 14:13:09.000-0600 Try this (untested) patch. Disclaimer on file. By: mcisse (mcisse) 2005-02-15 06:31:07.000-0600 I've modified your patch a little to work, because "res" was not correctly initialysed for the loop "for" in ast_app_dtget (the loop wax exiting immediatly : only the first digit was seen). My modification is probably not the best one, but it seems to work great. Will your patch be applied to CVS? Thanks a lot for your help. By: Anthony Minessale (anthm) 2005-02-17 09:58:11.000-0600 This patch looks ready, please commit it. By: Mark Spencer (markster) 2005-02-17 14:05:24.000-0600 Fixed in CVS head. By: Digium Subversion (svnbot) 2008-01-15 15:25:36.000-0600 Repository: asterisk Revision: 5045 U trunk/app.c U trunk/include/asterisk/app.h U trunk/res/res_features.c ------------------------------------------------------------------------ r5045 | markster | 2008-01-15 15:25:35 -0600 (Tue, 15 Jan 2008) | 2 lines Add atxfer fix (bug ASTERISK-3512) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=5045 |