Skip to content
Snippets Groups Projects
  1. Jan 21, 2015
  2. Jan 20, 2015
  3. Jan 19, 2015
    • Mark Michelson's avatar
      Call extension state callbacks at hint creation. · 7dc784ff
      Mark Michelson authored
      When a hint gets created, any subsequent device or presence
      state changes result in extension status events getting sent
      out to interested parties. However, at the time of hint creation,
      no such event gets sent out, so watchers of extension state are
      potentially left in the dark until the first state change after
      hint creation.
      
      Patch contributed by John Hardin (License #6512)
      ........
      
      Merged revisions 430776 from http://svn.asterisk.org/svn/asterisk/branches/13
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@430777 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      7dc784ff
    • Joshua Colp's avatar
      res_pjsip / res_pjsip_multihomed: Use the correct transport and addressing... · e43912f3
      Joshua Colp authored
      res_pjsip / res_pjsip_multihomed: Use the correct transport and addressing information on UAS sessions.
      
      The first thing this patch fixes is UAS dialogs. Previously if a transport was
      configured on an endpoint and an inbound session was created there was no guarantee
      that requests sent on the dialog would use the correct transport and address
      information. This has now been fixed so an explicitly configured transport
      is taken into account.
      
      The second thing this patch fixes is res_pjsip_multihomed. The res_pjsip_multihomed
      module attempts to determine what transport a message should go out on and what
      addressing information should go into the message itself. In a scenario where
      multiple transports exist bound to the same IP address but a different port the
      code would incorrectly alter the transport and change the message to the wrong
      transport. This change makes the res_pjsip_multihomed module smarter so it will
      only change the transport and address information in the message when it is
      possible and makes sense.
      
      ASTERISK-24615 #close
      Reported by: David Justl
      
      Review: https://reviewboard.asterisk.org/r/4331/
      ........
      
      Merged revisions 430755 from http://svn.asterisk.org/svn/asterisk/branches/13
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@430756 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      e43912f3
  4. Jan 17, 2015
  5. Jan 16, 2015
  6. Jan 15, 2015
  7. Jan 14, 2015
  8. Jan 13, 2015
  9. Jan 12, 2015
  10. Jan 09, 2015
  11. Jan 08, 2015
    • George Joseph's avatar
      res_pjsip_pubsub: Fix persistent subscriptions not surviving graceful shutdown · 8786fe13
      George Joseph authored
      If you do a 'core (shutdown|restart) graceful' persistent subscriptions won't 
      survive.  If you do a 'core (shutdown|restart) now' or asterisk terminates for 
      some reason, they do.  Here's why...
      
      When asterisk shuts down gracefully, it sends a 'NOTIFY/terminated' to 
      subscribers for each subscription.  This not only tells the subscribers that the 
      dialog/state machine is done, it also frees the last reference to the 
      subscription tree which causes the persistent subscription to get deleted from 
      astdb.  When asterisk restarts, nothing's left.  Just preventing the delete from 
      astdb doesn't work because we already told the subscriber to terminate the 
      dialog so we can't restart it even if it was still in astdb.  Everything works 
      OK if asterisk terminates unexpectedly because we never send the 'terminated' 
      message so on restart, the subscription is still in astdb and the subscriber is 
      none the wiser.
      
      This patch suppresses the sending of 'NOTIFY/terminated' on shutdown for 
      persistent connections.
      
      Tested-by: George Joseph
      
      Review: https://reviewboard.asterisk.org/r/4318/
      ........
      
      Merged revisions 430397 from http://svn.asterisk.org/svn/asterisk/branches/13
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@430398 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      8786fe13
    • George Joseph's avatar
      res_pjsip_outbound_registration: Fix reference leak. · c55f86c6
      George Joseph authored
      Every time a registration started, sip_outbound_registration_response_cb bumps 
      the ref count on client_state then pushes a handle_registration_response task.  
      handle_registration_response never unreffed it though.  So every time a 
      registration goes out, the ref count goes up by one.
      
      This patch adds the unreffs to handle_registration_response.
      
      Tested-by: George Joseph
      
      Review: https://reviewboard.asterisk.org/r/4303/
      ........
      
      Merged revisions 430395 from http://svn.asterisk.org/svn/asterisk/branches/13
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@430396 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      c55f86c6
    • George Joseph's avatar
      res_pjsip_outbound_registration: Fix several reload issues · 030facce
      George Joseph authored
      There are 2 issues with reloading registrations...
      
      1.  The 'can_reuse_registration' test wasn't considering the intervals or 
      expiration in its determination of whether a registration changed or not so if 
      you changed any of the intervals or the expiration and reloaded, the object 
      would get reloaded but the actual timers wouldn't change.  
      can_reuse_registration now does a sorcery diff on the old and new objects 
      instead of discretely testing certain fields.  Now if you change expiration for 
      instance, and reload, the timer is updated and re-registration will occur on the 
      new value.
      
      2.  If you mung up your password on an outbound registration you get a permanent 
      failure.  If you fix the password (on the outbound_auth object) and reload, 
      nothing tells outbound_registration to try again because the registration itself 
      didn't change.  This patch adds an observer on the "auth" object type and if any 
      auth changes, existing registration states are searched and those in a 
      REJECTED_PERMANENT state are retried.
      
      Tested-by: George Joseph
      
      Review: https://reviewboard.asterisk.org/r/4304/
      ........
      
      Merged revisions 430373 from http://svn.asterisk.org/svn/asterisk/branches/13
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@430374 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      030facce
  12. Jan 07, 2015
Loading