[Asterisk-Users] i extension

Race Vanderdecken asterisk at vanderdecken.com
Wed Oct 20 07:17:23 MST 2004


Benjk,

Good question, I develop asterisk code and did not know the "i"
extension existed for some time. The wiki is very poor on it.

If you put the "I" extension in a context with the dial plan then it
works best. This way the problem is handled locally within the dial plan
instead of fall through to the global context.

[context123]

exten => _222XXXXXXX,1,Dial(...)
	...

exten => i,1,Fix The problem for invalid extension in dial plan.
		...

Exten => t,1,Fix The problem for timeout in dial plan
		...

[context124]
	...

You could create a [invalid-Extension-Fix-Context] and do an include in
the other contexts.

Race Vanderdecken

AsTerisk 8-e Vanderdecken DOT coM



-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Benjamin
on Asterisk Mailing Lists
Sent: 19 October 2004 17:23
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] i extension

This is a question I am almost too embarassed to ask but here we go ...

Is it not possible to use the i extension to trap attempts of users
misdialling numbers otherwise not in the dialplan/context?

I have seen this in so many examples and I always thought "Oh, this
will come in handy one day" but never actually had to use it. Now, as
I have a customer who is complaining every day about the Asterisk
server "not working" because they seem to have fingers to thick for
their phones' keypads or suffer from some rare form of number
dislexia, I would really like to trap all those cases where they dial
some invalid number that's not matching anything in the
dialplan/context and play an invalid number/extension recording back
to the user. Unfortunately, it doesn't seem to work and I couldn't
find anything other than the Wiki page that also says it doesn't work
but fails to explain why. So, what's the story on this?

thanks
rgds
benjk

-- 
Sunrise Telephone Systems, 9F Shibuya Daikyo Bldg., 1-13-5 Shibuya,
Tokyo, Japan.

NB: Spam filters in place. Messages unrelated to the * mailing lists
may get trashed.
_______________________________________________
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