Cannot assign extension to phone

Status
Not open for further replies.

PatrickT

Joined
Oct 18, 2016
Messages
3
Reaction score
0
Hi
This is a new install of 3cx for windows ver 15. The software install went fine. The rouiter ports are all opened and checked OK. I connected a Fanvil C58 phone to the lan and 3cx found it. I created an extension. But when I try to assign an extension to the phone I get the following error:-

Internal Server Error(500)

System.ArgumentException: Value should present in the Values array
Parameter name: value
at ConfigurationManagementModel.CfgStringsEnum.set_NameValue(String value)
at ConfigurationManagementModel.CfgStringsEnum.set_Value(Object value)
at ConfigurationManagementModel.CfgNetworkDevice.AssignToExistingExtension(ICfgExtensionEditor newExtensionEditor, ICfgPhoneDevice& newPhoneDevice)
at ManagementConsoleJS.Controllers.PhoneListController.AssignPhoneToExtension(Object extension, Int32 phoneDeviceId)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.d__28.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Builder.RouterMiddleware.d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ManagementConsoleJS.Middleware.ExceptionWrapperMiddleware.d__3.MoveNext()

I've tried everything I can think of to rectify this but to no avail. Can anyone help??

Many Thanks
PatrickT
 
Same exact issue funny I came here to post a topic about this and saw yours

System.ArgumentException: Value should present in the Values array
Parameter name: value
at ConfigurationManagementModel.CfgStringsEnum.set_NameValue(String value)
at ConfigurationManagementModel.CfgStringsEnum.set_Value(Object value)
at ConfigurationManagementModel.CfgNetworkDevice.AssignToExistingExtension(ICfgExtensionEditor newExtensionEditor, ICfgPhoneDevice& newPhoneDevice)
at ManagementConsoleJS.Controllers.PhoneListController.AssignPhoneToExtension(Object extension, Int32 phoneDeviceId)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.d__28.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Builder.RouterMiddleware.d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ManagementConsoleJS.Middleware.ExceptionWrapperMiddleware.d__3.MoveNext()
 
Is it something (a bug?) to do with the set being a Fanvil (pjk doesn't mention make of set used), or a conflict with another extension? I only mention that because of this...
pjk said:
CfgNetworkDevice.AssignToExistingExtension
 
I am using Grandstrm GXV3275
 
Are either of you able to create any other extension (number), or provision any other (physical) set? Trying to narrow down if it is a set, or number issue.
 
I have created two extensions - 100 and 101. I can't assign either of them to the phone.

Hope this helps

Thanks
 
Your issue probably comes from the fact that both the models you mentioned are not supported and there are no templates for them in version 15. So when the 3CX server tries to pull the template to assign them to an extension you get the error.
To provision these phones you will have to do it manually and not through plug and play

Hope this helps
 
That's not the issue because it works for other phones that are the same model with identical firmware and config.
 
PatrickT said:
I have created two extensions - 100 and 101. I can't assign either of them to the phone.

Can you assign those extension numbers to any other sets?

Can you assign some other (random?) number , to the set in question?
 
Can you assign those extension numbers to any other sets?

Can you assign some other (random?) number , to the set in question?

I've assigned 100 to 3cx softphone - don't know if that counts
 
Hello,
I am having a similar issue. It started to occur when going from 15 to 15.5 beta, and still persists on 15.5 release.
Pertinent Details:
OS: Debian 8 "Jessie" Lite (No Xorg)
Phones: Grandstream GXP1405 IP Phone (4 of them); Cisco SPA122 ATA, configured manually.

I have 1 Grandstream on the local network, and 1 on a remote network via 3cx SBC. The other 2 Grandstreams are unplugged for now. The ATA is also going via the SBC.

ATA Reports it is Registered. 3cx Console reports ATA in online, but unprovisioned.

Both Grandstream Phones appear on the list of Phones in 3CX Management Console.I then click on "Assign Extension", and select my desired extension from the list. When I click OK, it barfs at me:

System.ArgumentException: Value should present in the Values array
Parameter name: value
at ConfigurationManagementModel.CfgStringsEnum.set_NameValue(String value)
at ConfigurationManagementModel.CfgStringsEnum.set_Value(Object value)
at ConfigurationManagementModel.CfgNetworkDevice.AssignToExistingExtension(ICfgExtensionEditor newExtensionEditor, ICfgPhoneDevice& newPhoneDevice)
at ManagementConsoleJS.Controllers.PhoneListController.AssignPhoneToExtension(Object extension, Int32 phoneDeviceId)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.d__28.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.d__18.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNetCore.Builder.RouterMiddleware.d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at ManagementConsoleJS.Middleware.ExceptionWrapperMiddleware.d__3.MoveNext()
 
  • Like
Reactions: diamondra
Status
Not open for further replies.

Forum statistics

Threads
111,864
Messages
589,460
Members
164,704
Latest member
cdl1