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

2019-05-23 Thread Henning Westerholt
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  On Behalf Of Ivan Ribakov
Sent: Tuesday, May 21, 2019 5:33 PM
To: Kamailio (SER) - Development Mailing List 
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@lists.kamailio.org 
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


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

2019-05-23 Thread Ivan Ribakov
Bump

> On 21 May 2019, at 17:33, Ivan Ribakov  wrote:
> 
> 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@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


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

2019-05-21 Thread Ivan Ribakov
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@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev