I am running FreePBX 16.0.40.7 and having a problem with a Cisco 8851 (pjsip and tls) when trying to add a 2nd extension on the phone. If I do 1 extension it is fine and I have 4 8851s registered this way.
The 2 extensions were previously on a Cisco 7970 that died. That phone was setup as pjsip and not using TLS. Both extensions worked fine. Here is the old sepmac.cnf.xml for the 7970.
<sipLines>
<line button="1">
<featureID>9</featureID>
<featureLabel>5555</featureLabel>
<proxy>USECALLMANAGER</proxy>
<port>5062</port>
<name>5555</name>
<displayName>Telluride</displayName>
<autoAnswer>
<autoAnswerEnabled>2</autoAnswerEnabled>
</autoAnswer>
<callWaiting>3</callWaiting>
<authName>5555</authName>
<authPassword>password</authPassword>
<sharedLine>false</sharedLine>
<messageWaitingLampPolicy>3</messageWaitingLampPolicy>
<messagesNumber>*97</messagesNumber>
<ringSettingIdle>4</ringSettingIdle>
<ringSettingActive>5</ringSettingActive>
<contact>5555</contact>
<forwardCallInfoDisplay>
<callerName>true</callerName>
<callerNumber>false</callerNumber>
<redirectedNumber>false</redirectedNumber>
<dialedNumber>true</dialedNumber>
</forwardCallInfoDisplay>
</line>
<phoneLabel>Telluride</phoneLabel>
<line button="2">
<featureID>9</featureID>
<featureLabel>7760</featureLabel>
<proxy>USECALLMANAGER</proxy>
<port>5062</port>
<name>7760</name>
<displayName>VMware</displayName>
<autoAnswer>
<autoAnswerEnabled>2</autoAnswerEnabled>
</autoAnswer>
<callWaiting>3</callWaiting>
<authName>7760</authName>
<authPassword>password</authPassword>
<sharedLine>false</sharedLine>
<messageWaitingLampPolicy>3</messageWaitingLampPolicy>
<messagesNumber>*97</messagesNumber>
<ringSettingIdle>4</ringSettingIdle>
<ringSettingActive>5</ringSettingActive>
<contact>7760</contact>
<forwardCallInfoDisplay>
<callerName>true</callerName>
<callerNumber>false</callerNumber>
<redirectedNumber>false</redirectedNumber>
<dialedNumber>true</dialedNumber>
</forwardCallInfoDisplay>
</line>
</sipLines>
Here is the 8851 config that just will not work when 2 lines are present. It will error out on registering ext 7760 with a failed to authenticate. It’s not a password because if I take the second extension out of the XML, it will authenticate just fine. I rea that the 2nd line shouldnt have an authname or auth password. For secondary lines, do not include <authName
> and <authPassword
> as the phones only support one set of credentials. I don’t find that to be the case because the 7960 could have 2 sets of credentials.
<sipLines>
<line button="1" lineIndex="1">
<featureID>9</featureID>
<featureLabel>7760</featureLabel>
<name>7760</name>
<displayName>Jeff</displayName>
<contact>7760</contact>
<proxy>USECALLMANAGER</proxy>
<port>5061</port>
<autoAnswer>
<autoAnswerEnabled>0</autoAnswerEnabled>
</autoAnswer>
<callWaiting>3</callWaiting>
<authName>7760</authName>
<authPassword>password</authPassword>
<sharedLine>false</sharedLine>
<messageWaitingLampPolicy>3</messageWaitingLampPolicy>
<messageWaitingAMWI>1</messageWaitingAMWI>
<messagesNumber>*97</messagesNumber>
<ringSettingIdle>4</ringSettingIdle>
<ringSettingActive>5</ringSettingActive>
<forwardCallInfoDisplay>
<callerName>true</callerName>
<callerNumber>false</callerNumber>
<redirectedNumber>false</redirectedNumber>
<dialedNumber>true</dialedNumber>
</forwardCallInfoDisplay>
<maxNumCalls>4</maxNumCalls>
<busyTrigger>2</busyTrigger>
</line>
<line button="2">
<featureID>9</featureID>
<featureLabel>5555</featureLabel>
<name>5555</name>
<displayName>Telluride</displayName>
<contact>5555</contact>
<proxy>USECALLMANAGER</proxy>
<port>5061</port>
<autoAnswer>
<autoAnswerEnabled>0</autoAnswerEnabled>
</autoAnswer>
<callWaiting>3</callWaiting>
<authName>5555</authName>
<sharedLine>false</sharedLine>
<messageWaitingLampPolicy>3</messageWaitingLampPolicy>
<messageWaitingAMWI>1</messageWaitingAMWI>
<messagesNumber>*97</messagesNumber>
<ringSettingIdle>4</ringSettingIdle>
<ringSettingActive>5</ringSettingActive>
<forwardCallInfoDisplay>
<callerName>true</callerName>
<callerNumber>false</callerNumber>
<redirectedNumber>false</redirectedNumber>
<dialedNumber>true</dialedNumber>
</forwardCallInfoDisplay>
<maxNumCalls>4</maxNumCalls>
<busyTrigger>2</busyTrigger>
</line>
</sipLines>
If I try the XML without the extension 5555 having credentials I will get:
[2024-05-06 20:35:09] NOTICE[11745] res_pjsip/pjsip_distributor.c: Request ‘REGISTER’ from ‘sip:5555@freepbx.fqdn’ failed for ‘10.10.15.116:49367’ (callid: 042ae206-9bf00017-0a03c789-563e0214@10.10.15.116) - Failed to authenticate
2770 [2024-05-06 20:35:09] NOTICE[26852] res_pjsip/pjsip_distributor.c: Request ‘REGISTER’ from ‘sip:5555@freepbx.fdqn’ failed for ‘10.10.15.116:49367’ (callid: 042ae206-9bf00017-0a03c789-563e0214@10.10.15.116) - Failed to authenticate
2771 [2024-05-06 20:35:09] NOTICE[20990] res_pjsip/pjsip_distributor.c: Request ‘REGISTER’ from ‘sip:5555@freepbx.fqdn’ failed for ‘10.10.15.116:49367’ (callid: 042ae206-9bf00017-0a03c789-563e0214@10.10.15.116) - Failed to authenticate
2772 [2024-05-06 20:35:09] NOTICE[15690] res_pjsip/pjsip_distributor.c: Request ‘REGISTER’
Adding crednetails to the 2nd extension and line 7760 will error out like the above log and 5555 doesn’t anything or register.
I am at a loss here. Like I said, I changed the physical phone and switched to TLS for both extensions. PJSIP was always in play and with 1 extension it works just fine.
Jeff
1 post - 1 participant