res_pjsip_session: Enable RFC3578 overlap dialing support.
authorRichard Begg <asterisk@meric.id.au>
Tue, 14 Mar 2017 21:45:06 +0000 (08:45 +1100)
committerJoshua Colp <jcolp@digium.com>
Wed, 22 Mar 2017 11:26:48 +0000 (11:26 +0000)
commit6b7697ed486fc3a8e5e7a72344437e66bd4ae507
tree00e1080abdb866d38337658f6b3fdbd13f3c8f11
parentf5603cb1ece5001d1288004c9bc6ed51448deb81
res_pjsip_session: Enable RFC3578 overlap dialing support.

Support for RFC3578 overlap dialling (i.e. 484 Response to partially matched
destinations) as currently provided by chan_sip is missing from res_pjsip.
This patch adds a new endpoint attribute (allow_overlap) [defaults to yes]
which when set to yes enables 484 responses to partial destination
matches rather than the current 404.

ASTERISK-26864

Change-Id: Iea444da3ee7c7d4f1fde1d01d138a3d7b0fe40f6
CHANGES
configs/samples/pjsip.conf.sample
contrib/ast-db-manage/config/versions/8fce4c573e15_add_pjsip_allow_overlap.py [new file with mode: 0644]
include/asterisk/res_pjsip.h
res/res_pjsip.c
res/res_pjsip/pjsip_configuration.c
res/res_pjsip_session.c