Play was file to leg B before connecting to caller

Status
Not open for further replies.

GirishDharmaraj

New Member
Aug 1, 2021
15
0
1
44
Experts,

I am looking at a way to play a wav file to Called party (Leg B) before bridging the call to Leg A. Once the called party confirms with a DTMF say "1" I will proceed to bridge the call.
I tried using "group_confirm_key" and group_confirm_file.

Most of the part works fine when the call is answered and B leg keys in 1 the two way conversation is established. But when the Leg B answers the call and hangs up, for some reason Freeswitch is not sending the BYE to the leg A.

I also tried to play with "fail_on_single_reject" , but no avail. Is there a way to handle this or probably use another better way to achieve the requirement.
 
Status
Not open for further replies.