Hi everybody,
I'm currently testing ser (0.8.10) as a stateless redirect server with Kphone (3.1) as UA and I wonder why Kphone didn't try all URIs after receiving REDIRECT message from ser but only the one add with rewriteuri() function ? Nevertheless this REDIRECT effectively contains in his Contact Header field both URIs add with rewriteuri() and append_branch(). Kphone seems not to try URIs which are add to destination set with append_branch()...
Can someone explain me why, or REDIRECT :-) me to the good way of thought ???
Regards,
Matthieu
Here is my ser config file :
# # $Id: test_ser.cfg,v 1.12 09/05/2003 17:13:00 matthieu saunier $ # # simple quick-start config script #
# ----------- global configuration parameters ------------------------
debug=3 fork=yes log_stderror=yes
check_via=no # (cmd. line: -v) dns=no # (cmd. line: -r) rev_dns=no # (cmd. line: -R) port=5060 children=2
# ------------------ module loading ----------------------------------
loadmodule "/usr/local/lib/ser/modules/sl.so"
# ----------------- setting module-specific parameters ---------------
# ------------------------- request routing logic -------------------
route{
if (uri==myself) {
log("URI MATCHED"); log(1,"REDIRECTING"); # rewrite current URI, which is always part of destination ser rewriteuri("sip:rewriteuri@172.25.49.133:5062");
# append one more URI to the destination set append_branch("sip:appendbranch@172.25.49.133:5063"); # redirect now sl_send_reply("300", "redirect");
};
}