Asterisk Ending Call after Answering ( around 30 seconds)

Please loook in to these two log I am attaching with this.
one success without 408 , one with 408.

Key point we put outbound_proxy=sip:sipcore.us-east-1.uat.carestack:4060;lr which is a Round Robin DNS.

So when one request is failing through one proxy . Asterisk is actually sending second invite to another proxy. But in Debug logs the channel remain unchanged which leads to Ending the Already connected call.
Even through 408 happen for the initial invite through proxy1.

Please look into the trace and share your thoughts on my findings.

I also suspect that we are using outbound_proxy as wrong way.

UDP-call-drop-debug-log-media1-uat.txt (86.9 KB)
UDP-success-call-without-408-uat-media1.txt (84.3 KB)

Please do not tag me. If I have anything to add to a thread, then I’ll respond if and when I choose to.

Okay, sorry

Issue latest finding.

  1. Outbound proxy resolve to multiple proxy
  2. Due to network firewall issue inital invite through one proxy willl not get any response from Device (No 100 or 180 response)
  3. Asterisk Tries with second proxy got back (100 , 180 , followed by 200 okay)
  4. During both time Asterisk dialing with same channel , so 408 response from proxy1 for initial invite is affecting already connected call through porxy2,

Checking PJSIP outbound_proxy can be used like this?.
This is not a blocker issue. but it will affect for our fail over implementation currently.

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

Hi, This issue was an never ending bug in asterisk side, which result in Ending already established customer call.

while the issue occurred because of some network issue at customer side, ending an established call had raised serious concern of reliability of our product.

Lately figured out the issue, acutally PJSIP was the ending the call not Asterisk itself.
Raised a PR pjsip: Avoid stale 408 triggering BYE on tsx termination by hishamtk · Pull Request #4768 · pjsip/pjproject · GitHub

This is tested and working.