[pjsip] PJSUA: Issue playing audio back to a new call
sipboy01 at gmail.com
Wed Oct 14 09:53:00 EDT 2015
I found one option '*auto-play-hangup*' in pjsua_app_config.c which was not
documented on http://www.pjsip.org/pjsua.htm or with ./pjsua --help.
Adding this option in my config file served the purpose.
On Wed, Oct 14, 2015 at 1:07 PM, Satish Barot <sipboy01 at gmail.com> wrote:
> Hi Group,
> 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