<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.30.3">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#ffffff">
Hi Jan, yep setting ptime-override-value to 20 cured the problem, thanks.<BR>
<BR>
regards, John<BR>
<BR>
On Thu, 2010-10-14 at 00:38 +0200, Jan Riedinger wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
    Hi John,<BR>
    <BR>
    a ptime of 2 seems to be much too less and is a strange value, the default value is 20. Maybe you should try to force its usage. I'm not sure, how this can be done, maybe by using <BR>
    &lt;param name=&quot;ptime-override-value&quot; value=&quot;20&quot;/&gt; or by specifying G729@20i for the codec.<BR>
    <BR>
    BR<BR>
    &nbsp;&nbsp; Jan<BR>
    <BR>
    Am 13.10.2010 16:59, schrieb John Carpenter: <BR>
    <BLOCKQUOTE TYPE=CITE>
        Hi, I am trying to bridge an incoming h323 call to an external SIP provider, I am using latest git release. If I use G729 codec I get message<BR>
        <BR>
        &quot;Unsupported ptime of 2 on&nbsp; write Audio codec G.729{sw}&nbsp; for connection [0xb4c0ee10]&quot;<BR>
        <BR>
        and call fails to connect. If I use ulaw codec call fails to connect with<BR>
        <BR>
        &quot;Write PDU fail: no control channel&quot;<BR>
        <BR>
        If I make a straight SIP to SIP call though same provider all work ok. I have posted log of call in <A HREF="http://pastebin.freeswitch.org/14216">http://pastebin.freeswitch.org/14216</A> because it is rather large.<BR>
        This is my first venture into using the mod_h323 module and maybe I am doing something stupid but have read all docs and seem to have hit a brick wall on this.<BR>
        <BR>
        my h323.conf.xml file looks like this<BR>
        <BR>
        &lt;configuration name=&quot;h323.conf&quot; description=&quot;H323 Endpoints&quot;&gt;<BR>
        &lt;settings&gt;<BR>
        &nbsp;&nbsp; &lt;param name=&quot;trace-level&quot; value=&quot;10&quot;/&gt;<BR>
        &nbsp;&nbsp; &lt;param name=&quot;context&quot; value=&quot;public&quot;/&gt;<BR>
        &nbsp;&nbsp; &lt;param name=&quot;dialplan&quot; value=&quot;XML&quot;/&gt;<BR>
        &nbsp;&nbsp; &lt;param name=&quot;codec-prefs&quot; value=&quot;PCMA,PCMU,GSM,G729&quot;/&gt;<BR>
        &nbsp;&nbsp; &lt;param name=&quot;use-rtp-timer&quot; value=&quot;true&quot;/&gt; &lt;!-- enable RTP timer - should always be enabled --&gt;<BR>
        &nbsp;&nbsp; &lt;param name=&quot;rtp-timer-name&quot; value=&quot;soft&quot;/&gt; &lt;!-- Timer name, soft is default --&gt;<BR>
        &nbsp;&nbsp; &lt;!-- &lt;param name=&quot;ptime-override-value&quot; value=&quot;20&quot;/&gt; --&gt; &lt;!-- Override negotiated ptime value with this value --&gt;<BR>
        &nbsp;&nbsp; &lt;param name=&quot;gk-address&quot; value=&quot;&quot;/&gt;&nbsp;&nbsp;&nbsp; &lt;!-- empty to disable, &quot;*&quot; to search LAN --&gt;<BR>
        &nbsp;&nbsp; &lt;param name=&quot;gk-identifer&quot; value=&quot;&quot;/&gt;&nbsp; &lt;!-- optional name of gk --&gt;<BR>
        &nbsp;&nbsp; &lt;param name=&quot;gk-interface&quot; value=&quot;&quot;/&gt;&nbsp; &lt;!-- mandatory listener interface name --&gt;<BR>
        &nbsp;&nbsp; &lt;param name=&quot;gk-retry&quot; value=&quot;30&quot;/&gt;&nbsp; &lt;!-- optional GK register retry timer --&gt;<BR>
        &nbsp;&nbsp; &lt;param name=&quot;faststart&quot; value=&quot;true&quot;/&gt;&nbsp; &lt;!-- optional --&gt;<BR>
        &nbsp;&nbsp; &lt;param name=&quot;h245tunneling&quot; value=&quot;true&quot;/&gt;&nbsp; &lt;!-- optional --&gt;<BR>
        &nbsp;&nbsp; &lt;param name=&quot;h245insetup&quot; value=&quot;true&quot;/&gt;&nbsp; &lt;!-- optional --&gt;<BR>
        &nbsp;&nbsp; &lt;param name=&quot;jitter-size&quot; value=&quot;60&quot;/&gt;&nbsp; &lt;!-- optional --&gt;<BR>
        &nbsp;&nbsp; &lt;param name=&quot;progress-indication&quot; value=&quot;8&quot;/&gt; &lt;!-- optional - PI value in progress message--&gt;<BR>
        &nbsp;&nbsp; &lt;param name=&quot;alerting-indication&quot; value=&quot;8&quot;/&gt; &lt;!-- optional - PI value in alerting message--&gt;<BR>
        &nbsp;&nbsp; &lt;param name=&quot;endpoint-name&quot; value=&quot;fs&quot;/&gt;<BR>
        &nbsp;&nbsp; &lt;param name=&quot;fax-old-asn&quot; value=&quot;true&quot;/&gt;<BR>
        &lt;/settings&gt;<BR>
        &lt;listeners&gt;<BR>
        &nbsp;&nbsp; &lt;listener name=&quot;default&quot;&gt;<BR>
        &nbsp;&nbsp;&nbsp;&nbsp; &lt;param name=&quot;h323-ip&quot; value=&quot;$${local_ip_v4}&quot;/&gt;<BR>
        &nbsp;&nbsp;&nbsp;&nbsp; &lt;param name=&quot;h323-port&quot; value=&quot;1720&quot;/&gt;<BR>
        &nbsp;&nbsp; &lt;/listener&gt;<BR>
        &lt;/listeners&gt;<BR>
        &lt;/configuration&gt;<BR>
        <BR>
        And this is the log of the xml_curl dialplan that is executed<BR>
        <BR>
        &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;<BR>
        &lt;document type=&quot;freeswitch/xml&quot;&gt;<BR>
        &lt;section name=&quot;dialplan&quot; description=&quot;php dialplan&quot;&gt;<BR>
        &lt;context name=&quot;public&quot;&gt;<BR>
        &lt;extension name=&quot;normal&quot;&gt;<BR>
        &lt;condition field=&quot;destination_number&quot; expression=&quot;^(\d+)$&quot;&gt;<BR>
        &lt;action application=&quot;set&quot; data=&quot;bypass_media=false&quot;/&gt;<BR>
        &lt;action application=&quot;set&quot; data=&quot;proxy_media=true&quot;/&gt;<BR>
        &lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/arbinet-o/$1&quot;/&gt;<BR>
        &lt;/condition&gt;<BR>
        &lt;/extension&gt;<BR>
        &lt;/context&gt;<BR>
        &lt;/section&gt;<BR>
        &lt;/document&gt;<BR>
        <BR>
        Any help will be greatly appreciated <BR>
        <BR>
        regards, John Carpenter 
<PRE>

_______________________________________________
FreeSWITCH-users mailing list
<A HREF="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A>
<A HREF="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A>
UNSUBSCRIBE:<A HREF="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</A>
<A HREF="http://www.freeswitch.org">http://www.freeswitch.org</A>
</PRE>
    </BLOCKQUOTE>
    <BR>
<PRE>
-- 
Jan Riedinger                           Phone :  +49-30-39 73 19 66
Dipl.-Inf. | Managing Director          Fax   :  +49-30-39 73 19 64
                                        E-Mail:  <A HREF="mailto:riedinger@sns.eu">riedinger@sns.eu</A>
SNS Consult GmbH                        ICQ   :  163-237-041
S&#252;dwestkorso 49a                        MSN   :  <A HREF="mailto:jan@sns-consult.de">jan@sns-consult.de</A>
14197 Berlin GERMANY                    Skype :  Jan Riedinger

AG Charlottenburg - HRB 71973
_______________________________________________
FreeSWITCH-users mailing list
<A HREF="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A>
<A HREF="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A>
UNSUBSCRIBE:<A HREF="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</A>
<A HREF="http://www.freeswitch.org">http://www.freeswitch.org</A>
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>