[asterisk-users] end a call after a specific time period
ABBAS SHAKEEL
shakeel.abbas.qau at gmail.com
Tue Feb 1 08:29:32 CST 2011
exten => _9944NXXXXXXXXX,1,Answer()
exten => _9944NXXXXXXXXX,2,Noop(GOING FOR THE AGI)
exten => _9944NXXXXXXXXX,3,Noop(XXXXXXXXXXXXXXXXXX)
exten => _9944NXXXXXXXXX,4,Noop(XXXXXXXXXXXXXXXX)
exten => _9944NXXXXXXXXX,5,AGI(//Some script here it works perfectly fine)
exten => _9944NXXXXXXXXX,6,Noop(AGI ENDED)
exten => _9944NXXXXXXXXX,7,Set(TIMEOUT(absolute)=${TIME_OF_CALL_SECONDS})
exten => _9944NXXXXXXXXX,8,Dial(${VICITRUNK2}/${EXTEN:2},35,goL(${TIME_OF_CALL_SECONDS}))
exten => _9944NXXXXXXXXX,9,Hangup
I have tried many options but in vain. Thanks in advance
On Tue, Feb 1, 2011 at 3:40 AM, C F <shmaltz at gmail.com> wrote:
>>
>> Channel Location State Application(Data)
>> SIP/NTT00-00000000 99449046902115 at vicid Down AppDial((Outgoing Line))
>> Local/99449046902115 99449046902115 at defau Up Dial(SIP/NTT00/449046902115||o
>> Local/99449046902115 8302 at default:2 Up Playback(conf)
>>
>>
>> After a few seconds it shows
>>
>> 0*CLI> core show channels
>> Channel Location State Application(Data)
>> SIP/NTT00-00000000 8302 at default:2 Up Playback(conf)
>> 1 active channel
>> 1 active call
>>
>>
>> Now the conf file is not that long that it keeps on playing.
>>
>> I dont know what else to use to end the call.
>
>
> Post your dialplan please
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
Best Regards
Shakeel Abbas
More information about the asterisk-users
mailing list