Hi, Mirko!
If you provision a UDP URI in the database, then the outgoing INVITE
will be sent as UDP.
If you want to preserve the protocol, regardless the URI's protocol,
you'll have to explicitely hack it in the script by altering the
destination URI, something like:
if ($rP == "TCP")
$du = $du + ";transport=tcp";
Note that this hack presumes that the URIs in your database are always
provisioned without a transport parameter;
Hope this helps.
Best regards,
Răzvan
On 02/19/2018 02:32 PM, Mirko Csiky wrote:
Hi guys,
i am playing with opensips and load balancer module, and it seems like
inital TCP invites will be forwarded (opensips relay after
load_balance(...) ) as UDP ? Can this behaviour be deactivated ? (i
tried to find some configuration options, but without success)
It is also possible that my config is not ok and it is so because of
misconfiguration ...
Can anybody help me here ?
best regards
Mirko
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
Răzvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com
OpenSIPS Summit 2018
http://www.opensips.org/events/Summit-2018Amsterdam
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users