]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip.c: Added disable_rport option for pjsip.conf
authorsungtae kim <pchero21@gmail.com>
Tue, 23 Jun 2020 23:27:47 +0000 (01:27 +0200)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Tue, 7 Jul 2020 14:01:43 +0000 (09:01 -0500)
commit52e1e362f01360c8d66fe30b635cdedf9d11696a
tree93eee1cb7b4206b9e69c56b3131c25fcba8e0e0b
parentf323ac334bd43aa1180f3e3fd8156d5000383b0d
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
configs/samples/pjsip.conf.sample
contrib/ast-db-manage/config/versions/79290b511e4b_pjsip_add_disable_rport.py [new file with mode: 0644]
doc/CHANGES-staging/res_pjsip_add_disable_rport_system_config.txt [new file with mode: 0644]
res/res_pjsip.c
res/res_pjsip/config_system.c