Skip to content
Snippets Groups Projects
  1. Jul 31, 2013
  2. Jul 30, 2013
    • Mark Michelson's avatar
      The large GULP->PJSIP renaming effort. · 735b30ad
      Mark Michelson authored
      The general gist is to have a clear boundary between old SIP stuff
      and new SIP stuff by having the word "SIP" for old stuff and "PJSIP"
      for new stuff. Here's a brief rundown of the changes:
      
      * The word "Gulp" in dialstrings, functions, and CLI commands is now
        "PJSIP"
      * chan_gulp.c is now chan_pjsip.c
      * Function names in chan_gulp.c that were "gulp_*" are now "chan_pjsip_*"
      * All files that were "res_sip*" are now "res_pjsip*"
      * The "res_sip" directory is now "res_pjsip"
      * Files in the "res_pjsip" directory that began with "sip_*" are now "pjsip_*"
      * The configuration file is now "pjsip.conf" instead of "res_sip.conf"
      * The module info for all PJSIP-related files now uses "PJSIP" instead of "SIP"
      * CLI and AMI commands created by Asterisk's PJSIP modules now have "pjsip" as
      the starting word instead of "sip"
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@395764 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      735b30ad
  3. Jul 27, 2013
  4. Jul 21, 2013
  5. Jul 15, 2013
    • Richard Mudgett's avatar
      Replace chan_agent with app_agent_pool. · d43b17a8
      Richard Mudgett authored
      The ill conceived chan_agent is no more.  It is now replaced by
      app_agent_pool.
      
      Agents login using the AgentLogin() application as before.  The
      AgentLogin() application no longer does any authentication.
      Authentication is now the responsibility of the dialplan.  (Besides, the
      authentication done by chan_agent did not match what the voice prompts
      asked for.)
      
      Sample extensions.conf
      [login]
      ; Sample agent 1001 login
      ; Set COLP for in between calls so the agent does not see the last caller COLP.
      exten => 1001,1,Set(CONNECTEDLINE(all)="Agent Waiting" <1001>)
      ; Give the agent DTMF transfer and disconnect features when connected to a caller.
      same => n,Set(CHANNEL(dtmf-features)=TX)
      same => n,AgentLogin(1001)
      same => n,NoOp(AGENT_STATUS is ${AGENT_STATUS})
      same => n,Hangup()
      
      [caller]
      ; Sample caller direct connect to agent 1001
      exten => 800,1,AgentRequest(1001)
      same => n,NoOp(AGENT_STATUS is ${AGENT_STATUS})
      same => n,Hangup()
      
      ; Sample caller going through a Queue to agent 1001
      exten => 900,1,Queue(agent_q)
      same => n,Hangup()
      
      Sample queues.conf
      [agent_q]
      member => Local/800@caller,,SuperAgent,Agent:1001
      
      Under the hood operation overview:
      1) Logged in agents wait for callers in an agents holding bridge.
      2) Caller requests an agent using AgentRequest()
      3) A basic bridge is created, the agent is notified, and caller joins the
         basic bridge to wait for the agent.
      4) The agent is either automatically connected to the caller or must ack
         the call to connect.
      5) The agent is moved from the agents holding bridge to the basic bridge.
      6) The agent and caller talk.
      7) The connection is ended by either party.
      8) The agent goes back to the agents holding bridge.
      
      To avoid some locking issues with the agent holding bridge, I needed to
      make some changes to the after bridge callback support.  The after bridge
      callback is now a list of requested callbacks with the last to be added
      the only active callback.  The after bridge callback for failed callbacks
      will always happen in the channel thread when the channel leaves the
      bridging system or is destroyed.
      
      (closes issue ASTERISK-21554)
      Reported by: Matt Jordan
      
      Review: https://reviewboard.asterisk.org/r/2657/
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@394417 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      d43b17a8
  6. Jul 11, 2013
  7. Jul 10, 2013
    • Russell Bryant's avatar
      astobj2-ify the SLA code · 0bfe2d4c
      Russell Bryant authored
      The SLA code within app_meetme was written before asotbj2 had been
      merged into Asterisk.  Worse, support for reloads did not exist at first
      and was added later as a bolt-on feature.  I knew at the time that
      reloading was not safe at all while SLA was in use, so the reload would
      be queued up to execute when the system was idle.  Unfortunately, this
      approach was still prone to errors beyond the fact that this was the
      only place in Asterisk where configuration was not reloaded
      instantly when requested.
      
      This patch converts various SLA objects to be reference counted objects
      using astobj2.  This allows reloads to be processed while the system is
      in use.  The code ensures that the objects will not disappear while one
      of the other threads is using them.  However, they will be immediately
      removed from the global trunk and station containers so no new calls
      will use them if removed from configuration.
      
      Review: https://reviewboard.asterisk.org/r/2581/
      ........
      
      Merged revisions 393928 from http://svn.asterisk.org/svn/asterisk/branches/1.8
      ........
      
      Merged revisions 393929 from http://svn.asterisk.org/svn/asterisk/branches/11
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393930 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      0bfe2d4c
  8. Jul 03, 2013
  9. Jul 01, 2013
  10. Jun 22, 2013
    • Joshua Colp's avatar
      Merge in current pimp_my_sip work, including: · 77002bc3
      Joshua Colp authored
      1. Security events
      2. Websocket support
      3. Diversion header + redirecting support
      4. An anonymous endpoint identifier
      5. Inbound extension state subscription support
      6. PIDF notify generation
      7. One touch recording support (special thanks Sean Bright!)
      8. Blind and attended transfer support
      9. Automatic inbound registration expiration
      10. SRTP support
      11. Media offer control dialplan function
      12. Connected line support
      13. SendText() support
      14. Qualify support
      15. Inband DTMF detection
      16. Call and pickup groups
      17. Messaging support
      
      Thanks everyone!
      
      Side note: I'm reminded of the song "How Far We've Come" by Matchbox Twenty.
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@392565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      77002bc3
  11. Jun 10, 2013
    • Matthew Jordan's avatar
      Add announce-to-first-user option for app_queue · c2e29abc
      Matthew Jordan authored
      In r386792, the ability to play prompts to the first caller in a call queue was
      added. While this is arguably a bug fix for those who expect the first caller
      to continue receiving prompts while the agent is dialed, it has the side effect
      of preventing the first caller from hearing the agent immediately upon
      bridging. This may not be a problem for those who really want this option, but
      for those who didn't care whether or not the first caller in queue heard their
      position, it was an issue.
      
      This patch disables the ability for the first caller in the queue to hear
      prompts and adds a new option, announce-to-first-user, to queues.conf. Those
      who the behavior can enable it by setting this value to True.
      
      Note that if we ever implement the ability to have the prompts be stopped
      upon bridging, this option can be removed.
      
      (closes issue ASTERISK-21782)
      Reported by: Remi Quezada
      ........
      
      Merged revisions 391215 from http://svn.asterisk.org/svn/asterisk/branches/1.8
      ........
      
      Merged revisions 391241 from http://svn.asterisk.org/svn/asterisk/branches/11
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@391245 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      c2e29abc
  12. Jun 07, 2013
  13. Jun 06, 2013
    • Richard Mudgett's avatar
      Reimplement bridging and DTMF features related channel variables in the bridging core. · bad8caa8
      Richard Mudgett authored
      * The channel variable ATTENDED_TRANSFER_COMPLETE_SOUND is no longer
      channel driver specific.  If the channel variable is set on the
      transferrer channel, the sound will be played to the target of an attended
      transfer.
      
      * The channel variable BRIDGEPEER becomes a comma separated list of peers
      in a multi-party bridge.  The BRIDGEPEER value can have a maximum of 10
      peers listed.  Any more peers in the bridge will not be included in the
      list.  BRIDGEPEER is not valid in holding bridges like parking since those
      channels do not talk to each other even though they are in a bridge.
      
      * The channel variable BRIDGEPVTCALLID is only valid for two party bridges
      and will contain a value if the BRIDGEPEER's channel driver supports it.
      
      * The channel variable DYNAMIC_PEERNAME is redundant with BRIDGEPEER and
      is removed.  The more useful DYNAMIC_WHO_ACTIVATED gives the channel name
      that activated the dynamic feature.
      
      * The channel variables DYNAMIC_FEATURENAME and DYNAMIC_WHO_ACTIVATED are
      set only on the channel executing the dynamic feature.  Executing a
      dynamic feature on the bridge peer in a multi-party bridge will execute it
      on all peers of the activating channel.
      
      (closes issue ASTERISK-21555)
      Reported by: Matt Jordan
      
      Review: https://reviewboard.asterisk.org/r/2582/
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@390771 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      bad8caa8
  14. May 21, 2013
  15. May 18, 2013
    • Damien Wedhorn's avatar
      Add call forward no answer to skinny and cleanup general callfwd handling. · 01d6e8db
      Damien Wedhorn authored
      CallforwardNoAnswer uses a sched to determine when to forward the call. 
      Defaults to 20secs but configurable in skinny.conf.
      
      Adds dialType to each subchannel structure to be used to differentiate
      between normal dials that result in a call being placed (default) and
      other uses for the skinny_dialer (such as cfwd digit collection).
      Restructured all cfwd handling to use this new arrangement.
      
      (closes issue ASTERISK-21292)
      Reported by: wedhorn
      Tested by: myself
      Patches: 
          skinny-callfwdnoans03.diff uploaded by wedhorn (license 5019)
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@389097 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      01d6e8db
  16. Apr 26, 2013
  17. Apr 25, 2013
  18. Apr 22, 2013
    • David M. Lee's avatar
      This patch adds a RESTful HTTP interface to Asterisk. · 1c21b857
      David M. Lee authored
      The API itself is documented using Swagger, a lightweight mechanism for
      documenting RESTful API's using JSON. This allows us to use swagger-ui
      to provide executable documentation for the API, generate client
      bindings in different languages, and generate a lot of the boilerplate
      code for implementing the RESTful bindings. The API docs live in the
      rest-api/ directory.
      
      The RESTful bindings are generated from the Swagger API docs using a set
      of Mustache templates.  The code generator is written in Python, and
      uses Pystache. Pystache has no dependencies, and be installed easily
      using pip. Code generation code lives in rest-api-templates/.
      
      The generated code reduces a lot of boilerplate when it comes to
      handling HTTP requests. It also helps us have greater consistency in the
      REST API.
      
      (closes issue ASTERISK-20891)
      Review: https://reviewboard.asterisk.org/r/2376/
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@386232 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      1c21b857
  19. Apr 11, 2013
  20. Apr 08, 2013
  21. Apr 03, 2013
  22. Mar 15, 2013
  23. Mar 05, 2013
    • Matthew Jordan's avatar
      Add RFC 3327 Path header support to chan_sip · 8d5c36c9
      Matthew Jordan authored
      This patch adds support for RFC 3327 "Path" headers. This can be enabled in
      sip.conf using the 'supportpath' setting, either on a global basis or on a
      peer basis. This setting enables Asterisk to route outgoing out-of-dialog
      requests via a set of proxies by using a pre-loaded route-set defined by the
      Path headers in the REGISTER request. This patch also adds Realtime support
      for dynamically updating the Path information for a peer.
      
      A huge thank-you to Klaus Darillion and Olle E Johansson for their efforts
      in writing this patch.
      
      Review: https://reviewboard.asterisk.org/r/2235/
      Review: https://reviewboard.asterisk.org/r/991/
      
      (closes issue ASTERISK-16884)
      Reported by: klaus3000
      Tested by: klaus3000, oej, mjordan
      patches:
        path-1.8.0-patch.txt uploaded by klaus3000 (License 5054)
        oolong-path-support-trunk in team branch by oej (License 5267)
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@382440 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      8d5c36c9
  24. Feb 26, 2013
  25. Feb 19, 2013
  26. Feb 18, 2013
  27. Feb 15, 2013
    • Matthew Jordan's avatar
      Add CLI configuration documentation · d04ab3c6
      Matthew Jordan authored
      This patch allows a module to define its configuration in XML in source, such
      that it can be parsed by the XML documentation engine. Documentation is
      generated in a two-pass approach:
      
      1. The documentation is first generated from the XML pulled from the source
      2. The documentation is then enhanced by the registration of configuration
         options that use the configuration framework
      
      This patch include configuration documentation for the following modules:
       * chan_motif
       * res_xmpp
       * app_confbridge
       * app_skel
       * udptl
      
      Two new CLI commands have been added:
       * config show help - show configuration help by module, category, and item
       * xmldoc dump - dump the in-memory representation of the XML documentation to
         a new XML file.
      
      Review: https://reviewboard.asterisk.org/r/2278
      Review: https://reviewboard.asterisk.org/r/2058
      
      patches:
        on review 2058 uploaded by twilson
      
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@381527 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      d04ab3c6
  28. Feb 08, 2013
  29. Feb 06, 2013
    • Damien Wedhorn's avatar
      Reset skinny vmexten and immeddial char on reload. · 44872e79
      Damien Wedhorn authored
      Make skinny reset vmexten and immeddial to '\0' on reload to ensure that
      it is set to '\0' if the appropriate item is removed/commented in 
      skinny.conf. Also small fix re immeddial char in skinny.conf and add
      immedial setting to skinny show settings.
      
      (closes issue ASTERISK-21037)
      Reported by: snuffy
      Tested by: snuffy, myself
      Patches: 
          immed_dial_fix.diff uploaded by snuffy (license 5024)
      
      
      git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@380925 65c4cc65-6c06-0410-ace0-fbb531ad65f3
      44872e79
  30. Jan 28, 2013
  31. Jan 25, 2013
Loading