[Asterisk-Users] RE: One-way audio in incoming calls with Asterisk + OpenGK + Innovaphone IP3000

Silviu Herchi silviu.herchi at arcelor.com
Thu Dec 23 06:09:06 MST 2004


Sorry, I mistakenly sent my mail before it was complete... Here it is again.

--
Subject: One-way audio in incoming calls with Asterisk + OpenGK +
Innovaphone IP3000

Hello everybody,

I’ve been pulling my hair for a week now over a problem, and I really don’t
know where to look anymore. Here’s my setup:

There is an Innovaphone IP3000 VoIP gateway on the LAN (10.253.30.254). I
can use it to send and receive calls from physical phones attached to it.

I have setup Asterisk 1.0.3, with H323, and on the same server I also setup
GnuGK (10.253.30.1). I use SIP soft phones connected to the Asterisk
(SJphone on 10.253.30.10)

Both the Innovaphone and Asterisk are configured to register on OpenGK as
gateways. They do it correctly, and phone signalling is OK (phones ring in
both directions, and can be picked up OK).

When I call from the softphones to the hard phones, everything is OK. When I
call the other way round (hard to softphones), I only have audio incoming
(from hard to softphones)!

All the machines are on the same LAN, attached to a hub. There is no
firewall running on them. I tried switching from the supplied H323 Asterisk
channel to OH323. I tried GnuGK in routed mode, in proxy mode, etc. to no
avail. I also tried sniffing the communication with Ethereal but it beats
me.

Here is a H.323 debug from Asterisk (with the H323 module shipped with
Asterisk). The calls originated at 10.253.30.102, a hardphone - called party
is 3776666 which rings a softphone user (silviu.herchi on 10.253.30.10). The
one strange thing I noticed is the 127.0.0.1 when the second logical link is
established, but I'm not sure it really is a problem. (reminder: I have the
gatekeeper on the same server as the Asterisk...)

Software versions:
Asterisk 1.0.2 and 1.0.3
Pwlib 1.5.2
OpenH323 1.12.2
GnuGK 2.2.0
H323 module for Asterisk shipped with version 1.0.2 and 1.0.3
Asterisk-OH323 0.6.4 

Thank you for your help.

Silviu


*CLI>   == New H.323 Connection created.
        -- Received SETUP message
    -- Setting up Call
    --     Call token:  [ip$10.253.30.1:32976/736]
    --     Calling party name:  [Test1]
    --     Calling party number:  [3760]
    --     Called  party name:  [3776666]
    --     Called  party number:  [3776666]
        =-= In OnAnswerCall for call 736
    -- Executing StripMSD("H323/ip$10.253.30.1:32976/736", "3") in new stack
    -- Executing Goto("H323/ip$10.253.30.1:32976/736", "SIP|6666|1") in new
stack
    -- Goto (SIP,6666,1)
    -- Executing Dial("H323/ip$10.253.30.1:32976/736", "SIP/silviu.herchi")
in new stack
    -- Called silviu.herchi
    -- SIP/silviu.herchi-0053 is ringing
        Sending alerting
        -- Received Facility message... 
        -- Received Facility message... 
        -- Received Facility message... 
        -- Received Facility message... 
        -- Received Facility message... 
        =*= In CreateRealTimeLogicalChannel for call 736
                -- externalIpAddress: 10.253.30.1
                -- externalPort: 16932
                -- SessionID: 1
                -- Direction: IsReceiver
         -- Started logical channel: receiving G.711-ALaw-64k{sw}
                -- channelsOpen = 1
                RTP channel id 1 parameters:
                -- remoteIpAddress: 10.253.30.1
                -- remotePort: 10002
                -- ExternalIpAddress: 10.253.30.1
                -- ExternalPort: 16932
    -- SIP/silviu.herchi-0053 answered H323/ip$10.253.30.1:32976/736
        answering call
        =*= In CreateRealTimeLogicalChannel for call 736
                -- externalIpAddress: 10.253.30.1
                -- externalPort: 16932
                -- 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
                -- remotePort: 2069
                -- ExternalIpAddress: 10.253.30.1
                -- ExternalPort: 16932
        =-= In OnConnectionEstablished for call 736
                -- Connection Established with "Test1 (3760) [10.253.30.1]"
        -- Received Facility message... 
        =-= In OnReceivedAckPDU for call 736
        -- Received Facility message... 
        -- Sending RELEASE COMPLETE
                channelsOpen = 1
                channelsOpen = 0
 -- Test1 (3760) [10.253.30.1] has cleared the call
        == H.323 Connection deleted.
  == Spawn extension (SIP, 6666, 1) exited non-zero on
'H323/ip$10.253.30.1:32976/736'

-- 
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.5.4 - Release Date: 15/12/2004
 




More information about the asterisk-users mailing list