[SR-Users] TM: t_relay([host, port]) DNS Queries

Louis-Olivier Roof lroof at jive.com
Wed Jul 27 16:47:22 CEST 2016


Dear Kamailio users,

Ref: http://kamailio.org/docs/modules/4.2.x/modules/tm.html#tm.f.t_relay

Using t_relay([host, port]) to relay messages to a specific host does
not seem to generate DNS queries to the said host after Kamailio has
initially processed the configuration file.

It resolves the host once at startup then continues using the same IP after.

Is that expected behavior? Anyone has had this issue before and found a
way to work around it?

Note that for this specific application, messages need to be relayed to
a specified host (different from current R-URI) and this host needs to
be resolved by DNS during normal operation, not only at startup.

Thanks!

Louis-Olivier



More information about the sr-users mailing list