[Asterisk-Users] IAX2 to IAX2 - one way audio

Andrew A. Kochetkoff andrews at mtelecom.chita.ru
Fri Apr 15 03:55:34 MST 2005


Hi, everybody.

I have schema:


           H323(cliens)<---------->GNUGK<--------------
                                                      |
                                                      |
    SIP(cliens)<--->Asterisk(B)<---(IAX2 TRUNK)--->Asterisk(A)<--(H323 Peer)-->PBX<---->PSTN
                                                      |
                                                      |
           SCCP(client)<-------------------------------

ASTERISK(B) - Linux + Asterisk-1.0.6 (IP-addressing INT-192.168.1/24 EXT-62.XXX.XXX.128/25)
ASTERISK(A) - FreeBSD + Asterisk CVS-HEAD-04/14/05-21:00:38, Copyright (C) 1999 - 2005 Digium.
(IP-addressing INT-192.168.100/24 EXT-62.YYY.YYY.192/27)

When I call from PSTN to any clients - call is Ok!
When I call from SCCP to any - call is Ok!
When I call from H323(clients) to any - call is Ok!
When I call from from SIP to PSTN - I have one way audio (PSTN-subscriber can hear SIP-client, at 
the same time SIP-client doesnt hear PSTN-subscriber).

	h323.conf
; The NuFone Network's
; Open H.323 driver configuration
;
[general]
port = 1720
bindaddr = 0.0.0.0
tos=lowdelay
amaflags = billing
accountcode=H323
disallow=all
allow=all              ; turns on all installed codecs
;
dtmfmode=rfc2833
;
gatekeeper = DISABLE
;
AllowGKRouted = no
;
context=default
;
; H.323 Alias definitions
;
noFastStart = no
noH245Tunneling = yes
noSilenceSuppression = yes

[VIP-101T]
type = user
host = 192.168.100.55
incominglimit=1
context = to-pstn
noFastStart = no
noH245Tunneling = yes
noSilenceSuppression = yes
disallow = all
allow = g729
allow = alaw
allow=ulaw

[avaya]
type = peer
host = 192.168.100.8
noFastStart = no
noH245Tunneling = yes
noSilenceSuppression = yes
disallow = all
allow=alaw

	iax.conf
host A

; Inter-Asterisk eXchange driver definition
;
[general]
bindport=4569
bindaddr=0.0.0.0
;
amaflags=billing
;
accountcode=IAX2
;
language=ru
;
bandwidth=low
;
allow=all
;
jitterbuffer=no
;
register => chita:secret at 62.XXX.XXX.129
;
authdebug=no
;
tos=lowdelay
;
[chara]
type=friend
host=62.XXX.XXX.129
secret=secret
sendani=yes
qualify=yes
context=to-pstn
canreinvite=yes
trunk=yes
accountcode=CHARA
disallow=all
allow=g729

host B

; Inter-Asterisk eXchange driver definition
;
[general]
bindport=4569
bindaddr=0.0.0.0
;
amaflags=billing
;
accountcode=IAX2
;
language=ru
;
bandwidth=low
;
allow=all
;
jitterbuffer=no
;
register => chara:secret at 62.YYY.YYY.193
;
authdebug=no
;
tos=lowdelay
;
[chita]
type=friend
host=62.YYY.YYY.193
secret=secret
sendani=yes
qualify=yes
context=to-pstn
canreinvite=yes
trunk=yes
accountcode=CHITA
disallow=all
allow=g729

-- 
Best regards,
Andrew Kochetkoff
mailto:andrews at mtelecom.chita.ru



More information about the asterisk-users mailing list