Force disconnection a long distance call after a certain period

Discussion in '3CX Phone System - General' started by Basheerpt, Apr 4, 2018.

Thread Status:
Not open for further replies.
  1. Basheerpt

    Joined:
    Feb 15, 2017
    Messages:
    49
    Likes Received:
    7
    Hi,
    Is there an option or way to force or graceful disconnection of a long distance calls or calls starting with 00 after a certain amount of time?

    We use patton gateway and 3cx. is it be done on gateway or in 3cx? If it can be done in 3cx, where it could be?

    Thank you in advance.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Basheerpt

    Joined:
    Feb 15, 2017
    Messages:
    49
    Likes Received:
    7
    It should apply for outgoing calls only.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. YiannisH_3CX

    YiannisH_3CX Support Team
    Staff Member 3CX Support

    Joined:
    May 10, 2016
    Messages:
    4,891
    Likes Received:
    321
    Hello @Basheerpt

    The PBX has a setting for the maximum call duration allowed but this applies to all calls. There is nothing specific regarding international calls.
    The setting can be found under Settings / Parameters. Search for "MAXCALLDURATION". the default value is 3 hours (10800 seconds). This applies to all calls though. I would ask your provider if they can set a limit on international calls.
    Alternatively you can create a feature request on our Ideas section of the forum where it can be upvoted by other users and evaluated by the appropriate department.
     
  4. voiptoys

    voiptoys Active Member

    Joined:
    Feb 13, 2013
    Messages:
    583
    Likes Received:
    93
    You could create a service using the Call Control API that monitors all external calls and drops the call if it exceeds the maximum. You could even be nice about it by barging into the call with a message similar to "I'm sorry, your call has exceeded the maximum permitted length. This call will be terminated in 15 seconds". Then drop the call 15 seconds later.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. leejor

    leejor Well-Known Member

    Joined:
    Jan 22, 2008
    Messages:
    10,443
    Likes Received:
    235
    You might ask your provider if they allow you to specify a time limit on calls, that they would then implement.
     
  6. voiptoys

    voiptoys Active Member

    Joined:
    Feb 13, 2013
    Messages:
    583
    Likes Received:
    93
    The concern with doing this at the provider is that you may have local and long distance calls going over the same trunk and they might set a global limit for ALL calls. You would need to confirm that they can be selective about what calls to drop
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Basheerpt

    Joined:
    Feb 15, 2017
    Messages:
    49
    Likes Received:
    7
    Hi all, Good morning!
    Thanks for all the suggestions. I appreciate that.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Basheerpt

    Joined:
    Feb 15, 2017
    Messages:
    49
    Likes Received:
    7
    Hi Yiannish,
    Just a question, the MAXCALLDURATION apply to outgoing and incoming connections?
    I just need to apply outbound only.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. YiannisH_3CX

    YiannisH_3CX Support Team
    Staff Member 3CX Support

    Joined:
    May 10, 2016
    Messages:
    4,891
    Likes Received:
    321
    This option applies for all calls.
     
Thread Status:
Not open for further replies.