i use this funtion to print message

int msg_size = 0;
        su_home_t*  home;
        msg_t* msg = nua_current_request(nua);
        if (msg) {
            char * msg_str = msg_as_string(home, msg, NULL, 0, &msg_size);
            printf ("SIP message:\n"
                    "%s\n", msg_str);
        }


but i want to print only message body

so haw can i do


thank you
                                          
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to