PJSUA: autoplay wav file on make call

SU
Suraj Unde
Thu, Oct 12, 2017 9:25 AM

hi all,
i am doing some test using pjsua api.
purpoes of my test is:
At make Call side:
1 :  make call
2 :  play wave file on make call
3 :  hangup the call
At receive call side:
1 :  Receive incoming call
2 :  play wave file on make call
3 :  hangup the call
I can hear the file at make call side endpoint but cant at receiver side
endpoint.
my commands are,
At MAKE_CALL : sudo pjsua --registrar=sip:ip_addr --id=sip:user_name@ip_addr
sip%3A100@192.168.0.3 --realm=*  --username=user --password=pswd
--add-buddy sip:user_name@ip_addr sip%3A150@192.168.0.3
--local-port=port_no --app-log-level=3  --playback-dev=0
--play-file='freak.wav'--auto-loop --auto-play

At RECEIVE_CALL : pjsua --registrar=sip:ip_addr --id=sip:user_name@ip_addr
sip%3A150@192.168.0.3 --realm=*  --username=user --password=pswd
--local-port=port_no --app-log-level=3 --play-file='freak.wav'
--auto-play  --playback-dev=0
anyone having solution ?
my main problem is i cant play the .wav file on make call. is there any
option to do so?
Thanks in advance.

--

--


This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error, please notify the sender and
destroy all copies.

hi all, i am doing some test using pjsua api. purpoes of my test is: At make Call side: 1 : make call 2 : play wave file on make call 3 : hangup the call At receive call side: 1 : Receive incoming call 2 : play wave file on make call 3 : hangup the call I can hear the file at make call side endpoint but cant at receiver side endpoint. my commands are, At MAKE_CALL : sudo pjsua --registrar=sip:ip_addr --id=sip:user_name@ip_addr <sip%3A100@192.168.0.3> --realm=* --username=user --password=pswd --add-buddy sip:user_name@ip_addr <sip%3A150@192.168.0.3> --local-port=port_no --app-log-level=3 --playback-dev=0 --play-file='freak.wav'--auto-loop --auto-play At RECEIVE_CALL : pjsua --registrar=sip:ip_addr --id=sip:user_name@ip_addr <sip%3A150@192.168.0.3> --realm=* --username=user --password=pswd --local-port=port_no --app-log-level=3 --play-file='freak.wav' --auto-play --playback-dev=0 anyone having solution ? my main problem is i cant play the .wav file on make call. is there any option to do so? Thanks in advance. -- -- ------------------------------ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify the sender and destroy all copies. ------------------------------