[SR-Users] Difference between route(RELAY) and t_relay

Olle E. Johansson oej at edvina.net
Thu Apr 24 07:21:43 CEST 2014


On 24 Apr 2014, at 06:58, aawaise <owaisulhaq at hotmail.com> wrote:

> Hi all,
> 
> I want to know while coding kamailio.cfg. What factor determines that
> route(RELAY) should be used or t_relay ??

route(RELAY) is a call to a routeblock that calls t_relay.

Check that route block - what it does in your configuration. Usually it handles t_relay errors and is generally more useful than calling t_relay() directly.

/O


More information about the sr-users mailing list