On Mon, Dec 20, 2010 at 12:19 PM, Justin Menga <[email protected]> wrote:
> Hi
>
> Can anyone clarify the correct procedure for adding phonebook contacts via
> REST in SIPXecs 4.2?
>
> Based upon documentation, should be using HTTP PUT to following URL:
>
> /my/phonebook/entry/{entry-id}
>
> As far as I can tell, I can only use HTTP PUT to modify an EXISTING contact
> - i.e for an entry that already exists.  If I try to PUT to an ID that is
> not currently associated with an entry in the phonebook, I get a 747 Unknown
> response.
>
> So how would I ADD a contact?

Looks OK but you should provide -1 for entry-id

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

Reply via email to