[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.
https://www.yealink.com/ydmp-freetrial-2020


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Workaround] BLF caller preview with Asterisk and T4xG phones
Author Message
Patrick77 Offline
Junior Member
**

Posts: 8
Joined: May 2017
Reputation: 0
Post: #3
RE: [Workaround] BLF caller preview with Asterisk and T4xG phones
Hi,

attached the necessary AGI file and a screenshot of phone display.

I'm running this on Asterisk 13.13-cert3 with latest version of phpagi libs: http://phpagi.sourceforge.net/
In these libs the config file has to be edited to your needs.

Process is to click BLF key on phone while the monitored extension is ringing.
A call goes out to Asterisk where the AGI script is called.
A XML message is sent to the phone by the AGI script and the call will hang up.
On the phone you can see the caller information and pick the call.

My dialplan:
Quote:exten => _*8XXX,1,Set(VIATMP=${CUT(SIP_HEADER(VIA), ,2)})
exten => _*8XXX,n,Set(IPADDR=${CUT(VIATMP,:,1)})
exten => _*8XXX,n,AGI(pushBlfCid.php,${IPADDR},${EXTEN:2})
exten => _*8XXX,n,Answer()
exten => _*8XXX,n,Hangup(16)
exten => _*88XXX,1,Pickup(${EXTEN:3}@PICKUPMARK)
exten => _*88XXX,2,Hangup(16)

Hope this will help.

AGI of course could be edited to fit needs of other phones.
Code is surely improveable Wink


Attached File(s) Thumbnail(s)
   

.php  pushBlfCid.php (Size: 2.88 KB / Downloads: 8)
(This post was last modified: 06-20-2017 06:31 AM by Patrick77.)
06-20-2017 06:27 AM
Find all posts by this user    like1    dislike0 Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [Workaround] BLF caller preview with Asterisk and T4xG phones - Patrick77 - 06-20-2017 06:27 AM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  List of service providers for YeaLink phones jaseinatl 1 210 03-30-2021 05:16 AM
Last Post: guru@ezeetel.com
  Audio problems on phones (t23g i t42s) bob_1921 2 1,115 12-02-2020 04:46 AM
Last Post: bob_1921
  Adding RTSP doorbell to Yealink phones borisa@mongotel.com 1 1,241 11-12-2020 01:44 AM
Last Post: Ryaan2
  BLF State Indicator "off" and Asterisk 16 terraformer 1 787 09-22-2020 10:26 AM
Last Post: terraformer
  Phones Web UI Not Working after Firmware Update Rockses 2 3,622 05-26-2020 02:44 PM
Last Post: Lewis-H
  Problem with phones certificate proof 3 3,062 05-26-2020 02:36 PM
Last Post: Lewis-H
  Yealink SfB phones and Algo ringer and door phone jon.baldwin@essity.com 0 1,483 05-01-2020 12:51 PM
Last Post: jon.baldwin@essity.com
  Unable to see Caller ID when listening to voicemails? T48S kogarahchiro 2 2,124 01-28-2020 06:08 AM
Last Post: Tyso9n
  cant see voicemail caller ID deutschnaftyula 2 4,161 01-15-2020 12:29 AM
Last Post: kogarahchiro
  8x8 Yealink Phones stratos 1 2,155 11-15-2019 06:26 AM
Last Post: Ekko_yealink

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication