i need special handling in freeswitch when receiving refer message avaya sip trunk. not sure whether sofia-sip allows users specify callback hook when refer received. haven't found one.
i want add custom freeswitch module handle refer. how can force sofia-sip cede control custom module while handling refer?
having freeswitch, recommend using lua module provides event callback refer handling. can allow control want refer message.
mod_lua documented module in freeswitch. pain coding in lua easy or hard based on preferences.