Uploaded image for project: 'FreeSWITCH'
  1. FreeSWITCH
  2. FS-9894

mod_callcenter: timeout to call an agent hardcoded to 60sec

    Details

    • Type: Bug
    • Status: Waiting for reporter
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: mod_callcenter
    • Security Level: public
    • Labels:
      None
    • CPU Architecture:
      x86-64
    • Kernel:
      Linux
    • Userland:
      GNU/Linux
    • Distribution:
      Debian
    • Distribution Version:
      Debian 8 jessie
    • Compiler:
      gcc
    • FreeSWITCH GIT Revision:
      50714ec5e4eb14976695ff29bc6528e0b9a16862
    • GIT Master Revision hash::
      50714ec5e4eb14976695ff29bc6528e0b9a16862

      Description

      when calling an agent the maximum time is hardcoded to be 60seconds.

      Try to set call_timeout, leg_timeout to more than 60sec but the call always ends after 60seconds.

      is not normal, but I've a client where he wants an agent to ring for 120seconds before jumping to another agent.
      1. freeswitch.xml
        12 kB
        Antonio
      2. freeswitch.log
        25 kB
        Antonio
      3. freeswitch.30-12-2016.log
        45 kB
        Antonio
      4. freeswitch.29-12-2016.log
        32 kB
        Antonio

        Activity

        Hide
        italorossi Italo Rossi added a comment -
        This shouldn't be needed. Tried with leg_timeout=120 and it worked. Do not use call_timeout. This should be a limitation with your devices.
        Show
        italorossi Italo Rossi added a comment - This shouldn't be needed. Tried with leg_timeout=120 and it worked. Do not use call_timeout. This should be a limitation with your devices.
        Hide
        antonio Antonio added a comment -
        hi,
        is not limitation on the device, soon i put the pr patch it worked as expected.

        in the log you can see i use both, leg_timeout and call_timeout as export before calling the callcenter and also in the agent contact and it didn't work.
        from the log line:
        2016-12-28 13:12:26.291133 [DEBUG] switch_ivr_originate.c:2958 sofia/a/200@192.168.10.103:5062 Setting leg timeout to 120

        here it sets the timeout to 120seconds, but the call gets terminated by the 60seconds timeout hardcoded callcenter when calling the switch_ivr_originate function.

        2016-12-28 13:13:26.011184 [NOTICE] switch_ivr_originate.c:3606 Hangup sofia/a/200@192.168.10.103:5062 [CS_CONSUME_MEDIA] [NO_ANSWER]

        how do you make it work?

        Show
        antonio Antonio added a comment - hi, is not limitation on the device, soon i put the pr patch it worked as expected. in the log you can see i use both, leg_timeout and call_timeout as export before calling the callcenter and also in the agent contact and it didn't work. from the log line: 2016-12-28 13:12:26.291133 [DEBUG] switch_ivr_originate.c:2958 sofia/a/200@192.168.10.103:5062 Setting leg timeout to 120 here it sets the timeout to 120seconds, but the call gets terminated by the 60seconds timeout hardcoded callcenter when calling the switch_ivr_originate function. 2016-12-28 13:13:26.011184 [NOTICE] switch_ivr_originate.c:3606 Hangup sofia/a/200@192.168.10.103:5062 [CS_CONSUME_MEDIA] [NO_ANSWER] how do you make it work?
        Hide
        antonio Antonio added a comment -
        Tested with latest git just in case... and same result.

        Attached my configuration and log when calling the callcenter.

        The call setup:
        201 --> 123 (callcenter) --> 200 (agent)
        Show
        antonio Antonio added a comment - Tested with latest git just in case... and same result. Attached my configuration and log when calling the callcenter. The call setup: 201 --> 123 (callcenter) --> 200 (agent)
        Hide
        brian Brian West added a comment -
        You need to attach full logs on the latest git release with sip trace included.

        /b
        Show
        brian Brian West added a comment - You need to attach full logs on the latest git release with sip trace included. /b
        Hide
        antonio Antonio added a comment -
        File attached
        Show
        antonio Antonio added a comment - File attached
        Hide
        italorossi Italo Rossi added a comment -
        Can you post your agent contact and your dialplan please?
        Show
        italorossi Italo Rossi added a comment - Can you post your agent contact and your dialplan please?
        Hide
        antonio Antonio added a comment -
        full configuration attached as freeswitch.xml.

        in the contact i've set: contact="[leg_timeout=120]sofia/a/sip:200@192.168.10.103:5062"
        Show
        antonio Antonio added a comment - full configuration attached as freeswitch.xml. in the contact i've set: contact="[leg_timeout=120]sofia/a/sip: 200@192.168.10.103 :5062"

          People

          • Assignee:
            italorossi Italo Rossi
            Reporter:
            antonio Antonio
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Development