Configure DECT via CallControlAPI

Status
Not open for further replies.

yveskretzschmar

Customer
Joined
Sep 10, 2018
Messages
2
Reaction score
1
Hi,

I would like to configure the member extensions of a dect base via API.
I can't find any hint to do so.
Is this possible and if yes how to do this?

regards
 
  • Like
Reactions: Evolute IT
Hi,

I think I got it myself.
Config for DECT is stored as a XML in parameters, so I should be able to do it this way:

Code:
ps::Root.GetParameterByName("MLTACC_12345678ABCD")

$ps::Root.SetParameter("MLTACC_12345678ABCD",'<MultiaccountDevice MacAddress="12345678ABCD" Name="Snom DECT M700" Brand="Snom" Model="snomM700" ModelName="Snom DECT M700" FxsLineCount="200" Language="Deutsch" TimeZone="" Password="password"><Provisioning Method="1" LocalInterface="10.0.0.1" LocalSipPort="5065" LocalAudioPortStart="14000" LocalAudioPortEnd="14019" RemoteFQDN="" RemotePort="5060" /><Variables><Variable Name="%%toneset%%" Value="GER" /></Variables><CodecsPriority><Codec Priority="1">pcmu</Codec><Codec Priority="2">pcma</Codec><Codec Priority="3">g722</Codec><Codec Priority="4">g729</Codec></CodecsPriority><Lines><FxsLine Index="1" Number="49" /></Lines></MultiaccountDevice>')

$ps::Root.GetParameterByName("MLTACC_12345678ABCD")

Seems to work so far as I could test it
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
112,324
Messages
591,897
Members
165,475
Latest member
lastshadow