PJSUA: autoplay wav file on make call

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

 



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 --realm=*  --username=user --password=pswd --add-buddy sip:user_name@ip_addr --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 --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.


_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[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