<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
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>
<param name="ptime-override-value" value="20"/> or by
specifying G729@20i for the codec.<br>
<br>
BR<br>
Jan<br>
<br>
Am 13.10.2010 16:59, schrieb John Carpenter:
<blockquote cite="mid:1286981982.2305.4.camel@Zaphod" type="cite">
<meta http-equiv="Context-Type" content="text/html; charset=utf-8">
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>
"Unsupported ptime of 2 on write Audio codec G.729{sw} for
connection [0xb4c0ee10]"<br>
<br>
and call fails to connect. If I use ulaw codec call fails to
connect with<br>
<br>
"Write PDU fail: no control channel"<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 moz-do-not-send="true"
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>
<configuration name="h323.conf" description="H323
Endpoints"><br>
<settings><br>
<param name="trace-level" value="10"/><br>
<param name="context" value="public"/><br>
<param name="dialplan" value="XML"/><br>
<param name="codec-prefs" value="PCMA,PCMU,GSM,G729"/><br>
<param name="use-rtp-timer" value="true"/> <!-- enable
RTP timer - should always be enabled --><br>
<param name="rtp-timer-name" value="soft"/> <!-- Timer
name, soft is default --><br>
<!-- <param name="ptime-override-value" value="20"/>
--> <!-- Override negotiated ptime value with this value
--><br>
<param name="gk-address" value=""/> <!-- empty to
disable, "*" to search LAN --><br>
<param name="gk-identifer" value=""/> <!-- optional
name of gk --><br>
<param name="gk-interface" value=""/> <!-- mandatory
listener interface name --><br>
<param name="gk-retry" value="30"/> <!-- optional GK
register retry timer --><br>
<param name="faststart" value="true"/> <!-- optional
--><br>
<param name="h245tunneling" value="true"/> <!--
optional --><br>
<param name="h245insetup" value="true"/> <!--
optional --><br>
<param name="jitter-size" value="60"/> <!-- optional
--><br>
<param name="progress-indication" value="8"/> <!--
optional - PI value in progress message--><br>
<param name="alerting-indication" value="8"/> <!--
optional - PI value in alerting message--><br>
<param name="endpoint-name" value="fs"/><br>
<param name="fax-old-asn" value="true"/><br>
</settings><br>
<listeners><br>
<listener name="default"><br>
<param name="h323-ip" value="$${local_ip_v4}"/><br>
<param name="h323-port" value="1720"/><br>
</listener><br>
</listeners><br>
</configuration><br>
<br>
And this is the log of the xml_curl dialplan that is executed<br>
<br>
<?xml version="1.0" encoding="UTF-8" standalone="no"?><br>
<document type="freeswitch/xml"><br>
<section name="dialplan" description="php dialplan"><br>
<context name="public"><br>
<extension name="normal"><br>
<condition field="destination_number" expression="^(\d+)$"><br>
<action application="set" data="bypass_media=false"/><br>
<action application="set" data="proxy_media=true"/><br>
<action application="bridge"
data="sofia/gateway/arbinet-o/$1"/><br>
</condition><br>
</extension><br>
</context><br>
</section><br>
</document><br>
<br>
Any help will be greatly appreciated <br>
<br>
regards, John Carpenter
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Jan Riedinger Phone : +49-30-39 73 19 66
Dipl.-Inf. | Managing Director Fax : +49-30-39 73 19 64
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:riedinger@sns.eu">riedinger@sns.eu</a>
SNS Consult GmbH ICQ : 163-237-041
Südwestkorso 49a MSN : <a class="moz-txt-link-abbreviated" href="mailto:jan@sns-consult.de">jan@sns-consult.de</a>
14197 Berlin GERMANY Skype : Jan Riedinger
AG Charlottenburg - HRB 71973
</pre>
</body>
</html>