Change Extension Details

Talk with others about developing applications for Switchvox

Moderators: bmdhacks, dpodolsky, tristand, jwitt, joshuas

Change Extension Details

Postby jscoulter » Tue Jul 10, 2012 7:37 pm

Hi All.
Trying to work out how to change the First_name and Last_name associated to an extension.
I have found the "switchvox.extensions.phones.sip.update" method, but if I just pass in the First_name and Last_name It complains about passwords etc.
Do I have to call the method that gets all the info for the extension first, change what I need to, then pass it all back? or is there an easier/better way to do it?

Thanks, Jeremy
jscoulter
Newsterisk
 
Posts: 6
Joined: Fri Sep 14, 2007 3:55 am

Re: Change Extension Details

Postby dpodolsky » Sat Aug 04, 2012 10:05 am

THe API allows you to change first_name or just last_name. The password it is asking you for might be for authentication? Maybe you aren't sending in the proper information for the digest authentication? I would have to see the output.
dpodolsky
Oldsterisk
 
Posts: 325
Joined: Thu Apr 23, 2009 2:35 pm


Return to Switchvox Developers

Who is online

Users browsing this forum: No registered users and 2 guests