<br><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&gt;<br>
TC&gt;Do you need some logs ?<br>
<br>
try disable medai-proxy, there is issue with rtp now then medai-proxy or transcoding enabled.<br>
<br></blockquote><div><br>Outbound calls:<br><br>disabled rtp proxy and it is still the same issue ... audio delay H323 =&gt; SIP endpoint.<br><br><br><br><br><br><br>Inbound calls:<br><br>This is the extension i use to register my Avaya SIP phone to FS.<br>
<br><br>&lt;include&gt;<br>  &lt;user id=&quot;1001&quot;&gt;<br>    &lt;params&gt;<br>      &lt;param name=&quot;password&quot; value=&quot;$${default_password}&quot;/&gt;<br>      &lt;param name=&quot;vm-password&quot; value=&quot;1001&quot;/&gt;<br>
    &lt;/params&gt;<br>    &lt;variables&gt;<br>      &lt;variable name=&quot;toll_allow&quot; value=&quot;domestic,international,local&quot;/&gt;<br>      &lt;variable name=&quot;accountcode&quot; value=&quot;1001&quot;/&gt;<br>
      &lt;variable name=&quot;user_context&quot; value=&quot;default&quot;/&gt;<br>      &lt;variable name=&quot;effective_caller_id_name&quot; value=&quot;Extension 1001&quot;/&gt;<br>      &lt;variable name=&quot;effective_caller_id_number&quot; value=&quot;1001&quot;/&gt;<br>
      &lt;variable name=&quot;outbound_caller_id_name&quot; value=&quot;$${outbound_caller_name}&quot;/&gt;<br>      &lt;variable name=&quot;outbound_caller_id_number&quot; value=&quot;$${outbound_caller_id}&quot;/&gt;<br>
      &lt;variable name=&quot;callgroup&quot; value=&quot;techsupport&quot;/&gt;<br>    &lt;/variables&gt;<br>  &lt;/user&gt;<br>&lt;/include&gt;<br><br><br>This is my h323.conf.xml<br><br><br>&lt;configuration name=&quot;h323.conf&quot; description=&quot;H323 Endpoints&quot;&gt;<br>
  &lt;settings&gt;<br>    &lt;param name=&quot;trace-level&quot; value=&quot;4&quot;/&gt;<br>    &lt;param name=&quot;context&quot; value=&quot;default&quot;/&gt;<br>    &lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;<br>
    &lt;param name=&quot;codec-prefs&quot; value=&quot;PCMU,PCMA,GSM,G729,G726&quot;/&gt;<br>    &lt;param name=&quot;gk-address&quot; value=&quot;&quot;/&gt;    &lt;!-- empty to disable, &quot;*&quot; to search LAN --&gt;<br>
    &lt;param name=&quot;gk-identifer&quot; value=&quot;&quot;/&gt;  &lt;!-- optional name of gk --&gt;<br>    &lt;param name=&quot;gk-interface&quot; value=&quot;&quot;/&gt;  &lt;!-- optional listener interface name --&gt;<br>
  &lt;/settings&gt;<br>  &lt;listeners&gt;<br>    &lt;listener name=&quot;default&quot;&gt;<br>      &lt;param name=&quot;h323-ip&quot; value=&quot;10.4.62.7&quot;/&gt;<br>      &lt;param name=&quot;h323-port&quot; value=&quot;1720&quot;/&gt;<br>
    &lt;/listener&gt;<br>  &lt;/listeners&gt;<br>&lt;/configuration&gt;<br><br>I&#39;m using default context and an inbound call looks for a registered user in default context where 1001 user is registered to.<br><br><br>
