11-04-2022 12:48 PM
I can successfully add a new phone with one or two lines.
It seems to ignore lines 3-5.
Is there a something special needed for adding more then 2 lines?
I'm including the sample XML as a txt file, this was successful in adding the first two lines, but lines 3-5 were not added.
Any assistance would be great!
Solved! Go to Solution.
11-06-2022 10:29 PM
Good Morning! Please check your phone button template ( Standard 8841 SIP ).
By default, the template Standard 8841 SIP only provides two lines.
The API Call addPhone with five lines works successfully for me
11-04-2022 01:03 PM
Did you create all 5 lines, first? You can't use addPhone to create new lines.
11-04-2022 01:14 PM
11-06-2022 10:29 PM
Good Morning! Please check your phone button template ( Standard 8841 SIP ).
By default, the template Standard 8841 SIP only provides two lines.
The API Call addPhone with five lines works successfully for me
11-07-2022 12:18 PM
Thanks, this is it!
I still have an issue though; I have created a new template with 5 lines and replaced my template line with the new name:
<phoneTemplateName>8841_Phonecopy_SIP</phoneTemplateName>, but it still applies the standard 8841 template with only 2 lines instead of the new one.
If I go to the phone with only two lines showing, and simply manually change the Phone Button Template to the one I created, all 5 lines instantly populate on the phone!
Any idea why it is ignoring edited line with the new template that works when manually selected?
11-08-2022 12:10 PM
Odd...with the theory that the issue is due to the order of operations that happen behind the scenes of the monolithic <addPhone> request, might be worth breaking this into two requests: 1) <addPhone> specifying the new 5 line template 2) <updatePhone> adding the needed 5 lines.
Even if that happens to work, it's perhaps arguable that the original <addPhone> specifying the template and lines at the same time _should_ work, and a defect could be opened...
11-14-2022 11:59 AM
I have confirmed sending it as an updatephone works.
It doesn't work in the addphone string, I know it processes the line, since I can misspell it and it gives an error saying it can't find it.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: