[Freeswitch-users] issue with Ring Groups playing a message to B-Leg only
kaleem rehman
k4kaleem at gmail.com
Sat May 4 14:24:18 UTC 2019
Hi All,
i have an incoming SIP number, i want callee to hear a message on pick up
to tell them what line call is on.
on the incoming call if i bridge it to extension directly i can achieve
this successfully, method i used is as below;
<action application="set" data="group_confirm_file=lua streamfile.lua
16mit-pcm-signed.wav"/>
<action application="set" data="group_confirm_key=exec"/>
then i use transfer method
<action application="transfer" data="2000 XML test.com"/>
where 2000 is extension number
when i change 2000 to 1000 which is RING GROUP and ring group rings ext
2000 i dont hear the message.
i have added these two line to ring group as well (xml below for ring
group) but i do not hear the audio.
<extension name="ring group" continue=""
uuid="5b0eaa67-d282-4299-8cc7-e696e3599b24">
<condition field="destination_number" expression="^1000$">
<action application="ring_ready" data=""/>
<action application="set"
data="ring_group_uuid=27cd2bf7-0f1e-4546-938e-536afd1a34c8"/>
<action application="set" data="group_confirm_file=lua streamfile.lua
16mit-pcm-signed.wav"/>
<action application="set" data="group_confirm_key=exec"/>
<action application="lua" data="app.lua ring_groups"/>
</condition>
</extension>
regards,
Kaleem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190504/7d9a89c1/attachment.html>
More information about the FreeSWITCH-users
mailing list