Hi

When using PUT to modify settings, for example with call forwarding
settings, do I just PUT the entire Call Forwarding rule set with any
modifications?

E.g.

GET my/forward

<call-sequence>
  <rings>
    <ring>
      <expiration>30</expiration>
      <type>If no response</type>
      <enabled>true</enabled>
      <number>0275779733</number>
    </ring>
    <ring>
      <expiration>30</expiration>
      <type>At the same time</type>
      <enabled>false</enabled>
      <number>0800500400</number>
    </ring>
  </rings>
  <withVoicemail>false</withVoicemail>
</call-sequence>

Now to delete the second rule:

PUT my/forward

<call-sequence>
  <rings>
    <ring>
      <expiration>30</expiration>
      <type>If no response</type>
      <enabled>true</enabled>
      <number>0275779733</number>
    </ring>
  </rings>
  <withVoicemail>false</withVoicemail>
</call-sequence>

I found the above approach to work initially but now I seem to have a couple
of rules that are always "stuck" in the call forwarding rule configuration.


Regards
Justin
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/

Reply via email to