[SR-Users] kamailio & rtpengine question
Gerry Kernan
gerry at infinityit.ie
Sat Oct 8 12:20:41 CEST 2022
Ive tried setting below in rtpengine.conf , but i get the same behaviour
interface=10.3.1.6!XX.XX.XX.XX
Best Regards
Gerry
From: Henning Westerholt <hw at gilawa.com>
Sent: Saturday 8 October 2022 08:32
To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Cc: Gerry Kernan <gerry at infinityit.ie>
Subject: RE: [SR-Users] kamailio & rtpengine question
Hello, you might need to set the advertised address for rtpengine as well: https://github.com/sipwise/rtpengine/blob/mas͏͏
[Caution: External Email]<https://summary.uk.defend.egress.com/v3/summary?ref=email&crId=634127871b54efae5dd47538>
[Caution: First Time Sender]<https://summary.uk.defend.egress.com/v3/summary?ref=email&crId=634127871b54efae5dd47538>
Hello,
you might need to set the advertised address for rtpengine as well:
https://github.com/sipwise/rtpengine/blob/master/etc/rtpengine.conf
Cheers,
Henning
--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com<https://gilawa.com/>
From: sr-users <sr-users-bounces at lists.kamailio.org<mailto:sr-users-bounces at lists.kamailio.org>> On Behalf Of Gerry Kernan
Sent: Friday, October 7, 2022 10:49 AM
To: sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>
Subject: [SR-Users] kamailio & rtpengine question
Hi
Looking for advise if anyone could point out where im going wrong.
My setup is Kamailio Ver 5.6.0 running in azure , rtpengine Version: git-master-dc395d5, behind kamailio I have asterisk ver 18.12.1
Kamailio conf I have interface set as below
listen=udp:10.3.1.6:5060 advertise WANIP:5060
and rtpengine.conf set as below
interface = eth0/10.3.1.5
but when I can make a call I don’t get any audio, rtpengine.log extract below shows that rtp is going to the private IP rather that the Public IP of the phone that initiated the call, do I need to set rtpengine_manage() to fix this?
Oct 7 09:38:58 kamailio-proxy rtpengine[8127]: INFO: [NmE0MjdhMzA4NjUzYWVjMmRjYzIxNGJjMTY4ZTc2MWE. port 30278]: [core] Confirmed peer address as 10.3.1.5:12890
Oct 7 09:38:58 kamailio-proxy rtpengine[8127]: INFO: [NmE0MjdhMzA4NjUzYWVjMmRjYzIxNGJjMTY4ZTc2MWE. port 30278]: [core] Kernelizing media stream: 10.3.1.5:12890 -> 10.3.1.6:30278 | 10.3.1.6:30298 -> 192.168.0.123:40042
Oct 7 09:39:00 kamailio-proxy rtpengine[8127]: INFO: [NmE0MjdhMzA4NjUzYWVjMmRjYzIxNGJjMTY4ZTc2MWE. port 30279]: [core] Confirmed peer address as 10.3.1.5:12891
Kind regards
gerry
Gerry Kernan | Technical Director
Mobile: +353(0)86-170 9790
[Graphical user interface, website Description automatically generated]<https://www.infinityit.ie/>
[A picture containing text, clipart Description automatically generated,Icon Description automatically generated]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20221008/3548ba6a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.jpg
Type: image/jpeg
Size: 107053 bytes
Desc: image005.jpg
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20221008/3548ba6a/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 3758 bytes
Desc: image006.png
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20221008/3548ba6a/attachment.png>
More information about the sr-users
mailing list