Do you mean, when people call VoiceMailMain to _check_ their messages 
they need to be cut off after five minutes?  For this, I'd put an 
absolute timeout before the call to VoiceMailMain. 

I'm using asterisk 1.4, and the following syntax works for me:

; Set absolute timeout to five minutes (300 seconds)
exten => 777,1,Set(TIMEOUT(absolute)=300)
exten => 777,2,VoiceMailMain

Moj


Arun Kumar wrote:
> Hi
>
> I've configured my asterisk and voicemail all works fine but I want to 
> restrict call time to voicemail that is when user calls voicemail he can use 
> voicemail system only for a max of 5 min that is after five minutes asterisk 
> should disconnect the call. 
>
>
> thanks
>
> Arun
> ------------------------------------------------------------------------
>
> _______________________________________________
>
> Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/ 
>
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to