mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
Allow SIP UPDATE messages without display updates
Previously if send-display-update was set to false we would also remove UPDATE from our Allow: headers. This is unnecessary. The UPDATE message is useful in SIP transactions even if we're not sending display updates. With this commit, we add a new boolean profile flag, allow-update. If set to true we'll send Allow: UPDATE. If set to false, we will not. If there is a conflict with another setting that requires UPDATE support, the allow-update parameter will win and a warning will be printed. ref: RFC 3311
This commit is contained in:
@@ -262,6 +262,7 @@ typedef enum {
|
||||
PFLAG_THREAD_PER_REG,
|
||||
PFLAG_MWI_USE_REG_CALLID,
|
||||
PFLAG_FIRE_MESSAGE_EVENTS,
|
||||
PFLAG_ALLOW_UPDATE,
|
||||
PFLAG_SEND_DISPLAY_UPDATE,
|
||||
PFLAG_RUNNING_TRANS,
|
||||
PFLAG_SOCKET_TCP_KEEPALIVE,
|
||||
|
||||
Reference in New Issue
Block a user