I would like to connect two phone numbers in that flow:
Person_1 is answering the call. a voice message played and ask him if he willing to enter the conference call. only if Person_1 accepting the conference call will be initiated:
This is what I am trying to do:
Intro.chtml:
<Response>
<Gather numDigits="1" action="StartConferenceCall.chtml" method="GET">
<Say>Press 1 to start the conference call</Say>
</Gather>
</Response>
StartConferenceCall.chtml:
@{
var digits = Request["Digits"];
if(digits == "1")
{
<Response>
<Dial> // I would like to dial the second person
<Conference beep="false" record="record-from-start"
Room 1234
</Conference>
</Dial>
</Response>
}
else
{
<Hangup/>
}
}
Is it possible to add the second number inside the <Dial> tag ?