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