Unable to tansmit voice on CALL

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

 



Hi,

I am trying to implement CALL functionality in my application which i have developed on Symbian S60 FP1 3rd edition. I am using Code Warrior as my IDE. First there are many link errors when i m compiling and linking PJSip Stack available on your site. There are many link errors in version 0.8 and also in SVN version.
When I m using version 0.7 its compliling and technically i am able to achieve CALL functiobnality that is I am getting all the required responses from server like user being registered, contact header, dialogue are created properly and i get 180 ringing and 200 ok as response from server but not able to transmit voice across. Please help me out. Few of the linking errors which i got while compiling version 0.8 are shown below:

tool exit status == 1
> Errors caused tool to abort.
>  
> Link Error   :  Undefined symbol: '_pjmedia_snd_stream_get_info'
>  referenced from '_create_sound_port' in conference.c:451
>  referenced from '_pjmedia_snd_port_set_ec' in sound_port.c:481
> Link Error   :  Undefined symbol: '_pjmedia_snd_get_dev_info'
>  referenced from '_create_sound_port' in conference.c:455
>  referenced from '_create_sound_port' in conference.c:457
> Link Error   :  Undefined symbol: '_speex_aec_cancel_echo'
>  referenced from '.data' in echo_common.o
> Link Error   :  Undefined symbol: '_speex_aec_capture'
>  referenced from '.data' in echo_common.o
> Link Error   :  Undefined symbol: '_speex_aec_playback'
>  referenced from '.data' in echo_common.o
> Link Error   :  Undefined symbol: '_speex_aec_destroy'
>  referenced from '.data' in echo_common.o
> Link Error   :  Undefined symbol: '_speex_aec_create'
>  referenced from '.data' in echo_common.o
> Link Error   :  Undefined symbol: '_pjmedia_snd_init'
>  referenced from '_pjmedia_endpt_create' in endpoint.c:122
> Link Error   :  Undefined symbol: '_pjmedia_snd_deinit'
>  referenced from '_pjmedia_endpt_create' in endpoint.c:172
>  referenced from '_pjmedia_endpt_destroy' in endpoint.c:213
> Link Error   :  Undefined symbol: '_Pa_GetErrorText'
> Link Error   :  referenced from '_pjmedia_strerror' in errno.c:168
> Link Error   :  Undefined symbol: '_res_GetXOFF'
>  referenced from '_pjmedia_resample_create' in resample_resample.c:89
> Link Error   :  Undefined symbol: '_res_Resample'
>  referenced from '_pjmedia_resample_run' in resample_resample.c:193
> Link Error   :  Undefined symbol: '_res_SrcLinear'
>  referenced from '_pjmedia_resample_run' in resample_resample.c:202
> Link Error   :  Undefined symbol: '_pjmedia_snd_open_rec'
>  referenced from '_start_sound_device' in sound_port.c:214
> Link Error   :  Undefined symbol: '_pjmedia_snd_open_player'
>  referenced from '_start_sound_device' in sound_port.c:224
> Link Error   :  Undefined symbol: '_pjmedia_snd_open'
>  referenced from '_start_sound_device' in sound_port.c:234
> Link Error   :  Undefined symbol: '_pjmedia_snd_stream_start'
>  referenced from '_start_sound_device' in sound_port.c:280
> Link Error   :  Undefined symbol: '_pjmedia_snd_stream_close'
>  referenced from '_start_sound_device' in sound_port.c:282
>  referenced from '_stop_sound_device' in sound_port.c:300
> Link Error   :  Undefined symbol: '_pjmedia_snd_stream_stop'
>  referenced from '_stop_sound_device' in sound_port.c:299
> Link Error   :  Undefined symbol: '_pj_log_max_level'
>  referenced from '_pj_ice_sess_create' in ice_session.c:319 (pjnath.lib)
>  referenced from 'void destroy_ice(struct pj_ice_sess *, int) 
> (?destroy_ice@@YAXPAUpj_ice_sess@@H at Z)' 
> <mailto:?destroy_ice@@YAXPAUpj_ice_sess@@H at Z)'> in ice_session.c:336 
> (pjnath.lib)
>  referenced from '_pj_ice_sess_change_role' in ice_session.c:385 
> (pjnath.lib)
>  referenced from '_pj_ice_sess_add_cand' in ice_session.c:578 (pjnath.lib)
>  referenced from 'void dump_checklist(char const *, struct pj_ice_sess 
> const *, struct pj_ice_sess_checklist const *) 
> (?dump_checklist@@YAXPBDPBUpj_ice_sess@@PBUpj_ice_sess_checklist@@@Z)' 
> <mailto:?dump_checklist@@YAXPBDPBUpj_ice_sess@@PBUpj_ice_sess_checklist@@@Z)'>
> in ice_session.c:759 (pjnath.lib)
>  referenced from 'void dump_checklist(char const *, struct pj_ice_sess 
> const *, struct pj_ice_sess_checklist const *) 
> (?dump_checklist@@YAXPBDPBUpj_ice_sess@@PBUpj_ice_sess_checklist@@@Z)' 
> <mailto:?dump_checklist@@YAXPBDPBUpj_ice_sess@@PBUpj_ice_sess_checklist@@@Z)'>
> in ice_session.c:762 (pjnath.lib)
>  referenced from 'void check_set_state(struct pj_ice_sess *, struct 
> pj_ice_sess_check *, enum pj_ice_sess_check_state, int) 
> (?check_set_state@@YAXPAUpj_ice_sess@@PAUpj_ice_sess_check@@W4pj_ice_sess_check_state@@H at Z)' 
> <mailto:?check_set_state@@YAXPAUpj_ice_sess@@PAUpj_ice_sess_check@@W4pj_ice_sess_check_state@@H at Z)'>
> in ice_session.c:781 (pjnath.lib)
>  referenced from 'void clist_set_state(struct pj_ice_sess *, struct 
> pj_ice_sess_checklist *, enum pj_ice_sess_checklist_state)
> (?clist_set_state@@YAXPAUpj_ice_sess@@PAUpj_ice_sess_checklist@@W4pj_ice_sess_checklist_state@@@Z)' 
> <mailto:?clist_set_state@@YAXPAUpj_ice_sess@@PAUpj_ice_sess_checklist@@W4pj_ice_sess_checklist_state@@@Z)'> 
> in ice_session.c:793 (pjnath.lib)
>  ...
> Link Error   :  Undefined symbol: '_PJ_SOCK_DGRAM'
>  referenced from 'int create_component(struct pj_ice_strans *, unsigned 
> int, unsigned int, struct pj_sockaddr_in const *, struct
> pj_ice_strans_comp * *) 
> (?create_component@@YAHPAUpj_ice_strans@@IIPBUpj_sockaddr_in@@PAPAUpj_ice_strans_comp@@@Z)' 
> <mailto:?create_component@@YAHPAUpj_ice_strans@@IIPBUpj_sockaddr_in@@PAPAUpj_ice_strans_comp@@@Z)'> 
> in ice_strans.c:288
> (pjnath.lib)
> Link Error   :  Undefined symbol: '_PJ_AF_INET'
>  referenced from 'char const * dump_check(char *, unsigned int, struct 
> pj_ice_sess_checklist const *, struct pj_ice_sess_check
> const *) 
> (?dump_check@@YAPBDPADIPBUpj_ice_sess_checklist@@PBUpj_ice_sess_check@@@Z)' 
> <mailto:?dump_check@@YAPBDPADIPBUpj_ice_sess_checklist@@PBUpj_ice_sess_check@@@Z)'> 
> in ice_session.c:731 (pjnath.lib)
>  referenced from 'int sockaddr_cmp(union pj_sockaddr const *, union 
> pj_sockaddr const *) (?sockaddr_cmp@@YAHPBTpj_sockaddr@@0 at Z)' 
> <mailto:?sockaddr_cmp@@YAHPBTpj_sockaddr@@0 at Z)'>
> in ice_session.c:839 (pjnath.lib)
>  referenced from 'int create_component(struct pj_ice_strans *, unsigned 
> int, unsigned int, struct pj_sockaddr_in const *, struct
> pj_ice_strans_comp * *) 
> (?create_component@@YAHPAUpj_ice_strans@@IIPBUpj_sockaddr_in@@PAPAUpj_ice_strans_comp@@@Z)' 
> <mailto:?create_component@@YAHPAUpj_ice_strans@@IIPBUpj_sockaddr_in@@PAPAUpj_ice_strans_comp@@@Z)'> 
> in ice_strans.c:288
> (pjnath.lib)
>  referenced from 'int encode_sockaddr_attr(void const *, unsigned char 
> *, unsigned int, unsigned int *) 
> (?encode_sockaddr_attr@@YAHPBXPAEIPAI at Z)' 
> <mailto:?encode_sockaddr_attr@@YAHPBXPAEIPAI at Z)'>
> in stun_msg.c:772 (pjnath.lib)
>  referenced from 'int encode_sockaddr_attr(void const *, unsigned char 
> *, unsigned int, unsigned int *) 
> (?encode_sockaddr_attr@@YAHPBXPAEIPAI at Z)' 
> <mailto:?encode_sockaddr_attr@@YAHPBXPAEIPAI at Z)'>
> in stun_msg.c:772 (pjnath.lib)
>  referenced from 'int print_attr(char *, unsigned int, struct 
> pj_stun_attr_hdr const *) (?print_attr@@YAHPADIPBUpj_stun_attr_hdr@@@Z)' 
> <mailto:?print_attr@@YAHPADIPBUpj_stun_attr_hdr@@@Z)'>
> in stun_msg_dump.c:86 (pjnath.lib)
>  referenced from 'void dump_tx_msg(struct pj_stun_session *, struct 
> pj_stun_msg const *, unsigned int, void const *) 
> (?dump_tx_msg@@YAXPAUpj_stun_session@@PBUpj_stun_msg@@IPBX at Z)' 
> <mailto:?dump_tx_msg@@YAXPAUpj_stun_session@@PBUpj_stun_msg@@IPBX at Z)'>
> in stun_session.c:564 (pjnath.lib)
> Link Error   :  Undefined symbol: '_PJ_AF_INET6'
>  referenced from 'int sockaddr_cmp(union pj_sockaddr const *, union 
> pj_sockaddr const *) (?sockaddr_cmp@@YAHPBTpj_sockaddr@@0 at Z)' 
> <mailto:?sockaddr_cmp@@YAHPBTpj_sockaddr@@0 at Z)'>
> in ice_session.c:842 (pjnath.lib)
>  referenced from 'int print_attr(char *, unsigned int, struct 
> pj_stun_attr_hdr const *) (?print_attr@@YAHPADIPBUpj_stun_attr_hdr@@@Z)' 
> <mailto:?print_attr@@YAHPADIPBUpj_stun_attr_hdr@@@Z)'>
> in stun_msg_dump.c:92 (pjnath.lib)
>  referenced from 'void dump_tx_msg(struct pj_stun_session *, struct 
> pj_stun_msg const *, unsigned int, void const *) 
> (?dump_tx_msg@@YAXPAUpj_stun_session@@PBUpj_stun_msg@@IPBX at Z)' 
> <mailto:?dump_tx_msg@@YAXPAUpj_stun_session@@PBUpj_stun_msg@@IPBX at Z)'>
> in stun_session.c:567 (pjnath.lib)
> Could Not Find 
> C:\SymbianProjects\INFYSMARTTALK\pjproject\build.symbian\pjmedia_Data\WINSCW_UDEB\pjmedia.dll
>  
> tool exit status == 1
> Errors caused tool to abort.
>  
>  
> #   Specified file 
> 'C:\SymbianProjects\INFYSMARTTALK\pjproject\build.symbian\pjmedia_Data\WINSCW_UDEB\pjmedia.lib' 
> not found
>  
> tool exit status == 2
> Link Error   : MAKEDEF ERROR: 
> C:\SymbianProjects\INFYSMARTTALK\pjproject\build.symbian\pjmedia_Data\WINSCW_UDEB\pjmedia.inf: 
> Inffile not found
>  
> Could Not Find 
> C:\SymbianProjects\INFYSMARTTALK\pjproject\build.symbian\pjmedia_Data\WINSCW_UDEB\pjmedia.inf
>  
> Could Not Find 
> C:\SymbianProjects\INFYSMARTTALK\pjproject\build.symbian\pjmedia_Data\WINSCW_UDEB\pjmedia.lib
>  
> tool exit status == 1
> Errors caused tool to abort.
>  
> Link Error   :  Undefined symbol: '_speex_aec_cancel_echo'
>  referenced from '.data' in echo_common.o
> Link Error   :  Undefined symbol: '_speex_aec_capture'
>  referenced from '.data' in echo_common.o
> Link Error   :  Undefined symbol: '_speex_aec_playback'
>  referenced from '.data' in echo_common.o
> Link Error   :  Undefined symbol: '_speex_aec_destroy'
>  referenced from '.data' in echo_common.o
> Link Error   :  Undefined symbol: '_speex_aec_create'
>  referenced from '.data' in echo_common.o
> Link Error   :  Undefined symbol: '_pj_log_max_level'
>  referenced from 'void destroy_ice(struct pj_ice_sess *, int) 
> (?destroy_ice@@YAXPAUpj_ice_sess@@H at Z)' 
> <mailto:?destroy_ice@@YAXPAUpj_ice_sess@@H at Z)'> in ice_session.c:336 
> (pjnath.lib)
>  referenced from 'void destroy_ice_st(struct pj_ice_strans *, int) 
> (?destroy_ice_st@@YAXPAUpj_ice_strans@@H at Z)' 
> <mailto:?destroy_ice_st@@YAXPAUpj_ice_strans@@H at Z)'> in ice_strans.c:127
> (pjnath.lib)
>  referenced from 'void destroy_ice_st(struct pj_ice_strans *, int) 
> (?destroy_ice_st@@YAXPAUpj_ice_strans@@H at Z)' 
> <mailto:?destroy_ice_st@@YAXPAUpj_ice_strans@@H at Z)'> in ice_strans.c:152
> (pjnath.lib)
>  referenced from '_pj_stun_client_tsx_destroy' in stun_transaction.c:139 
> (pjnath.lib)
> Link Error   :  Undefined symbol: '_PJ_AF_INET'
>  referenced from 'int encode_sockaddr_attr(void const *, unsigned char 
> *, unsigned int, unsigned int *) 
> (?encode_sockaddr_attr@@YAHPBXPAEIPAI at Z)' 
> <mailto:?encode_sockaddr_attr@@YAHPBXPAEIPAI at Z)'>
> in stun_msg.c:772 (pjnath.lib)
>  referenced from 'int encode_sockaddr_attr(void const *, unsigned char 
> *, unsigned int, unsigned int *) 
> (?encode_sockaddr_attr@@YAHPBXPAEIPAI at Z)' 
> <mailto:?encode_sockaddr_attr@@YAHPBXPAEIPAI at Z)'>
> in stun_msg.c:772 (pjnath.lib)


      Why delete messages? Unlimited storage is just a click away. Go to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20071119/562786ce/attachment-0001.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