Call duration limit

Discussion in 'General' started by tsku, Oct 26, 2010.

  1. tsku

    Joined:
    Oct 1, 2010
    Messages:
    62
    Likes Received:
    0
    Hi all,

    I just jump into Elastix for couple of months and found it is quite challenging to learn softswitch. Anyway, is anyone know whether Elastix can set to limit the call duration for each call/trunk? Looking for a way to prevent for long duration call which may caused by hardware failure or misconfiguration of Elastix.
     
  2. tsku

    Joined:
    Oct 1, 2010
    Messages:
    62
    Likes Received:
    0
    Hi all, please ignore my question as I found a way to do it.
     
  3. Lee Sharp

    Joined:
    Sep 28, 2010
    Messages:
    332
    Likes Received:
    0
    Want to share? I was interested in your question as well.
     
  4. tsku

    Joined:
    Oct 1, 2010
    Messages:
    62
    Likes Received:
    0
    Sure, Just add TIMEOUT in extension.conf. Anyone know how to limit concurrent call for SIP account? By default Elastix/Freepbx will set call-limit to 50 and I will like to limit it to 1 call per account. Please share with me if you know how to do it.

    [from-internal]
    exten => _.,1,Set(TIMEOUT(absolute)=3600)
    include => from-internal-xfer
    include => bad-number
     
  5. tsku

    Joined:
    Oct 1, 2010
    Messages:
    62
    Likes Received:
    0
    Just found out if I set the TIMEOUT, all my extension cant call to each other..... Just checking why it happen.....
     
  6. tsku

    Joined:
    Oct 1, 2010
    Messages:
    62
    Likes Received:
    0
    OK, found another way to do it, under General Setting there is a Outbound dial command option, just add the value in and reload. Done. Tested OK.

    L(3600000:300000)
     

Share This Page