[Asterisk-Users] Ext matching problems

Francisco Moreno fmoreno at netcomvoice.com
Wed Mar 30 13:53:51 MST 2005


Thnx, that did the trick.

Francisco.

Le mercredi 30 mars 2005 à 14:28 +0100, Jason Williams a écrit :

> On Mon, 21 Mar 2005 15:03:14 -0400, Francisco Moreno
> <fmoreno at netcomvoice.com> wrote:
> > 
> > Now, when I dial from any of the ext. to '0' It actually matches the
> > '0', plays the goodbye message, but doesn't hangup but gets directly to
> > the 'pasvalide' context. Same thing happens when I dial to the ext. 1002
> > (the one that doesn't have voicemail), either it rings further than
> > 10secs or it's busy, it does not hangup but gets straight to the
> > 'pasvalide' context. As far as I understood, it should not happen, it
> > should go through the dialplan leaving those context included at the end
> > and in the orther they are included.
> 
> 
> your pavalide context is the problem
> 
> [pasvalide]
> exten => _.,1,Answer()
> exten => _.,2,Playback(invalid)
> exten => _.,3,Playback(goodbye)
> exten => _.,4,Hangup()
> 
> _. matches all numbers including h which means hangup, change pasvalide to this
> 
> 
> [pasvalide]
> exten => _X.,1,Answer()
> exten => _X.,2,Playback(invalid)
> exten => _X.,3,Playback(goodbye)
> exten => _X.,4,Hangup()
> 
> And all should be good
> 
> 
> Jason
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050330/98f14f68/attachment.htm


More information about the asterisk-users mailing list