Hello !
Many thanks for your answer, much appreciated !
Question comes down to: is "see calls for pickup" something your really cannot live without?
-> The answer is that I can't, people will not want to change it, it was working like that on then 20 year old PBX and they do not believe that it is not possible anymore. I can't argue anything against that
I understood the concept being the template and the fact that it generates the config file needed by the phone.
I tried different things, but it will not handle the comparaison I need.
If I look in the template file, one if looks like that
{IF sysparam.CUSTOMIZE_QUEUE_RINGTONES=1}
So I tried first with {IF ua=SIP-T27G} that was ok with the phone I have.
I then tried with {IF %%type%%=3140} and {IF type=3140} , 3140 being the number to exclude from the deskphone BLFs. That does not work, I guess it will not generate any configuration to the phone and I guess does not ask to the phone to reload the config file.
I would really appreciate a bit help here......
Details:
this would work
{IF ua=SIP-T27P,SIP-T27G,SIP-T52S,SIP-T53,SIP-T53W}
#Configure Line Key1 hopla
{IF blf1}
linekey.1.line = %%Line%%
linekey.1.value = %%type%%
linekey.1.pickup_value = %%PickupValue%%
linekey.1.type = %%DKtype%%
linekey.1.label = %%type%%
linekey.1.extension = %%PickupValue%%
{IF ua=SIP-T27G}
linekey.1.type = 0
{ENDIF}
{ELSE}
linekey.1.type = 0
{ENDIF}
this won't work
{IF ua=SIP-T27P,SIP-T27G,SIP-T52S,SIP-T53,SIP-T53W}
#Configure Line Key1
{IF blf1}
linekey.1.line = %%Line%%
linekey.1.value = %%type%%
linekey.1.pickup_value = %%PickupValue%%
linekey.1.type = %%DKtype%%
linekey.1.label = %%label%%
linekey.1.extension = %%PickupValue%%
{IF %%type%%=3140}
linekey.1.type = 0
{ENDIF}
{ELSE}
linekey.1.type = 0
{ENDIF}
{IF ua=SIP-T27P,SIP-T27G,SIP-T52S,SIP-T53,SIP-T53W}
#Configure Line Key1
{IF blf1}
linekey.1.line = %%Line%%
linekey.1.value = %%type%%
linekey.1.pickup_value = %%PickupValue%%
linekey.1.type = %%DKtype%%
linekey.1.label = %%label%%
linekey.1.extension = %%PickupValue%%
{IF type=3140}
linekey.1.type = 0
{ENDIF}
{ELSE}
linekey.1.type = 0
{ENDIF}