[pjsip] PJSUA: Issue playing audio back to a new call
sipboy01 at gmail.com
Wed Oct 14 08:07:56 EDT 2015
Apologies if I'm posting this on a wrong forum as I'm new to this
I'm trying to achieve following with PJSUA application.
(1)Register with remote SIP server.
(2)Receive incoming calls from that server and auto answer.
(3)Play an audio file
I could achieve it with following config file
--id=sip:myaccount at XX.XX.XX.XX
However I noticed that
(1)if Server terminates the call and sends a new call, PJSUA doesn't start
playing audio from start. It looks like it connects to a bridge where audio
is already being played
(2)When PJSUA finishes playing my audio file, it doesn't terminate the call
but re-play audio file untill duration(duration=52) is reached.
Can someone please guide me to overcome above 2 issues?
Are there any config options which I'm missing?
Thanking you in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pjsip