[FS-883] fire events for the refer SIP NOTIFY event package Created: 21/Nov/08  Updated: 24/Feb/14  Resolved: 21/Nov/08

Status: Closed
Project: FreeSWITCH
Component/s: mod_sofia
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Patch
Reporter: Erick Johnson Assignee: Anthony Minessale II
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File notify.patch    
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 :)

 Comments   
Comment by Anthony Minessale II [ 21/Nov/08 ]
r10514 Thank You
Comment by Michal Bielicki [ 27/Nov/08 ]
Integrated in !http://www.freeswitch.de/hudson/nocacheImages/16x16/blue.gif! [freeswitch-solaris10-x86-64bit #268|http://www.freeswitch.de/hudson/job/freeswitch-solaris10-x86-64bit/268/]
     add patch from
Comment by Michal Bielicki [ 27/Nov/08 ]
Integrated in !http://www.freeswitch.de/hudson/nocacheImages/16x16/blue.gif! [freeswitch-opensolaris-nevada-x86_64 #112|http://www.freeswitch.de/hudson/job/freeswitch-opensolaris-nevada-x86_64/112/]
     add patch from
Comment by Michal Bielicki [ 27/Nov/08 ]
Integrated in !http://www.freeswitch.de/hudson/nocacheImages/16x16/blue.gif! [freeswitch-opensolaris-nevada-x86_64 #113|http://www.freeswitch.de/hudson/job/freeswitch-opensolaris-nevada-x86_64/113/]
     
Generated at Sun Dec 17 11:26:35 CST 2017 using JIRA 7.3.3#73014-sha1:d5be8da522213be2ca9ad7b043c51da6e4cc9754.