[sr-dev] Generating TCP traffic via TM module's C API

Henning Westerholt hw at skalatan.de
Thu May 23 22:27:19 CEST 2019


Hello Ivan,

I would try to add ";transport=tcp" to the last parameter in the function call (next hop).

Cheers,

Henning

-- 
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://skalatan.de/services

-----Original Message-----
From: sr-dev <sr-dev-bounces at lists.kamailio.org> On Behalf Of Ivan Ribakov
Sent: Tuesday, May 21, 2019 5:33 PM
To: Kamailio (SER) - Development Mailing List <sr-dev at lists.kamailio.org>
Subject: [sr-dev] Generating TCP traffic via TM module's C API

Hi,

I’ve been using TM module’s C API (tm_load..h -> struct tm_binds -> t_request_outside()) for some time now to generate new requests from custom module’s C code. What I haven’t come across so far is any type of switch to generate TCP traffic. Is it supported? If so, how can that be controlled? Via transport URI parameter perhaps?

Thanks in advance!

Regards,
Ivan
_______________________________________________
Kamailio (SER) - Development Mailing List sr-dev at lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


More information about the sr-dev mailing list