This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Astaro 8 and VOIP

Good afternoon forum.

I have a small problem with my Astaro and VOIP in that I am having what seems to be a common problem of "one-way audio".

Astaro Firmware version: 8.201

My VOIP Server sits on the LAN at 10.0.0.5
My Astaro is on the LAN on 10.0.0.1 and for example purposes, sits on my "clean" internet connection, the public IP is 123.456.789.001.
I also have a 2nd internet connection ("dirty") which sits on 147.258.369.001
I have 2 x Extensions configured in the PBX software, 101 and 102.

(note that the public IP addresses shown above are for EXAMPLE only and are not my real IP addresses!)

I have physically removed extension 102 from the local network and re-connected it on the internet (onto my "dirty" connection).  I then re-configured the device to use the external IP address 123.456.789.001 and port-forwarded "VOIP Services" to the internal VOIP server using NAT on the Astaro box.

Note that the "VOIP Services" group is the default "VOIP Protocols" group provided by Astaro ... I have also added to this group a "VOIP Audio" service definition which is configured TCP/UDP 1:65535 → 10000:20000 (the 10,000 to 20,000 range is as per the RTP.conf of my VOIP solution).

The problem is that although the person on the "outside" using Extn 102 can hear the person on the "inside" using Extn 101, but NOT the other way around!

Have I missed something or configured it incorrectly somehow?
Although I have read pages and pages on Google about this problem, nothing seems to help, I think the problem may be Astaro, hence posting here!

MANY thanks for taking the time to read this, I hope that it is understandable but if you have any questions or need for more info, please ask!

Otherwise, I hope that someone can respond and help !!


This thread was automatically locked due to age.
  • Do you see anything in the Intrusion Prevention or Packet Filter logs?

    Cheers - Bob
  • Hi, thank you for the suggestion but unfortunately, there is nothing in the IPS or Firewall log relevent to the SIP/VOIP [:(]
  • Hmm, not sure if this helps but ...
    If a user on extension 101 ("internal") calls the user on extension 102 ("external"), neither party can hear the other (no audio). 
    However, if the user on extension 102 ("external") calls extension 101 ("internal"), the person on extension 102 can hear their colleage on extension 101 OK (one-way audio).
  • For what it's worth, a visual representation of the configuration ... 




    Summary:
    Call from 101 --> 102 = No audio at all
    Call from 102 --> 101 = 102 can hear 101 but not vice-versa
  • I think this is fairly common and that you can use the built-in VoIP Security without your additional definitions and rules.

    Google site:astaro.org asterisk and select entries less than a year old.

    Cheers - Bob
  • Hi again and thank you for the reply; I don't know if it's because I have stared at this problem all day and my head is going wonky but in a nutshell, all I need to do is remove any DNAT/forwarding I have set up and use the Network Security > VOIP instead?

    Would I just set it up to be in the top box "Internal network" and in the lower box the Asterisk host machine??
  • Hi again and thank you for the reply; I don't know if it's because I have stared at this problem all day and my head is going wonky but in a nutshell, all I need to do is remove any DNAT/forwarding I have set up and use the Network Security > VOIP instead?

    Would I just set it up to be in the top box "Internal network" and in the lower box the Asterisk host machine??


    Hi!

    have you ever solved your problem? I'm facing the same issue and can't find any workaround this time :-(

    Thanks!
  • Hi, szabi, and welcome to the User BB!

    Have you googled site:astaro.org asterisk and looked at just the last year?  What problem do you now have?

    Cheers - Bob
  • Hi, szabi, and welcome to the User BB!

    Have you googled site:astaro.org asterisk and looked at just the last year?  What problem do you now have?

    Cheers - Bob


    Hi Bob!

    Yes, I was googleing for a few hours, but nothig was working :-(.
    I have an asterisk server running behind an Astaro FW and I want to make it reachable from the internet side.

    Setting up the NetworkSecurity/VOIP/SIP (SIP server network: Any, SIP Client network: Asterisk IP) was not working. And as far as I know the purpose of this setting is not sharing an internal SIP server but routing connection to an external SIP server. 

    I could only got things working half way. When I DNAT port 5060 the server is reachable, registering is OK, phone is ringing, but there is NO audio at all since RTP ports are not routed, I guess.

    If you take a look at badger_fruit's post nr.5, I exactly have the same architecture and same problem (consider that ext 102 is a phone somewhere on the internet)

    br.
    Szabi
  • I'm not using this, and none of my customers using VoIP has an IP phone outside their network (including extended with VPN)...

    I would put your VoIP supplier in the 'SIP server network' box.  The Asterisk should know the public IP of "Extension 102" - masquerading and connection-tracking should take care of allowing it to contact "102".

    To allow "102" to connect with the Asterisk, you would need to configure it to have a server address of the IP of "External (Address)" and to create a NAT rule: 

    {public IP of "102"} -> Any -> External (Address) : DNAT to {Asterisk}



    I suspect that you can replace "Any" in the DNAT with "SIP" but I'm not that knowledgeable in VoIP.

    Cheers - Bob