Vieri
2009-Mar-02 10:12 UTC
[asterisk-users] early dial (or overlap dial) and Asterisk 1.2 vs. 1.4
Hi, I am testing some IP phones (eg. GXP2000) and noticed that the "early dial" feature works fine with Asterisk 1.4 but not with 1.2. "early dial" is when digits are sent immediately, one by one, and Asterisk replies with a "484 Address Incomplete" and waits for the next digit until a match is found. This is a very useful feature where no dial patterns have to be set on the phone and the calls are sent without having to press the "send" button or the # key. This feature does not work with Asterisk 1.2 and I get a "reason code:481" on the IP phone. It seems that if one sets pedantic=no in 1.2 then the "early dial" feature works. However, I need pedantic=yes for the # digit to work. I have a mixed cluster with both * 1.2 and 1.4 and would like to avoid the hassle of upgrading the 1.2 servers. Is there a quick fix/hack? Versions: Asterisk 1.2.30, Asterisk 1.4.21.2 Thanks, Vieri
Steve Davies
2009-Mar-02 10:45 UTC
[asterisk-users] early dial (or overlap dial) and Asterisk 1.2 vs. 1.4
Hi, The part of pedantic=yes that you need to make '#' work is URL encoding, unfortunately it comes with a whole load of other baggage that breaks a lot of different things. A simple fix might be to comment out the parts of pedantic=yes that you do not need in the source code and re-compile - This does of course assume some knowledge of C. I used to have a patch which added a urlencode=yes/no feature to asterisk 1.2.x, but I just looked, and I no longer have a copy. If I am not mistaken, Asterisk 1.4 changed this code quite significantly. Regards, Steve 2009/3/2 Vieri <rentorbuy at yahoo.com>:> > Hi, > > I am testing some IP phones (eg. GXP2000) and noticed that the "early dial" feature works fine with Asterisk 1.4 but not with 1.2. > > "early dial" is when digits are sent immediately, one by one, and Asterisk replies with a "484 Address Incomplete" and waits for the next digit until a match is found. This is a very useful feature where no dial patterns have to be set on the phone and the calls are sent without having to press the "send" button or the # key. > This feature does not work with Asterisk 1.2 and I get a "reason code:481" on the IP phone. > > It seems that if one sets pedantic=no in 1.2 then the "early dial" feature works. However, I need pedantic=yes for the # digit to work. > > I have a mixed cluster with both * 1.2 and 1.4 and would like to avoid the hassle of upgrading the 1.2 servers. > > Is there a quick fix/hack? > > Versions: Asterisk 1.2.30, Asterisk 1.4.21.2 > > Thanks, > > Vieri >