After successfully compiling pjsip with VAS , I changed the code symbian_ua_init() function in symbian_ua.cpp file like this

pj_str_t codec_id = pj_str("g729/8000");
pjmedia_codec_mgr_set_codec_priority(
pjmedia_endpt_get_codec_mgr(pjsua_var.med_endpt),
&codec_id, PJMEDIA_CODEC_PRIO_NORMAL+1);

the other important places for enabling g729 that I looked around was in the config_site_sample.h
where I enable the following flag
PJMEDIA_HAS_PASSTHROUGH_CODEC_G729

But unfortunately when I make the call and I see in the invite packet that the codec passed is not 9729 , it still sends g711 and other codecs but not the g729 codec,

Can anyone please tell me what else I have to do to enable g729 codec in pjsip symbian code.

Regards
Javed Ahmed