Re: [SR-Users] Forcing outbound transport to TCP

2018-10-02 Thread Daniel-Constantin Mierla
Hello, in KEMI you can do: KSR.setdsturi("sip:_IP_OR_DOMAIN_:_PORT_;transport=tcp"); KSR.tm.t_relay() I will review what tm functions are not exported yet and add those that are still relevant. In Kamailio we had the t_relay_to(...), which allow setting the transport in the parameter, the

Re: [SR-Users] Forcing outbound transport to TCP

2018-10-01 Thread Henning Westerholt
Am Freitag, 28. September 2018, 12:07:57 CEST schrieb Ivan Ribakov: > How would one achieve the same using KEMI? I can see there is a KSR.tm > module - > https://kamailio.org/docs/tutorials/devel/kamailio-kemi-framework/modules/# > tm >

Re: [SR-Users] Forcing outbound transport to TCP

2018-09-28 Thread Ivan Ribakov
How would one achieve the same using KEMI? I can see there is a KSR.tm module - https://kamailio.org/docs/tutorials/devel/kamailio-kemi-framework/modules/#tm which has “t_relay()” function but it has no

Re: [SR-Users] Forcing outbound transport to TCP

2018-09-28 Thread Ivan Ribakov
Thanks Daniel! route[RELAY] section is what I’ve been looking for! I knew about t_relay_to_tcp() function but placing it directly in the end of “request_route” block lead to undesirable behaviour which made me think it’s not what I needed. > On 28 Sep 2018, at 10:40, Daniel Tryba wrote: > >

Re: [SR-Users] Forcing outbound transport to TCP

2018-09-28 Thread Daniel Tryba
On Fri, Sep 28, 2018 at 10:07:09AM +0200, Ivan Ribakov wrote: > In a basic scenario of one2one call, I was able to make Kamailio to forward > INVITE to callee over TCP by issuing a REGISTER request with > ???transport=tcp??? parameter. Although it worked, as far as I understand > that means all

[SR-Users] Forcing outbound transport to TCP

2018-09-28 Thread Ivan Ribakov
I’m new to Kamailio and currently evaluating it’s capabilities. One of the things I would like to be able to do is to change outbound message transport based on some dynamic logic. Kamailio setup: I’m running on a setup from this guide -