<div dir="ltr">Hello,<br><br> I have a strange h323 issue. After executing command "Dial("SIP/333-0d1dfe00", "H323/361737052390920@ccg|5|tT")" at Oct 18 22:32:23. Meanwile I have sniffing traffic on port 1720. The call was established just at Oct 18 22:33:03 (New H.323 Connection created.) and also packet sniffer grabs the h323 invites at this time also. So my question is what asterisk (h323 channel) was doing for 40 sec??? What reasons could invoke this problem? I haven't any problems with SIP channels.<br>
<br>My versions:<br>asterisk-1.4.21.1<br>asterisk-addons-1.4.6<br>openh323_v1_18_0<br>pwlib_v1_10_0<br><br>My h323.conf configurations:<br>[general]<br>port = 1720<br>bindaddr = <a href="http://192.168.1.165">192.168.1.165</a><br>
tos=lowdelay<br>disallow=all<br>allow=g729<br>dtmfmode=rfc2833<br>gatekeeper = DISABLE<br>AllowGKRouted = no<br>AcceptAnonymous = no<br>context=from-trunk<br><br><br>[ccg]<br>type=friend<br>context=from-trunk<br>host=<a href="http://192.168.1.163">192.168.1.163</a><br>
port=1720<br>disallow=all<br>;allow=alaw<br>;allow=ulaw<br>allow=g729<br>fastStart=yes<br>h245Tunneling=yes<br><br><br>A full log:<br><br>[Oct 18 22:32:23] VERBOSE[18236] logger.c: -- Executing [123@from-sip:1] Dial("SIP/333-0d1d8fb0", "H323/361737052390920@ccg|5|tT") in new stack<br>
[Oct 18 22:32:23] DEBUG[18236] chan_h323.c: type=H323, format=8, data=361737052390920@ccg.<br>[Oct 18 22:32:23] DEBUG[18236] chan_h323.c: Extension: 361737052390920 Host: ccg<br>[Oct 18 22:32:23] DEBUG[18236] chan_h323.c: Calling to 361737052390920@ccg on H323/ccg-2<br>
[Oct 18 22:32:23] VERBOSE[18236] logger.c: -- Requested transfer capability: 0x00 - SPEECH<br>[Oct 18 22:32:23] DEBUG[18236] chan_h323.c: Placing outgoing call to <a href="http://361737052390920@192.168.1.163:1720">361737052390920@192.168.1.163:1720</a>, 101<br>
[Oct 18 22:32:23] VERBOSE[18236] logger.c: -- Making call to <a href="http://361737052390920@192.168.1.163:1720">361737052390920@192.168.1.163:1720</a> without gatekeeper.<br>[Oct 18 22:32:23] VERBOSE[18236] logger.c: Using <a href="http://192.168.1.165">192.168.1.165</a> for outbound call<br>
[Oct 18 22:33:03] VERBOSE[18236] logger.c: == New H.323 Connection created.<br>[Oct 18 22:33:03] VERBOSE[18236] logger.c: -- root is calling host <a href="http://361737052390920@192.168.1.163:1720">361737052390920@192.168.1.163:1720</a><br>
[Oct 18 22:33:03] VERBOSE[18236] logger.c: -- Call token is ip$localhost/6453<br>[Oct 18 22:33:03] VERBOSE[18236] logger.c: -- Call reference is 6453<br>[Oct 18 22:33:03] VERBOSE[18236] logger.c: -- DTMF Payload is [pt=101]<br>
[Oct 18 22:33:03] VERBOSE[18236] logger.c: -- Called 361737052390920@ccg<br>[Oct 18 22:33:03] DEBUG[18238] chan_h323.c: Setting capabilities for connection ip$localhost/6453<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c: Setting capabilities to 0x100 (g729)<br>
[Oct 18 22:33:03] VERBOSE[18238] logger.c: Capabilities in preference order is (g729)<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c: Allowed Codecs:<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c: Table:<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c: G.729A <1><br>
[Oct 18 22:33:03] VERBOSE[18238] logger.c: G.729 <2><br>[Oct 18 22:33:03] VERBOSE[18238] logger.c: UserInput/hookflash <3><br>[Oct 18 22:33:03] VERBOSE[18238] logger.c: UserInput/RFC2833 <4><br>
[Oct 18 22:33:03] VERBOSE[18238] logger.c: UserInput/dtmf <5><br>[Oct 18 22:33:03] VERBOSE[18238] logger.c: Set:<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c: 0:<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c: 0:<br>
[Oct 18 22:33:03] VERBOSE[18238] logger.c: G.729A <1><br>[Oct 18 22:33:03] VERBOSE[18238] logger.c: G.729 <2><br>[Oct 18 22:33:03] VERBOSE[18238] logger.c: 1:<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c: UserInput/hookflash <3><br>
[Oct 18 22:33:03] VERBOSE[18238] logger.c: 2:<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c: UserInput/RFC2833 <4><br>[Oct 18 22:33:03] VERBOSE[18238] logger.c: UserInput/dtmf <5><br>[Oct 18 22:33:03] VERBOSE[18238] logger.c:<br>
[Oct 18 22:33:03] DEBUG[18238] chan_h323.c: Capabilities for connection ip$localhost/6453 is set<br>[Oct 18 22:33:03] DEBUG[18238] chan_h323.c: Created RTP channel<br>[Oct 18 22:33:03] DEBUG[18238] chan_h323.c: Setting NAT on RTP to 0<br>
[Oct 18 22:33:03] DEBUG[18238] chan_h323.c: Sending RTP 'US' <a href="http://192.168.1.165:23786">192.168.1.165:23786</a><br>[Oct 18 22:33:03] DEBUG[18238] chan_h323.c: Sending RTP 'US' <a href="http://192.168.1.165:23786">192.168.1.165:23786</a><br>
[Oct 18 22:33:03] DEBUG[18238] chan_h323.c: Sending RTP 'US' <a href="http://192.168.1.165:23786">192.168.1.165:23786</a><br>[Oct 18 22:33:03] DEBUG[18238] chan_h323.c: Sending RTP 'US' <a href="http://192.168.1.165:23786">192.168.1.165:23786</a><br>
[Oct 18 22:33:03] VERBOSE[18238] logger.c: -- Sending SETUP message<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c: -- Transmitting RFC2833 on payload 101<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c: -- Started logical channel: sending G.729A<br>
[Oct 18 22:33:03] VERBOSE[18238] logger.c: -- channelsOpen = 1<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c: External RTP Session Starting<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c: RTP channel id 1 parameters:<br>
[Oct 18 22:33:03] VERBOSE[18238] logger.c: -- remoteIpAddress: <a href="http://192.168.1.163">192.168.1.163</a><br>[Oct 18 22:33:03] VERBOSE[18238] logger.c: -- remotePort: 10626<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c: -- ExternalIpAddress: <a href="http://192.168.1.165">192.168.1.165</a><br>
[Oct 18 22:33:03] VERBOSE[18238] logger.c: -- ExternalPort: 23786<br>[Oct 18 22:33:03] DEBUG[18238] chan_h323.c: Setting up RTP connection for ip$localhost/6453<br>[Oct 18 22:33:03] DEBUG[18238] chan_h323.c: Native format is set to 256 from 256 by RTP payload type 18<br>
[Oct 18 22:33:03] DEBUG[18238] chan_h323.c: RTP connection prepared for ip$localhost/6453<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c: -- Started logical channel: receiving G.729A<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c: -- channelsOpen = 2<br>
[Oct 18 22:33:03] VERBOSE[18238] logger.c: External RTP Session Starting<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c: RTP channel id 1 parameters:<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c: -- remoteIpAddress: <a href="http://192.168.1.163">192.168.1.163</a><br>
[Oct 18 22:33:03] VERBOSE[18238] logger.c: -- remotePort: 10626<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c: -- ExternalIpAddress: <a href="http://192.168.1.165">192.168.1.165</a><br>[Oct 18 22:33:03] VERBOSE[18238] logger.c: -- ExternalPort: 23786<br>
[Oct 18 22:33:03] DEBUG[18238] chan_h323.c: Setting up RTP connection for ip$localhost/6453<br>[Oct 18 22:33:03] DEBUG[18238] chan_h323.c: Native format is set to 256 from 256 by RTP payload type 18<br>[Oct 18 22:33:03] DEBUG[18238] chan_h323.c: RTP connection prepared for ip$localhost/6453<br>
[Oct 18 22:33:03] VERBOSE[18238] logger.c: ExternalRTPChannel Destroyed<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c: ExternalRTPChannel Destroyed<br>[Oct 18 22:33:04] VERBOSE[18238] logger.c: =-= In OnAlerting for call 6453: sessionId=0<br>
[Oct 18 22:33:04] VERBOSE[18238] logger.c: -- Ringing phone for "361737052390920"<br>[Oct 18 22:33:04] VERBOSE[18238] logger.c: - Progress Indicator: 8<br>[Oct 18 22:33:04] DEBUG[18238] chan_h323.c: Received ALERT/PROGRESS message for inband tones<br>
[Oct 18 22:33:04] DEBUG[18238] chan_h323.c: Ringing on ip$localhost/6453<br>[Oct 18 22:33:04] VERBOSE[18236] logger.c: -- H323/ccg-2 is making progress passing it to SIP/333-0d1d8fb0<br>[Oct 18 22:33:04] VERBOSE[18236] logger.c: -- H323/ccg-2 is ringing<br>
[Oct 18 22:33:04] VERBOSE[18238] logger.c: -- Received Facility message...<br>[Oct 18 22:33:04] VERBOSE[18238] logger.c: Peer capability is G.729 <2><br>[Oct 18 22:33:04] VERBOSE[18238] logger.c: Found peer capability G.729 <2>, Asterisk code is 256, frame size (in ms) is 60<br>
[Oct 18 22:33:04] VERBOSE[18238] logger.c: Peer capability is G.729A <3><br>[Oct 18 22:33:04] VERBOSE[18238] logger.c: Found peer capability G.729A <3>, Asterisk code is 256, frame size (in ms) is 0<br>[Oct 18 22:33:04] VERBOSE[18238] logger.c: Peer capability is G.723.1A <4><br>
[Oct 18 22:33:04] VERBOSE[18238] logger.c: Found peer capability G.723.1A <4>, Asterisk code is 1, frame size (in ms) is 60<br>[Oct 18 22:33:04] VERBOSE[18238] logger.c: Peer capability is UserInput/dtmf <7><br>
[Oct 18 22:33:04] VERBOSE[18238] logger.c: Peer capability is UserInput/hookflash <8><br>[Oct 18 22:33:04] VERBOSE[18238] logger.c: Peer capabilities = 0x101 (g723|g729), ordered list is (g729|g723)<br>[Oct 18 22:33:04] DEBUG[18238] chan_h323.c: Got remote capabilities from connection ip$localhost/6453<br>
[Oct 18 22:33:04] DEBUG[18238] chan_h323.c: prefs[0]=g729:60<br>[Oct 18 22:33:04] DEBUG[18238] chan_h323.c: prefs[1]=g723:60<br>[Oct 18 22:33:04] VERBOSE[18238] logger.c: -- Received Facility message...<br>[Oct 18 22:33:08] VERBOSE[18236] logger.c: -- Nobody picked up in 5000 ms<br>
[Oct 18 22:33:08] DEBUG[18236] chan_h323.c: Hanging up and scheduling destroy of call H323/ccg-2<br>[Oct 18 22:33:08] VERBOSE[18236] logger.c: -- Sending RELEASE COMPLETE<br>[Oct 18 22:33:08] VERBOSE[18236] logger.c: -- ClearCall: Request to clear call with token ip$localhost/6453, cause EndedByRemoteUser<br>
[Oct 18 22:33:08] VERBOSE[18236] logger.c: == Auto fallthrough, channel 'SIP/333-0d1d8fb0' status is 'NOANSWER'<br>[Oct 18 22:33:08] VERBOSE[18215] logger.c: channelsOpen = 1<br>[Oct 18 22:33:08] VERBOSE[18215] logger.c: channelsOpen = 0<br>
[Oct 18 22:33:08] VERBOSE[18215] logger.c: ExternalRTPChannel Destroyed<br>[Oct 18 22:33:08] VERBOSE[18215] logger.c: ExternalRTPChannel Destroyed<br>[Oct 18 22:33:08] VERBOSE[18238] logger.c: -- ClearCall: Request to clear call with token ip$localhost/6453, cause EndedByTransportFail<br>
[Oct 18 22:33:08] VERBOSE[18215] logger.c: -- 361737052390920 has cleared the call<br>[Oct 18 22:33:08] DEBUG[18215] chan_h323.c: Cleaning connection to ip$localhost/6453<br>[Oct 18 22:33:08] DEBUG[18215] chan_h323.c: No connection for ip$localhost/6453<br>
[Oct 18 22:33:08] VERBOSE[18215] logger.c: == H.323 Connection deleted.<br><br><br clear="all">Thanks<br>-- <br>Pagarbiai / Best Regards,<br>Giedrius Augys<br>
</div>