<br>here is the log for an outgoing call: <a href="http://pastebin.freeswitch.org/10799">http://pastebin.freeswitch.org/10799</a> and here is a tshark output: <a href="http://pastebin.freeswitch.org/10800">http://pastebin.freeswitch.org/10800</a><br>
<br><br>there are 2 thing that are not working here:<br><br><br>1. no audio at all!<br>2. hangup from SIP User side doesn&#39;t release the H323 leg<br><br><br><br><br><br><br><br><br><br><br><br>two points for your reference in the logs:<br>
<br><br>1. Here, SIP User disconnected the SIP leg, but nothing was triggered in
mod_h323 ... as the callback function &quot;on_hangup&quot; (in mod_h323.cpp) was
never triggered!<br><br>freeswitch@subZero&gt; <br>freeswitch@subZero&gt; <br>freeswitch@subZero&gt; recv 371 bytes from udp/[10.4.62.89]:5060 at 14:39:36.714521:<br>   ------------------------------------------------------------------------<br>
   BYE <a href="http://sip:mod_sofia@10.4.62.7:5060">sip:mod_sofia@10.4.62.7:5060</a> SIP/2.0<br>   From: &lt;<a href="mailto:sip%3A1001@10.4.62.89">sip:1001@10.4.62.89</a>;transport=udp&gt;;tag=-22166b474ae08abf-7_T10.4.62.89<br>
   To: <a href="mailto:sip%3A1001282166@10.4.62.7">sip:1001282166@10.4.62.7</a>;tag=Qpc53NZ2cZc1N<br>   Call-ID: 8aa825c6-39bb-122d-bb89-00110a5be1f0<br>   CSeq: 127 BYE<br>   Via: SIP/2.0/UDP 10.4.62.89;branch=z9hG4bK-7e5dc720_442d0f8-2d8bf1174f235bec_B<br>
   Content-Length: 0<br>   Max-Forwards: 70<br>   Supported: replaces<br>   <br>   ------------------------------------------------------------------------<br>2009-10-22 16:39:36.714604 [NOTICE] sofia.c:322 Hangup sofia/internal/<a href="mailto:sip%3A1001@10.4.62.89">sip:1001@10.4.62.89</a> [CS_CONSUME_MEDIA] [NORMAL_CLEARING]<br>
2009-10-22 16:39:36.714604 [DEBUG] switch_channel.c:1683 Send signal sofia/internal/<a href="mailto:sip%3A1001@10.4.62.89">sip:1001@10.4.62.89</a> [KILL]<br>2009-10-22 16:39:36.714604 [DEBUG] switch_core_session.c:932 Send signal sofia/internal/<a href="mailto:sip%3A1001@10.4.62.89">sip:1001@10.4.62.89</a> [BREAK]<br>
send 520 bytes to udp/[10.4.62.89]:5060 at 14:39:36.715258:<br>   ------------------------------------------------------------------------<br>   SIP/2.0 200 OK<br>   Via: SIP/2.0/UDP 10.4.62.89;branch=z9hG4bK-7e5dc720_442d0f8-2d8bf1174f235bec_B<br>
   From: &lt;<a href="mailto:sip%3A1001@10.4.62.89">sip:1001@10.4.62.89</a>;transport=udp&gt;;tag=-22166b474ae08abf-7_T10.4.62.89<br>   To: <a href="mailto:sip%3A1001282166@10.4.62.7">sip:1001282166@10.4.62.7</a>;tag=Qpc53NZ2cZc1N<br>
   Call-ID: 8aa825c6-39bb-122d-bb89-00110a5be1f0<br>   CSeq: 127 BYE<br>   User-Agent: FreeSWITCH-mod_sofia/1.0.4-exported<br>   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE, NOTIFY, REFER, UPDATE, REGISTER, INFO, PUBLISH<br>
   Supported: timer, precondition, path, replaces<br>   Content-Length: 0<br>   <br>   ------------------------------------------------------------------------<br>2009-10-22 16:39:36.721097 [DEBUG] switch_core_state_machine.c:503 (sofia/internal/<a href="mailto:sip%3A1001@10.4.62.89">sip:1001@10.4.62.89</a>) State CONSUME_MEDIA going to sleep<br>
