>

Is there a way to use sipXtapi to send SIMPLE "MESSAGE" primitive?


Hello,

there is a class SipPimClient in sipXtack which could be used for this purpose, however be warned that in some scenarios it won't work properly. The main problem is that many SIP proxies will ask for authorization before sending a MESSAGE. In such case SipPimClient will (incorrectly) return failure. Other deficiency is the blocking nature of sendPagerMessage() function. If for any purpose you don't get the answer for your MESSAGE request, the function will block infinitely. Another problem is that you can't set the "user data" for the callback used for receiving incoming messages, which forces you to use global variables. However, it's not very hard to write some workarounds for most of these problems.


Best Regards,

Andrzej Ciarkowski



_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to