[Freeswitch-users] Fwd: mod_opal - call charged before H.225 connect
Georgiewskiy Yuriy
bottleman at icf.org.ru
Tue Oct 20 08:17:37 PDT 2009
On 2009-10-20 10:17 +0200, Tihomir Culjaga wrote freeswitch-users at lists.fre...:
TC>> TC>
TC>> TC>call flow is SIP_user => FS => H323_endpoint is failing ..
TC>> coredumped....
TC>> TC>http://pastebin.freeswitch.org/10703
TC>>
TC>> i fix some bugs now,
TC>> ftp://srv.icf.org.ru/pub/soft/f/freeswitch/mod_h323/mod_h323.tar.bz2 this
TC>> is
TC>> updated version, try it, if you experience no audio try enable rtp proxy in
TC>> you sip profile.
TC>>
TC>>
TC>Hi, there are several issues... lets start with top 4 :)
TC>
TC>
TC>
TC>1. I'm still stuck with no audio:
TC>
TC>I have this parameter in the sip profile set: <param
TC>name="inbound-proxy-media" value="true"/>
TC>...tried with both with slow start and fast start... any idea ?
TC>
TC>pls check: http://pastebin.freeswitch.org/10771
try to sniff rtp traffic on fs, is it go thouch him.
TC>
TC>
TC>
TC>
TC>
TC>2. outgoing calls still failing in coredumps: what is your dialplan ? ...
TC>how do you call bridge application?
simple:
<action application="bridge" data="h323/${number}"/>
if fs not registered on gk then data="h323/${number}@xxx.xxx.xxx.xxx".
TC>
TC>2009-10-20 10:08:18.424083 [DEBUG] h323caps.cxx:3252 Found capability:
TC>UserInput/PointDevice <14>
TC>2009-10-20 10:08:18.424083 [DEBUG] h323caps.cxx:3248 FindCapability: 15
TC>2009-10-20 10:08:18.426608 [DEBUG] osutils.cxx:60 Created external thread
TC>0xb6eb60a0 for id 3048876944
TC>2009-10-20 10:08:18.426608 [DEBUG] osutils.cxx:65 Destroyed external thread
TC>0xb6ebafa8 for id 3048876944
TC>2009-10-20 10:08:18.426608 [DEBUG] tlibthrd.cxx:406 Destroyed thread
TC>0xb6ebafa8 PExternalThread:0xb5ba2b90(id = b5ba2b90)
TC>2009-10-20 10:08:18.426608 [DEBUG] h323caps.cxx:3252 Found capability:
TC>UserInput/Modal <15>
TC>2009-10-20 10:08:18.426608 [DEBUG] osutils.cxx:880 MONITOR: timers=0,
TC>expiries=0
TC>2009-10-20 10:08:18.426608 [DEBUG] osutils.cxx:880 MONITOR: timers=0,
TC>expiries=0
TC>2009-10-20 10:08:18.426608 [DEBUG] osutils.cxx:60 Created external thread
TC>0xb6eba910 for id 3048876944
TC>2009-10-20 10:08:18.426608 [DEBUG] h4601.cxx:1725 Endpoint Attached
TC>Segmentation fault (core dumped)
TC>tculjaga at subZero:~/freeswitch-trunk$
TC>
TC>pls check: http://pastebin.freeswitch.org/10769
look strange, what version of libpt/h323plus you use and freeswitch itself ?
TC>
TC>
TC>
TC>3. when you hangup from SIP side, the call is not released end-to-end (the
TC>H323 endpoint doesn't get any releaseComplete message)
TC>
TC>2009-10-20 10:10:51.264527 [DEBUG] osutils.cxx:880 MONITOR: timers=2,
TC>expiries=3
TC>2009-10-20 10:10:51.264527 [DEBUG] h323neg.cxx:432 Received
TC>MasterSlaveDeterminationAck: state=Incoming
TC>2009-10-20 10:10:51.264527 [DEBUG] osutils.cxx:880 MONITOR: timers=1,
TC>expiries=3
TC>2009-10-20 10:10:51.264527 [DEBUG] osutils.cxx:880 MONITOR: timers=2,
TC>expiries=4
TC>2009-10-20 10:10:51.264527 [DEBUG] h323.cxx:4138
TC>InternalEstablishedConnectionCheck: connectionState=EstablishedConnection
TC>fastStartState=FastStartAcknowledged
TC>2009-10-20 10:10:51.264527 [DEBUG] h323caps.cxx:3264 FindCapability: "T.120"
TC>2009-10-20 10:10:51.264527 [DEBUG] h323.cxx:4138
TC>InternalEstablishedConnectionCheck: connectionState=EstablishedConnection
TC>fastStartState=FastStartAcknowledged
TC>2009-10-20 10:10:51.264527 [DEBUG] tlibthrd.cxx:1023
TC>PThread::PXBlockOnIO(45,0)
TC>2009-10-20 10:10:54.405479 [NOTICE] sofia.c:328 Hangup sofia/internal/
TC>sip:1001 at 10.4.62.89 <sip%3A1001 at 10.4.62.89> [CS_CONSUME_MEDIA]
TC>[NORMAL_CLEARING]
TC>2009-10-20 10:10:54.405479 [DEBUG] switch_channel.c:1726 Send signal
TC>sofia/internal/sip:1001 at 10.4.62.89 <sip%3A1001 at 10.4.62.89> [KILL]
TC>2009-10-20 10:10:54.405479 [DEBUG] switch_core_session.c:932 Send signal
TC>sofia/internal/sip:1001 at 10.4.62.89 <sip%3A1001 at 10.4.62.89> [BREAK]
TC>2009-10-20 10:10:54.405479 [DEBUG] switch_core_state_machine.c:437 thread
TC>mismatch skipping state handler.
TC>2009-10-20 10:10:54.405479 [DEBUG] switch_core_state_machine.c:306
TC>(sofia/internal/sip:1001 at 10.4.62.89 <sip%3A1001 at 10.4.62.89>) Running State
TC>Change CS_HANGUP
TC>2009-10-20 10:10:54.406530 [DEBUG] switch_core_state_machine.c:464
TC>(sofia/internal/sip:1001 at 10.4.62.89 <sip%3A1001 at 10.4.62.89>) State HANGUP
TC>2009-10-20 10:10:54.406530 [DEBUG] mod_sofia.c:338 Channel sofia/internal/
TC>sip:1001 at 10.4.62.89 <sip%3A1001 at 10.4.62.89> hanging up, cause:
TC>NORMAL_CLEARING
TC>2009-10-20 10:10:54.406530 [DEBUG] switch_core_state_machine.c:46
TC>sofia/internal/sip:1001 at 10.4.62.89 <sip%3A1001 at 10.4.62.89> Standard HANGUP,
TC>cause: NORMAL_CLEARING
TC>
TC>
TC>pls check: http://pastebin.freeswitch.org/10771
hm, according this log it send release complete:
2009-10-20 10:11:03.995707 [DEBUG] h323pdu.cxx:609 Sending PDU [ip$10.4.62.7:1720/ip$10.1.14.153:3341]
i think please try to dump full traffic of this call from both endpoints and send me.
TC>
TC>
TC>
TC>
TC>4. sometimes when i shutdown FS i get coredimps - from my experience it
TC>looks like you don't wait for a FS thread to finish when you exit...
TC>
TC>2009-10-20 10:05:59.493306 [CONSOLE] switch_event.c:508 Stopping queue
TC>thread 2
TC>2009-10-20 10:05:59.493339 [CONSOLE] switch_core.c:1693 Finalizing Shutdown.
TC>2009-10-20 10:05:59.493379 [CONSOLE] switch_log.c:310 Logger Ended.
TC>2009-10-20 10:05:59.494472 [CONSOLE] switch_core_memory.c:567 Stopping
TC>memory pool queue.
TC>Segmentation fault (core dumped)
TC>tculjaga at subZero:~/freeswitch-trunk$
TC>tculjaga at subZero:~/freeswitch-trunk$
may be, i don't look on this so close at this time.
TC>Please advice your FS/mod_h323.conf.xml settings...
<configuration name="h323.conf" description="H323 Endpoints">
<settings>
<param name="trace-level" value="4"/>
<param name="context" value="default"/>
<param name="dialplan" value="XML"/>
<param name="codec-prefs" value="PCMA,PCMU,GSM,G729,G726,LPC"/>
<param name="gk-address" value="91.195.204.1"/> <!-- empty to disable, "*" to search LAN -->
<param name="gk-identifer" value="ICFGK"/> <!-- optional name of gk -->
<param name="gk-interface" value=""/> <!-- optional listener interface name -->
</settings>
<listeners>
<listener name="default">
<param name="h323-ip" value="$${local_ip_v4}"/>
<param name="h323-port" value="1720"/>
</listener>
</listeners>
</configuration>
this my current settings.
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