On Wed, Sep 10, 2008 at 8:28 PM, Pedro Gon?alves <pedro.pandre at gmail.com>wrote: > Hi again! > > With your help, I solved the other problems I was talking about. > However, I am now experiencing some problems when the answerer is > sending the initial answer. > Can you provide a similar description of the steps to perform, like in > your answer above? > At the moment I am doing the following: > pjsip_tx_data *tdata; > status = pjsip_inv_answer(SIPEngine::instance->g_inv, 200, NULL, NULL, > &tdata); > const pjmedia_sdp_session *remote_sdp; > status = pjmedia_sdp_neg_get_active_remote(inv->neg, &remote_sdp); > [steps similar to the ones you mentioned above] > status = pjsip_inv_send_msg(inv, tdata); > status = pjmedia_transport_media_start(my_transport, my_pool, local_sdp, > remote_sdp, 0); > > Note: the local_sdp is obtained in a similar way to the one you described > > Is this correct? > > Didn't we discussed this before? The principle is the same as I've described, and for the rest have a look at PJSUA-LIB. -benny -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080911/c18bb0fd/attachment.html