I need to do special handling in freeswitch
when receiving a REFER
message from an Avaya SIP
trunk. But I am not sure whether Sofia-SIP
allows users to specify a callback hook when REFER
is received. I haven't found one.
I want to add a custom freeswitch
module just to handle REFER
. How can I force Sofia-SIP
to cede control to my custom module while handling REFER
?