I'm running Asterisk 1.2.7.1 on Red hat 9 and have a strange pattern
matching problem:
I have the following in my dial plan:
exten = _NXX,1,NoOp(Number dialed ${EXTEN})
exten = _NXX,n,Dial(Zap/1/${EXTEN})
Unless I'm missing something, I wouldn't expect the pattern above to
match a 10
1) Your exten = _1XX,n,Dial(Zap/1/${EXTEN}) does not start with
priority 1 so it will never match
2) The 10 digit number you dialed does not start with a 1 so it will
never match, even if the priority issue is fixed.
Asterisk knows that once you've dialed 7 digits no OTHER pattern
On Jan 17, 2005, at 7:29, Joseph wrote:
How do I solve the problem with between patterns:
_1800
_1NXX
I would like all numbers 1800, 1877 etc to go through iaxtel
but all other numbers 1xxx via voipjet
When you combine these contexts, e.g. when you include them in your
default context, you need
-Original Message-
From: Joseph [mailto:[EMAIL PROTECTED]
Sent: Monday, January 17, 2005 1:29 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] pattern matching problem
How do I solve the problem with between patterns:
_1800
_1NXX
I
On Mon, 2005-01-17 at 09:02 +0100, Jens Vagelpohl wrote:
On Jan 17, 2005, at 7:29, Joseph wrote:
How do I solve the problem with between patterns:
_1800
_1NXX
I would like all numbers 1800, 1877 etc to go through iaxtel
but all other numbers 1xxx via voipjet
When you combine
How do I solve the problem with between patterns:
_1800
_1NXX
I would like all numbers 1800, 1877 etc to go through iaxtel
but all other numbers 1xxx via voipjet
In your default context (i.e. the one specified in sip.conf/iax.conf)
include the iaxtel context before the
How do I solve the problem with between patterns:
_1800
_1NXX
I would like all numbers 1800, 1877 etc to go through iaxtel
but all other numbers 1xxx via voipjet
Example in my extension.conf I have:
[iaxtel]
exten = _1700NXX,1,Dial(IAX2/:[EMAIL PROTECTED]/[EMAIL PROTECTED])
exten =
I am having problems with early dialing and
chan_phone. In extensions.conf Ihave:
exten = _41.,1,Dial,IAX
If I dialvia a SIP or ZAP channels it works
fine.With chan_phone it start dialing right after the 3rd number.
If tried different combinations like (41., ... or
_41X., ) and still