Integrating mod_callcenter with mobile app
Hi all, thanks for taking the time to read this post. We are trying to integrate mod_callcenter with our mobile app. However, phone apps are put on pause when the phone is locked. This means that mod_callcenter will try the user agent, and find it is not registered, and immediately pass to the next agent. The correct way to get a mobile app to receive an inbound VoIP call is to send a push notification, and then the app will re-register, and the Freeswitch will need to dial the agent again. Ideally, mod_callcenter could send an event whenever it is trying an agent, which would allow us send a push notification if the agent dialled is on a mobile_app. mod_callcenter would also need to wait for the agent to reregister to send the call to that agent again. I have not found a way to do this with mod_callcenter. Is there a way to do this? Or is this sort of functionality ousourced to another server by placing something like kamailio between the FS server and the user? Thanks for the help, Alex
I’d recommend kamailio/OpenSIPS for this, many of us have done this but you’d need something like kamailio/OpenSIPS to achieve this. The gist is when a call needs to be sent to that user, you’d put that call “on hold” while sending the push to the called number. The app would get the push and register. When the called user registers then you’d deliver the call to the user. You’d need transaction, etc for this to work. I didn’t think this is feasible with FS. Maybe it is, but I’ve never heard of it Regards, David On Fri, 18 Oct 2019 at 20:22, Alejandro Recarey <ar@cyberfonica.com> wrote:
Hi all, thanks for taking the time to read this post.
We are trying to integrate mod_callcenter with our mobile app. However, phone apps are put on pause when the phone is locked. This means that mod_callcenter will try the user agent, and find it is not registered, and immediately pass to the next agent.
The correct way to get a mobile app to receive an inbound VoIP call is to send a push notification, and then the app will re-register, and the Freeswitch will need to dial the agent again.
Ideally, mod_callcenter could send an event whenever it is trying an agent, which would allow us send a push notification if the agent dialled is on a mobile_app. mod_callcenter would also need to wait for the agent to reregister to send the call to that agent again.
I have not found a way to do this with mod_callcenter. Is there a way to do this? Or is this sort of functionality ousourced to another server by placing something like kamailio between the FS server and the user?
Thanks for the help,
Alex
_________________________________________________________________________
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 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 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
-- Regards, David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
I have developed in the a past push server with FreeSWITCH (with lua scripts and events) and it's affordable, but as David says, you must take out the extension registry from the node where mod_callcenter runs for simplify the scenario. Best regards El sáb., 19 oct. 2019 a las 2:19, David Villasmil (<david.villasmil.work@gmail.com>) escribió:
I’d recommend kamailio/OpenSIPS for this, many of us have done this but you’d need something like kamailio/OpenSIPS to achieve this. The gist is when a call needs to be sent to that user, you’d put that call “on hold” while sending the push to the called number. The app would get the push and register.
When the called user registers then you’d deliver the call to the user. You’d need transaction, etc for this to work. I didn’t think this is feasible with FS. Maybe it is, but I’ve never heard of it
Regards,
David
On Fri, 18 Oct 2019 at 20:22, Alejandro Recarey <ar@cyberfonica.com> wrote:
Hi all, thanks for taking the time to read this post.
We are trying to integrate mod_callcenter with our mobile app. However, phone apps are put on pause when the phone is locked. This means that mod_callcenter will try the user agent, and find it is not registered, and immediately pass to the next agent.
The correct way to get a mobile app to receive an inbound VoIP call is to send a push notification, and then the app will re-register, and the Freeswitch will need to dial the agent again.
Ideally, mod_callcenter could send an event whenever it is trying an agent, which would allow us send a push notification if the agent dialled is on a mobile_app. mod_callcenter would also need to wait for the agent to reregister to send the call to that agent again.
I have not found a way to do this with mod_callcenter. Is there a way to do this? Or is this sort of functionality ousourced to another server by placing something like kamailio between the FS server and the user?
Thanks for the help,
Alex
_________________________________________________________________________
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 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 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
-- Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 _________________________________________________________________________
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 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 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
-- Jose Fco. Irles Durá
You can do it easily using Kamailio.Check this out : https://medium.com/@denys.pozniak/apple-push-notification-with-kamailio-eeca... On Sat, Oct 19, 2019 at 6:28 AM David Villasmil < david.villasmil.work@gmail.com> wrote:
I’d recommend kamailio/OpenSIPS for this, many of us have done this but you’d need something like kamailio/OpenSIPS to achieve this. The gist is when a call needs to be sent to that user, you’d put that call “on hold” while sending the push to the called number. The app would get the push and register.
When the called user registers then you’d deliver the call to the user. You’d need transaction, etc for this to work. I didn’t think this is feasible with FS. Maybe it is, but I’ve never heard of it
Regards,
David
On Fri, 18 Oct 2019 at 20:22, Alejandro Recarey <ar@cyberfonica.com> wrote:
Hi all, thanks for taking the time to read this post.
We are trying to integrate mod_callcenter with our mobile app. However, phone apps are put on pause when the phone is locked. This means that mod_callcenter will try the user agent, and find it is not registered, and immediately pass to the next agent.
The correct way to get a mobile app to receive an inbound VoIP call is to send a push notification, and then the app will re-register, and the Freeswitch will need to dial the agent again.
Ideally, mod_callcenter could send an event whenever it is trying an agent, which would allow us send a push notification if the agent dialled is on a mobile_app. mod_callcenter would also need to wait for the agent to reregister to send the call to that agent again.
I have not found a way to do this with mod_callcenter. Is there a way to do this? Or is this sort of functionality ousourced to another server by placing something like kamailio between the FS server and the user?
Thanks for the help,
Alex
_________________________________________________________________________
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 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 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
-- Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 _________________________________________________________________________
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 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 http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
-- Thanks, Sagar
participants (4)
-
Alejandro Recarey
-
David Villasmil
-
Jose Fco. Irles Durá
-
sagar malam