How to implement the playback employee ID

Source: Internet
Author: User
In the queue. set setinterfacevaryes in conf to enable the MEMBERINTERFACE variable. conf calls queue and calls an agi script (with the parameter, Queue (myqueue | t | 10 | agi: 192.168.35.3hello.agi) exten & amp; gt; _ X ., n, Queue (911 | tT | 60 | Predictivesayinterf... & quot; in queue. set setinterfacevar = yes in conf to enable the MEMBERINTERFACE variable;
Then an agi script is called when extension. conf calls queue.
(With parameters, Queue (myqueue | t | 10 | agi: // 192.168.35.3/hello. agi)
Exten => _ X., n, Queue (911 | tT | 60 | Predictive/sayinterface. agi)
In this way, you can use getVariable ("MEMBERINTERFACE") in agi to obtain the connected queue member name.

 Get_variable ("MEMBERINTERFACE"); $ member = $ temp ['data']; $ member = substr ($ member, 4); $ agi-> verbose ($ member ); $ agi-> say_digits ($ member);?>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.