Damian wrote: ... > > I'll add a sendCheckSyncToMac() to Phone.java, and call it instead. > > Sound good? > > > > > > That will work, but how about we try changing > Line.getAddrSpec (make it use User.getAuthenticationUserName).
Won't that still result in a URI specific to the first configured user of the phone? We need a URI that will reach the phone (provided the phone has a registration to some user in the system.) My main motivation is for auto-provisioned phones. These will have registered with the ~~id~sipXprovision special user, but this will not be a "configured" line. i.e. Phone.sendCheckSyncToFirstLine() won't even send a message because there is no first line. Consider also the case where Ned has left the company, and new hire Andy now occupies his office. The phone in the office is currently registered to Ned, and this matches the configuration. You delete the Ned line, add a line for Andy, and Send Profiles. The "configured" line is Andy, but the phone is registered to Ned. In both cases we need the NOTIFY to reach the phone regardless of what its configured first line is, or whether one even exists. The "sip:~~in~[instrume...@[domain]" URI will give us this, but I'm pretty sure "sip:~~in~[user]/[instrume...@[domain]" will not. -Paul [email protected] _______________________________________________ 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/
