Hello. I've got a Cisco SPA303 that I'm trying to provision via http. I noticed that this device looks very similar to a PAP2T, so I used that as a template for my provisioning file. However, the result is less than stellar. Line 1 registers and works. However, lines 2 and 3 also register as line 1, effectively giving me a 1-line phone with 3 buttons. Also, the line name is the same on all 3 phone lies. I've looked on Cisco's website and Googled around, but I can not find a true example of a provisioning file for this device. Anything I could find would be enough for me to make a template. Does anyone know of an example provisioning file for this device? I've included, below, a (sanitized) copy of the file I'm using. The user_id is simply the device's MAC address, followed by a dash, then the line number. Any help you could give me would be most appreciated. <flat-profile> <HostName>hostnamexxx</HostName> <User_Password></User_Password> <Admin_Passwd></Admin_Passwd> <Auth_Resync-Reboot_1_>No</Auth_Resync-Reboot_1_> <Auth_Resync-Reboot_2_>No</Auth_Resync-Reboot_2_> <Display_Name_1_ ua="na">3CCE73D241A9-1</Display_Name_1_> <User_ID_1_ ua="na">3CCE73D241A9-1</User_ID_1_> <Auth_ID_1_ ua="na">3CCE73D241A9-1</Auth_ID_1_> <Password_1_ ua="na">DICLFUXOT1SWNQEW</Password_1_> <Use_Auth_ID_1_ ua="na">Yes</Use_Auth_ID_1_> <Use_DNS_SRV_1_>yes</Use_DNS_SRV_1_> <DNS_SRV_Auto_Prefix_1_ ua="na">Yes</DNS_SRV_Auto_Prefix_1_> <Display_Name_2_ ua="na">3CCE73D241A9-2</Display_Name_2_> <User_ID_2_ ua="na">3CCE73D241A9-2</User_ID_2_> <Auth_ID_2_ ua="na">3CCE73D241A9-2</Auth_ID_2_> <Password_2_ ua="na">KVJJZPAMSI[WM1ISR</Password_2_> <Use_Auth_ID_2_ ua="na">Yes</Use_Auth_ID_2_> <Use_DNS_SRV_2_>yes</Use_DNS_SRV_2_> <DNS_SRV_Auto_Prefix_2_ ua="na">Yes</DNS_SRV_Auto_Prefix_2_> <Proxy_1_> example.com </Proxy_1_> <Proxy_2_>example.com </Proxy_2_> <Outbound_Proxy_1_> example.com </Outbound_Proxy_1_> <Outbound_Proxy_2_> example.com </Outbound_Proxy_2_> <Profile_Rule> http://example.com/index.pl?mac=$MA </Profile_Rule> <VMWI_Ring_Splash_Len>0</VMWI_Ring_Splash_Len> <VMWI_Ring_Splash_Len_1_>0</VMWI_Ring_Splash_Len_1_> <VMWI_Ring_Splash_Len_2_>0</VMWI_Ring_Splash_Len_2_> </flat-profile> -- Mike Diehl.
On 1 Aug 2012, at 07:05, Support wrote:> I've looked on Cisco's website and Googled around, but I can not find a true > example of a provisioning file for this device. Anything I could find would be > enough for me to make a template.Download the SPC tool from the Cisco site. It includes the capability to generate examples. You can also do http://phoneip/admin/spacfg.xml to get the full config. Reading up on examples for the spa941/942/504 might help - they're a bit more common. S
On Tue, Jul 31, 2012 at 11:05 PM, Support <mdiehl at diehlnet.com> wrote:> However, the result is less than stellar. Line 1 registers and works. > However, lines 2 and 3 also register as line 1, effectively giving me a > 1-line > phone with 3 buttons. > > Also, the line name is the same on all 3 phone lies. >There is a setting that tells what SIP registration each line button is connected to. For whatever reason, they all default to registration one. Unlike most other phones, there is no direct relationship between a registration and a line button. This can actually be useful in some cases. The best way to get started with SPA configs is to set up the phone how you want it via the web UI, then go here and copy out the provisioning XML: http://phoneip/admin/spacfg.xml To answer your question directly, here's what you need: <Extension_2_ group="Phone/Line_Key_2">2</Extension_2_> <Short_Name_2_ group="Phone/Line_Key_2">210</Short_Name_2_> -- Carlos Alvarez TelEvolve 602-889-3003 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120801/851b5a2d/attachment.htm>