PJSUA: autoplay wav file on make call

SU
Suraj Unde
Wed, Oct 11, 2017 11:12 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.
my commands is,
At MAKE_CALL : sudo pjsua --registrar=sip:192.168.0.3 --id=
sip:100@192.168.0.3 --realm=*  --username=100 --password=100 --add-buddy
sip:150@192.168.0.3 --local-port=2111 --app-log-level=3  --playback-dev=0
--play-file='/home/alethea/freak.wav'--auto-loop --auto-play
At RECEIVE_CALL : pjsua --registrar=sip:192.168.0.3 --id=sip:150@192.168.0.3
--realm=*  --username=150 --password=150 --local-port=2111
--app-log-level=3 --play-file='/home/alethea/freak.wav'  --auto-play
--playback-dev=0
anyone having solution

--

--


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. my commands is, At MAKE_CALL : sudo pjsua --registrar=sip:192.168.0.3 --id= sip:100@192.168.0.3 --realm=* --username=100 --password=100 --add-buddy sip:150@192.168.0.3 --local-port=2111 --app-log-level=3 --playback-dev=0 --play-file='/home/alethea/freak.wav'--auto-loop --auto-play At RECEIVE_CALL : pjsua --registrar=sip:192.168.0.3 --id=sip:150@192.168.0.3 --realm=* --username=150 --password=150 --local-port=2111 --app-log-level=3 --play-file='/home/alethea/freak.wav' --auto-play --playback-dev=0 anyone having solution -- -- ------------------------------ 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. ------------------------------