How can I make contacts and smart BLF for an application.
Here’s what I did.
<blf_item location=“main” index=“3” paging=“0” app_id=“Annuaire”/>
When i add conf for smart blf in file configuration , buttons contacts does not work and if i remove smart blf it work egain.
Do you have an idea to solve this problem.
The phone’s configuration file doesn’t have the smart blf items definition in-line. It pulls in an XML file containing all of the smart blf items definitions.
...other things like your phone settings and your account, etc.
<blf_items url="http://server.example.com/myblfitems.xml" />
It does not work, I did it to.
<contacts url="http://172.16.22.10:8667/Digium/000fd3069208-contacts.xml" id="internal" />
<blf_items url="http://172.16.22.10:8667/Digium/myblfitems.xml" />
File for contacts:
<contact first_name="User Test1" last_name="" subscribe_to="sip:firstname.lastname@example.org" >
<number dial="112" label="Extension" primary="1" />
<contact first_name="User Test2" last_name="" subscribe_to="sip:email@example.com" >
<number dial="116" label="Extension" primary="1" />
<blf_item location=“main” index=“3” paging=“1” app_id=“Annuaire”>
If I did this configuration, it show me only speed button for Usert Test1 and Usert Test2. But speed button for Annuaire it dont show.
Do you have other idea.
Your BLF items file only specifies an entry for an app called Annuaire. Are you loading a custom application onto your phone called Annuaire?
Yes it is application for OpenLdap it work well, I call it Annuaire. My castomer want to have speed buttons contact defined in asterisk and one button to call application Annuaire.
Exemple speeds button in my D50:
UserTest 1 -> it call directly because it is contact in asterisk
UserTest 2 -> it call directly because it is contact in asterisk
Annuaire -> it call application Annuaire
My application Annuaire show me all contacts in database of OpenLdap.
Separately it work well, but when i want to define button Annuaire, it show me gest Annuaire and contacts UserTest1 and UserTest2 are not hear.
ah, okay. Right, if you’re using the BLF Items sheet, you can’t mix and match that with the older contacts definitions.
In the absence of BLF Items, the phone will draw out the contacts automatically.
But, if you’re defining BLF Items at all, you’ll have to define each and every item you want, including those other two contacts.
So good, how I can realize all this, can you set an example, because I have used all varinty that I know and do not know.
The examples that I wrote are all here: