[Asterisk-Users] Re: Re: Limit on call in minuttes.

Hans-Henrik Andresen hhandresen at hotmail.com
Sun Mar 7 11:04:55 MST 2004


HMM - This wont work :(

exten => 10,1,Dial(SIP/hha1,20,S(10))
exten => 10,2,VoiceMail,u10
exten => 10,102,VoiceMail,b10

"Soren Rathje" <asterisk at lolle.org> wrote in message
news:00aa01c4046c$04a4e130$4100a8c0 at soren...
> Ok, it actually works fine here..
>
> Asterisk CVS-03/06/04-14:35:21, Copyright (C) 1999-2004 Digium.
>
> ****
> From extensions.conf:
>
> [pstn-out-nat]
> ;
> ignorepat => 0
>
> ; NOT USED
> exten => _0XX0XXXXX,1,Congestion
>
> ; Local eight-digit dialing accessed through trunk interface
> exten => _0NXXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}},20,S(20))
> exten => _0NXXXXXXX,2,Congestion
>
> ****
> From * console:
>
>     -- Executing Dial("SIP/1000-4d25", "Zap/1/4060xxxx|20|S(30)") in new
> stack
>     -- Setting call duration limit to 30 seconds.
>     -- Called 1/4060xxxx
>     -- Zap/1-1 answered SIP/1000-4d25
>     -- Hungup 'Zap/1-1'
>   == Spawn extension (default, 04060xxxx, 1) exited non-zero on
> 'SIP/1000-4d25'
>        > cdr_odbc: Query Successful!
>
>
> -- Søren
>
> "Hans-Henrik Andresen" <hhandresen at hotmail.com> wrote in message
> news:c2ff62$aji$1 at sea.gmane.org...
> > Hi,
> >
> > Thank you, but this I cant get to work.
> >
> > /HHA
> >
> > >
> > > so that should enable you to do the following:
> > >     Call timeout = 20 sec
> > >     Max Call Duration = 300 sec = 5 min.
> > >
> > >     exten =>
> > 411,1,Dial(IAX2/hhandresen at iaxtel/18005558355 at iaxtel,20,S(300))
> > >
> > > however, I have not tried it yet so someone correct me if I am wrong..
> >
> >
> >
> >
> > _______________________________________________
> > 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
> >
> >
>
> _______________________________________________
> 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