res_pjsip.c: Added disable_rport option for pjsip.conf

Currently when the pjsip making an outgoing request, it keep adding the
rport parameter in a request message as a default.

This causes unexpected rport handle at the other end.

Added option for disable this behaviour in the pjsip.conf.

This is a system option, but working as a gloabl option.

ASTERISK-28959

Change-Id: I9596675e52a742774738b5aad5d1fec32f477abc
This commit is contained in:
sungtae kim
2020-06-24 01:27:47 +02:00
committed by George Joseph
parent a700134f57
commit e34da79c60
5 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
Subject: res_pjsip
Added a new PJSIP system setting called disable_rport.
Default is no to keep support working as before.
If it is false (default) it adds the 'rport' parameter in the outgoing request message.
If it is true it does not add the 'rport' parameter in the outgoing request message.
This is a system option, but working as a global option.