<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><br>
TC>bool FSH323Connection::OnReceivedProgress(const H323SignalPDU &pdu)<br>
TC>{<br>
TC> PTRACE(4, "mod_h323\t======>FSH323Connection::OnReceivedProgress");<br>
TC><br>
TC> PTRACE(4, "mod_h323\t======>FSH323Connection::OnReceivedProgress -<br>
TC>disabled pre_answer!!!!");<br>
TC><br>
TC> //m_txAudioOpened.Wait();<br>
TC> //switch_channel_mark_pre_answered(m_fsChannel);<br>
TC> return true;<br>
TC>}<br>
TC><br>
<br>
in that chase wee are not hear anything going inband if receive progress ind from called h323 endpoint,<br>
there will bee ringback, for exmaple mobule fone then it out of network. if you dont need<br>
this make this changes until i fix it.<br>
<div><div></div><div class="h5"><br>
</div></div></blockquote></div><br><br>not true, because you have mediaWaitForConnect = false...
the terminating endpoint can send media before H.225 connect message.... and this
actually works well :P<br><br><br><br> 7.317880 10.4.62.89 -> 10.4.62.7 SIP/SDP Request: INVITE sip:00914392122@singtel, with session description<br> 7.318319 10.4.62.7 -> 10.4.62.89 SIP Status: 100 Trying<br>
7.331430 10.4.62.7 -> 10.4.62.89 SIP Status: 407 Proxy Authentication Required<br> 7.339420 10.4.62.89 -> 10.4.62.7 SIP Request: ACK sip:00914392122@singtel<br> 7.345078 10.4.62.89 -> 10.4.62.7 SIP/SDP Request: INVITE sip:00914392122@singtel, with session description<br>
7.345378 10.4.62.7 -> 10.4.62.89 SIP Status: 100 Trying<br> 7.387166 10.4.62.7 -> 10.4.4.254 H.225.0 CS: setup OpenLogicalChannel <br> 7.388636 10.4.4.254 -> 10.4.62.7 H.225.0 CS: callProceeding <br>
9.389852 10.4.4.254 -> 10.4.62.7 H.225.0 CS: progress <br> 10.639897 10.4.4.254 -> 10.4.62.7 H.225.0 CS: alerting <br> 10.651322 10.4.62.7 -> 10.4.62.89 SIP Status: 180 Ringing<br> 10.653932 10.4.62.7 -> 10.4.198.113 H.245 terminalCapabilitySet <br>
10.654565 10.4.62.7 -> 10.4.198.113 H.245 masterSlaveDetermination <br> 10.659757 10.4.198.113 -> 10.4.62.7 H.245 terminalCapabilitySet <br> 10.659814 10.4.198.113 -> 10.4.62.7 H.245 masterSlaveDetermination <br>
10.660161 10.4.198.113 -> 10.4.62.7 H.245 terminalCapabilitySetAck <br> 10.660238 10.4.198.113 -> 10.4.62.7 H.245 masterSlaveDeterminationAck <br> 10.666028 10.4.62.7 -> 10.4.198.113 H.245 terminalCapabilitySetAck <br>
10.670388 10.4.62.7 -> 10.4.198.113 H.245 masterSlaveDeterminationAck <br> 10.674693 10.4.198.113 -> 10.4.62.7 H.245 openLogicalChannel (g711A) <br> 10.682410 10.4.62.7 -> 10.4.62.7 RTP Unknown RTP version 1<br>
#678: OLC found <a href="http://10.4.62.7/10.4.198.113/129">10.4.62.7/10.4.198.113/129</a><br> 10.683902 10.4.62.7 -> 10.4.198.113 H.245 openLogicalChannelAck <br> 10.687378 10.4.62.7 -> 10.4.198.113 H.245 openLogicalChannel (g711A) <br>
#723: OLC found <a href="http://10.4.198.113/10.4.62.7/108">10.4.198.113/10.4.62.7/108</a><br> 10.691579 10.4.198.113 -> 10.4.62.7 H.245 openLogicalChannelAck <br> 10.778413 10.4.142.38 -> 10.4.62.7 RTP PT=ITU-T G.711 PCMA, SSRC=0x1EC68E26, Seq=0, Time=24640 <br>
10.798476 10.4.142.38 -> 10.4.62.7 RTP PT=ITU-T G.711 PCMA, SSRC=0x1EC68E26, Seq=1, Time=24800 <br> 10.818432 10.4.142.38 -> 10.4.62.7 RTP PT=ITU-T G.711 PCMA, SSRC=0x1EC68E26, Seq=2, Time=24960 <br><br><-------------- snip -------------><br>
<br> 13.298358 10.4.142.38 -> 10.4.62.7 RTP PT=ITU-T G.711 PCMA, SSRC=0x1EC68E26, Seq=126, Time=44800 <br> 13.318460 10.4.142.38 -> 10.4.62.7 RTP PT=ITU-T G.711 PCMA, SSRC=0x1EC68E26, Seq=127, Time=44960 <br>
13.338405 10.4.142.38 -> 10.4.62.7 RTP PT=ITU-T G.711 PCMA, SSRC=0x1EC68E26, Seq=128, Time=45120 <br> 13.358353 10.4.142.38 -> 10.4.62.7 RTP PT=ITU-T G.711 PCMA, SSRC=0x1EC68E26, Seq=129, Time=45280 <br> 13.369984 10.4.4.254 -> 10.4.62.7 H.225.0 CS: connect <br>
13.378381 10.4.142.38 -> 10.4.62.7 RTP PT=ITU-T G.711 PCMA, SSRC=0x1EC68E26, Seq=130, Time=45440 <br> 13.382330 10.4.62.7 -> 10.4.62.89 SIP/SDP Status: 200 OK, with session description<br> 13.388833 10.4.62.7 -> 10.4.62.7 RTP Unknown RTP version 3<br>
13.389123 10.4.62.7 -> 10.4.62.7 RTP Unknown RTP version 3<br> 13.396419 10.4.62.89 -> 10.4.62.7 SIP Request: ACK sip:00914392122@10.4.62.7:5060;transport=udp<br> 13.398457 10.4.142.38 -> 10.4.62.7 RTP PT=ITU-T G.711 PCMA, SSRC=0x1EC68E26, Seq=131, Time=45600 <br>
13.405954 10.4.62.89 -> 10.4.62.7 RTP PT=ITU-T G.711 PCMU, SSRC=0xDEF4B36, Seq=27943, Time=991142687 <br> 13.418401 10.4.142.38 -> 10.4.62.7 RTP PT=ITU-T G.711 PCMA, SSRC=0x1EC68E26, Seq=132, Time=45760 <br>
13.425864 10.4.62.89 -> 10.4.62.7 RTP PT=ITU-T G.711 PCMU, SSRC=0xDEF4B36, Seq=27944, Time=991142847 <br> 13.438360 10.4.142.38 -> 10.4.62.7 RTP PT=ITU-T G.711 PCMA, SSRC=0x1EC68E26, Seq=133, Time=45920 <br>
13.438570 10.4.62.7 -> 10.4.62.89 RTP PT=ITU-T G.711 PCMA, SSRC=0x172DD4B, Seq=46377, Time=640 <br> 13.446202 10.4.62.89 -> 10.4.62.7 RTP PT=ITU-T G.711 PCMA, SSRC=0xDEF4B36, Seq=27945, Time=991143007 <br>
13.458320 10.4.142.38 -> 10.4.62.7 RTP PT=ITU-T G.711 PCMA, SSRC=0x1EC68E26, Seq=134, Time=46080 <br> 13.458467 10.4.62.7 -> 10.4.62.89 RTP PT=ITU-T G.711 PCMA, SSRC=0x172DD4B, Seq=46378, Time=800 <br> 13.459008 10.4.62.7 -> 10.4.142.38 RTP PT=ITU-T G.711 PCMA, SSRC=0xB9D8D8, Seq=1379, Time=991143007 <br>
13.466010 10.4.62.89 -> 10.4.62.7 RTP PT=ITU-T G.711 PCMA, SSRC=0xDEF4B36, Seq=27946, Time=991143167 <br> 13.478408 10.4.142.38 -> 10.4.62.7 RTP PT=ITU-T G.711 PCMA, SSRC=0x1EC68E26, Seq=135, Time=46240 <br>
13.478470 10.4.62.7 -> 10.4.142.38 RTP PT=ITU-T G.711 PCMA, SSRC=0xB9D8D8, Seq=1380, Time=991143167 <br> 13.478749 10.4.62.7 -> 10.4.62.89 RTP PT=ITU-T G.711 PCMA, SSRC=0x172DD4B, Seq=46379, Time=960 <br><br>
<------------ snip --------------><br><br> 15.098561 10.4.62.7 -> 10.4.62.89 RTP PT=ITU-T G.711 PCMA, SSRC=0x172DD4B, Seq=46460, Time=13920 <br> 15.099011 10.4.62.7 -> 10.4.142.38 RTP PT=ITU-T G.711 PCMA, SSRC=0xB9D8D8, Seq=1461, Time=991156127 <br>
15.105847 10.4.62.89 -> 10.4.62.7 RTP PT=ITU-T G.711 PCMA, SSRC=0xDEF4B36, Seq=28028, Time=991156287 <br> 15.118353 10.4.142.38 -> 10.4.62.7 RTP PT=ITU-T G.711 PCMA, SSRC=0x1EC68E26, Seq=217, Time=59360 <br>
15.118434 10.4.62.7 -> 10.4.62.89 RTP PT=ITU-T G.711 PCMA, SSRC=0x172DD4B, Seq=46461, Time=14080 <br> 15.119540 10.4.62.7 -> 10.4.142.38 RTP PT=ITU-T G.711 PCMA, SSRC=0xB9D8D8, Seq=1462, Time=991156287 <br>
15.122951 10.4.198.113 -> 10.4.62.7 H.245 closeLogicalChannel <br> 15.122986 10.4.198.113 -> 10.4.62.7 H.245 endSessionCommand <br> 15.125003 10.4.62.7 -> 10.4.62.7 RTP Unknown RTP version 3<br> 15.125257 10.4.62.7 -> 10.4.198.113 H.245 closeLogicalChannelAck <br>
15.125857 10.4.62.89 -> 10.4.62.7 RTP PT=ITU-T G.711 PCMA, SSRC=0xDEF4B36, Seq=28029, Time=991156447 <br> 15.127900 10.4.62.7 -> 10.4.198.113 H.245 endSessionCommand <br> 15.128461 10.4.62.7 -> 10.4.4.254 H.225.0 CS: releaseComplete <br>
15.138328 10.4.142.38 -> 10.4.62.7 RTP PT=ITU-T G.711 PCMA, SSRC=0x1EC68E26, Seq=218, Time=59520 <br> 15.139550 10.4.62.7 -> 10.4.62.7 RTP Unknown RTP version 3<br> 15.142189 10.4.62.7 -> 10.4.62.89 SIP Request: BYE <a href="mailto:sip%3A1001@10.4.62.89">sip:1001@10.4.62.89</a>;transport=udp<br>
15.145990 10.4.62.89 -> 10.4.62.7 RTP PT=ITU-T G.711 PCMA, SSRC=0xDEF4B36, Seq=28030, Time=991156607 <br> 15.146010 10.4.62.7 -> 10.4.62.89 ICMP Destination unreachable (Port unreachable)<br> 15.150016 10.4.62.89 -> 10.4.62.7 SIP Status: 200 OK<br>
<br><br><br> so the real solution is to implement a check for CallProceeding , Progress and Facility message whether it has a faststart element included. It it is true than you might start pre_answer. <br><br><br>also, i don't see any handling of Call Proceeding ... what if there is a fastStart element in CallProceeding message? :)<br>
<br><br>T.<br><br>T.<br>