[Asterisk-Users] Extension Matching.

Chris Modesitt chris at octelecom.net
Wed Jun 29 14:47:04 MST 2005


Well in short I am trying to fix a loop error.

 

Basically this is what I have setup:

 

AMP --> PROXY --> PSTN Gateway.

 

In amp you setup your extensions, ours are typically 4 digit, then you
assign DIDS to each extension. AKA 8014445454 points to 5454.  Well the
first thing my users try to do is dial their DIDS from inside the PBX.
Because of the way AMP's internals work it dose not try to match an outbound
number with it's own DID database before forwarding to the proxy.  The proxy
realizes that the destination and source IP addresses are the same and
reports "482 Loop Detected" and destroys the call.  So my options are to 1.)
Use a pattern for the DID to match.  2.) Program every variation they might
try (with the 9 without etc).  3.) Or tell the users to quite complaining
(which they won't).

 

I know that their has been talk of rebuilding the pattern matcher in the
past I was wonder if this has changed or if anybody has a real nifty macro
they would be willing to share:-)

 

Chris

 

 

 

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Alexander
Lopez
Sent: Wednesday, June 29, 2005 3:13 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [Asterisk-Users] Extension Matching.

 

What are you trying to do???

 

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Chris Modesitt
Sent: Wednesday, June 29, 2005 4:54 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [Asterisk-Users] Extension Matching.

 

Okay I take that back it kinda works, but the behavior is erratic. Sometimes
it matches just the 7 digits and sometimes it matches every number that
enters the context  :-)

 

Chris

 

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Alexander
Lopez
Sent: Wednesday, June 29, 2005 2:30 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [Asterisk-Users] Extension Matching.

 

Try _.4445454

 

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Chris Modesitt
Sent: Wednesday, June 29, 2005 4:17 PM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] Extension Matching.

 

Is there a way to match the last 7 digits of an extension?

 

So that 1008014445454

            8014445454

            4445454 

 

Would all match?

 

I have looked at extension matching and I can't figure out how to do this:-)

 

Thanks in advance!

 

Chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050629/e3baf95d/attachment.htm


More information about the asterisk-users mailing list