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 <[email protected]> On Behalf Of Ivan Ribakov Sent: Tuesday, May 21, 2019 5:33 PM To: Kamailio (SER) - Development Mailing List <[email protected]> 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 [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev _______________________________________________ Kamailio (SER) - Development Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
