[Freeswitch-users] Bridging a channel via Push Notifcation
Aditya Uppuluri
uppuluriaditya at gmail.com
Tue Oct 26 10:01:33 UTC 2021
Hello All,
Thank you so much for the amazing software. I am new to freeswitch and
trying understand how to do the following use case (mobiles):
1. Call is received from LinPhone to User-B
2. Freeswitch (esl code) checks if User-B is a registered user or not
3. If a registered user, forward the call
4. If not a registered user, then send a push notification to the user-B's
mobile.
5. Freeswitch parks the call from LinPhone user
6. User-B's mobile gets push notification and get's a call screen
7. User-B accepts the call (Actually, he will send an INVITE with the data
received in the payload)
8. Freeswitch receives the invite and should bridge the Linphone user with
User-B
I am able to perform all the operations except the last one (Bridging the
call). If I try to use `uuid_bridge`, it says at least one call must be
answered. (*Neither channel is answered, cannot bridge them*.
)
May I know how to bridge these two legs in freeswitch?
FYI: I have the following park-only dialplan and controlling everything
from esl
<extension name="fspark">
<condition field="destination_number" expression="^(.*)$">
<action application="set" data="bypass_media=true"/>
<action application="set" data="bypass_media_after_bridge=true"/>
<action application="park"/>
</condition>
</extension>
Thanks in advance
Regards,
Aditya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20211026/8dd0ed5f/attachment-0001.html>
More information about the FreeSWITCH-users
mailing list