signalwire / freeswitch

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unlock the telecommunications potential of any device.
https://freeswitch.com/#getting-started
Other
3.32k stars 1.38k forks source link

feat(mod_sofia): read sip_reason in sofia_handle_sip_r_invite #2474

Open a-rose opened 1 month ago

a-rose commented 1 month ago

The purpose of this commit is to be able to read and store a SIP Reason received in a response to an INVITE message.

This is useful for the French pre-production phase of STIR/Shaken, which requires calls not to be dropped even if the Identity header is missing or invalid; instead, a ‘200 OK’ message is used, allowing the call to continue, and a Reason header is added to let the emitter know of the fault.