[asterisk-users] early dial (or overlap dial) and Asterisk 1.2 vs. 1.4
Vieri
rentorbuy at yahoo.com
Mon Mar 2 10:50:06 CST 2009
Thanks Steve.
I guess I could set pedantic=no but modify chan_sip.c, add a global variable such as "urlencode" that if set to "yes" will call:
ast_uri_encode
ast_uri_decode
and nothing else.
I wish I didn't have to hack the source code though. I'd rather make the "sip client" work somehow. Asterisk 1.2 seems to send me the 481 response from within handle_request() in chan_sip. I don't know anything about this but it may have something to do with "to tags" and "from tags".
If anyone here is using Asterisk 1.2 w/ pedantic=yes and client-side "early dial" or "overlap dial" then please share your client configurations.
Thanks.
--- On Mon, 3/2/09, Steve Davies <davies147 at gmail.com> wrote:
> 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
> >
More information about the asterisk-users
mailing list