limit call duration

mfdukn

Joined
Sep 10, 2007
Messages
16
Likes
0
Points
0
#1
Hi!
How can i limit call duration for different extension independently?
Can i do it by GUI FreePBX?
 

alang

Joined
Mar 19, 2008
Messages
47
Likes
0
Points
0
#2

bwg

Joined
Aug 14, 2008
Messages
62
Likes
0
Points
0
#3
Hi

I tested but not working

edit extensions_custom.conf

include => test-limit-call-duration ; Just for a trail

[test-limit-call-duration]
exten => 9900,1,playback(pls-wait-connect-call)
exten => 9900,2,set(TIMEOUT(absolute)=60)
exten => 9900,3,Dial(SIP/201)
exten => 9900,n,Hangup


I understand if make call from extension number 201 only call duration limit is 60Th?s ?s Ok or not
 

alang

Joined
Mar 19, 2008
Messages
47
Likes
0
Points
0
#4
bwg said:
Hi

I tested but not working

edit extensions_custom.conf

include => test-limit-call-duration ; Just for a trail

[test-limit-call-duration]
exten => 9900,1,playback(pls-wait-connect-call)
exten => 9900,2,set(TIMEOUT(absolute)=60)
exten => 9900,3,Dial(SIP/201)
exten => 9900,n,Hangup


I understand if make call from extension number 201 only call duration limit is 60Th?s ?s Ok or not
No, this case means that when you dial 9900 with extension non-201 then the call will be forwarded to ext.201 and if ext.201 is picked up the call will be hang up after 60 seconds.
 

jgutierrez

Joined
Feb 28, 2008
Messages
5,737
Likes
0
Points
0
#5
I have done that with outgoing calls through a trunk, through a context. Not using FreePBX

I haven`t tried with internal calls
 

mfdukn

Joined
Sep 10, 2007
Messages
16
Likes
0
Points
0
#6
how can i apply options L(x:y:z) in statement Dial?
I mean do it in elastix, where all calls from extensions to external trunk are going via macroses, and i can not understand, where is that "Dial", that i can to edit:blush:
 

gmkfree

Joined
Apr 8, 2009
Messages
21
Likes
0
Points
0
#7
[from-internal]
exten => _.,1,Set(TIMEOUT(absolute)=420)
;the below lines are default
include => from-internal-xfer
include => bad-number



i have this lines in my trixbox which limit the extensions call duration...

will this work on elastix also?
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,915
Messages
130,920
Members
17,595
Latest member
feparra121
Top