<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Hi guys,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I tried to make call from SIP channel to H323 using
asterisk+ooh323. The SIP client is x-lite.<BR>The problem is that there is one
way audio. I hear everything from h323 endpoint, and I see the messages
also:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Got RTP packet from 66.135.35.xx:5002 (type 3, seq
36250, ts 74400, len 33)<BR>Sent RTP packet to 212.183.41.xx:45956 (type 18, seq
22288, ts 70880, len 20)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>But the problem, when I talk via X-lite, or send
dtmf tones, no audio is transfered, no RTP packets on asterisk
console.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>My ooh323.conf:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2>[general]<BR>port=1720<BR>bindaddr=0.0.0.0<BR>gateway=no<BR>h323id=ObjSysAsterisk<BR>e164=100<BR>callerid=asterisk<BR>gatekeeper
= DISABLE<BR>disallow=all<BR>allow=g729<BR>allow=gsm<BR>allow=ulaw</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Note that I tried all combinations of faststart and
h245tunneling, but no luck.<BR>Also tried with gsm and g729 codecs (that time
X-pro was used) but same oneway audio.<BR>Asterisk version is
1.2.7.1</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>With full debug this is what I see in asterisk
console:</FONT></DIV>
<DIV> </DIV><FONT face=Arial size=2>
<DIV><BR>Jul 28 10:40:22 DEBUG[15775]: pbx.c:1674 pbx_extension_helper:
Launching 'Dial'<BR>Jul 28 10:40:22 DEBUG[15775]: channel.c:2813
ast_channel_inherit_variables: Not copying variable
STACK-test-381637790067-2.<BR>Jul 28 10:40:22 DEBUG[15775]: channel.c:2813
ast_channel_inherit_variables: Not copying variable
STACK-test-381637790067-1.<BR>Jul 28 10:40:22 DEBUG[15775]: channel.c:2813
ast_channel_inherit_variables: Not copying variable SIPCALLID.<BR>Jul 28
10:40:22 DEBUG[15775]: channel.c:2813 ast_channel_inherit_variables: Not copying
variable SIPUSERAGENT.<BR>Jul 28 10:40:22 DEBUG[15775]: channel.c:2813
ast_channel_inherit_variables: Not copying variable SIPDOMAIN.<BR>Jul 28
10:40:22 DEBUG[15775]: channel.c:2813 ast_channel_inherit_variables: Not copying
variable SIPURI.<BR>Jul 28 10:40:22 DEBUG[15775]: channel.c:2348 set_format: Set
channel OOH323/66.135.33.xx-14b0 to read format gsm<BR>Jul 28 10:40:22
DEBUG[15775]: channel.c:2348 set_format: Set channel SIP/666666-9cbb to write
format gsm<BR>Jul 28 10:40:22 DEBUG[15775]: channel.c:2348 set_format: Set
channel SIP/666666-9cbb to read format gsm<BR>Jul 28 10:40:22 DEBUG[15775]:
channel.c:2348 set_format: Set channel OOH323/66.135.33.xx-14b0 to write format
gsm<BR>Jul 28 10:40:22 DEBUG[16193]: res_config_mysql.c:636 mysql_reconnect:
MySQL RealTime: Everything is fine.<BR>Jul 28 10:40:23 DEBUG[15775]:
channel.c:2348 set_format: Set channel SIP/666666-9cbb to read format gsm<BR>Jul
28 10:40:23 DEBUG[15775]: channel.c:2348 set_format: Set channel
OOH323/66.135.33.xx-14b0 to write format gsm<BR>Jul 28 10:40:23 DEBUG[15775]:
channel.c:2348 set_format: Set channel OOH323/66.135.33.xx-14b0 to read format
gsm<BR>Jul 28 10:40:23 DEBUG[15775]: channel.c:2348 set_format: Set channel
SIP/666666-9cbb to write format gsm<BR>Jul 28 10:40:23 DEBUG[15775]:
chan_sip.c:2527 sip_answer: sip_answer(SIP/666666-9cbb)<BR>Jul 28 10:40:23
DEBUG[15775]: channel.c:1956 ast_read: Dropping duplicate answer!<BR>Jul 28
10:40:23 DEBUG[16193]: res_config_mysql.c:125 realtime_mysql: MySQL RealTime:
Retrieve SQL: SELECT * FROM sip_buddies WHERE name = '666666'<BR>Jul 28 10:40:23
DEBUG[16193]: res_config_mysql.c:636 mysql_reconnect: MySQL RealTime: Everything
is fine.<BR>Jul 28 10:40:23 DEBUG[16207]: chan_sip.c:1394 __sip_ack: Stopping
retransmission on <A
href="">'4D979F84-6EF9-4A17-9007-4082B33E6835@87.116.143.xx'</A> of Response
6305: Match Found<BR>Jul 28 10:40:23 DEBUG[16207]: chan_sip.c:9442
check_pendings: Sending pending reinvite on <A
href="">'4D979F84-6EF9-4A17-9007-4082B33E6835@87.116.143.xx'</A><BR>Jul 28
10:40:23 DEBUG[15775]: rtp.c:410 ast_rtcp_read: Got RTCP report of 84
bytes<BR>Got RTP packet from 87.116.143.xx:8000 (type 3, seq 1, ts 5920, len
33)<BR>Jul 28 10:40:23 DEBUG[15775]: rtp.c:1341 ast_rtp_write: Ooh, format
changed from unknown to gsm<BR>Sent RTP packet to 66.135.33.xx:5004 (type 3, seq
54271, ts 0, len 33)<BR>Got RTP packet from 87.116.143.xx:8000 (type 3, seq 2,
ts 6080, len 33)<BR>Sent RTP packet to 66.135.33.xx:5004 (type 3, seq 54272, ts
160, len 33)<BR>Got RTP packet from 87.116.143.xx:8000 (type 3, seq 3, ts 6240,
len 33)<BR>Sent RTP packet to 66.135.33.xx:5004 (type 3, seq 54273, ts 320, len
33)<BR>Jul 28 10:40:23 DEBUG[16207]: chan_sip.c:1447 __sip_semi_ack:
(Provisional) Stopping retransmission (but retaining packet) on <A
href="">'4D979F84-6EF9-4A17-9007-4082B33E6835@87.116.143.xx'</A> Request 102:
Found<BR>Jul 28 10:40:23 DEBUG[16207]: chan_sip.c:1372 __sip_ack: Acked pending
invite 102<BR>Jul 28 10:40:23 DEBUG[16207]: chan_sip.c:1394 __sip_ack: Stopping
retransmission on <A
href="">'4D979F84-6EF9-4A17-9007-4082B33E6835@87.116.143.xx'</A> of Request 102:
Match Found<BR>Jul 28 10:40:23 DEBUG[16207]: chan_sip.c:6047 build_route:
build_route: Contact hop: <sip:666666@87.116.143.xx:5060><BR>Got RTP
packet from 66.135.33.xx:5004 (type 3, seq 55961, ts 3520, len 33)<BR>Jul 28
10:40:24 DEBUG[15775]: src/chan_h323.c:3045 ooh323_rtp_read: Oooh, format
changed to 2<BR>Jul 28 10:40:24 DEBUG[15775]: channel.c:2348 set_format: Set
channel OOH323/66.135.33.xx-14b0 to read format gsm<BR>Jul 28 10:40:24
DEBUG[15775]: channel.c:2348 set_format: Set channel OOH323/66.135.33.xx-14b0 to
write format gsm<BR>Jul 28 10:40:24 DEBUG[15775]: rtp.c:1341 ast_rtp_write: Ooh,
format changed from unknown to gsm<BR>Sent RTP packet to 87.116.143.xx:8000
(type 3, seq 50183, ts 0, len 33)<BR>Got RTP packet from 66.135.33.xx:5004 (type
3, seq 55962, ts 3680, len 33)<BR>Sent RTP packet to 87.116.143.xx:8000 (type 3,
seq 50184, ts 160, len 33)<BR>Got RTP packet from 66.135.33.xx:5004 (type 3, seq
55963, ts 3840, len 33)<BR>Sent RTP packet to 87.116.143.xx:8000 (type 3, seq
50185, ts 320, len 33)<BR>Got RTP packet from 66.135.33.xx:5004 (type 3, seq
55964, ts 4000, len<BR>Got RTP packet from 66.135.33.xx:5004 (type 3, seq 56070,
ts 20960, len 33)<BR>Sent RTP packet to 87.116.143.xx:8000 (type 3, seq 50292,
ts 17440, len 33)<BR>Jul 28 10:40:26 DEBUG[15775]: rtp.c:1700 ast_rtp_bridge:
Oooh, got a hangup<BR>Jul 28 10:40:26 DEBUG[15775]: channel.c:3478
ast_channel_bridge: Returning from native bridge, channels: SIP/666666-9cbb,
OOH323/66.135.33.xx-14b0<BR>Jul 28 10:40:26 DEBUG[15775]: channel.c:1323
ast_hangup: Hanging up channel 'OOH323/66.135.33.xx-14b0'<BR>Jul 28 10:40:26
DEBUG[15775]: app_dial.c:1605 dial_exec_full: Exiting with
DIALSTATUS=ANSWER.<BR>Jul 28 10:40:26 DEBUG[15775]: pbx.c:2313 __ast_pbx_run:
Spawn extension (test,381637790067,2) exited non-zero on
'SIP/666666-9cbb'<BR>Jul 28 10:40:26 DEBUG[15775]: cdr.c:992 ast_cdr_detach:
Dropping CDR !<BR>Jul 28 10:40:26 DEBUG[15775]: channel.c:1323 ast_hangup:
Hanging up channel 'SIP/666666-9cbb'<BR>Jul 28 10:40:26 DEBUG[15775]:
chan_sip.c:2411 sip_hangup: Hangup call SIP/666666-9cbb, SIP callid <A
href="">4D979F84-6EF9-4A17-9007-4082B33E6835@87.116.143.xx</A>)<BR>Jul 28
10:40:26 DEBUG[15775]: chan_sip.c:2419 sip_hangup: update_call_counter(666666) -
decrement call limit counter</DIV>
<DIV> </DIV>
<DIV><BR>And this is from /var/log/asterisk/h323_log:</DIV>
<DIV> </DIV>
<DIV>07:20:01:413 Processing MakeCall command
ooh323c_o_3<BR>07:20:01:413 Created a new call (outgoing,
ooh323c_o_3)<BR>07:20:01:413 Enabled RFC2833 DTMF capability for
(outgoing, ooh323c_o_3)<BR>07:20:01:413 Parsing destination
216.12.173.48<BR>07:20:01:413 Trying to connect to remote
endpoint(216.12.173.48:1720) to setup H2250 channel (outgoing,
ooh323c_o_3)<BR>07:20:01:501 H2250 transmiter channel creation - succesful
(outgoing, ooh323c_o_3)<BR>07:20:01:502 Sent Message - Setup (outgoing,
ooh323c_o_3)<BR>07:20:01:671 H.225 Call Proceeding message received
(outgoing, ooh323c_o_3)<BR>07:20:01:671 Tunneling is disabled for call as
H245 address is provided in callProceeding message (outgoing,
ooh323c_o_3)<BR>07:20:01:759 H.225 Progress message received (outgoing,
ooh323c_o_3)<BR>07:20:13:412 H.225 Alerting message received (outgoing,
ooh323c_o_3)<BR>07:20:19:307 H.225 Connect message received (outgoing,
ooh323c_o_3)<BR>07:20:19:307 Remote endpoint has rejected fastStart.
(outgoing, ooh323c_o_3)<BR>07:20:19:307 Clearing all logical channels
(outgoing, ooh323c_o_3)<BR>07:20:19:307 Creating H245
Connection<BR>07:20:19:307 Trying to connect to remote endpoint to setup
H245 connection 216.12.173.49:54659(outgoing, ooh323c_o_3)<BR>07:20:19:396
H245 connection creation succesful (outgoing, ooh323c_o_3)<BR>07:20:19:397
H.225 Notify message Received (outgoing, ooh323c_o_3)<BR>07:20:19:397 Sent
Message - TerminalCapabilitySet (outgoing, ooh323c_o_3)<BR>07:20:19:397
Sent Message - MasterSlaveDetermination (outgoing,
ooh323c_o_3)<BR>07:20:19:486 Reducing framesPerPkt for transmission of GSM
capability from 4 to 1 to match receive capability of remote endpoint.(outgoing,
ooh323c_o_3)<BR>07:20:19:486 Reducing framesPerPkt for transmission of
Simple capability from 6 to 2 to match receive capability of remote
endpoint.(outgoing, ooh323c_o_3)<BR>07:20:19:486 Reducing framesPerPkt for
transmission of Simple capability from 6 to 2 to match receive capability of
remote endpoint.(outgoing, ooh323c_o_3)<BR>07:20:19:486 Master Slave
Determination received (outgoing, ooh323c_o_3)<BR>07:20:19:486
MasterSlaveDetermination done - Slave(outgoing,
ooh323c_o_3)<BR>07:20:19:486 Sent Message - TerminalCapabilitySetAck
(outgoing, ooh323c_o_3)<BR>07:20:19:486 Opening logical channels
(outgoing, ooh323c_o_3)<BR>07:20:19:486 Looking for matching capabilities.
(outgoing, ooh323c_o_3)<BR>07:20:19:486 Created new logical channel entry
(outgoing, ooh323c_o_3)<BR>07:20:19:486 Sent Message -
MasterSlaveDeterminationAck (outgoing, ooh323c_o_3)<BR>07:20:19:486 Sent
Message - OpenLogicalChannel(1001). (outgoing,
ooh323c_o_3)<BR>07:20:19:664 Created new logical channel entry (outgoing,
ooh323c_o_3)<BR>07:20:19:664 Receive channel of type OO_G729 started at
213.203.222.xxx:12222(outgoing, ooh323c_o_3)<BR>07:20:19:664
TransmitLogical Channel of type OO_GSMFULLRATE started (outgoing,
ooh323c_o_3)<BR>07:20:19:664 Sent Message - OpenLogicalChannelAck(1)
(outgoing, ooh323c_o_3)<BR>07:20:19:664 Received close logical Channel - 1
(outgoing, ooh323c_o_3)<BR>07:20:19:664 Closing logical channel number 1
(outgoing, ooh323c_o_3)<BR>07:20:19:664 Stopped Receive channel 1
(outgoing, ooh323c_o_3)<BR>07:20:19:664 Created new logical channel entry
(outgoing, ooh323c_o_3)<BR>07:20:19:664 Receive channel of type
OO_GSMFULLRATE started at 213.203.222.xxx:12222(outgoing,
ooh323c_o_3)<BR>07:20:19:664 Sent Message - CloseLogicalChannelAck
(outgoing, ooh323c_o_3)<BR>07:20:19:664 Sent Message -
OpenLogicalChannelAck(2) (outgoing, ooh323c_o_3)<BR>07:20:34:690 H.225
Release Complete message received (outgoing, ooh323c_o_3)<BR>07:20:34:690
Closing H.245 connection (outgoing, ooh323c_o_3)<BR>07:20:34:690 Cleaning
Call (outgoing, ooh323c_o_3)-
reason:OO_REASON_REMOTE_CLEARED<BR>07:20:34:690 Clearing all logical
channels (outgoing, ooh323c_o_3)<BR>07:20:34:690 Stopped Transmit channel
1001 (outgoing, ooh323c_o_3)<BR>07:20:34:690 Stopped Receive channel 2
(outgoing, ooh323c_o_3)<BR>07:20:34:690 Removed call (outgoing,
ooh323c_o_3) from list</DIV>
<DIV> </DIV>
<DIV><BR>Any idea?:)<BR> Thanks,
<BR> Joseph</FONT></DIV></FONT></DIV></BODY></HTML>