<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
TC>3. can we control mediaWaitForConnect flag within setup message via config<br>
TC>file setting?<br>
<br>
what is mediaWaitForConnect flag, may be another trmin in h323?<br>
<br>
<br></blockquote><div><br>If the calling endpoint sets the mediaWaitForConnect element to TRUE in the Setup message, then<br>the called endpoint shall not send any media until after the Connect message is sent.<br>The calling endpoint may begin transmitting media (according to the channels opened) immediately<br>
upon receiving a Q.931 message containing fastStart. Thus, the called endpoint must be prepared to<br>immediately receive media on the channels it accepted in the Q.931 message containing fastStart.<br>Note that national requirements may prohibit calling endpoints from transmitting media prior to<br>
receipt of a Connect message; it is the responsibility of the endpoint to comply with applicable<br>requirements.<br><br><br>check "H225_Setup_UUIE & H323SignalPDU::BuildSetup" within src/h323pdu.cxx (H323plus)<br>
<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
TC>...<br>
<br>
may bee, while i in hospital i have a very limited ways for testing,<br>
especially for inbound calls throuce h323. i find one issues in signaling<br>
part in h323plus, src/h323.cxx grep "Very Frustrating - S.H." try uncomment<br>
fast start handling there, may be it help.<br>
<div><div></div><div class="h5"><br></div></div></blockquote><div><br></div></div>I'm not sure it is gonna help. This is only for CallProceeding having a faststart element... What i have is a progress message without a faststart element but with h245 address... it should go to StartControlChannel but i think it is stuck since you call pre_answer before it actually opens a LC.<br>
<br><br>PBoolean H323Connection::OnReceivedProgress(const H323SignalPDU & pdu)<br>{<br> if (pdu.m_h323_uu_pdu.m_h323_message_body.GetTag() != H225_H323_UU_PDU_h323_message_body::e_progress)<br> return FALSE;<br> const H225_Progress_UUIE & progress = pdu.m_h323_uu_pdu.m_h323_message_body;<br>
<br> SetRemoteVersions(progress.m_protocolIdentifier);<br> SetRemotePartyInfo(pdu);<br> SetRemoteApplication(progress.m_destinationInfo);<br><br> // Check for fastStart data and start fast<br> if (progress.HasOptionalField(H225_Progress_UUIE::e_fastStart))<br>
HandleFastStartAcknowledge(progress.m_fastStart);<br><br> // Check that it has the H.245 channel connection info<br> if (progress.HasOptionalField(H225_Progress_UUIE::e_h245Address))<br> <span style="background-color: rgb(255, 255, 0);"> return StartControlChannel(progress.m_h245Address);</span><br>
<br> return TRUE;<br>}<br><br><br><br>you should handle this and postpone pre_answer until you get an open LC.<br><br><br>T.<br><br><br>