I have been experimenting with Sail and an SPA942 phone to utilise both available extensions with auto provisioning. Thought I would share the results.
Created two extensions in Sail using SPA941 IP Device, and set MAC address the same in both cases. The auto provisioning for the first extension is:
["spa$MAC.cfg"
<flat-profile>
<Text_Logo> Company Name
</Text_Logo>
<Station_Name> Company Office
</Station_Name>
<Provision_Enable> yes
</Provision_Enable>
<Profile_Rule_B> tftp://192.168.1.1/spa2$MA.cfg
</Profile_Rule_B>
<Upgrade_Enable> yes
</Upgrade_Enable>
<Upgrade_Rule> (!4.1.15)?tftp://192.168.1.1/spa942-4-1-15.bin
</Upgrade_Rule>
<Voice_Mail_Number> *50*
</Voice_Mail_Number>
<Daylight_Saving_Time_Rule> start=4/1/7;end=10/-1/7;save=1
</Daylight_Saving_Time_Rule>
<Date_Format> day/month
</Date_Format>
<Dial_Assistance> Yes
</Dial_Assistance>
<Extension_1_> 1
</Extension_1_>
<Extension_2_> 1
</Extension_2_>
<Short_Name_1_> Office 5001
</Short_Name_1_>
<Short_Name_2_> Office 5001
</Short_Name_2_>
<Default_Ring_1_> 10
</Default_Ring_1_>
<Proxy_1_> 192.168.1.1
</Proxy_1_>
<Outbound_Proxy_1_> 192.168.1.1
</Outbound_Proxy_1_>
<User_ID_1_> 5001
</User_ID_1_>
<Password_1_> 5001
</Password_1_>
<Display_Name_1_> Company Name
</Display_Name_1_>
<Dial_Plan_1_> (*x.|*xx*x.|x.)
</Dial_Plan_1_>
<Time_Zone> GMT
</Time_Zone>
<Time_Format> 12hr
</Time_Format>
<Primary_NTP_Server> 192.168.1.1
</Primary_NTP_Server>
</flat-profile>
]
I manually set the provisioning profile rule on the phone to tftp://192.168.1.1/spa$MA.cfg as DHCP option 66 didn't seem to work. The above also sets the auto upgrade to look for spa942-4-1-15.bin firmware upgrade file on the tftp server. This can be downloaded from sipura as can future upgrades with the rule amended appropriately.
The auto provisioning for the second extension is then:
["spa2$MAC.cfg"
<flat-profile>
<Extension_3_> 2
</Extension_3_>
<Extension_4_> 2
</Extension_4_>
<Short_Name_3_> Home 5003
</Short_Name_3_>
<Short_Name_4_> Home 5003
</Short_Name_4_>
<Proxy_2_> 192.168.1.1
</Proxy_2_>
<Outbound_Proxy_2_> 192.168.1.1
</Outbound_Proxy_2_>
<SIP_Port_2_> 5060
</SIP_Port_2_>
<User_ID_2_> 5003
</User_ID_2_>
<Password_2_> 5003
</Password_2_>
<Display_Name_2_> Home
</Display_Name_2_>
<Default_Ring_2_> 1
</Default_Ring_2_>
<Dial_Plan_2_> (*x.|*xx*x.|x.)
</Dial_Plan_2_>
</flat-profile>
]
Note the file name must be amended to SPA2$MAC and not just SPA$MAC, and the first provisioning rule above has set the profile rule B on the phone to pick up this additional provision.
Now everything works OK and I have two extensions set up on the phone - one for my office line and one for my home line. Presumably if the two additional extensions were available by purchasing the adtional license from Linksys then profile rule C and D could be used for these and two more extensions created in Sail with the same MAC.