One Way Audio, Asterisk configuration not using correct media address from 183 SDP packet

I have a registered extension which is being used to make and receive outbound calls. I have a one way audio on outbound external calls, incoming external calls have two way audio.

when investigating the issue i have found that on calls with successful two way audio the RTP media is always sent to and received from as shown in the Asterisk RTP debug screenshot below.

On calls with one way audio i saw that media was received from but sent to as shown in the Asterisk RTP debug screenshot below.

I asked the customer about the two addresses and They are Italian so i didn’t really understand but i managed to understand that was the correct address to send media to and was not being used anymore.

I have done some research to find out why Asterisk is sending media traffic to so i looked at the SIP packets. In the screenshots below i can see that a 183 Session Progress (SDP) packet is received from the server and the c= field contains as the media address as shown in the screenshot below.

The First 183 Session Progress (SDP) packet is quickly followed by a second 183 Session Progress (SDP) packet which there the c= field contains the correct media address as shown in the screenshot below.

Can anybody help me understand my my Asterisk configuration is sending media to the first incorrect address and not the one contained in the second packet which is correct ?

I am using Asterisk 13.23.0

I have tried registering the same extension to a generic VoIP phone and i am able to make and receive calls with two way audio no problem.

All help is Appreciated ! Thanks in advance.

Which channel driver? What is the comedia setting? What is the contents of the SDP, in particular the sequence numbers, for all the packets with SDP.

Please provide protocol traces as text, preferably inline and marked as preformatted, from /var/log/asersik, rather than pictures of a screen.

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