[Asterisk-Users] One way audio [Asterisk + Innovaphone IP3000 +
asterisk-oh323/h323]
Silviu Herchi
silviu.herchi at arcelor.com
Wed Jan 5 08:40:16 MST 2005
Hello everybody,
I’ve been trying to solve a problem for several weeks now but it really
beats me.
There are several hard phones connected to an Innovaphone 3000 VoIP gateway.
On the other side I have a SIP softphone connected to Asterisk. The problem
I have is that on incoming calls (hardphones to softphone) I only have
outgoing audio (from soft to hardphone); everything is OK when I call the
other way round.
Asterisk (I'm using 1.0.3) uses H323 to access to the Innovaphone 3000. I
tried both asterisk-oh323 0.6.5 and the supplied h323 channel with the same
results. All my machines are on the same LAN connected by a hub (there is no
NAT or firewall involved at all).
Here is the setup:
- Innovaphone 3000 (10.253.30.254)
- "Test1 <3760>" hardphone (10.253.10.102)
- GnuGK gatekeeper 2.2.0 (10.253.30.11), compiled with the required versions
of pwlib and openh323
- Asterisk 1.0.3 with either asterisk-oh323 0.6.5 or h323 channels
(10.253.30.1)
- SJphone SIP softphone on windows (10.253.30.10)
As both asterisk-oh323 and h323 behave the same way, I'm wondering whether
this could be an OpenH323 problem.
I tried an Ethereal trace, and there is no RTP whatsoever from Asterisk to
the hardphone (the only RTP streams are Asterisk <--> softphone (both ways)
and hardphone --> Asterisk (one-way!!)).
The one strange thing I noticed when I enabled debug on asterisk-h323 is
that at some point when the outgoing logical channel is open the remote ip
address is "127.0.0.1" (have a look at the attached log).
Needless to say, I googled my a** off for the few last weeks to no avail...
Thank you for your help!
Best regards,
Silviu
--------------------
*CLI> == New H.323 Connection created.
-- Received SETUP message
-- Setting up Call
-- Call token: [ip$10.253.30.11:1119/284]
-- Calling party name: [Test1]
-- Calling party number: [3760]
-- Called party name: [3776666]
-- Called party number: [3776666]
=-= In OnAnswerCall for call 284
-- Executing StripMSD("H323/ip$10.253.30.11:1119/284", "3") in new stack
-- Executing Goto("H323/ip$10.253.30.11:1119/284", "SIP|6666|1") in new
stack
-- Goto (SIP,6666,1)
-- Executing Dial("H323/ip$10.253.30.11:1119/284", "SIP/silviu.herchi")
in new stack
-- Called silviu.herchi
-- SIP/silviu.herchi-b027 is ringing
Sending alerting
-- Received Facility message...
-- Received Facility message...
-- Received Facility message...
-- Received Facility message...
-- Received Facility message...
=*= In CreateRealTimeLogicalChannel for call 284
-- externalIpAddress: 10.253.30.1
-- externalPort: 16246
-- SessionID: 1
-- Direction: IsReceiver
-- Started logical channel: receiving G.711-ALaw-64k{sw}
-- channelsOpen = 1
RTP channel id 1 parameters:
-- remoteIpAddress: 10.253.30.102
-- remotePort: 16722
-- ExternalIpAddress: 10.253.30.1
-- ExternalPort: 16246
-- SIP/silviu.herchi-b027 answered H323/ip$10.253.30.11:1119/284
answering call
=*= In CreateRealTimeLogicalChannel for call 284
-- externalIpAddress: 10.253.30.1
-- externalPort: 16246
-- SessionID: 1
-- Direction: IsTransmitter
-- Started logical channel: sending G.711-ALaw-64k{sw}
-- channelsOpen = 2
RTP channel id 1 parameters:
-- remoteIpAddress: 127.0.0.1 #WHY 127.0.0.1 ???
-- remotePort: 2070
-- ExternalIpAddress: 10.253.30.1
-- ExternalPort: 16246
=-= In OnConnectionEstablished for call 284
-- Connection Established with "Test1 (3760) [10.253.30.11]"
-- Received Facility message...
=-= In OnReceivedAckPDU for call 284
== Spawn extension (SIP, 6666, 1) exited non-zero on
'H323/ip$10.253.30.11:1119/284'
-- ClearCall: Request to clear call with token
ip$10.253.30.11:1119/284
-- Sending RELEASE COMPLETE
channelsOpen = 1
channelsOpen = 0
-- Call with Test1 (3760) [10.253.30.11] completed (EndedByLocalUser)
== H.323 Connection deleted.
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.8 - Release Date: 03/01/2005
More information about the asterisk-users
mailing list