custom phone template

Status
Not open for further replies.

zzzzz5

Joined
Mar 15, 2012
Messages
4
Reaction score
0
Hi Everyone:
Have snom phones 370 D375 and snom 870 phones.
previously created custom templates on older versions of 3CX and had no problems, but with V15 (using debian linux version) having problems getting the custom templates to work and to assign via plug and play.

The customization is with the
1: Clock Display and Calendar
2: BLF buttons on the snom 3XX.
3: Dial plan

The templates are not creating the proper config files. The changes are not showing up, I have tried using the PLUG and Play, used the DHCP option 66 then manually add the phone via the extension management pages and selected the template i wanted. .

What am i doing wrong?

below are the modifications. All i did was copy the current 3CX config template, added in the below changes and commented out the some of 3cx code.


<name>Magwerks Snom 3x0,7x0,8XX</name>
<url>http://www.snom.com</url>
<image>snom.png</image>
<models>
<model ua="snom300">Snom 300-Magwerks_snom</model>
<model ua="snomD305">Snom D305-Magwerks_snom</model>
<model ua="snomD315">Snom D315-Magwerks_snom</model>
<model ua="snom320">Snom 320-Magwerks_snom</model>
<model ua="snom360">Snom 360-Magwerks_snom</model>
<model ua="snom370">Snom 370-Magwerks_snom</model>
<model ua="snom710">Snom 710-Magwerks_snom</model>
<model ua="snom715">Snom 715/D715-Magwerks_snom</model>
<model ua="snom720">Snom 720-Magwerks_snom</model>
<model ua="snom725">Snom 725-Magwerks_snom</model>
<model ua="snom760">Snom 760-Magwerks_snom</model>
<model ua="snom820">Snom 820-Magwerks_snom</model>
<model ua="snom821">Snom 821-Magwerks_snom</model>
<model ua="snom870">Snom 870-Magwerks_snom</model>
<model ua="snomD345">Snom D345-Magwerks_snom</model>
<model ua="snomD375">Snom D375-Magwerks_snom</model>
<model ua="snomD745">Snom D745-Magwerks_snom</model>
<model ua="snomD765">Snom D765-Magwerks_snom</model>
<model ua="snomPA1">Snom PA1-Magwerks_snom</model>
<model ua="snomMP">Snom MP-Magwerks_snom</model>
</models>

<!-- Magwerks Settings -set the dail plan to automatically time out and dail the call -->
<dialplan e="2">
<!--Magwerks Dial Plan-->
<TEMPLATE MATCH="*" Timeout="6"/>
</dialplan>

<!--# Magwerks Setting Sets the clock to 12 hours view -->

<!--# The "time_24_format" field specifies whether to display the time in 24-hour format or in AM/PM format. Valid values are "on"==24-hour Format, "off"==AM/PM Format. The provisioning template sets the valut to "on"==24-Hour Format.-->
<time_24_format perm="">off</time_24_format>

<!--# Magwerks Setting Sets certain function keys to specific things -->
<fkey idx="0" context="active" perm="">line</fkey>
<fkey idx="1" context="active" perm="">line</fkey>
<fkey idx="6" context="active" perm="">url "http://doors.magwerks.com/SideDoorExe.aspx?Cmd=CycleDoor"</fkey>
<fkey idx="10" context="active" label="Set Available" perm="">speed &lt;sip:*[email protected]:5060;user=phone&gt;</fkey>
<fkey idx="11" context="active" label="Set Away" perm="">speed &lt;sip:*[email protected]:5060;user=phone&gt;</fkey>


{IF blf5}
<-!-#<fkey idx="6" context="active" label="%%blffirstname6%% %%blflastname6%%" perm="">%%value%% &lt;sip:%%blf6%%@%%pbx_ip%%:%%param::sipport%%%%userphone%%&gt;</fkey>-->
{ELSE}
<!--<fkey idx="6" context="active" perm="">none</fkey>-->
{ENDIF}
{IF blf9}
<-!-#<fkey idx="10" context="active" label="%%blffirstname6%% %%blflastname6%%" perm="">%%value%% &lt;sip:%%blf6%%@%%pbx_ip%%:%%param::sipport%%%%userphone%%&gt;</fkey>-->
{ELSE}
<!--<fkey idx="10" context="active" perm="">none</fkey>-->
{ENDIF}

{IF blf10}
<-!-#<fkey idx="11" context="active" label="%%blffirstname6%% %%blflastname6%%" perm="">%%value%% &lt;sip:%%blf6%%@%%pbx_ip%%:%%param::sipport%%%%userphone%%&gt;</fkey>-->
{ELSE}
<!--<fkey idx="11" context="active" perm="">none</fkey>-->
{ENDIF}
 
Hello @zzzzz5

Does plug and play provisioning work with the default templates? Also after you created the custom templates did you restart the management console service?
Try pulling the config file manually and see if it generating along with the changes you made. You can do that by using the provisioning link followed by mac address of the phone in a browser. For Snom phones a example will be: http://192.168.1.1:5000/provisioning/7dg9hfybf6twgi/cfg<macaddress>
 
  • Like
Reactions: andrew_
Plug and play works as expected with the default templates. I have not restarted the management console. I can try later today after business hours.

I did pull the config manually using the above link that is how I validated the templates were not being created to the custom template.
 
Status
Not open for further replies.

Latest Posts

Members Online Now

Forum statistics

Threads
111,861
Messages
589,440
Members
164,701
Latest member
yarusemiKK