Summary:ASTERISK-02199: problem with Feature Group D / E&M Wink
Reporter:jesses (jesses)Labels:
Date Opened:2004-08-06 22:06:33Date Closed:2008-01-15 15:06:07.000-0600
Versions:Frequency of
Description:My phone company sends phone numbers to me using format *ani*dnis* but when I send the phone number to them I have to do it as *dnis* because they do not allow me to send ani, they have one phone number that shows up on all calls. Mark gave me a patch which I will put under additional info, but on the first call to hit every T1 channel, I get a bad extension and this in the logs-

Aug  6 15:53:33 WARNING[796229651]: Got a non-Feature Group D input on channel 1.  Assuming E&M Wink instead

Only happens on first call, after that it's fine


Index: channels/chan_zap.c
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.196
diff -u -r1.196 chan_zap.c
--- channels/chan_zap.c 24 Mar 2004 08:36:36 -0000      1.196
+++ channels/chan_zap.c 26 Mar 2004 18:05:24 -0000
@@ -4262,7 +4262,7 @@
               strncpy(exten, dtmfbuf, sizeof(exten)-1);
               if (!strlen(exten))
                       strncpy(exten, "s", sizeof(exten)-1);
-               if (p->sig == SIG_FEATD) {
+               if (p->sig == SIG_FEATD || p->sig == SIG_EMWINK) {
                       if (exten[0] == '*') {
                               char *stringp=NULL;
                               strncpy(exten2, exten, sizeof(exten2)-1);
Comments:By: twisted (twisted) 2004-08-24 13:29:49

Wow this one has sat in here with no acvtivity going on 18 days..   I'm assuming the snippit above is the resolution to the problem you were having?  If so, if you're wanting it to be considered, we need to make sure that it is in diff -u format, as a seperate file uploaded to this bug, and that it applies/comiples cleanly against current cvs.

This is also a housekeeping reminder - if no response recieved/action taken on this bug within 24 hours, it will be closed.

By: Mark Spencer (markster) 2004-08-24 14:11:15

Yes, but this is just making featd operate as e&m wink.

By: Mark Spencer (markster) 2004-08-30 01:04:36

I've modified Asterisk so that it checks all E&M Wink lines (incoming) for Feature Group D style signalling.  Now you can use E&M Wink lines for lines which transmit E&M Wink but receive Feature Group D.

By: Digium Subversion (svnbot) 2008-01-15 15:06:07.000-0600

Repository: asterisk
Revision: 3679

U   trunk/channels/chan_zap.c

r3679 | markster | 2008-01-15 15:06:06 -0600 (Tue, 15 Jan 2008) | 2 lines

Look for feature group D on all E&M Wink Lines (bug ASTERISK-2199)