New Forum system requires email address which you used to apply for your account to replace your original username. Password stays the same.Please see this post for more details
http://forum.yealink.com/forum/showthread.php?tid=40344


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

Posts: 1
Joined: Oct 2017
Reputation: 0
Post: #5
RE: [Workaround] BLF caller preview with Asterisk and T4xG phones
(06-20-2017 06:27 AM)Patrick77 Wrote:  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

Nice job! We are trying to resolve the same problem on 4xG/4xS phones with PJSIP and still not successful. We got all VIATMP and IPADDR from PJSIP header but get immediate hangup and do not see the caller ID on BLF
11-01-2017 08:22 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [Workaround] BLF caller preview with Asterisk and T4xG phones - Alexey1 - 11-01-2017 08:22 AM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Display Caller Name in list of multi active calls. IPBX 1 92 01-04-2018 07:45 AM
Last Post: Lucia_Yealink
  Please recommend sip phone, which can show caller photo maa 4 675 11-06-2017 10:01 AM
Last Post: Kiearan
  SIP-T27/29 phones (setting) SOFT KEYS (call park) Shawn 3 610 11-02-2017 03:49 PM
Last Post: Problemchild
  ActionURLs in Yealink IP phones LukaszPL 2 425 10-16-2017 11:05 AM
Last Post: Michelth
  Phones that support Contact Sync and Bluetooth Mobile Calls Asanka 5 762 09-28-2017 06:45 AM
Last Post: Daisy1
  Caller ID lost after Group Pickup 3CX 3CX_VERSION12 17 21,768 08-21-2017 12:04 PM
Last Post: johandezwaan
  cant see voicemail caller ID deutschnaftyula 1 498 07-13-2017 03:25 AM
Last Post: Lucia_Yealink
  Use case for Bluetooth enabled IP phones? bradpitt 11 2,577 04-12-2017 02:23 AM
Last Post: bradpitt
  integrate Salesforce CRM to Yealink phones mehdi.ett 1 915 04-06-2017 09:36 AM
Last Post: Klaus
  All phones light screen backlight when call is hung up. Bobcat19 6 2,550 03-28-2017 03:46 AM
Last Post: Jensen_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