[Freeswitch-users] Fwd: mod_opal - call charged before H.225 connect

Georgiewskiy Yuriy bottleman at icf.org.ru
Wed Oct 21 08:23:59 PDT 2009


On 2009-10-21 16:43 +0200, Tihomir Culjaga wrote freeswitch-users at lists.fre...:

TC>>
TC>> TC>
TC>> TC>module load crash: http://pastebin.freeswitch.org/10783
TC>> TC>FreeSWITCH backtrace: http://pastebin.freeswitch.org/10784
TC>> TC>
TC>> TC>
TC>> TC>now, the only different thing is FS trunk ...
TC>>
TC>> i have no trunk at this time and cannot test it, have you enabled
TC>> crash-protection in fs?
TC>>
TC>>
TC>Ok i moved back FS to 1.0.4 and i'm back on the first issues,
TC>
TC>1. no audio after i answer the call (call flow is H323 => FS => SIP).. i
TC>hear the ringback on the H323 side bit when i answer the call, nothing!

TC>FS = 10.4.62.7
TC>SIP phone = 10.4.62.89
TC>H323 endpoint = 10.1.14.153

TC> 53.696259  10.1.14.153 -> 10.4.62.7    H.225.0 CS: setup
TC> 53.705415    10.4.62.7 -> 10.1.14.153  H.225.0 CS: callProceeding
TC> 53.716368    10.4.62.7 -> 10.4.62.89   SIP/SDP Request: INVITE
TC>sip:1001 at 10.4.62.89 <sip%3A1001 at 10.4.62.89>;transport=udp, with session
TC>description
TC> 53.717697    10.4.62.7 -> 10.1.14.153  H.225.0 CS: alerting
TC> 53.720132    10.4.62.7 -> 10.1.14.153  H.225.0 CS: facility
TC> 53.725453    10.4.62.7 -> 10.1.14.153  H.245 terminalCapabilitySet
TC> 53.725957    10.4.62.7 -> 10.1.14.153  H.245 masterSlaveDetermination
TC> 53.728129   10.4.62.89 -> 10.4.62.7    SIP Status: 100 Trying
TC> 53.741112   10.4.62.89 -> 10.4.62.7    SIP Status: 180 Ringing
TC> 53.743199  10.1.14.153 -> 10.4.62.7    H.245 terminalCapabilitySet
TC> 53.744221  10.1.14.153 -> 10.4.62.7    H.245 masterSlaveDetermination
TC> 53.749443    10.4.62.7 -> 10.1.14.153  H.245 terminalCapabilitySetAck
TC> 53.751624    10.4.62.7 -> 10.1.14.153  H.245 masterSlaveDeterminationAck
TC> 53.758710  10.1.14.153 -> 10.4.62.7    H.245 terminalCapabilitySetAck
TC> 53.761241  10.1.14.153 -> 10.4.62.7    H.245 masterSlaveDeterminationAck
TC> 53.763919    10.4.62.7 -> 10.1.14.153  H.245 openLogicalChannel (g711A)
TC>#3712: OLC found 10.1.14.153/10.4.62.7/101
TC> 53.777464  10.1.14.153 -> 10.4.62.7    H.245 openLogicalChannelAck
TC> 53.799864    10.4.62.7 -> 10.1.14.153  RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xBE241F, Seq=1305, Time=240, Mark
TC> 53.828940    10.4.62.7 -> 10.1.14.153  RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xBE241F, Seq=1306, Time=480
TC> 53.859180    10.4.62.7 -> 10.1.14.153  RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xBE241F, Seq=1307, Time=720
TC> 53.889379    10.4.62.7 -> 10.1.14.153  RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xBE241F, Seq=1308, Time=960
TC> 53.919611    10.4.62.7 -> 10.1.14.153  RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xBE241F, Seq=1309, Time=1200
TC> 53.949833    10.4.62.7 -> 10.1.14.153  RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xBE241F, Seq=1310, Time=1440
TC> 53.978964    10.4.62.7 -> 10.1.14.153  RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xBE241F, Seq=1311, Time=1680
TC> 54.009218    10.4.62.7 -> 10.1.14.153  RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xBE241F, Seq=1312, Time=1920
TC> 54.039424    10.4.62.7 -> 10.1.14.153  RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xBE241F, Seq=1313, Time=2160
TC> 54.069640    10.4.62.7 -> 10.1.14.153  RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xBE241F, Seq=1314, Time=2400
TC> 54.099795    10.4.62.7 -> 10.1.14.153  RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xBE241F, Seq=1315, Time=2640
TC> 54.129064    10.4.62.7 -> 10.1.14.153  RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xBE241F, Seq=1316, Time=2880
TC>
TC><------------------ snip ----------------> this is a ringback sent from FS
TC>=> H323endpoint
TC>
TC> 60.189074    10.4.62.7 -> 10.1.14.153  RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xBE241F, Seq=1518, Time=51360
TC> 60.219197    10.4.62.7 -> 10.1.14.153  RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xBE241F, Seq=1519, Time=51600
TC> 60.249451    10.4.62.7 -> 10.1.14.153  RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xBE241F, Seq=1520, Time=51840
TC> 60.279684    10.4.62.7 -> 10.1.14.153  RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xBE241F, Seq=1521, Time=52080
TC> 60.309689    10.4.62.7 -> 10.1.14.153  RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xBE241F, Seq=1522, Time=52320
TC> 60.338812    10.4.62.7 -> 10.1.14.153  RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xBE241F, Seq=1523, Time=52560
TC> 60.368997    10.4.62.7 -> 10.1.14.153  RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xBE241F, Seq=1524, Time=52800
TC> 60.399231    10.4.62.7 -> 10.1.14.153  RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xBE241F, Seq=1525, Time=53040
TC> 60.429445    10.4.62.7 -> 10.1.14.153  RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xBE241F, Seq=1526, Time=53280
TC> 60.459679    10.4.62.7 -> 10.1.14.153  RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xBE241F, Seq=1527, Time=53520
TC> 60.488917    10.4.62.7 -> 10.1.14.153  RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xBE241F, Seq=1528, Time=53760
TC> 60.494975   10.4.62.89 -> 10.4.62.7    SIP/SDP Status: 200 OK, with session
TC>description
TC> 60.495478    10.4.62.7 -> 10.4.62.89   SIP Request: ACK
TC>sip:1001 at 10.4.62.89<sip%3A1001 at 10.4.62.89>
TC>;transport=udp
TC> 60.496114    10.4.62.7 -> 10.4.62.7    RTP Unknown RTP version 1
TC> 60.519467    10.4.62.7 -> 10.1.14.153  RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xBE241F, Seq=1529, Time=54000
TC> 60.520574    10.4.62.7 -> 10.1.14.153  H.225.0 CS: connect
TC> 60.531284  10.1.14.153 -> 10.4.62.7    H.245 openLogicalChannel (g711A)
TC>#4045: OLC found 10.4.62.7/10.1.14.153/101
TC> 60.535298    10.4.62.7 -> 10.1.14.153  H.245 openLogicalChannelAck
TC> 60.595098  10.1.14.153 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xA994332E, Seq=39691, Time=160, Mark
TC> 60.598967  10.1.14.153 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xA994332E, Seq=39692, Time=320
TC> 60.616538  10.1.14.153 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xA994332E, Seq=39693, Time=480
TC> 60.639583  10.1.14.153 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xA994332E, Seq=39694, Time=640
TC> 60.657185  10.1.14.153 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xA994332E, Seq=39695, Time=800
TC> 60.673118   10.4.62.89 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xC2B5E0D, Seq=21152, Time=98705487
TC> 60.680623  10.1.14.153 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xA994332E, Seq=39696, Time=960
TC> 60.693033   10.4.62.89 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xC2B5E0D, Seq=21153, Time=98705647
TC> 60.698727  10.1.14.153 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xA994332E, Seq=39697, Time=1120
TC> 60.712984   10.4.62.89 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xC2B5E0D, Seq=21154, Time=98705807
TC> 60.716184  10.1.14.153 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xA994332E, Seq=39698, Time=1280
TC> 60.733016   10.4.62.89 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xC2B5E0D, Seq=21155, Time=98705967
TC> 60.739264  10.1.14.153 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xA994332E, Seq=39699, Time=1440
TC> 60.752987   10.4.62.89 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xC2B5E0D, Seq=21156, Time=98706127
TC> 60.756820  10.1.14.153 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xA994332E, Seq=39700, Time=1600
TC> 60.772977   10.4.62.89 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xC2B5E0D, Seq=21157, Time=98706287
TC> 60.780507  10.1.14.153 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xA994332E, Seq=39701, Time=1760
TC> 60.793029   10.4.62.89 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xC2B5E0D, Seq=21158, Time=98706447
TC> 60.798172  10.1.14.153 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xA994332E, Seq=39702, Time=1920
TC> 60.812980   10.4.62.89 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xC2B5E0D, Seq=21159, Time=98706607
TC> 60.815755  10.1.14.153 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xA994332E, Seq=39703, Time=2080
TC> 60.833107   10.4.62.89 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xC2B5E0D, Seq=21160, Time=98706767
TC> 60.838943  10.1.14.153 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xA994332E, Seq=39704, Time=2240
TC> 60.852999   10.4.62.89 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xC2B5E0D, Seq=21161, Time=98706927
TC> 60.856476  10.1.14.153 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xA994332E, Seq=39705, Time=2400
TC>
TC><------------------ snip ----------------> this is after after SIP phone
TC>answered
TC>
TC> 68.245488  10.1.14.153 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xA994332E, Seq=40079, Time=62240
TC> 68.252993   10.4.62.89 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xC2B5E0D, Seq=21531, Time=98766127
TC> 68.268524  10.1.14.153 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xA994332E, Seq=40080, Time=62400
TC> 68.272988   10.4.62.89 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xC2B5E0D, Seq=21532, Time=98766287
TC> 68.286129  10.1.14.153 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xA994332E, Seq=40081, Time=62560
TC> 68.292978   10.4.62.89 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xC2B5E0D, Seq=21533, Time=98766447
TC> 68.309595  10.1.14.153 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xA994332E, Seq=40082, Time=62720
TC> 68.312988   10.4.62.89 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xC2B5E0D, Seq=21534, Time=98766607
TC> 68.327216  10.1.14.153 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xA994332E, Seq=40083, Time=62880
TC> 68.332982   10.4.62.89 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xC2B5E0D, Seq=21535, Time=98766767
TC> 68.350940  10.1.14.153 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xA994332E, Seq=40084, Time=63040
TC> 68.352977   10.4.62.89 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xC2B5E0D, Seq=21536, Time=98766927
TC> 68.368506  10.1.14.153 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xA994332E, Seq=40085, Time=63200
TC> 68.374916   10.4.62.89 -> 10.4.62.7    SIP Request: BYE
TC>sip:mod_sofia at 10.4.62.7:5060
TC> 68.375342    10.4.62.7 -> 10.4.62.7    RTP Unknown RTP version 3
TC> 68.375620    10.4.62.7 -> 10.4.62.89   SIP Status: 200 OK
TC> 68.385785  10.1.14.153 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xA994332E, Seq=40086, Time=63360
TC> 68.409172  10.1.14.153 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xA994332E, Seq=40087, Time=63520
TC>
TC><------------------ snip ----------------> This is after SIP Phone released
TC>the call
TC>
TC> 70.495427  10.1.14.153 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xA994332E, Seq=40193, Time=80480
TC> 70.518592  10.1.14.153 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xA994332E, Seq=40194, Time=80640
TC> 70.536159  10.1.14.153 -> 10.4.62.7    RTP PT=ITU-T G.711 PCMA,
TC>SSRC=0xA994332E, Seq=40195, Time=80800
TC> 70.552157  10.1.14.153 -> 10.4.62.7    H.245 endSessionCommand
TC> 70.552401  10.1.14.153 -> 10.4.62.7    H.225.0 CS: releaseComplete
TC> 70.553981    10.4.62.7 -> 10.4.62.7    RTP Unknown RTP version 3
TC> 70.554488    10.4.62.7 -> 10.1.14.153  H.245 endSessionCommand
TC> 70.555056    10.4.62.7 -> 10.1.14.153  H.225.0 CS: releaseComplete
TC>
TC>
TC>
TC>Well, something gets wrong hrer ...
TC>
TC>
TC>
TC>
TC>2. hangup from sip side doesn't release the h323 leg (now the difference is
TC>that FS is not complaining about thread mismatch ant it looks clean but FS
TC>doesn't send any releasecomplete message... strange)
TC>3. coredumps when i place outgoing calls

btw, 

TC> 70.552157  10.1.14.153 -> 10.4.62.7    H.245 endSessionCommand                                             
TC> 70.552401  10.1.14.153 -> 10.4.62.7    H.225.0 CS: releaseComplete                                         
TC> 70.553981    10.4.62.7 -> 10.4.62.7    RTP Unknown RTP version 3                                           
TC> 70.554488    10.4.62.7 -> 10.1.14.153  H.245 endSessionCommand                                             
TC> 70.555056    10.4.62.7 -> 10.1.14.153  H.225.0 CS: releaseComplete 

it send, now i have no way to test h323->sip transit, i will have it tomorow.
sip->h323 for me work fine now, give backtrace from code dump of 1.0.4 where it die?

C уважением                       With Best Regards
Георгиевский Юрий.                Georgiewskiy Yuriy
+7 4872 711666                    +7 4872 711666
факс +7 4872 711143               fax +7 4872 711143
Компания ООО "Ай Ти Сервис"       IT Service Ltd
http://nkoort.ru                  http://nkoort.ru
JID: GHhost at jabber.tula-ix.net.ru JID: GHhost at jabber.tula-ix.net.ru
YG129-RIPE                        YG129-RIPE


More information about the FreeSWITCH-users mailing list