[reSIProcate] [resiprocate/resiprocate] send/receive text message mechanism through MESSAGE message (#53)

Mateus Augusto Bellomo Agrello Ruivo notifications at github.com
Tue Aug 9 13:21:43 CDT 2016


> @@ -483,6 +486,18 @@ public:
>     virtual void onDtmfEvent(ParticipantHandle partHandle, int dtmf, int duration, bool up) = 0;
>  
>     ///////////////////////////////////////////////////////////////////////
> +   // Pager Message Handlers /////////////////////////////////////////////
> +   ///////////////////////////////////////////////////////////////////////
> +
> +   virtual void onMessageArrived(resip::ServerPagerMessageHandle handle, const resip::SipMessage& message) = 0;

The method onMessageArrived() is called at [1] using the ServerPagerMessageHandler that was set at resip/recon/UserAgent.cxx:

mDum.setServerPagerMessageHandler(mConversationManager);

The method onMessage() is coming from InviteSessionHandler that ConversationManager derived from. Do you think I could use this same method for incoming text messages?

[1] https://github.com/resiprocate/resiprocate/blob/master/resip/dum/ServerPagerMessage.cxx#L86

---
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/resiprocate/resiprocate/pull/53/files/9e3b4ac1410cb4a880dfbe7a68727478b961d5c0#r74115617
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20160809/391f201d/attachment.htm>


More information about the resiprocate-devel mailing list