[Users] dispatcher module and rewritehost vs forward
Script Head
scripthead at gmail.com
Mon May 29 20:51:22 CEST 2006
I have the following in my config, which works...
now if I comment forward and comment out rewritehost I get errors. Am I not
using the correct syntax?
route[5] {
# -----------------------------------------------------------------
# PSTN Handler
# -----------------------------------------------------------------
t_on_reply("1");
# do load balancing
ds_select_dst("1","4");
sl_send_reply("100","Trying");
#rewritehost(uri:host);
forward(uri:host,uri:port);
route(4);
route(1);
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20060529/42a0e05e/attachment-0001.htm
More information about the Users
mailing list