]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_pjsip: Multidomain endpoint finding on call 19/4719/4
authorNorbert Varga <vnorbix@gmail.com>
Fri, 13 Jan 2017 17:21:36 +0000 (18:21 +0100)
committerJoshua Colp <jcolp@digium.com>
Mon, 13 Feb 2017 12:05:07 +0000 (12:05 +0000)
commit17030100cae184910e981be44cdec02fac937a9a
treebe8c8c3799971446d9d26d4d3a78dc39891c9cda
parentb9c73de158b4498c0bdec1d29ee1b517e5ef27a9
chan_pjsip: Multidomain endpoint finding on call

When PJSIP tries to call an endpoint with a domain (e.g. 1000@test.com),
the user part is stripped down as it would be a trunk with a specified user,
and only the host part is called as a PJSIP endpoint and can't be found.
This is not correct in the case of a multidomain SIP account, so the stripping
after the @ sign is done only if the whole endpoint (in multidomain case
1000@test.com) can't be found.

ASTERISK-26248

Change-Id: I3a2dd6f57f3bd042df46b961eccd81d31ab202e6
channels/chan_pjsip.c