[Asterisk-Users] AGI and AUTOHANGUP
Innocent Evil
innocent.evil at inbox.com
Tue Nov 22 23:43:17 MST 2005
thanks a lot, Darren.
I opened up app_dial.c and learned more !!
> -----Original Message-----
> From: darren at aleph-com.net
> Sent: Tue, 22 Nov 2005 22:18:14 -0700
> To: asterisk-users at lists.digium.com
> Subject: Re: [Asterisk-Users] AGI and AUTOHANGUP
>
> This is easy. :-) How are you creating the call? From an AGI script?
> Here's how I do it.
>
> $maxtime = $timelimit * 1000; #$maxtime is maxlength in seconds
> $timelimit = "|30|HL($maxtime:60000:30000)"; #This will provide a
> warning @ 60 and 30 seconds.
> return $timelimit;
>
> Append $timelimit onto the end of your dialcommand. You can look at the
> code for ASTCC in the asterisk cvs or look at astpp-callingcard.agi in
> the cvs code available @ www.aleph-com.net/astpp
>
> Darren Wiebe
> darren at aleph-com.net
>
> Innocent Evil wrote:
>
> >Comeo'n AGI guys..
> >Please say something.
>>
>>
>>
> >>Hi,
>>>
> >>Using AUTOHANGUP, I can force a call duration within a time limit.
> >>I would like to playback a message before 1 minute of autohangup.
> >>How can I accomplish it?
> >>Would anybody please give me right direction.
>>>
> >>Thanks,
>>>
>>>
>>>
>>>
> >>You don't have any choice, you already made it before you came
> >>here._______________________________________________
> >>--Bandwidth and Colocation sponsored by Easynews.com --
>>>
> >>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_______________________________________________
>>>
>>>
> >--Bandwidth and Colocation sponsored by Easynews.com --
>>
> >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
>>
>>
>
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> 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