message notification
Hi, could anyone please give me a hint on how can i get a notification (or any way to find out) if a sip simple message was delivered to destination when send from a module ? (something like DLR in smpp if anything like it exists in FS so i know what happened to the message) i m currently using functions 'switch_core_chat_send' and 'switch_core_chat_deliver' to relay messages to UA's but i have not been able to find a way to find out or to get notified if a message was successfully delivered to destination or not. thank you!!
Hi Guys, any suggestion for this ? thank you!!! From: jpablolorenzetti@hotmail.com To: freeswitch-users@lists.freeswitch.org Date: Wed, 21 Oct 2015 20:46:30 +0000 Subject: [Freeswitch-users] message notification Hi, could anyone please give me a hint on how can i get a notification (or any way to find out) if a sip simple message was delivered to destination when send from a module ? (something like DLR in smpp if anything like it exists in FS so i know what happened to the message) i m currently using functions 'switch_core_chat_send' and 'switch_core_chat_deliver' to relay messages to UA's but i have not been able to find a way to find out or to get notified if a message was successfully delivered to destination or not. thank you!! _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.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 http://www.freeswitch.org
I know a guy who integrates FreeSWITCH with Telegram API. I think this would be a more reliable way of sending notifications. On 24 Oct 2015 06:23, "Juan Pablo L." <jpablolorenzetti@hotmail.com> wrote:
Hi Guys, any suggestion for this ? thank you!!!
------------------------------ From: jpablolorenzetti@hotmail.com To: freeswitch-users@lists.freeswitch.org Date: Wed, 21 Oct 2015 20:46:30 +0000 Subject: [Freeswitch-users] message notification
Hi, could anyone please give me a hint on how can i get a notification (or any way to find out) if a sip simple message was delivered to destination when send from a module ? (something like DLR in smpp if anything like it exists in FS so i know what happened to the message)
i m currently using functions 'switch_core_chat_send' and 'switch_core_chat_deliver' to relay messages to UA's but i have not been able to find a way to find out or to get notified if a message was successfully delivered to destination or not. thank you!!
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.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 http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.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 http://www.freeswitch.org
I know a guy who integrates FreeSWITCH with Telegram API. I think this would be a more reliable way of sending notifications.
No offence, but why would you rely on third parties for that, instead of implementing XMPP / Jabber on your own infrastructure and desired clients (desktop, mobile phones, or whatever platform ...)? And BTW, Telegram has many issues: http://www.cryptofails.com/post/70546720222/telegrams-cryptanalysis-contest -- EL
As far as I know, xmpp does not guarantee the receipt at the client side. Telegram does. On 24 Oct 2015 11:31, "EL" <fs.user@fordior.net> wrote:
I know a guy who integrates FreeSWITCH with Telegram API. I think this would be a more reliable way of sending notifications.
No offence, but why would you rely on third parties for that, instead of implementing XMPP / Jabber on your own infrastructure and desired clients (desktop, mobile phones, or whatever platform ...)?
And BTW, Telegram has many issues: http://www.cryptofails.com/post/70546720222/telegrams-cryptanalysis-contest
-- EL
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.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 http://www.freeswitch.org
As far as I know, xmpp does not guarantee the receipt at the client side. Telegram does.
As far as I know (from my own experience while I'm running my own xmpp/jabber server) as soon as the message has been sent to the xmpp server, it stays in the queue until one of the clients gets online and then message will be delivered. When the client can't establish a connection to the server, the message stays in the queue of the client, until it succeed with the connection to the server (this is also the case when you want to deliver the message encrypted with OTR, but the other client isn't online at the moment; both clients need to be online for end-to-end encryption with OTR). Obviously, when the clients are online, the messages are delivered immediately. But, maybe someone can share more in dept knowledge about this specific situation? Some parts are also dependent on the specific functions (modules/extension) implemented on the clients and server side. See for example: https://xmpp.org/xmpp-protocols/xmpp-extensions/ -- EL
Thank you very much for the suggestions .. so should I take that using plain sip I have no way to get a notification or event or something when the message is delivered to destination ? Sent by Outlook for Android On Sat, Oct 24, 2015 at 4:25 AM -0700, "EL" <fs.user@fordior.net> wrote:
As far as I know, xmpp does not guarantee the receipt at the client side. Telegram does.
As far as I know (from my own experience while I'm running my own xmpp/jabber server) as soon as the message has been sent to the xmpp server, it stays in the queue until one of the clients gets online and then message will be delivered. When the client can't establish a connection to the server, the message stays in the queue of the client, until it succeed with the connection to the server (this is also the case when you want to deliver the message encrypted with OTR, but the other client isn't online at the moment; both clients need to be online for end-to-end encryption with OTR). Obviously, when the clients are online, the messages are delivered immediately. But, maybe someone can share more in dept knowledge about this specific situation? Some parts are also dependent on the specific functions (modules/extension) implemented on the clients and server side. See for example: https://xmpp.org/xmpp-protocols/xmpp-extensions/ -- EL _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.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 http://www.freeswitch.org
participants (4)
-
EL
-
jpablolorenzetti@hotmail.com
-
Juan Pablo L.
-
Stanislav Sinyagin