Again, the SIP standards forbid this, because proxies just don’t do that!
—
Sent from mobile, with due apologies for brevity and errors.
> On Apr 16, 2019, at 3:57 AM, David Dean wrote:
>
> As you say, the rtpengine SDP mangling is turn-key with rtpengine_answer().
> It's working perfectly.
>
As you say, the rtpengine SDP mangling is turn-key with rtpengine_answer().
It's working perfectly.
But I'm surprised to find I cannot generate a 200 OK and attach the SDP inside
Kamailio.
sl_send_reply() would be perfect but it doesn't allow a body to be attached
(unless I missed something in
Kamailio will substitute RTPEngine-mangled SDP upon your invocation of
rtpengine_answer(). You’re working about a thousand times too hard on this
issue; it’s already turn-key. :-)
—
Sent from mobile, with due apologies for brevity and errors.
> On Apr 15, 2019, at 6:03 PM, David Dean wrote:
>
On 4/15/19 6:03 PM, David Dean wrote:
> The goal is for the test client to think a remote client accepted the
> call, when actually it's just Kamailio faking the 200 response.
Have you looked at the moh module?
https://www.kamailio.org/docs/modules/stable/modules/mohqueue.html
Fred Posner
Hi Alex,
Thanks for the tip re: rtpengine routing, that's really useful.
The flow I'm trying to create is like this:
[ Test Client ] --> INVITE --> [ Kamailio ] ^
| |-- 200 OK + SDP
|
The goal is for
Hi David,
As Alex said, K is a proxy. If you strictly want to use something like K,
then I would suggest yo have a look at the rtp_media_server module:
https://www.kamailio.org/docs/modules/devel/modules/rtp_media_server.html
Only available in master branch (5.3), but worth giving a try if you
Hi David,
Kamailio is a proxy, so it cannot endogenously originate either requests
or most replies. A 200 OK to an INVITE transaction can only come from a
user agent (endpoint), and Kamailio's sole job is to forward it. So, the
200 OK is going to come from the auto-answering callee.
To engage
Hi all,
I'm building an automated load testing system for an rtp media server with TURN
that uses Kamailio for SIP.
When a client sends an INVITE to Kamailio, I need Kamailio to respond with "200
OK" and the SDP generated by rtpengine.
I've enabled auto-answer in the client, so as soon as it