Can't hear one way voice

Discussion in 'General' started by leiw3248, Apr 4, 2010.

  1. leiw3248

    Joined:
    Apr 21, 2008
    Messages:
    476
    Likes Received:
    0
    Hello

    I'm testing softphones to connect back Elastix from home, the following is what I tested:

    Softphone to Softphone = OK
    Softphone to PSTN phone = one way voice (PSTN can't hear Softphone)

    I tested two Elastix 1.6.0 and 1.5.2. The Elastix 1.6.0 installed OpenVox A400P with 3 FXO and the Elastix 1.5.2 installed TDM400P with 1 FXO. Two system installed on desktop motherboard. (1.6.0 installed on Intel DG41RQ and 1.5.2 installed on old Intel celeron motherboard.

    Also tested two firewall on this issue (Untangle and WatchGuard), but still cannot fix it.

    Firewall port forward:
    5060 TCP UDP
    10000-20000 UDP

    SIP_nat.conf
    nat=yes
    externhost=x.x.x.x
    localnet=172.16.0.0/255.255.254.0
    externrefresh=10


    How can I fix this issue ?

    Thanks !
     
  2. DaveD

    Joined:
    Nov 12, 2007
    Messages:
    597
    Likes Received:
    0
    I would be checking to see what codec your soft phone is using, and make sure it is in asterisk
     
  3. leiw3248

    Joined:
    Apr 21, 2008
    Messages:
    476
    Likes Received:
    0
    Hello

    I'm using X-Lite, and I didn't change any codec in X-Lite, where can I see codec option?

    Thanks !
     
  4. DaveD

    Joined:
    Nov 12, 2007
    Messages:
    597
    Likes Received:
    0
    I don't use x-lite so not sure where to change.It would need to be ulaw or alaw as g729 is not installed on Elastix by default
     
  5. leiw3248

    Joined:
    Apr 21, 2008
    Messages:
    476
    Likes Received:
    0
    Hello

    Please see follwing, I can see g729 in this list, so I have to install another g729 codec?

    voip*CLI> show codecs
    Disclaimer: this command is for informational purposes only.
    It does not indicate anything about your configuration.
    INT BINARY HEX TYPE NAME DESC
    --------------------------------------------------------------------------------
    1 (1 << 0) (0x1) audio g723 (G.723.1)
    2 (1 << 1) (0x2) audio gsm (GSM)
    4 (1 << 2) (0x4) audio ulaw (G.711 u-law)
    8 (1 << 3) (0x8) audio alaw (G.711 A-law)
    16 (1 << 4) (0x10) audio g726aal2 (G.726 AAL2)
    32 (1 << 5) (0x20) audio adpcm (ADPCM)
    64 (1 << 6) (0x40) audio slin (16 bit Signed Linear PCM)
    128 (1 << 7) (0x80) audio lpc10 (LPC10)
    256 (1 << 8) (0x100) audio g729 (G.729A)
    512 (1 << 9) (0x200) audio speex (SpeeX)
    1024 (1 << 10) (0x400) audio ilbc (iLBC)
    2048 (1 << 11) (0x800) audio g726 (G.726 RFC3551)
    4096 (1 << 12) (0x1000) audio g722 (G722)
    65536 (1 << 16) (0x10000) image jpeg (JPEG image)
    131072 (1 << 17) (0x20000) image png (PNG image)
    262144 (1 << 18) (0x40000) video h261 (H.261 Video)
    524288 (1 << 19) (0x80000) video h263 (H.263 Video)
    1048576 (1 << 20) (0x100000) video h263p (H.263+ Video)
    2097152 (1 << 21) (0x200000) video h264 (H.264 Video)
     
  6. leiw3248

    Joined:
    Apr 21, 2008
    Messages:
    476
    Likes Received:
    0
    BOLphone work !
     
  7. leiw3248

    Joined:
    Apr 21, 2008
    Messages:
    476
    Likes Received:
    0
    Hi

    I just tested something again with Watchguard PPTP VPN with X-Lite and BOLSIPphone:

    X-Lite:
    1. Xlite at home > PPTP VPN > Elastix at company > PSTN = one way voice
    2. Two Xlite at home > PPTP VPN > Elastix at company = both Xlite cannot listen

    BOLSIPphone at home > PPTP VPN > Elastix at company > PSTN = can login, but disconnect after enter PSTN number ....

    Thanks !
     
  8. leiw3248

    Joined:
    Apr 21, 2008
    Messages:
    476
    Likes Received:
    0
    Also tested watchguard PPTP and IPsec VPN not work ....
     
  9. byo71

    Joined:
    Apr 8, 2010
    Messages:
    4
    Likes Received:
    0
    elastix is behind a nat with the ports forwarded, or the phone? My experience is that x-lite has excellent nat traversal habits and it is probably a firewall issue on the phone side. forward the range to the phone and it should work.
     
  10. leiw3248

    Joined:
    Apr 21, 2008
    Messages:
    476
    Likes Received:
    0
    I tested something again:

    I can call each other by following requirments:
    1. Two Xlite at home (one is VMware)> PPTP VPN > Elastix (VMware) at company

    But I can't call each other by following requirments:
    2. Two Xlite at home (onr is VMware) > PPTP VPN > Elastix (DIY computer) at company

    I known DIY computer maybe has something collision, but I tested three DIY computers still has same problems.

    Thanks !
     
  11. leiw3248

    Joined:
    Apr 21, 2008
    Messages:
    476
    Likes Received:
    0
    Hello

    I checked Watchguard firewall log for X-Lite via PPTP VPN to Elastix: (

    172.16.1.215 = Elastix
    10.0.0.2 = PPTP VPN user

    2010-04-22 23:42:21 Allow 172.16.1.215 10.0.0.2 54562/udp 17844 54562 1-Trusted pptp0 Allowed 200 63 (PPTP-Access-Policy-00) proc_id="firewall" rc="100" dst_user="wilson@Firebox-DB" Traffic
    2010-04-22 23:42:21 Allow 10.0.0.2 172.16.1.215 17845/udp 54563 17845 pptp0 1-Trusted Allowed 160 127 (PPTP-Access-Policy-00) proc_id="firewall" rc="100" src_user="wilson@Firebox-DB" Traffic

    In above log, it seem RTP udp traffic can pass between each others. PSTN only can hear some voice from X-Lite now.
     

Share This Page