Skip to content
Snippets Groups Projects
  1. Apr 09, 2010
    • Mark Michelson's avatar
      func_srv and explicit specification of a remote IP for SIP. · 6cad0f16
      Mark Michelson authored
      From Review Board:
      There are two interrelated changes here.
      
      First, there is the introduction of func_srv. This adds two new read-only
      dialplan functions, SRVQUERY and SRVRESULT. They work very similarly to the
      ENUMQUERY and ENUMRESULT functions, except that this allows one to query SRV
      records instead. In order to facilitate this work, I added a couple of new API
      calls to srv.h. ast_srv_get_record_count tells the number of records returned
      by an SRV lookup. This number is calculated at the time of the SRV lookup.
      ast_srv_get_nth_record allows one to get a numbered SRV record.
      
      Second, there is the modification to chan_sip that allows one to specify a
      hostname or IP address (along with a port) to send an outgoing INVITE to when
      dialing a SIP peer. This goes hand-in-hand with func_srv. You can query SRV
      records and then use the host and port from the results to dial via a specific
      host instead of what is configured in sip.conf.
      
      Review: https://reviewboard.asterisk.org/r/608
      SWP-1200
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@256485 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      6cad0f16
  2. Apr 08, 2010
  3. Apr 06, 2010
  4. Apr 05, 2010
  5. Apr 03, 2010
  6. Apr 02, 2010
  7. Apr 01, 2010
  8. Mar 31, 2010
  9. Mar 30, 2010
  10. Mar 29, 2010
  11. Mar 27, 2010
  12. Mar 26, 2010
  13. Mar 25, 2010
Loading