> Hi, > I've got a problem with some grandstram devices (namely a couple of > budgetone 101 and an ata-486). The point is that, unless I use inband > for DTMF, asterisk ignore the first digit dialed.
Which firmware do you have? Does the one from www.grandstream.com/BETATEST/ help you? Grandstream used to send different SIP messages with the same CSEQ number when using early-dial. I reported this bug to them and they fixed it. Before it was fixed, I had the same effect you have: DTMF was only working inband, but not with RFC2833 or SIP-INFO. Maybe there is some similar bug left when not using early-dial. You can find this out quite easily by using ethereal. If it is this bug AND the new firmware doesn't help, then you should try the attached patch.
# # Patch managed by http://www.holgerschurig.de/patcher.html # --- head/channels/chan_sip.c~sip +++ head/channels/chan_sip.c @@ -6910,7 +6910,8 @@ } else if (p->ocseq && (p->ocseq != seqno)) { /* ignore means "don't do anything with it" but still have to respond appropriately */ - ignore=1; +ast_log(LOG_DEBUG, "//HS don't set ignore=1 because expected p->icseq %d != got seqno %d\n", p->icseq, seqno); + //ignore=1; } }
