sdp data accessing problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi;
I didn't check why you got seg. fault but it is possible null pointer
problem..

you may try below API depends on your needs.

pjmedia_sdp_neg_get_active_remote(call->inv->neg, &remote_sdp);
pjmedia_sdp_neg_get_active_local(call->inv->neg, &local_sdp);


Regards
mg

On Wed, Apr 8, 2009 at 9:02 AM, vipula nandipati <alupiv at gmail.com> wrote:

> hi
>
> can i access the SDP data from Invite request in stateless_proxy ?
>
> when i was trying to print
>
> pjmedia_sdp_session *sdp = (pjmedia_pdp_session *)
> rdata->msg_info.msg->body->data;
> printf("%s",sdp->name);
>
> in stateless_proxy.c's on_rx_request method..
>
> it's giving segmentation fault.
>
>
> Thanks in advance
>
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090408/7d5384a6/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux