limit call duration

Discussion in 'General' started by mfdukn, Oct 17, 2008.

  1. mfdukn

    Joined:
    Sep 10, 2007
    Messages:
    16
    Likes Received:
    0
    Hi!
    How can i limit call duration for different extension independently?
    Can i do it by GUI FreePBX?
     
  2. alang

    Joined:
    Mar 19, 2008
    Messages:
    47
    Likes Received:
    0
  3. bwg

    bwg

    Joined:
    Aug 14, 2008
    Messages:
    62
    Likes Received:
    0
    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
     
  4. alang

    Joined:
    Mar 19, 2008
    Messages:
    47
    Likes Received:
    0
    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.
     
  5. jgutierrez

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

    I haven`t tried with internal calls
     
  6. mfdukn

    Joined:
    Sep 10, 2007
    Messages:
    16
    Likes Received:
    0
    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:
     
  7. gmkfree

    Joined:
    Apr 8, 2009
    Messages:
    21
    Likes Received:
    0
    [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?
     

Share This Page