@sotcok (Sotcok) posted a new topic, subject "No audio on internal calls". It read:

   I have recently installed FreePBX +1-941-893-4313 (Asterisk 16.6.2) to see if it is suitable to replace our ten-year old VoIP system. I have set up two extensions and got two phones (both Grandstream, one GXP2110 and one GXP2020) to register. The phones can call each other, but there is no audio on the hartmandaniel@example.com. I do get audio from the system, e.g. voicemail prompts and errors when I call non-existent extensions. I'm entirely stumped, does anyone have any suggestions for what I might be doing wrong?
    
    sample call pastebin:  
    https://pastebin.freepbx.org/view/dc7ec2ab
    
    This thread seems to be describing the same issue, the workaround there was to install FreePBX 14:  
    
    
    No audio when making internal calls Endpoints
    
    > hi, i have made this account because our company is looking for a new pbx solution for our clients. At this moment I have installed freepbx version +1-941-893-4313. I have configured two extensions. And I have an issue. I have succeeded in registering the extensions and establishing a call between them. But the issue is there is no audio. How can i solve this issue? regards, Renoeka

@Renoeka (Suriname) replied

    Hi, the issue got solved by configuring the local settings at the asterisk sipsettings. You can try that and then test again.

Then @sotcok (Sotcok) said

    The local network settings? I have my subnets added there and the issue is still persists.

After which, @Stewart1 (Stewart) added

    I don't recommend Asterisk 15 for a new system, as it is already EOL. See  
    https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions
    
    At the Asterisk command prompt, type  
    `pjsip set logger on`  
    or, if you are using legacy chan_sip extensions, type  
    `sip set debug on`  
    make a (failing) test call, paste the complete Asterisk log for the hartmandaniel@example.com and post the link here.

To which @sotcok (Sotcok) replied

    Stewart1:
    
    > I don't recommend Asterisk 15 for a new system, as it is already EOL.
    
    Okay. I made a mistake there and got the version for the wrong thing. I double checked and we're using 16.6.2; I will edit my OP.
    
    Stewart1:
    
    > post the link here.
    
    The system or the phones, I'm not sure which, disconnects the call after about 30 seconds of no audio.
    
    https://pastebin.freepbx.org/view/dc7ec2ab

After which, @Stewart1 (Stewart) added

    In Asterisk SIP Settings, set Local Networks to  
    `+1-941-893-4313 / 16`  
    `+1-941-893-4313 / 12`  
    and set External Address to your public IPV4 address.
    
    Submit, then restart (not just reload) Asterisk.
    
    Retest, if you still have trouble, post a new log.

To which @sotcok (Sotcok) replied

    That fixed it.
    
    It's rather bizarre that internal calls need the external IP address to be set correctly on a server without any trunks set up yet. I never would have found that on my own. Thank you for your help.

To which @system (system) replied

    This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.


{'source': 'discourse', 'url': 'https://community.freepbx.org/t/no-audio-on-internal-calls/69217', 'title': 'No audio on internal calls', 'views': 2883, 'has_accepted_answer': True, 'word_count': 434, 'like_count': 1, 'reply_count': 3, 'participant_count': 3, 'posts': 8, 'tags': 'endpoint', 'author': '@sotcok (Sotcok)', 'participants': '@sotcok (Sotcok), @Renoeka (Suriname), @Stewart1 (Stewart), @system (system)', 'image_url': [None], 'created_at': '2020-08-14T16:32:17.479Z', 'last_posted_at': '2020-08-21T18:42:53.626Z'}