Forwarded Calls not Hanging up

I have an after hours call flow that sends calls to a ring group with a cell phone number. The calls forward correctly, the user takes the call and ends the calls on the cell phone. Callcentric is the SIP provider and both legs of the call show up in “call history” and that the calls ended. However, the channel never hangs up in Asterisk. Here are two examples:

Channel: PJSIP/Callcentric-000002f8/Dial                       Up            14:29:00
      Exten: s                           CLCID: "" <14355551000>

  Channel: PJSIP/Callcentric-000002f9/AppDial                    Up            14:28:59
      Exten:                             CLCID: "PRIVATE" <19525551234>

  Channel: PJSIP/Callcentric-0000031e/Dial                       Up            10:14:04
      Exten: s                           CLCID: "" <14355551000>

  Channel: PJSIP/Callcentric-0000031f/AppDial                    Up            10:14:04
      Exten:                             CLCID: "JESSE THE COWGIRL" <18035551111>

It is probably harmless but it does annoy me. Am I missing a setting the ring group? The “Destination if no answer” is “Hang Up”
The ring time is long enough that the call will go-to the cell phone voicemail. However, the person on-call should be answering it all of the time.

If there is not an elegant solution is there a setting to terminate any channel after say 2 hours?

If you wanted to troubleshoot it further. I would turn on SIP logging and engage the carrier. I suspect the there is something funky going on with the BYE message and that’s why it is staying up.

You could write a custom script to terminate channel after a certain period of time and that would terminate the channels, but I wonder if you might cause adverse impacts if you didn’t refine it further. Maybe like time of day? Definitely can be done though.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.