Problem making external calls with Asterisk - Avaya trunk

Discussion in 'Asterisk' started by Protojunkie, May 16, 2013.

  1. Protojunkie

    Protojunkie Member

    Messages:
    127
    Likes Received:
    0
    Trophy Points:
    16
    Hello!

    I'm new to Asterisk and also new to the forum. I'm here to ask about a problem we are facing at work, hope you can give me some heads up on how to deal with this.

    We have an Avaya system on which we have connection to the PSTN. We have established a H323 trunk between Asterisk and Avaya and we can call from our SIP clients on the Asterisk side to the Avaya phones and the other way around. All that works good.

    The problem is that if we try to call to an external number (external meaning a number of the PSTN side) from the Asterisk, the SIP phone can hear the voice comming from the outside but on the external side there's no audio. I don't know why there's only one way audio.

    Here are the contents of the configuration files:
    sip.conf
    ooh323.conf
    extensions.conf

    Hope you can help me solve this problem.

    Thank you!
     
  2. draalin

    draalin The Boss Staff Member

    Messages:
    518
    Likes Received:
    31
    Trophy Points:
    28
    I have heard of problems with RTP packets when it comes to IP phones not receiving audio.

    Can you try changing the source port for it?
     
  3. Protojunkie

    Protojunkie Member

    Messages:
    127
    Likes Received:
    0
    Trophy Points:
    16
    I could try doing so. Can you give me a heads up on how to do it? I really don't have much idea on where to configure that.

    Thanks for your answer and I hope you can answer back (again) soon.
     
  4. draalin

    draalin The Boss Staff Member

    Messages:
    518
    Likes Received:
    31
    Trophy Points:
    28
    I'm assuming you have complete access to the server you are working on. Can you check your firewall with:

    • Linux based server: iptables
    • Windows: run -> command prompt -> firewall.cpl
    If you don't find anything wrong in there and you believe your Asterisk configuration is right you probably have to just manually test the port through your routers/switches.
    One more thing you could do is run Wireshark and monitor the call.
     
  5. Protojunkie

    Protojunkie Member

    Messages:
    127
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    I did iptables -L -n and this was the result:

    Chain INPUT (policy ACCEPT)
    target prot opt source destination

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination

    I don't have any rule that is blocking or dropping any packages.

    On my first post I forgot to mention that both the the Asterisk, the Avaya and the phones are on the same sub-network.
     
  6. draalin

    draalin The Boss Staff Member

    Messages:
    518
    Likes Received:
    31
    Trophy Points:
    28
    Hmm, can you try running Wireshark when you make a call to see if its even receiving the audio?

    Might be able to narrow down the problem a bit easier.
     
  7. Protojunkie

    Protojunkie Member

    Messages:
    127
    Likes Received:
    0
    Trophy Points:
    16
    I'm sorry I just realized that I got confused on my first post. The external side does not get audio but the Asterisk side do hear what the external says.

    I used Wireshark and I saw that there are incomming packets from the Avaya side to Asterisk but there are no outgoing packets from Asterisk to Avaya.
     
  8. draalin

    draalin The Boss Staff Member

    Messages:
    518
    Likes Received:
    31
    Trophy Points:
    28
    Hmm, you ran Wireshark on both sides?

    Maybe save them side by side and look for the exact packet for audio. (Just trying to confirm that no sound is actually getting through and its not another issue)
     
  9. Protojunkie

    Protojunkie Member

    Messages:
    127
    Likes Received:
    0
    Trophy Points:
    16
    What I did was saving a tcpdump log on Asterisk. It is running in a Debian server. Then I viewed that log on Wireshark on a Windows box.

    I don't have full access to the Avaya so I can't get a tcpdump from that box.
     
  10. draalin

    draalin The Boss Staff Member

    Messages:
    518
    Likes Received:
    31
    Trophy Points:
    28
    Ah what did you end up coming up with?
     
  11. Protojunkie

    Protojunkie Member

    Messages:
    127
    Likes Received:
    0
    Trophy Points:
    16
    I haven't got a solution for this problem yet. I'll keep you posted when I solve the problem.

    If you have any other thought on what I could try please tell me and I'll do it :)
     
  12. draalin

    draalin The Boss Staff Member

    Messages:
    518
    Likes Received:
    31
    Trophy Points:
    28
    I mean it seems like it can be one of two things from what you have told me.
    1. Port configuration issue
    2. Incorrect config in one of the .conf's
    You said the calls work fine locally so it could be the port. But then it could always be an issue with the outbound rules.
     
  13. Protojunkie

    Protojunkie Member

    Messages:
    127
    Likes Received:
    0
    Trophy Points:
    16
    I asked the same question at forums.asterisk.org and there someone said that I should consider upgrading to Asterisk 11. I'm going to try to do that and see if that solves my problem.
     

Share This Page