[asterisk-users] Strange dialplan matching issue

Chris Bagnall lists at minotaur.cc
Wed Feb 11 19:18:26 CST 2009


Greetings list,

Wondering if anyone has come across this strange dialplan pattern matching issue before:

I have a context defined as follows (the plus simply implies it follows on from an existing context in another #include - which, yes, has been included first):
[privatedundi](+)
exten => _hilton-2XX,1,Goto(hilton,${EXTEN:7},1)

When dialling hilton-202 from another box via IAX2, I get:
NOTICE[3727]: chan_iax2.c:8085 socket_process: Rejected connect attempt from <ip masked>, request 'hilton-202 at privatedundi' does not exist

Changing the context to read as follows solves the problem immediately:
[privatedundi](+)
exten => hilton-201,1,Goto(hilton,${EXTEN:7},1)
exten => hilton-202,1,Goto(hilton,${EXTEN:7},1)
exten => hilton-203,1,Goto(hilton,${EXTEN:7},1)

Dialling hilton-202 now works every time.

The *really* strange thing is that I have a number of similar pattern matches, and all the others work fine, it's just this one that doesn't.

The box in question is running 1.4.22, but I have had a similar issue in the past with a 1.2 box, so it does not appear to be version specific.

Any thoughts?

TIA.

Regards,

Chris





More information about the asterisk-users mailing list