On Fri, Oct 12, 2012 at 9:10 AM, Mitch Claborn <[email protected]> wrote:
> Converting this customer from a MiTel system to asterisk. Discovered that
> the inbound calls from the T1 are going to extension 366.  (This was mapped
> in the MiTel for some arcane purpose.)  The dial plan I am currently using
> is shown below.  When loading the dial plan, I get this warning:
>
>  WARNING[5004]: pbx_config.c:1561 pbx_load_config: The use of '_.' for an
> extension is strongly discouraged and can have unexpected behavior.  Please
> use '_X.' instead at line 331 of extensions.conf
>
> Question: Do I need to worry about this warning?
>From what I've seen, _X. will always match any extension starting with
a digit, whereas _. matches everything, including things other than
incoming calls (like hangups and timeouts for instance).

In any case, your question is already answered in the diagnostic
output: that pattern is strongly discouraged. So yes, you need to
worry about it. If you didn't, they wouldn't warn you about it.

>
> I'm a little leery of just using 366 in the dialplan, since the company we
> are dealing with is a little flaky.
>
>
> [from-pstn]
> exten =>s,1,NoOp(pstn call from ${CALLERID(all)} exten=${EXTEN})
>   same =>n,Goto(MainMenu,s,1)
> exten =>_.,1,NoOp(pstn call from ${CALLERID(all)} exten=${EXTEN})
>   same =>n,Goto(MainMenu,s,1)
>
>
>
> --
>
> Mitch
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users



-- 
-Chris Harrington
ACSDi Office: 763.559.5800
Mobile Phone: 612.326.4248

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to