FINALLY solved it… Googled around for the problem, and found this:

https://support.yeastar.com/hc/en-us/articles/360020908914-Call-Hangs-up-at-30-Seconds

 

Apparently, sendrpid=yes causes Android Native SIP client not to respond to the 
packets, and this drops the call after 30 seconds.

 

Disabling sendrpid makes it work successfully.

 

 

Från: asterisk-users <asterisk-users-boun...@lists.digium.com> För Joshua C. 
Colp
Skickat: den 17 november 2019 01:18
Till: Asterisk Users Mailing List - Non-Commercial Discussion 
<asterisk-users@lists.digium.com>
Ämne: Re: [asterisk-users] Disable NO_USER_RESPONSE (Hangupcause = 18) for 
certain SIP peer

 

On Sat, Nov 16, 2019 at 7:59 PM Sebastian Nielsen <sebast...@sebbe.eu 
<mailto:sebast...@sebbe.eu> > wrote:

What would be the best way to solve this problem? Anyone else that have got the 
same problem with Android’s native SIP client, especially on Samsung phones?

 

I do not know if the bug is in Android native SIP, or Samsung’s build of the 
SIP client, or if the bug is even with the OpenVPN client, or where the bug 
actually is.

The ACK might even be sent for real, but have the incorrect source IP so 
asterisk ignores it.

 

The ACK is sent to the Contact header of the 200 OK sent to the phone. Using 
the respective logging (sip set debug on or pjsip set logger on) would tell you 
the IP address and port that Asterisk is telling the phone to send to, and 
isolate the problem further. Asterisk also doesn't ignore the ACK based on 
source IP address. If it shows up at Asterisk, it'll get processed.

 

 

Since audio works in both directions, it seems that the lack of ACK wouldn’t 
hurt (other than asterisk forcefully disconnecting the call) so I need to just 
tell Asterisk to not forcefully disconnect the callee.

 

Without modifying code there's no way. The 200 OK retransmits until it gives 
up, and the call is disconnected.

 

-- 

Joshua C. Colp
Digium - A Sangoma Company | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.sangoma.com <http://www.sangoma.com/>  & www.asterisk.org 
<http://www.asterisk.org/> 

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to