How can I have the same exgtension logged in to two locations with Phone App

FreePBX 14
Using EPM and Phone Apps to log in
Using chan_pjsip
Extension set to max contacts of 2
Using Aastra 6737i phones

Can log in and out on a single phone.
Can log in on a single phone, and then log in on another phone. This forces the original phone to log out and reboot.

Desired behaviour: have two phones logged in to the same extension.

Set it high enough that every “line button” in the phone can connect. If you phones have three line buttons, set the number to 6.

Phone apps, wipes the config file and sends a reboot. This is not something with the phone.

I’ll get an example in a bit.

Two Extensions logged in to two different phones. Phone Apps does this to the config files.

[root@pbx tftpboot]# grep 5782 *.cfg
00085D3BBC1E.cfg:sip line1 auth name: "5782"
00085D3BBC1E.cfg:sip line1 user name: "5782"
00085D3BBC1E.cfg:sip line1 display name: "5782"
00085D3BBC1E.cfg:sip line1 screen name: "5782"
00085D3BBC1E.cfg:action uri registered: "http://pbx.domain.com:82/sync.php?user=5782"
00085D3BBC1E.cfg:services script: "http://pbx.domain.com:82/applications.php/restapps/main?user=5782"
00085D3BBC1E.cfg:xml application URI: "http://pbx.domain.com:82/applications.php/restapps/main?user=5782"
[root@pbx tftpboot]# grep 6115 *.cfg
00085D308FC6.cfg:sip line1 auth name: "6115"
00085D308FC6.cfg:sip line1 user name: "6115"
00085D308FC6.cfg:sip line1 display name: "6115"
00085D308FC6.cfg:sip line1 screen name: "6115"
00085D308FC6.cfg:action uri registered: "http://pbx.domain.com:82/sync.php?user=6115"
00085D308FC6.cfg:services script: "http://pbx.domain.com:82/applications.php/restapps/main?user=6115"
00085D308FC6.cfg:xml application URI: "http://pbx.domain.com:82/applications.php/restapps/main?user=6115"
[root@pbx tftpboot]# 

Max Contacts is set to two for both extensions.
image

When you do that, the Other tab shows this.

But they have disappeared from Endpoint Manager

Now I walk to 6115 and long in as 5782. Poof, there is no more config with 6115 as expected, but there is also only one config with 5782. Not expected.


[root@pbx tftpboot]# grep 6115 *.cfg
[root@pbx tftpboot]# grep 5782 *.cfg
00085D308FC6.cfg:sip line1 auth name: "5782"
00085D308FC6.cfg:sip line1 user name: "5782"
00085D308FC6.cfg:sip line1 display name: "5782"
00085D308FC6.cfg:sip line1 screen name: "5782"
00085D308FC6.cfg:action uri registered: "http://pbx.domain.com:82/sync.php?user=5782"
00085D308FC6.cfg:services script: "http://pbx.domain.com:82/applications.php/restapps/main?user=5782"
00085D308FC6.cfg:xml application URI: "http://pbx.domain.com:82/applications.php/restapps/main?user=5782"
[root@pbx tftpboot]# 

Interestingly, this time, the existing phone with 5782 did not reboot. So it is still registered, but there is not longer a config tied to that MAC address.

Ah, but even the other tab shows no device now. Even though there is a config file still sitting out there in /tftpboot

Logged in on a third device and still nothing rebooted, but as expected only two of the device ring when called.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.