2009-10-22 16:39:36.721097 [DEBUG] switch_core_state_machine.c:398 (sofia/internal/<a href="mailto:sip%3A1001@10.4.62.89">sip:1001@10.4.62.89</a>) Running State Change CS_HANGUP<br>2009-10-22 16:39:36.721097 [DEBUG] switch_core_state_machine.c:434 (sofia/internal/<a href="mailto:sip%3A1001@10.4.62.89">sip:1001@10.4.62.89</a>) State HANGUP<br>
2009-10-22 16:39:36.721097 [DEBUG] mod_sofia.c:338 Channel sofia/internal/<a href="mailto:sip%3A1001@10.4.62.89">sip:1001@10.4.62.89</a> hanging up, cause: NORMAL_CLEARING<br>2009-10-22 16:39:36.721097 [DEBUG] switch_core_state_machine.c:46 sofia/internal/<a href="mailto:sip%3A1001@10.4.62.89">sip:1001@10.4.62.89</a> Standard HANGUP, cause: NORMAL_CLEARING<br>
2009-10-22 16:39:36.721097 [DEBUG] switch_core_state_machine.c:434 (sofia/internal/<a href="mailto:sip%3A1001@10.4.62.89">sip:1001@10.4.62.89</a>) State HANGUP going to sleep<br>2009-10-22 16:39:36.721097 [DEBUG] switch_core_state_machine.c:476 (sofia/internal/<a href="mailto:sip%3A1001@10.4.62.89">sip:1001@10.4.62.89</a>) State Change CS_HANGUP -&gt; CS_REPORTING<br>
2009-10-22 16:39:36.721097 [DEBUG] switch_core_session.c:932 Send signal sofia/internal/<a href="mailto:sip%3A1001@10.4.62.89">sip:1001@10.4.62.89</a> [BREAK]<br>2009-10-22 16:39:36.721097 [DEBUG] switch_core_state_machine.c:398 (sofia/internal/<a href="mailto:sip%3A1001@10.4.62.89">sip:1001@10.4.62.89</a>) Running State Change CS_REPORTING<br>
2009-10-22 16:39:36.721097 [DEBUG] switch_core_state_machine.c:612 (sofia/internal/<a href="mailto:sip%3A1001@10.4.62.89">sip:1001@10.4.62.89</a>) State REPORTING<br>2009-10-22 16:39:36.721097 [DEBUG] switch_core_state_machine.c:53 sofia/internal/<a href="mailto:sip%3A1001@10.4.62.89">sip:1001@10.4.62.89</a> Standard REPORTING, cause: NORMAL_CLEARING<br>
2009-10-22 16:39:36.721097 [DEBUG] switch_core_state_machine.c:612 (sofia/internal/<a href="mailto:sip%3A1001@10.4.62.89">sip:1001@10.4.62.89</a>) State REPORTING going to sleep<br>2009-10-22 16:39:36.721097 [DEBUG] switch_core_state_machine.c:411 (sofia/internal/<a href="mailto:sip%3A1001@10.4.62.89">sip:1001@10.4.62.89</a>) State Change CS_REPORTING -&gt; CS_DESTROY<br>
2009-10-22 16:39:36.721097 [DEBUG] switch_core_session.c:1068 Session 10 (sofia/internal/<a href="mailto:sip%3A1001@10.4.62.89">sip:1001@10.4.62.89</a>) Locked, Waiting on external entities<br><br>freeswitch@subZero&gt; <br>
<br><br><br><br><br>2. switch_ivr_originate.c complains =&gt; <span style="background-color: rgb(255, 255, 0);">2009-10-22
16:39:41.630243 [ERR] switch_ivr_originate.c:1510 Cannot create
outgoing channel of type [user] cause: [NORMAL_CLEARING]</span><br><br><br>freeswitch@subZero&gt; <br>freeswitch@subZero&gt; <br>freeswitch@subZero&gt; 2009-10-22 16:39:41.630243 [DEBUG] h323pdu.cxx:609 Receiving PDU [ip$<a href="http://10.4.62.7:1720/ip$10.4.62.31:16013">10.4.62.7:1720/ip$10.4.62.31:16013</a>] :<br>
  {<br>    q931pdu = {<br>      protocolDiscriminator = 8<br>      callReference = 23<br>      from = originator<br>      messageType = ReleaseComplete<br>      IE: Cause - Normal ca<br>ll clearing = {<br>        80 90                                              ..<br>
      }<br>      IE: User-User = {<br>        25 80 06 00 08 91 4a 00  04 11 00 11 00 96 40 1f   %.....J.......@.<br>        4e be 4f 11 de 80 76 ae  99 96 03 ba ff 10 80 01   N.O.<br>..v.........<br>        ...<br>      }<br>
    }<br>    h225pdu = {<br>      h323_uu_pdu = {<br>        h323_message_body = releaseComplete {<br>          protocolIdentifier = 0.0.8.2250.0.4<br>          callIdentifier = {<br>            guid =  16 octets {<br>              96 40<br>
 1f 4e be 4f 11 de  80 76 ae 99 96 03 ba ff   .@.N.O...v......<br>            }<br>          }<br>        }<br>        h245Tunneling = true<br>      }<br>    }<br>  }<br>2009-10-22 16:39:41.630243 [DEBUG] h323.cxx:1292 Handling PDU: ReleaseComplete callRef=23<br>
