[Freeswitch-users] Mod_h323 problem

Georgiewskiy Yuriy bottleman at icf.org.ru
Mon Oct 18 05:51:44 PDT 2010


On 2010-10-13 13:14 +0100, John Carpenter wrote FreeSWITCH Users Help:

JC>Hi, I am trying to bridge an incoming h323 call to an external SIP
JC>provider, I am using latest git release. If I use G729 codec I get
JC>message
JC>
JC>"Unsupported ptime of 2 on  write Audio codec G.729{sw}  for connection
JC>[0xb4c0ee10]"
JC>
JC>and call fails to connect. If I use ulaw codec call fails to connect
JC>with
JC>
JC>"Write PDU fail: no control channel"
JC>
JC>If I make a straight SIP to SIP call though same provider all work ok. I
JC>have posted log of call in http://pastebin.freeswitch.org/14216 because
JC>it is rather large.
JC>
JC>my h323.conf.xml file looks like this
JC>
JC><configuration name="h323.conf" description="H323 Endpoints">
JC> <settings>
JC>   <param name="trace-level" value="10"/>
JC>   <param name="context" value="public"/>
JC>   <param name="dialplan" value="XML"/>
JC>   <param name="codec-prefs" value="PCMA,PCMU,GSM,G729"/>
JC>   <param name="use-rtp-timer" value="true"/> <!-- enable RTP timer -
JC>should always be enabled -->
JC>   <param name="rtp-timer-name" value="soft"/> <!-- Timer name, soft is
JC>default -->
JC>   <!-- <param name="ptime-override-value" value="20"/> --> <!--
JC>Override negotiated ptime value with this value -->
JC>   <param name="gk-address" value=""/>    <!-- empty to disable, "*" to
JC>search LAN -->
JC>   <param name="gk-identifer" value=""/>  <!-- optional name of gk -->
JC>   <param name="gk-interface" value=""/>  <!-- mandatory listener
JC>interface name -->
JC>   <param name="gk-retry" value="30"/>  <!-- optional GK register retry
JC>timer -->
JC>   <param name="faststart" value="true"/>  <!-- optional -->
JC>   <param name="h245tunneling" value="true"/>  <!-- optional -->
JC>   <param name="h245insetup" value="true"/>  <!-- optional -->
JC>   <param name="jitter-size" value="60"/>  <!-- optional -->
JC>   <param name="progress-indication" value="8"/> <!-- optional - PI
JC>value in progress message-->
JC>   <param name="alerting-indication" value="8"/> <!-- optional - PI
JC>value in alerting message-->
JC>   <param name="endpoint-name" value="fs"/>
JC>   <param name="fax-old-asn" value="true"/>
JC> </settings>
JC> <listeners>
JC>   <listener name="default">
JC>     <param name="h323-ip" value="$${local_ip_v4}"/>
JC>     <param name="h323-port" value="1720"/>
JC>   </listener>
JC> </listeners>
JC></configuration>
JC>
JC>And this is the log of the xml_curl dialplan that is executed
JC>
JC><?xml version="1.0" encoding="UTF-8" standalone="no"?>
JC><document type="freeswitch/xml">
JC><section name="dialplan" description="php dialplan">
JC><context name="public">
JC><extension name="normal">
JC><condition field="destination_number" expression="^(\d+)$">
JC><action application="set" data="bypass_media=false"/>
JC><action application="set" data="proxy_media=true"/>
JC><action application="bridge" data="sofia/gateway/arbinet-o/$1"/>
JC></condition>
JC></extension>
JC></context>
JC></section>
JC></document>
JC>
JC>Any help will be greatly appreciated 
JC>
JC>regards, John Carpenter
JC>

mod_h323 don't work with proxy_media.

C уважением                       With Best Regards
Георгиевский Юрий.                Georgiewskiy Yuriy
+7 4872 711666                    +7 4872 711666
факс +7 4872 711143               fax +7 4872 711143
Компания ООО "Ай Ти Сервис"       IT Service Ltd
http://nkoort.ru                  http://nkoort.ru
JID: GHhost at jabber.tula-ix.net.ru JID: GHhost at jabber.tula-ix.net.ru
YG129-RIPE                        YG129-RIPE


More information about the FreeSWITCH-users mailing list