<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.2.5">
</HEAD>
<BODY>
Thnx, that did the trick.<BR>
<BR>
Francisco.<BR>
<BR>
Le mercredi 30 mars 2005 à 14:28 +0100, Jason Williams a écrit :
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">On Mon, 21 Mar 2005 15:03:14 -0400, Francisco Moreno</FONT>
<FONT COLOR="#000000"><<A HREF="mailto:fmoreno@netcomvoice.com">fmoreno@netcomvoice.com</A>> wrote:</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> Now, when I dial from any of the ext. to '0' It actually matches the</FONT>
<FONT COLOR="#000000">> '0', plays the goodbye message, but doesn't hangup but gets directly to</FONT>
<FONT COLOR="#000000">> the 'pasvalide' context. Same thing happens when I dial to the ext. 1002</FONT>
<FONT COLOR="#000000">> (the one that doesn't have voicemail), either it rings further than</FONT>
<FONT COLOR="#000000">> 10secs or it's busy, it does not hangup but gets straight to the</FONT>
<FONT COLOR="#000000">> 'pasvalide' context. As far as I understood, it should not happen, it</FONT>
<FONT COLOR="#000000">> should go through the dialplan leaving those context included at the end</FONT>
<FONT COLOR="#000000">> and in the orther they are included.</FONT>
<FONT COLOR="#000000">your pavalide context is the problem</FONT>
<FONT COLOR="#000000">[pasvalide]</FONT>
<FONT COLOR="#000000">exten => _.,1,Answer()</FONT>
<FONT COLOR="#000000">exten => _.,2,Playback(invalid)</FONT>
<FONT COLOR="#000000">exten => _.,3,Playback(goodbye)</FONT>
<FONT COLOR="#000000">exten => _.,4,Hangup()</FONT>
<FONT COLOR="#000000">_. matches all numbers including h which means hangup, change pasvalide to this</FONT>
<FONT COLOR="#000000">[pasvalide]</FONT>
<FONT COLOR="#000000">exten => _X.,1,Answer()</FONT>
<FONT COLOR="#000000">exten => _X.,2,Playback(invalid)</FONT>
<FONT COLOR="#000000">exten => _X.,3,Playback(goodbye)</FONT>
<FONT COLOR="#000000">exten => _X.,4,Hangup()</FONT>
<FONT COLOR="#000000">And all should be good</FONT>
<FONT COLOR="#000000">Jason</FONT>
<FONT COLOR="#000000">_______________________________________________</FONT>
<FONT COLOR="#000000">Asterisk-Users mailing list</FONT>
<FONT COLOR="#000000"><A HREF="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</A></FONT>
<FONT COLOR="#000000"><A HREF="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</A></FONT>
<FONT COLOR="#000000">To UNSUBSCRIBE or update options visit:</FONT>
<FONT COLOR="#000000"> <A HREF="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</A></FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>