2009-10-22 16:39:41.630243 [DEBUG] mod_h323.cpp:745 ======&gt;FSH323Connection::OnReceivedReleaseComplete cause = Normal call clearing value = 16<br>2009-10-22 16:39:41.630243 [NOTICE] mod_h323.cpp:749 Hangup h323/1001 [CS_EXECUTE] [NORMAL_CLEARING]<br>
2009-10-22 16:39:41.630243 [DEBUG] switch_channel.c:1683 Send signal h323/1001 [KILL]<br>2009-10-22 16:39:41.630243 [DEBUG] mod_h323.cpp:840 ======&gt;FSH323Connection::kill_channel FSH323Connection<br>2009-10-22 16:39:41.630243 [DEBUG] mod_h323.cpp:841 Kill 1 on connection FSH323Connection<br>
2009-10-22 16:39:41.630243 [DEBUG] switch_core_session.c:630 Send signal h323/1001 [BREAK]<br>2009-10-22 16:39:41.630243 [DEBUG] mod_h323.cpp:840 ======&gt;FSH323Connection::kill_channel FSH323Connection<br>2009-10-22 16:39:41.630243 [DEBUG] mod_h323.cpp:841 Kill 3 on connection FSH323Connection<br>
2009-10-22 16:39:41.630243 [DEBUG] switch_ivr_originate.c:2138 Originate Resulted in Error Cause: 16 [NORMAL_CLEARING]<br><span style="background-color: rgb(255, 255, 0);">2009-10-22 16:39:41.630243 [ERR] switch_ivr_originate.c:1510 Cannot create outgoing channel of type [user] cause: [NORMAL_CLEARING]</span><br>
2009-10-22 16:39:41.630243 [DEBUG] switch_ivr_originate.c:2138 Originate Resulted in Error Cause: 16 [NORMAL_CLEARING]<br>2009-10-22 16:39:41.630243 [INFO] mod_dptools.c:2093 Originate Failed.  Cause: NORMAL_CLEARING<br>2009-10-22 16:39:41.630243 [DEBUG] mod_dptools.c:2120 Continue on fail [true]:  Cause: NORMAL_CLEARING<br>
2009-10-22 16:39:41.630243 [DEBUG] switch_core_state_machine.c:491 (h323/1001) State EXECUTE going to sleep<br>2009-10-22 16:39:41.630243 [DEBUG] switch_core_state_machine.c:398 (h323/1001) Running State Change CS_HANGUP<br>
2009-10-22 16:39:41.630243 [DEBUG] switch_core_state_machine.c:434 (h323/1001) State HANGUP<br>2009-10-22 16:39:41.630243 [DEBUG] mod_h323.cpp:1454 ======&gt;switch_status_t on_hangup <br>2009-10-22 16:39:41.630243 [DEBUG] mod_h323.cpp:1459 -----&gt;<br>
2009-10-22 16:39:41.630243 [DEBUG] h323pdu.cxx:1272 Call End Reason Normal call clearing<br>2009-10-22 16:39:41.630243 [DEBUG] h323ep.cxx:2694 Clearing connection ip$<a href="http://10.4.62.31:16013/23">10.4.62.31:16013/23</a> reason=EndedByRemoteUser<br>
2009-10-22 16:39:41.630243 [DEBUG] h323.cxx:1034 Call end reason for ip$<a href="http://10.4.62.31:16013/23">10.4.62.31:16013/23</a> set to EndedByRemoteUser<br>2009-10-22 16:39:41.630243 [DEBUG] h323.cxx:1052 Sending release complete PDU: callRef=23<br>
2009-10-22 16:39:41.630243 [DEBUG] mod_h323.cpp:764 ======&gt;FSH323Connection::OnSendReleaseComplete cause = Normal call clearing value = 16<br>2009-10-22 16:39:41.630243 [DEBUG] h323pdu.cxx:609 Sending PDU [(noaddr)/(noaddr)] :<br>
  command endSessionCommand disconnect &lt;&lt;null&gt;&gt;<br>2009-10-22 16:39:41.630243 [DEBUG] h323pdu.cxx:609 Sending PDU [ip$<a href="http://10.4.62.7:1720/ip$10.4.62.31:16013">10.4.62.7:1720/ip$10.4.62.31:16013</a>] :<br>
<br><br></div></div><br>