how I Can limit the call lenght

Discussion in 'General' started by mogaeng, Dec 6, 2009.

  1. mogaeng

    Joined:
    Oct 8, 2008
    Messages:
    18
    Likes Received:
    0
    Please Help

    I want to find out how I Can limit the call lenght or duration of calls to extension or to specific trunks and if the call transfer to anther extension I Can limitthe call lenght please I want to restrict calls and if it also possible to warn users when the limit is almost reached
     
  2. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    Hi

    It seems from this link that's possible with a custom context into your trunk or your extension, make something like that:

     
  3. mogaeng

    Joined:
    Oct 8, 2008
    Messages:
    18
    Likes Received:
    0
    frist thank you for your help and i have some queries::)


    ************* extensions_custom.conf ***************************************
    [from-internal-timelimit]
    exten => _.,1,Set(TIMEOUT(absolute)=30) ; Max Call Time is 30 Seconds
    exten => _.,n,Goto(from-internal,${EXTEN},1)
    *****************************************************************************

    the bold _, EXTEN It means extensions which I want to limit the call time on it
    and if i want to do the call time limit on the PSTN line (Trunks), How can i do that.

    Thanks
     
  4. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    I think that, maybe, into extension_additionnal.conf, you can copy your [outrt...] that you want, and put it somewhere into the extensions_override_freepbx.conf.

    I don't know, but maybe a way. ;)
     

Share This Page