<div dir="ltr">Hello,<br><br>&nbsp; I have a strange h323 issue. After executing command &quot;Dial(&quot;SIP/333-0d1dfe00&quot;, &quot;H323/361737052390920@ccg|5|tT&quot;)&quot;&nbsp; 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&#39;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:&nbsp;&nbsp;&nbsp;&nbsp; -- Executing [123@from-sip:1] Dial(&quot;SIP/333-0d1d8fb0&quot;, &quot;H323/361737052390920@ccg|5|tT&quot;) 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:&nbsp;&nbsp;&nbsp;&nbsp; -- 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:&nbsp; -- 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:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; == New H.323 Connection created.<br>[Oct 18 22:33:03] VERBOSE[18236] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- 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:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Call token is ip$localhost/6453<br>[Oct 18 22:33:03] VERBOSE[18236] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Call reference is 6453<br>[Oct 18 22:33:03] VERBOSE[18236] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- DTMF Payload is [pt=101]<br>
[Oct 18 22:33:03] VERBOSE[18236] logger.c:&nbsp;&nbsp;&nbsp;&nbsp; -- 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:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Table:<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp; G.729A &lt;1&gt;<br>
[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp; G.729 &lt;2&gt;<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp; UserInput/hookflash &lt;3&gt;<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp; UserInput/RFC2833 &lt;4&gt;<br>
[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp; UserInput/dtmf &lt;5&gt;<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp; Set:<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp; 0:<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:<br>
[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; G.729A &lt;1&gt;<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; G.729 &lt;2&gt;<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1:<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UserInput/hookflash &lt;3&gt;<br>
[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2:<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UserInput/RFC2833 &lt;4&gt;<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UserInput/dtmf &lt;5&gt;<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 &#39;US&#39; <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 &#39;US&#39; <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 &#39;US&#39; <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 &#39;US&#39; <a href="http://192.168.1.165:23786">192.168.1.165:23786</a><br>
[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Sending SETUP message<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Transmitting RFC2833 on payload 101<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Started logical channel: sending G.729A<br>
[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- channelsOpen = 1<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; External RTP Session Starting<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RTP channel id 1 parameters:<br>
[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- remoteIpAddress: <a href="http://192.168.1.163">192.168.1.163</a><br>[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- remotePort: 10626<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- ExternalIpAddress: <a href="http://192.168.1.165">192.168.1.165</a><br>
[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- 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:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Started logical channel: receiving G.729A<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- channelsOpen = 2<br>
[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; External RTP Session Starting<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RTP channel id 1 parameters:<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- remoteIpAddress: <a href="http://192.168.1.163">192.168.1.163</a><br>
[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- remotePort: 10626<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- ExternalIpAddress: <a href="http://192.168.1.165">192.168.1.165</a><br>[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- 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:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ExternalRTPChannel Destroyed<br>[Oct 18 22:33:03] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ExternalRTPChannel Destroyed<br>[Oct 18 22:33:04] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =-= In OnAlerting for call 6453: sessionId=0<br>
[Oct 18 22:33:04] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Ringing phone for &quot;361737052390920&quot;<br>[Oct 18 22:33:04] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - 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:&nbsp;&nbsp;&nbsp;&nbsp; -- H323/ccg-2 is making progress passing it to SIP/333-0d1d8fb0<br>[Oct 18 22:33:04] VERBOSE[18236] logger.c:&nbsp;&nbsp;&nbsp;&nbsp; -- H323/ccg-2 is ringing<br>
[Oct 18 22:33:04] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Received Facility message...<br>[Oct 18 22:33:04] VERBOSE[18238] logger.c: Peer capability is G.729 &lt;2&gt;<br>[Oct 18 22:33:04] VERBOSE[18238] logger.c: Found peer capability G.729 &lt;2&gt;, 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 &lt;3&gt;<br>[Oct 18 22:33:04] VERBOSE[18238] logger.c: Found peer capability G.729A &lt;3&gt;, 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 &lt;4&gt;<br>
[Oct 18 22:33:04] VERBOSE[18238] logger.c: Found peer capability G.723.1A &lt;4&gt;, 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 &lt;7&gt;<br>
[Oct 18 22:33:04] VERBOSE[18238] logger.c: Peer capability is UserInput/hookflash &lt;8&gt;<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:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Received Facility message...<br>[Oct 18 22:33:08] VERBOSE[18236] logger.c:&nbsp;&nbsp;&nbsp;&nbsp; -- 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:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Sending RELEASE COMPLETE<br>[Oct 18 22:33:08] VERBOSE[18236] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- ClearCall: Request to clear call with token ip$localhost/6453, cause EndedByRemoteUser<br>
[Oct 18 22:33:08] VERBOSE[18236] logger.c:&nbsp;&nbsp; == Auto fallthrough, channel &#39;SIP/333-0d1d8fb0&#39; status is &#39;NOANSWER&#39;<br>[Oct 18 22:33:08] VERBOSE[18215] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; channelsOpen = 1<br>[Oct 18 22:33:08] VERBOSE[18215] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; channelsOpen = 0<br>
[Oct 18 22:33:08] VERBOSE[18215] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ExternalRTPChannel Destroyed<br>[Oct 18 22:33:08] VERBOSE[18215] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ExternalRTPChannel Destroyed<br>[Oct 18 22:33:08] VERBOSE[18238] logger.c:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- 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:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; == H.323 Connection deleted.<br><br><br clear="all">Thanks<br>-- <br>Pagarbiai &nbsp;/ Best Regards,<br>Giedrius Augys<br>
</div>