Fix #46 Rely on the external account identifier and not the non-existing full identifier

Bump version
This commit is contained in:
Timothée Jaussoin 2022-10-11 14:39:35 +02:00
parent 699b015950
commit e124dedfa2
3 changed files with 3 additions and 2 deletions

View file

@ -228,7 +228,7 @@ class ProvisioningController extends Controller
$section = $dom->createElement('section');
$section->setAttribute('name', 'proxy_' . $proxyConfigIndex);
$entry = $dom->createElement('entry', $externalAccount->fullIdentifier);
$entry = $dom->createElement('entry', '<sip:' . $externalAccount->identifier . '>');
$entry->setAttribute('name', 'reg_identity');
$section->appendChild($entry);

View file

@ -76,6 +76,7 @@ class ExternalAccountTest extends TestCase
->get($this->provisioningRoute)
->assertStatus(200)
->assertHeader('Content-Type', 'application/xml')
->assertSee($externalAccount->identifier)
->assertSee('ha1')
->assertSee('idkey')
->assertSee('depends_on');

View file

@ -8,7 +8,7 @@
#%define _datadir %{_datarootdir}
#%define _docdir %{_datadir}/doc
%define build_number 155
%define build_number 156
%define var_dir /var/opt/belledonne-communications
%define opt_dir /opt/belledonne-communications/share/flexisip-account-manager