Sebastian Nielsen
2019-Nov-16 23:44 UTC
[asterisk-users] Disable NO_USER_RESPONSE (Hangupcause = 18) for certain SIP peer
Hello. I have a problem with the native Android SIP client, not acknowledging the call. Sent a message to the list for some weeks ago containing a sip debug log, but it only got stuck in moderation queue due to too large size (and it said I would get a message if moderators rejected it, but did not get message and I don't think it got posted to list either) This ONLY happens when calling outgoing from the Android SIP client. Incoming calls works flawlessly. Everything works, audio in both directions, but the call is dropped after 30 sec. I have debugged it very much, and it seems that either Android is sending the acknowledge of the call to the incorrect IP (perhaps to the 3G network instead of via the VPN), or not sending it at all. BUT - Everything else is working flawlessly, including audio in both directions. So this means, I need somehow to tell Asterisk to ignore the lack of acknowledgement. So now to the question, since the call is dropped automatically after 30 sec with "NO_USER_RESPONSE" (Hangupcause 18) on the far end (the callee's end), propably because the Android native Client is not acknowledging the connected call , is it possible to tell Asterisk to just ignore the lack of acknowledgement from Android somehow? Basically, for Client sip09 (username), never hang up for the reason 18 (NO_USER_RESPONSE), threat like user response was received always. Best regards, Sebastian Nielsen -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20191117/50c149cc/attachment.html>
Joshua C. Colp
2019-Nov-16 23:52 UTC
[asterisk-users] Disable NO_USER_RESPONSE (Hangupcause = 18) for certain SIP peer
On Sat, Nov 16, 2019 at 7:45 PM Sebastian Nielsen <sebastian at sebbe.eu> wrote:> Hello. > > I have a problem with the native Android SIP client, not acknowledging the > call. > > > > Sent a message to the list for some weeks ago containing a sip debug log, > but it only got stuck in moderation queue due to too large size (and it > said I would get a message if moderators rejected it, but did not get > message and I don’t think it got posted to list either) > > > > This ONLY happens when calling outgoing from the Android SIP client. > Incoming calls works flawlessly. > > > > Everything works, audio in both directions, but the call is dropped after > 30 sec. > > I have debugged it very much, and it seems that either Android is sending > the acknowledge of the call to the incorrect IP (perhaps to the 3G network > instead of via the VPN), or not sending it at all. > > > > BUT – Everything else is working flawlessly, including audio in both > directions. > > > > So this means, I need somehow to tell Asterisk to ignore the lack of > acknowledgement. > > > > > > > > So now to the question, since the call is dropped automatically after 30 > sec with ”NO_USER_RESPONSE” (Hangupcause 18) on the far end (the callee’s > end), propably because the Android native Client is not acknowledging the > connected call , is it possible to tell Asterisk to just ignore the lack of > acknowledgement from Android somehow? > > > > Basically, for Client sip09 (username), never hang up for the reason 18 > (NO_USER_RESPONSE), threat like user response was received always. >There is no ability to ignore the lack of an ACK, as that violates the SIP standard itself. -- 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 & www.asterisk.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20191116/3a753ab6/attachment.html>
Sebastian Nielsen
2019-Nov-16 23:58 UTC
[asterisk-users] Disable NO_USER_RESPONSE (Hangupcause = 18) for certain SIP peer
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. 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. Från: asterisk-users <asterisk-users-bounces at lists.digium.com> För Joshua C. Colp Skickat: den 17 november 2019 00:54 Till: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com> Ämne: Re: [asterisk-users] Disable NO_USER_RESPONSE (Hangupcause = 18) for certain SIP peer On Sat, Nov 16, 2019 at 7:45 PM Sebastian Nielsen <sebastian at sebbe.eu <mailto:sebastian at sebbe.eu> > wrote: Hello. I have a problem with the native Android SIP client, not acknowledging the call. Sent a message to the list for some weeks ago containing a sip debug log, but it only got stuck in moderation queue due to too large size (and it said I would get a message if moderators rejected it, but did not get message and I don’t think it got posted to list either) This ONLY happens when calling outgoing from the Android SIP client. Incoming calls works flawlessly. Everything works, audio in both directions, but the call is dropped after 30 sec. I have debugged it very much, and it seems that either Android is sending the acknowledge of the call to the incorrect IP (perhaps to the 3G network instead of via the VPN), or not sending it at all. BUT – Everything else is working flawlessly, including audio in both directions. So this means, I need somehow to tell Asterisk to ignore the lack of acknowledgement. So now to the question, since the call is dropped automatically after 30 sec with ”NO_USER_RESPONSE” (Hangupcause 18) on the far end (the callee’s end), propably because the Android native Client is not acknowledging the connected call , is it possible to tell Asterisk to just ignore the lack of acknowledgement from Android somehow? Basically, for Client sip09 (username), never hang up for the reason 18 (NO_USER_RESPONSE), threat like user response was received always. There is no ability to ignore the lack of an ACK, as that violates the SIP standard itself. -- 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/> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20191117/13bb0248/attachment.html>
Maybe Matching Threads
- Disable NO_USER_RESPONSE (Hangupcause = 18) for certain SIP peer
- SV: SV: Looking for a guide to collect all e-mail from the ISP mail server
- SV: Marking all emails in "Trash" as opened, and also prohibiting email clients from creating new ma
- Handling SIP error codes/ISDN codes
- SV: handling spam from gmail.