On 2009-10-14 08:59 +0200, Tihomir Culjaga wrote freeswitch-users@lists.fre...: try sow start on h323 channel, there is a bug in faststart, i will fix it later. TC>the e-mail bounced back .. don't know whether you received this... TC> TC> TC> TC> TC> TC> TC>here are the results! TC> TC> TC>Outbound calls: TC> TC>SIP_user(1001) => FS => H323_SoftSwitch: TC>http://pastebin.freeswitch.org/10672 TC> TC>i get coredumps but this might be because i'm missing the bridge format.... TC>what i'm using is: <action application="bridge" data="h323/0$1@${NCX_IP}"/> TC>that can be wrong :) Please advice here. TC> TC> TC> TC> TC>Inbound Calls: TC> TC>openPhone => FS => SIP_user(1001): http://pastebin.freeswitch.org/10671 TC> TC> TC>the call went in, hit a registered sip user (1001) and the phone started TC>ringing. The phone answered the call but no audio can be heared (i see RTP TC>from the SIP uset towards FS). Also, the openPhone never receives H.225 TC>connect nor any OLC before connect. After some time, the H323 leg constates TC>the user never answered and releases the call with cause 19. TC> TC> TC> TC> TC>this is the h323.config.xml TC> TC>tculjaga@subZero:~$ cat TC>/usr/local/freeswitch/conf/autoload_configs/h323.conf.xml TC><configuration name="h323.conf" description="H323 Endpoints"> TC> <settings> TC> <param name="trace-level" value="10"/> TC> <param name="context" value="default"/> TC> <param name="dialplan" value="XML"/> TC> <param name="codec-prefs" value="PCMA,GSM,G729,G726"/> TC> <param name="gk-address" value=""/> <!-- empty to disable, "*" to TC>search LAN --> TC> <param name="gk-identifer" value=""/> <!-- optional name of gk --> TC> <param name="gk-interface" value=""/> <!-- optional listener interface TC>name --> TC> </settings> TC> <listeners> TC> <listener name="default"> TC> <param name="h323-ip" value="10.4.62.7"/> TC> <param name="h323-port" value="1720"/> TC> </listener> TC> </listeners> TC></configuration> TC> TC> TC> TC>and this is a dialplan for outgoing that i'm using TC> TC> TC><include> TC> TC> <extension name="EMERGENCY"> TC> <condition field="destination_number" expression="^0(112|9[23456])$"> TC> <action application="set" TC>data="effective_caller_id_number=1001282122"/> TC> <action application="set" data="NCX_IP=10.4.4.254"/> TC> <action application="set" data="call_timeout=30"/> TC> <action application="set" data="hangup_after_bridge=true"/> TC> TC> <!--action application="bridge" data="opal/h323:0$1@${NCX_IP}"/--> TC> <action application="bridge" data="h323/0$1@${NCX_IP}"/> TC> </condition> TC> </extension> TC> TC> <extension name="SPECIAL_SERVICES"> TC> <condition field="destination_number" expression="^0(9[01789]\d{3,4})$"> TC> <action application="set" TC>data="effective_caller_id_number=1001282122"/> TC> <action application="set" data="NCX_IP=10.4.4.254"/> TC> <action application="set" data="call_timeout=30"/> TC> <action application="set" data="hangup_after_bridge=true"/> TC> TC> <!--action application="bridge" data="opal/h323:0$1@${NCX_IP}"/--> TC> <action application="bridge" data="h323/0$1@${NCX_IP}"/> TC> </condition> TC> </extension> TC> TC> <extension name="ENYTHING_ELSE"> TC> <condition field="destination_number" TC>expression="^0([2-8]\d{6,7}|0[1-9]\d{7,8}|00[1-9]\d{8,16})$"> TC> <action application="set" TC>data="effective_caller_id_number=1001282122"/> TC> <action application="set" data="NCX_IP=10.4.4.254"/> TC> <action application="set" data="call_timeout=30"/> TC> <action application="set" data="hangup_after_bridge=true"/> TC> TC> <!--action application="bridge" data="opal/h323:0$1@${NCX_IP}"/--> TC> <action application="bridge" data="h323/0$1@${NCX_IP}"/> TC> </condition> TC> </extension> TC> TC></include> TC> TC> TC> TC>P.S.: sorry for the attached rar, but don't know how to upload it to TC>pastebin :P TC> TC> TC>T. TC> TC> TC> TC> TC>2009/10/12 Tihomir Culjaga <tculjaga@gmail.com> TC> TC>hi, TC>> TC>> finally i compiled it right ... had a stupid issue with ekiga and wrong TC>> ptlib in place... TC>> TC>> anyhow, i loaded the module and will continue the tests tomorrow ...first TC>> thing i arrive in my office :P TC>> TC>> TC>> TC>> freeswitch@subZero> TC>> freeswitch@subZero> TC>> API CALL [console(loglevel 7)] output: TC>> +OK console log level set to DEBUG TC>> TC>> freeswitch@subZero> load mod_h323 TC>> 2009-10-12 23:38:09.509279 [CONSOLE] mod_h323.cpp:93 Starting loading TC>> mod_h323 TC>> 2009-10-12 23:38:09.511413 [DEBUG] mod_h323.cpp:461 Created Listener TC>> 'default' TC>> 2009-10-12 23:38:09.511413 [DEBUG] mod_h323.cpp:305 Config capabilliti TC>> PCMA,GSM,G729,G726 TC>> 2009-10-12 23:38:09.511413 [DEBUG] mod_h323.cpp:309 Find capabilliti PCMU TC>> to PCMA,GSM,G729,G726 TC>> 2009-10-12 23:38:09.511413 [DEBUG] mod_h323.cpp:309 Find capabilliti PCMA TC>> to PCMA,GSM,G729,G726 TC>> 2009-10-12 23:38:09.511413 [DEBUG] h323caps.cxx:3264 FindCapability: TC>> "G.711-uLaw-64k{sw}" TC>> 2009-10-12 23:38:09.512480 [DEBUG] h323caps.cxx:3176 Added capability: TC>> G.711-uLaw-64k <1> TC>> 2009-10-12 23:38:09.512480 [DEBUG] h323caps.cxx:3264 FindCapability: TC>> "G.711-uLaw-64k{sw}" TC>> 2009-10-12 23:38:09.512480 [DEBUG] h323caps.cxx:3264 FindCapability: TC>> "G.711-uLaw-64k{sw}" TC>> 2009-10-12 23:38:09.512480 [DEBUG] h323caps.cxx:3264 FindCapability: TC>> "G.711-uLaw-64k{sw}" TC>> 2009-10-12 23:38:09.512480 [DEBUG] h323caps.cxx:3264 FindCapability: TC>> "G.711-uLaw-64k{sw}" TC>> 2009-10-12 23:38:09.512480 [DEBUG] h323caps.cxx:1989 No Extended TC>> Capabilities found to load TC>> 2009-10-12 23:38:09.512480 [DEBUG] mod_h323.cpp:325 H.323 added 1 TC>> capabilities 'G.711-uLaw-64k*{sw}' TC>> 2009-10-12 23:38:09.512480 [DEBUG] mod_h323.cpp:309 Find capabilliti gsm to TC>> PCMA,GSM,G729,G726 TC>> 2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti msgsm TC>> to PCMA,GSM,G729,G726 TC>> 2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti speex TC>> to PCMA,GSM,G729,G726 TC>> 2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti lpc10 TC>> to PCMA,GSM,G729,G726 TC>> 2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti ilbc20 TC>> to PCMA,GSM,G729,G726 TC>> 2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti ilbc30 TC>> to PCMA,GSM,G729,G726 TC>> 2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti g723 TC>> to PCMA,GSM,G729,G726 TC>> 2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti g726 TC>> to PCMA,GSM,G729,G726 TC>> 2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti g728 TC>> to PCMA,GSM,G729,G726 TC>> 2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti g729b TC>> to PCMA,GSM,G729,G726 TC>> 2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti g729 TC>> to PCMA,GSM,G729,G726 TC>> 2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti slin TC>> to PCMA,GSM,G729,G726 TC>> 2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti g729a TC>> to PCMA,GSM,G729,G726 TC>> 2009-10-12 23:38:09.513529 [DEBUG] mod_h323.cpp:309 Find capabilliti g729ab TC>> to PCMA,GSM,G729,G726 TC>> 2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti g723.1 TC>> to PCMA,GSM,G729,G726 TC>> 2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti TC>> g723.1-5k3 to PCMA,GSM,G729,G726 TC>> 2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti TC>> g723.1a-5k3 to PCMA,GSM,G729,G726 TC>> 2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti TC>> g723.1a-6k3 to PCMA,GSM,G729,G726 TC>> 2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti TC>> g723.1a-6k3-cisco to PCMA,GSM,G729,G726 TC>> 2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti TC>> g726-16 to PCMA,GSM,G729,G726 TC>> 2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti TC>> g726-24 to PCMA,GSM,G729,G726 TC>> 2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti TC>> g726-32 to PCMA,GSM,G729,G726 TC>> 2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti TC>> g726-40 to PCMA,GSM,G729,G726 TC>> 2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti ilbc TC>> to PCMA,GSM,G729,G726 TC>> 2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti TC>> speex-18k2 to PCMA,GSM,G729,G726 TC>> 2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti TC>> speex-15k to PCMA,GSM,G729,G726 TC>> 2009-10-12 23:38:09.514615 [DEBUG] mod_h323.cpp:309 Find capabilliti TC>> speex-11k to PCMA,GSM,G729,G726 TC>> 2009-10-12 23:38:09.515708 [DEBUG] mod_h323.cpp:309 Find capabilliti TC>> speex-8k to PCMA,GSM,G729,G726 TC>> 2009-10-12 23:38:09.515708 [DEBUG] mod_h323.cpp:309 Find capabilliti TC>> speex-5k95 to PCMA,GSM,G729,G726 TC>> 2009-10-12 23:38:09.515708 [DEBUG] h323caps.cxx:3176 Added capability: TC>> UserInput/hookflash <2> TC>> 2009-10-12 23:38:09.515708 [DEBUG] h323caps.cxx:3176 Added capability: TC>> UserInput/basicString <3> TC>> 2009-10-12 23:38:09.515708 [DEBUG] h323caps.cxx:3176 Added capability: TC>> UserInput/dtmf <4> TC>> 2009-10-12 23:38:09.515708 [DEBUG] h323caps.cxx:3176 Added capability: TC>> UserInput/RFC2833 <5> TC>> 2009-10-12 23:38:09.515708 [DEBUG] h323caps.cxx:3176 Added capability: TC>> UserInput/Navigation <6> TC>> 2009-10-12 23:38:09.515708 [DEBUG] h323caps.cxx:3176 Added capability: TC>> UserInput/Softkey <7> TC>> 2009-10-12 23:38:09.515708 [DEBUG] h323caps.cxx:3176 Added capability: TC>> UserInput/PointDevice <8> TC>> 2009-10-12 23:38:09.515708 [DEBUG] h323caps.cxx:3176 Added capability: TC>> UserInput/Modal <9> TC>> 2009-10-12 23:38:09.516760 [DEBUG] osutil.cxx:188 File handle high water TC>> mark set: 44 PTCPSocket TC>> 2009-10-12 23:38:09.516760 [DEBUG] h323ep.cxx:1995 Started listener TC>> Listener[ip$10.4.62.7:1720] TC>> 2009-10-12 23:38:09.516760 [DEBUG] tlibthrd.cxx:547 Thread high water mark TC>> set: 3 TC>> 2009-10-12 23:38:09.516760 [CONSOLE] mod_h323.cpp:108 Opal manager TC>> initialized and running TC>> 2009-10-12 23:38:09.516760 [DEBUG] tlibthrd.cxx:454 Started thread TC>> 0xb75e0f18 H323 Listener:b5c98b90 TC>> 2009-10-12 23:38:09.516760 [CONSOLE] switch_loadable_module.c:889 TC>> Successfully Loaded [mod_h323] TC>> 2009-10-12 23:38:09.516760 [NOTICE] switch_loadable_module.c:142 Adding TC>> Endpoint 'h323' TC>> API CALL [load(mod_h323)] output: TC>> +OK TC>> TC>> 2009-10-12 23:38:09.516760 [DEBUG] transports.cxx:1521 Awaiting TCP TC>> connections on port 1720 TC>> 2009-10-12 23:38:09.517832 [DEBUG] transports.cxx:1475 Waiting on socket TC>> accept on ip$10.4.62.7:1720 TC>> 2009-10-12 23:38:09.517832 [DEBUG] tlibthrd.cxx:1023 TC>> PThread::PXBlockOnIO(44,2) TC>> freeswitch@subZero> TC>> TC>> TC>> BTW: to compile everytihng, I used FS trunk, ptlib 2.7.1 and h323plus TC>> 1.22.0 TC>> TC>> Will let you know the results asap. TC>> TC>> TC>> T. TC>> TC>> TC>> TC>> 2009/10/12 Georgiewskiy Yuriy <bottleman@icf.org.ru> TC>> TC>>> On 2009-10-12 18:03 +0200, Tihomir Culjaga wrote TC>>> freeswitch-users@lists.fre...: TC>>> TC>>> i already write this, ptlib 2.6.5, tou can find link to it on TC>>> oplalvoip.org, h32plus latest CVS version, TC>>> you can find it on www.h323plus.org. TC>>> TC>>> TC>hi, TC>>> TC> TC>>> TC>can't make it... TC>>> TC> TC>>> TC>subZero:~/freeswitch-trunk$ make mod_h323 TC>>> TC> TC>>> TC>making all mod_h323 TC>>> TC>Compiling mod_h323.cpp... TC>>> TC>quiet_libtool: compile: g++ -g -ggdb -I/usr/local/include/ptlib TC>>> TC>-I/usr/local/include/openh323 -I. -DPTRACING=1 -D_REENTRANT TC>>> -fno-exceptions TC>>> TC>-I/home/tculjaga/freeswitch-trunk/src/include TC>>> TC>-I/home/tculjaga/freeswitch-trunk/libs/libteletone/src -fPIC TC>>> TC>-fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g TC>>> -O2 TC>>> TC>-D_GNU_SOURCE -DHAVE_CONFIG_H -c mod_h323.cpp -fPIC -DPIC -o TC>>> TC>.libs/mod_h323.o TC>>> TC>In file included from /usr/local/include/openh323/h323.h:493, TC>>> TC> from mod_h323.h:8, TC>>> TC> from mod_h323.cpp:3: TC>>> TC>/usr/local/include/openh323/h323ep.h: In member function ЪЪЪЪЪЪvirtual TC>>> void TC>>> TC>NATFactoryStartup::OnShutdown()ЪЪЪЪЪЪ: TC>>> TC>/usr/local/include/openh323/h323ep.h:2731: error: TC>>> ЪЪЪЪЪЪNatFactoryЪЪЪЪЪЪ has not TC>>> TC>been declared TC>>> TC>make[4]: *** [mod_h323.lo] Error 1 TC>>> TC>make[3]: *** [all] Error 1 TC>>> TC>make[2]: *** [mod_h323-all] Error 1 TC>>> TC>make[1]: *** [mod_h323] Error 2 TC>>> TC>make: *** [mod_h323] Error 2 TC>>> TC> TC>>> TC> TC>>> TC> TC>>> TC>what exact ptlib and h323plus versions did you use? .. can you send us TC>>> a TC>>> TC>link so we can use the exact ones. TC>>> TC> TC>>> TC> TC>>> TC>T. TC>>> TC> TC>>> TC>2009/10/12 Georgiewskiy Yuriy <bottleman@icf.org.ru> TC>>> TC> TC>>> TC>> On 2009-10-12 09:43 -0500, Brian West wrote TC>>> TC>> freeswitch-users@lists.freeswit...: TC>>> TC>> TC>>> TC>> BW>We can host this in our SVN if you wish? TC>>> TC>> TC>>> TC>> If in fs svn i think yes. But i think may be little time later? TC>>> TC>> i don't known is it builds on trunk because i develop it on 1.0.4. TC>>> TC>> TC>>> TC>> BW>/b TC>>> TC>> BW> TC>>> TC>> BW>On Oct 12, 2009, at 8:31 AM, Georgiewskiy Yuriy wrote: TC>>> TC>> BW> TC>>> TC>> BW>> ftp://srv.icf.org.ru/pub/soft/f/freeswitch/mod_h323/ alfa code, TC>>> but TC>>> TC>> seems TC>>> TC>> BW>> it work, but should be buggy, TC>>> TC>> BW>> to build need libpt 2.6.5 and h323plus cvs version, i test it TC>>> now on TC>>> TC>> fs TC>>> TC>> BW>> 1.0.4. TC>>> TC>> BW> TC>>> TC>> TC>>> TC>> C уважением With Best Regards TC>>> TC>> Георгиевский Юрий. Georgiewskiy Yuriy TC>>> TC>> +7 4872 711666 +7 4872 711666 TC>>> TC>> факс +7 4872 711143 fax +7 4872 711143 TC>>> TC>> Компания ООО "Ай Ти Сервис" IT Service Ltd TC>>> TC>> http://nkoort.ru http://nkoort.ru TC>>> TC>> JID: GHhost@jabber.tula-ix.net.ru JID: GHhost@jabber.tula-ix.net.ru TC>>> TC>> YG129-RIPE YG129-RIPE TC>>> TC>> TC>>> TC>> _______________________________________________ TC>>> TC>> FreeSWITCH-users mailing list TC>>> TC>> FreeSWITCH-users@lists.freeswitch.org TC>>> TC>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users TC>>> TC>> UNSUBSCRIBE: TC>>> http://lists.freeswitch.org/mailman/options/freeswitch-users TC>>> TC>> http://www.freeswitch.org TC>>> TC>> TC>>> TC>> TC>>> TC> TC>>> TC>>> C уважением With Best Regards TC>>> Георгиевский Юрий. Georgiewskiy Yuriy TC>>> +7 4872 711666 +7 4872 711666 TC>>> факс +7 4872 711143 fax +7 4872 711143 TC>>> Компания ООО "Ай Ти Сервис" IT Service Ltd TC>>> http://nkoort.ru http://nkoort.ru TC>>> JID: GHhost@jabber.tula-ix.net.ru JID: GHhost@jabber.tula-ix.net.ru TC>>> YG129-RIPE YG129-RIPE TC>>> TC>>> _______________________________________________ TC>>> FreeSWITCH-users mailing list TC>>> FreeSWITCH-users@lists.freeswitch.org TC>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users TC>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users TC>>> http://www.freeswitch.org TC>>> TC>>> TC>> TC> 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@jabber.tula-ix.net.ru JID: GHhost@jabber.tula-ix.net.ru YG129-RIPE YG129-RIPE