|
List Info
Thread: who removes top most route header? (openser 1.2.0 + wesip)
|
|
| who removes top most route header?
(openser 1.2.0 + wesip) |

|
2007-04-27 07:54:21 |
|
Hi,
I have testing openser 1.2.0 with seas module and wesip.
If I send an INVITE message with
a Route header, the SIP servlet receives the INVITE with the full Route
Header, and when I proxy it the Route is the same, but I expected that
the top most Route header has been removed. Who is in charge to do it?
openser or wesip? I first thought it might be openser through
loose_route(), but it seems not to be the case.
The openser cfg file is similar to the example given in wesip tutorial:
route{ if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops"); exit; }; if (msg:len >= 2048 ) { sl_send_reply("513", "Message too big");
exit; };
xlog("L_INFO", "$rm: ci=$ci ft=$ft tt=$tt cseq=$cs ruri:$ru received from: $si:$sp n");
if (!method=="REGISTER") record_route();
if (loose_route()) { xlog("L_INFO", "RR enforcedn"); append_hf("P-hint: rr-enforcedrn"); route(1); };
if (uri==myself) {
xlog("L_INFO", "uri == myself"); if (method=="REGISTER") { save("location"); exit; };
lookup("aliases"); if (!uri==myself) { xlog("L_INFO", "outbound aliasn"); append_hf("P-hint: outbound aliasrn");
route(1); }; if (!lookup("location")) { &nbs | |