Jump to content

Ippbxtrunkgroupnumberreplacement Commands


ulfwil

Recommended Posts

Hi, I have just a question, it seems to me this is a little bit unlogical. To add and remove “Number replacements† is not handled the same way. How shall I do to remove just one entry instead of all entries?


 


Remove-IpPbxTrunkGroupNumberReplacement  - SWConfigDataClientLib.Proxies.PortBundle.PortBundleEntry


Add-IpPbxTrunkGroupNumberReplacement          - SWConfigDataClientLib.Proxies.PortBundle.PortBundleLineOutNumReplEntry


 


Adding a replacemnent can be done perfectly well with this command


New-IpPbxTrunkGroupNumberReplacement -Number "+4619209961" -Replacement "+46722053835" -ReplacementType Outbound -PartyType CallingParty  | Add-IpPbxTrunkGroupNumberReplacement -TrunkGroupName "ISDN


 


But removeing is impossible, as I understand it. You have to read all settings (and temporarily store result) and then remove all entries and then write back everything except the one you are intereseted to remove 


Link to comment
Share on other sites


Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.