Skip to content
Snippets Groups Projects
  1. Sep 10, 2013
  2. Sep 09, 2013
  3. Sep 08, 2013
  4. Sep 07, 2013
    • Kinsey Moore's avatar
      Prevent XMPP timeout on blank responses · ad89dffb
      Kinsey Moore authored
      Sometimes the Google Voice servers have a bad habit of sending out 1
      byte replies to the xmpp resource. When a blank 1 byte reply is
      received from the socket the buffer attempts to wait (endlessly) for
      the rest of the reply from google which effectively blocks the socket
      and google voice calls will no longer come into the server.
      
      This patch allows the xmpp module to correctly detect empty packets and
      send out ping replies to google. It also sets a socket timeout on the
      default socket which prevents the xmpp socket from closing and
      preventing future google voice calls from coming into the server.
      
      Furthermore instead of sending an empty reply back to google we send a
      proper xmpp ping reply back. This also adds several more
      socket messages.
      
      (closes issue ASTERISK-22347)
      Reported by: Andrew Nagy
      Review: https://reviewboard.asterisk.org/r/2771
      Patches:
          xmpp_fix_1.diff uploaded by Andrew Nagy (License #6524)
      ........
      
      Merged revisions 398618 from http://svn.asterisk.org/svn/asterisk/branches/11
      ........
      
      Merged revisions 398619 from http://svn.asterisk.org/svn/asterisk/branches/12
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@398620 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      ad89dffb
  5. Sep 06, 2013
  6. Sep 05, 2013
  7. Sep 04, 2013
  8. Sep 03, 2013
  9. Aug 30, 2013
Loading