Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Bridging a channel via Push Notifcation


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
uppuluriaditya at gmai...
Guest





PostPosted: Wed Oct 27, 2021 12:43 pm    Post subject: [Freeswitch-users] Bridging a channel via Push Notifcation Reply with quote

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
Back to top
uppuluriaditya at gmai...
Guest





PostPosted: Wed Oct 27, 2021 12:59 pm    Post subject: [Freeswitch-users] Bridging a channel via Push Notifcation Reply with quote

Hello Team,Does anyone know how to do this? 


Thank you in advance


Regards,Aditya







On Tue, Oct 26, 2021 at 3:31 PM Aditya Uppuluri <uppuluriaditya@gmail.com (uppuluriaditya@gmail.com)> wrote:

Quote:
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





Back to top
jurijs.ivolga at gmail...
Guest





PostPosted: Wed Oct 27, 2021 2:16 pm    Post subject: [Freeswitch-users] Bridging a channel via Push Notifcation Reply with quote

Hi,


Before bridging, maybe try to answer a call from User-B?


So point 8 will be to answer a call from User-B and on point 9 please try to bridge calls.



Jurijs







On Wed, Oct 27, 2021 at 9:25 PM Aditya Uppuluri <uppuluriaditya@gmail.com (uppuluriaditya@gmail.com)> wrote:

Quote:
Hello Team,Does anyone know how to do this? 


Thank you in advance


Regards,Aditya







On Tue, Oct 26, 2021 at 3:31 PM Aditya Uppuluri <uppuluriaditya@gmail.com (uppuluriaditya@gmail.com)> wrote:

Quote:
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






_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com (sales@freeswitch.com)
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
Back to top
uppuluriaditya at gmai...
Guest





PostPosted: Thu Oct 28, 2021 11:19 am    Post subject: [Freeswitch-users] Bridging a channel via Push Notifcation Reply with quote

Hello Team,I could possibly answer the channel but I don't want the freeswitch to be in the media path. Answering a channel from freeswitch, makes the freeswitch in the middle of the media path doesn't it?


My Setup looks like this: kamailio(sbc) === Freeswitch (bypass media) === Customer's VOIP (freeswitch/asterisk). 


So, Customer's VOIP network will anchor the media but not us.


Is there a way I could make the uuid_bridge or simple bridge work without media for a non-registered user?


Thanks in advance




Regards,Aditya Uppuluri







On Wed, Oct 27, 2021 at 9:49 PM Aditya Uppuluri <uppuluriaditya@gmail.com (uppuluriaditya@gmail.com)> wrote:

Quote:
Hello Team,Does anyone know how to do this? 


Thank you in advance


Regards,Aditya







On Tue, Oct 26, 2021 at 3:31 PM Aditya Uppuluri <uppuluriaditya@gmail.com (uppuluriaditya@gmail.com)> wrote:

Quote:
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






Back to top
jurijs.ivolga at gmail...
Guest





PostPosted: Fri Oct 29, 2021 7:22 am    Post subject: [Freeswitch-users] Bridging a channel via Push Notifcation Reply with quote

Hi,


Then why do you need freeswitch on your setup, if you don't want to handle media? Just use a single Kamailio and that is it. Check out the tsilo module in Kamailio, I think it will help you with your flow.


Additionally, I don't really get why you send out invite from Device-B. In most cases you will need to wait for registration from device-B and then send invite to it.



Jurijs







On Thu, Oct 28, 2021 at 6:45 PM Aditya Uppuluri <uppuluriaditya@gmail.com (uppuluriaditya@gmail.com)> wrote:

Quote:
Hello Team,I could possibly answer the channel but I don't want the freeswitch to be in the media path. Answering a channel from freeswitch, makes the freeswitch in the middle of the media path doesn't it?


My Setup looks like this: kamailio(sbc) === Freeswitch (bypass media) === Customer's VOIP (freeswitch/asterisk). 


So, Customer's VOIP network will anchor the media but not us.


Is there a way I could make the uuid_bridge or simple bridge work without media for a non-registered user?


Thanks in advance




Regards,Aditya Uppuluri







On Wed, Oct 27, 2021 at 9:49 PM Aditya Uppuluri <uppuluriaditya@gmail.com (uppuluriaditya@gmail.com)> wrote:

Quote:
Hello Team,Does anyone know how to do this? 


Thank you in advance


Regards,Aditya







On Tue, Oct 26, 2021 at 3:31 PM Aditya Uppuluri <uppuluriaditya@gmail.com (uppuluriaditya@gmail.com)> wrote:

Quote:
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







_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com (sales@freeswitch.com)
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (FreeSWITCH-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services