I don't know specifically about your question, however you can do a MATCH="*" for all matches that don't match anything (no pun intended).
Mitchel
-----Original Message-----
From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Roger
Sent: Thursday, May 13, 2004 4:38 PM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] pattern matching w/ Cisco dialplans
I have some Cisco 7940's running SIP image 6.3 and a newphone account.
Reguarding my dialplan I'm having a small issue. I'd like to dial
9,2,xxx-xxx-xxxx
for a LD Nufone calls - however I also need to dial local phone numbers ie
9,2xx-xxxx
Currently my dialplan looks like so
<TEMPLATE MATCH="9,1.........." Timeout="0" User="Phone"/> <!--
Long Distance -->
<TEMPLATE MATCH="9,2.........." Timeout="0" User="Phone"/> <!--
Long Distance - Nufone -->
<TEMPLATE MATCH="9,......." Timeout="0" User="Phone"/> <!--
Local numbers -->
This DOES work - I can call LD using NuPhone and call local numbers that
start w/ a 2 - however when I dial local numbers that start w/ a 2 I
have to wait 10 seconds for the call to be initiated.. ie pressing
9xxx-xxxx, pause 10 seconds, initiate call.
Looking over the SIPDefault.cnf I'm not finding a value that I can enter
that would shorten this time. I'd like to have a pattern match in say 5
seconds as opposed to 10.
Any ideas on how I can accomplish this?
--
Rock River Internet Roger Grunkemeyer
202 W. State St, 8th Floor grunky@rockriver.net
Rockford, IL 61101 815-968-9888 x102
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@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
<p>
                <hr size=1><font face=arial size=-1>Do you Yahoo!?<br>Yahoo! Movies - <a href="http://movies.yahoo.com/showtimes/movie?mid=1808405861">Buy advance tickets for 'Shrek 2' </a>