-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Amith Nambiar wrote: > Hi all, > > I had sent the below question 3 days ago, i was wondering whether i > sent the question to the right list/ is this off topic here ? Please let me > know. If someone could reply it would be great. > Sometimes people are busy and it takes several days to get answer, sometimes you will receive answer in few minutes. > best, > Amith > > I'm new to using SipXtapi. i was trying to send a PUBLISH out using > the SipXtapi stack. I looked at the api docs, but couldn't figure out the > right one. I tried using SIPXTAPI_API SIPX_RESULT sipxPublisherCreate() . > But i think it is for accepting SUBSCRIBE requests and generating NOTIFY's > to them. Could someone point me to how i could send a PUBLISH from a user > agent ? > Do you mean the sipxtacklib? SipXtapi can't send PUBLISH messages or receive them. You can only subscribe for NOTIFY. sipxPublisherCreate is used for creating a context for receiving SUBSCRIBE and sending NOTIFY. Have a look at sipxtacklib. In SipMessage.h there is SIP_PUBLISH_METHOD "PUBLISH" Also have a look at SipMessage::setPublishData So you will have to use sipxtacklib directly, create a SipMessage, call setPublishData, setResponseListenerQueue and SipUserAgent::send. Also have a look at SipPimClient, it sends a MESSAGE. There is also SipPublishServer. Jaroslav Libak -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGGNdwTzSnIPmBbH8RAjErAJ9Gm1rmhPtmWebLXuthbyGtrG5fbACggYW5 IUXYBJAEN+H7LOsngIta+9U= =TuKu -----END PGP SIGNATURE----- _______________________________________________ sipxtapi-dev mailing list sipxtapi-dev@list.sipfoundry.org List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/