Uploaded image for project: 'FreeSWITCH'
  1. FreeSWITCH
  2. FS-883

fire events for the refer SIP NOTIFY event package

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Patch
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: mod_sofia
    • Labels:
      None
    • CPU Architecture:
      x86
    • Kernel:
      Linux
    • Userland:
      GNU/Linux
    • Compiler:
      gcc
    • FreeSWITCH GIT Revision:
      unknown
    • GIT Master Revision hash::
      unknown

      Description

      I needed to allow an external application access to NOTIFY requests from a REFER.
      This patch adds a custom event to mod_sofia.h called MY_EVENT_NOTIFY_REFER and
      when incoming NOTIFIES to a refer are received it fires the appropriate event out
      through switch_event_fire.

      The thought behind the MY_EVENT_NOTIFY_REFER name instead of just sending all notifies
      out is that someone may only want to listen for notifies from a specific event package
      (e.g. refer, presence, winfo, etc.).

      hope this patch is ok - this is my first submission to a project :)

        Attachments

          Activity

            People

            • Assignee:
              anthm Anthony Minessale II
              Reporter:
              eejjjj82 Erick Johnson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: