Change OS From CentOS 6 To 7

Home » Asterisk Users » Change OS From CentOS 6 To 7
Asterisk Users 8 Comments

Hi all,

I had a box with CentOS 6… I backed up, installed C7. restored my backups, put back on asterisk 11.25.1 put back my configs and ran a test… All seems good, my device activates like audio is ready to come out – but no audio. CLI looks like everything is running – just no audio…

The device is registered. no errors on startup. using the same hardware as before all on local network no NAT issues I tried turning off the firewall – not help.

Thoughts on why no audio, or things to look at. ?

Thanks

Jerry

8 thoughts on - Change OS From CentOS 6 To 7

  • Hello, Jerry, What does it mean exactly «…just no audio»?
    Maybe the audio packets don’t come through. Have you tried Wireshark?
    All the best, Roman

  • Audio packets are running…

    961 16.150421076 192.168.5.150 -> 192.168.5.25 RTP 214 PT=ITU-T G.711 PCMU, SSRC=0x6A3E0AF1, Seq(402, Times280
    962 16.170411284 192.168.5.150 -> 192.168.5.25 RTP 214 PT=ITU-T G.711 PCMU, SSRC=0x6A3E0AF1, Seq(403, Times440
    963 16.190381989 192.168.5.150 -> 192.168.5.25 RTP 214 PT=ITU-T G.711 PCMU, SSRC=0x6A3E0AF1, Seq(404, Times600
    964 16.210387990 192.168.5.150 -> 192.168.5.25 RTP 214 PT=ITU-T G.711 PCMU, SSRC=0x6A3E0AF1, Seq(405, Times760
    965 16.230353530 192.168.5.150 -> 192.168.5.25 RTP 214 PT=ITU-T G.711 PCMU, SSRC=0x6A3E0AF1, Seq(406, Times920
    966 16.250362957 192.168.5.150 -> 192.168.5.25 RTP 214 PT=ITU-T G.711 PCMU, SSRC=0x6A3E0AF1, Seq(407, Timet080
    967 16.270375476 192.168.5.150 -> 192.168.5.25 RTP 214 PT=ITU-T G.711 PCMU, SSRC=0x6A3E0AF1, Seq(408, Timet240
    968 16.290361413 192.168.5.150 -> 192.168.5.25 RTP 214 PT=ITU-T G.711 PCMU, SSRC=0x6A3E0AF1, Seq(409, Timet400
    969 16.310380701 192.168.5.150 -> 192.168.5.25 RTP 214 PT=ITU-T G.711 PCMU, SSRC=0x6A3E0AF1, Seq(410, Timet560
    970 16.330372239 192.168.5.150 -> 192.168.5.25 RTP 214 PT=ITU-T G.711 PCMU, SSRC=0x6A3E0AF1, Seq(411, Timet720
    971 16.350381239 192.168.5.150 -> 192.168.5.25 RTP 214 PT=ITU-T G.711 PCMU, SSRC=0x6A3E0AF1, Seq(412, Timet880
    972 16.370378599 192.168.5.150 -> 192.168.5.25 RTP 214 PT=ITU-T G.711 PCMU, SSRC=0x6A3E0AF1, Seq(413, Timeu040
    973 16.390376810 192.168.5.150 -> 192.168.5.25 RTP 214 PT=ITU-T G.711 PCMU, SSRC=0x6A3E0AF1, Seq(414, Timeu200
    974 16.410491478 192.168.5.150 -> 192.168.5.25 RTP 214 PT=ITU-T G.711 PCMU, SSRC=0x6A3E0AF1, Seq(415, Timeu360
    975 16.430377388 192.168.5.150 -> 192.168.5.25 RTP 214 PT=ITU-T G.711 PCMU, SSRC=0x6A3E0AF1, Seq(416, Timeu520
    976 16.450314213 192.168.5.150 -> 192.168.5.25 RTP 214 PT=ITU-T G.711 PCMU, SSRC=0x6A3E0AF1, Seq(417, Timeu680

    Jerry

  • Are you sure the packets are not lost and reach their destination?
    Do the restored configs have the necessary permissions/ownership?

    Roman

  • Which is only one way!

    Your info is lacking any useful information, that makes helping you extremly difficult. Enable debugging in asterisk (core set verbose 3, sip set debug on and rtp set debug on) and compare what asterisk is seeing to packet captures. Tell us what ip adress is what device, try telling us what you are trying to accomplish (eg are you calling an echo test).

    Have you tried turning of selinux? If that solves the issue, take a look at how to actually set ip up correctly for asterisk.

  • 5.25 is your Asterisk?

    Did you try to add a manual Iptables rule?

    iptables -I INPUT -j ACCEPT.

    This will accept any input packets (just for testing purposes, of course).

    Regards,

  • CentOS 7 uses firewalld rather than iptables, unless you explicitly disable firewalld and enable iptables. The default configuration is fairly restricted.

    –Greg