Matt White wrote:
> 
> 
> I'm working on adding support for the Yealink line of phones.
> 
> 
> Where can I find a list of all the objects I can query for my
> yealinkphone.java.  For example, the acme example has
> 
> 
>   line.setSettingValue(USER_ID_SETTING, info.getUserId());
> 
>   line.setSettingValue(DISPLAY_NAME_SETTING, info.getDisplayName());
> 
>   line.setSettingValue(PASSWORD_SETTING, info.getPassword());
> 
>   line.setSettingValue(REGISTRATION_SERVER_SETTING,
> info.getRegistrationServer());
> 
> 
> I'd like to prefill the config file with defaults like NTP server etc.  
> 
>  
> 
> I think i can probably get this finished up today if I know which
> property to get.
> 
> 
> -M
> 

Check what things are offered by DeviceDefaults.

DeviceDefault.getNtpServer gets you NTP server address.

I highly recommend getting the simplest plugin possible (which means only
line parameters so that phone can register), and then adding more
functionality (NTP, DNS, speed dials, phonebook, DST etc.).

Send the patch and I'll can help you get it into mainline (integrate with
build etc.). Make sure to include reference config (ideally as a part of
unit test), since I don't have this phone.

In case you didn't find it yet:
http://sipx-wiki.calivia.com/index.php/Adding_support_for_managed_phones
Damian

_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to