Hello all,
I'm currently doing some experiments with RTPENGINE and I need some help
configuring it.
First scenario i'm under NAT and Kamailio receives an INVITE with a private
address, rewrites (c) line on SDP with it's own IP address and relays the
message to the destination endpoint. After that the originator receives the
183 Session Progress with kamailio's IP as (c) parameter. After receiving
the first RTP packet from the originator the media streams flow normally
and I have sound on both sides including ringing.
Second scenario I use different equipment that is not under NAT, but the
remaining scenario is the same, except the originator doesn't send an RTP
packet after the 183 Session Progress. However, in this case, no RTP
stream is relayed to the originator and as a consequence it doesn't hear a
ring or voice when the call is answered.
As i see it, it looks like Kamailio is on passive mode to the A-Leg of the
call and waits for a RTP packet to establish its stream. Is this correct?
If so, how do i change this behaviour?
Cheers
This is always a good place to start https://www.fredposner.com/1457/kamailio-behind-nat/
Lewis
Mission Labs Limited is registered in England, company number 10040088. Trading Office: The Old Milk Depot, Bacup Rd, Rossendale, BB4 7FE. Registered office: The Scalpel, 18th Floor 52 Lime Street, London, EC3M 7AF. Email confidentiality notice: This message is private and confidential. If you have received this message in error, please notify us and remove it from your system. Please consider the environment before you print this email.
Dear Kamailio users,
Im new to kamailio so excuse me if the question doesnt make sense. I have an asterisk server with private IP address behind the NAT . Is it possible to have a Kamailio Server with Public IP Address as a proxy server for my asterisk ?
What I want to achieve is that remote users should be able to call internal users who are registered in the Asterisk . The problem here is that Asterisk does not have public IP address and I want the remote users to be registered in my asterisk .
Best WishesJ. sh
Hello, I would appreciate any help you can provide on this matter,
I would like to make an outgoing INVITE request which will have a digest authorization with password and username.
I was wandering around the Auth module to find the most fit method to build this header but hadn't found anything.
Maybe I am missing something really obvious here, thanks for the help in advance
Best regards,
Max.
Hello,
Kamailio SIP Server v5.5.7 stable release is out.
This is a maintenance release of the stable branch 5.5 that includes
fixes since the release of v5.5.6. There is no change to
database schema or configuration language structure that you have to do
on previous installations of v5.5.x. Deployments running previous v5.5.x
versions are strongly recommended to be upgraded to v5.5.7.
Note that 5.5 is now the third last stable branch, v5.5.7 being the last
planned released in 5.5.x series. The latest two stable branch are 5.6
and 5.7, with v5.7.1 being released a while ago.
For more details about version 5.5.7 (including links and guidelines to
download the tarball or from GIT repository), visit:
* https://www.kamailio.org/w/2023/07/kamailio-v5-5-7-released/
RPM, Debian/Ubuntu packages will be available soon as well.
Many thanks to all contributing and using Kamailio!
Cheers,
Daniel
--
Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - www.kamailioworld.com
Hello,
I am planning to release v5.5.7 our of branch 5.5 this week, most likely
on Wednesday, July 19, 2023. It will mark the end of official packaging
for release series 5.5.x, currently the latest two stable branches are
5.6 and 5.7.
Cheers,
Daniel
--
Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference - www.kamailioworld.com
I wouldn't do a delete in that situation; it might be simpler to just do another rtpengine_offer() on a <Call-ID, From-tag> tuple that RTPEngine already knows about, just as one would in a reinvite. I believe rtpengine_manage() would cover this situation as well.
And yes, then just t_relay() anew!
> On Jul 18, 2023, at 11:41 AM, Barry Flanagan <barry(a)flantel.com> wrote:
>
> On 18/07/2023 16:33, Alex Balashov wrote:
>> Barry,
>>
>> Might it not be simpler to follow Richard's first suggestion in that thread, and simply catch the 488 response in a failure_route and re-issue a non-SRTP offer on another branch?
>
> hi Alex,
>
> Might be. I am just unsure about how to instruct rtpengine to re-send the plain RTP invite. Do I do a rtpengine_delete and then restart with rtpengine_manage() then relay again?
>
> Thanks.
>
> -Barry
>
>
>>
>> -- Alex
>>
>>> On Jul 18, 2023, at 11:05 AM, Barry Flanagan <barry(a)flantel.com> wrote:
>>>
>>> Hi,
>>>
>>> I have implemented a WebRTC proxy using Kamailio and rtpengine, in front
>>> of Asterisk servers. I have an issue where I do not know in advance
>>> whether the Asterisk client is set to use RTP or SRTP.
>>>
>>> My implementation expects the web side to be SRTP and the Asterisk side
>>> plain RTP. However, if the asterisk side requires SRTP I receive a 488
>>> Not Acceptable here. The same is true when an SRTP client from the
>>> Asterisk side dials out to the webrtc client, I need to catch whether
>>> the request is SRTP or RTP and generate rtpengine offer accordingly.
>>>
>>> This was discussed in github, with a description of a solution here:
>>> https://github.com/sipwise/rtpengine/issues/435#issuecomment-391937398 -
>>> however I am unsure how to implement this.
>>>
>>> Does anyone have an example of how I can change the rtpengine SDP in
>>> such a case?
>>>
>>> Thanks
>>> --
>>> -Barry
>>> __________________________________________________________
>>> Kamailio - Users Mailing List - Non Commercial Discussions
>>> To unsubscribe send an email to sr-users-leave(a)lists.kamailio.org
>>> Important: keep the mailing list in the recipients, do not reply only to the sender!
>>> Edit mailing list options or unsubscribe:
>
> --
> -Barry
>
--
Alex Balashov
Principal Consultant
Evariste Systems LLC
Web: https://evaristesys.com
Tel: +1-706-510-6800
Hi,
I have implemented a WebRTC proxy using Kamailio and rtpengine, in front
of Asterisk servers. I have an issue where I do not know in advance
whether the Asterisk client is set to use RTP or SRTP.
My implementation expects the web side to be SRTP and the Asterisk side
plain RTP. However, if the asterisk side requires SRTP I receive a 488
Not Acceptable here. The same is true when an SRTP client from the
Asterisk side dials out to the webrtc client, I need to catch whether
the request is SRTP or RTP and generate rtpengine offer accordingly.
This was discussed in github, with a description of a solution here:
https://github.com/sipwise/rtpengine/issues/435#issuecomment-391937398
<https://github.com/sipwise/rtpengine/issues/435#issuecomment-391937398>-
however I am unsure how to implement this.
Does anyone have an example of how I can change the rtpengine SDP in
such a case?
Thanks
--
-Barry