[Asterisk-Users] Wildcards and variable number of digits
Brian West
brian at bkw.org
Sun Sep 5 18:21:05 MST 2004
Why do I even bother trying to help... I even pointed out that the channel
driver is at fault... I only pointed out how it should work and you get an
attitude about it GOOD JOB... Check out line 749 in chan_phone.c you'll see
and compare it to chan_skinny.c and see if maybe that fixes it(hint
chanmatch vs matchmore). I'll have a friend with the hardware next Tuesday
and maybe we'll have a patch to fix this.
bkw
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> bounces at lists.digium.com] On Behalf Of Karl Brose
> Sent: Sunday, September 05, 2004 7:36 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] Wildcards and variable number of digits
>
> Amazing,
> We are talking about CURRENT CVS CODE chan_phone the way it DOES work,
> not zap, not anything else, not the way it SHOULD work.
>
> CHAN_PHONE scans the ENTIRE dial plan on EVERY digit dialed
> in dialtone mode and what you describe does not work for chan_phone.
> Why is it so hard to accept the facts?
>
>
>
>
> Brian West wrote:
>
> >No, newer code does exactly how I described it. Specific matches in the
> >current context override wildcards in any included context. I have
> tested
> >this and that's how Mark himself says it works. This is how it should
> work
> >if I understand it correctly and I usually do, ast_matchmore_extension is
> >
> Sorry to ruin your theory.
>
>
> >what makes that possible. I don't have any zap hooked up to double
> check
> >this. Jeremy did that in chan_skinny so it may very well be the channel
> >driver at fault.
> >
> >bkw
> >
> >
> >
> >>-----Original Message-----
> >>From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> >>bounces at lists.digium.com] On Behalf Of Karl Brose
> >>Sent: Sunday, September 05, 2004 4:33 PM
> >>To: Asterisk Users Mailing List - Non-Commercial Discussion
> >>Subject: Re: [Asterisk-Users] Wildcards and variable number of digits
> >>
> >>
> >>No Brian,
> >>The old driver scans the ENTIRE dial plan on EVERY digit dialed so no
> >>matter where, if you have a
> >>"." wildcard in the plan, it will match always on the first digit
> dialed.
> >>It is the driver that does this.
> >>If you use a SIP phone, or any technology that presents a complete dial
> >>string, then you are correct
> >>with your examples.
> >>
> >>
> >>
> >
> >
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list