I used a rule forwarding 14551@mydomain.com to 14551@fwd.pulver.com . It was working very fine.
When I removed that rule, if I dial 14551 it is still taking to the same old URI although I removed that forwarding script in the ser.cfg and I restarted ser.
What I expect is 404 Not found, when I dial 14451 when I remove that.
How can I remove the cache in ser?
Pls help.
Kannaiyan
On Nov 21, 2003 at 16:38, Kannaiyan Natesan nkans@lycos.co.uk wrote:
I used a rule forwarding 14551@mydomain.com to 14551@fwd.pulver.com . It was working very fine.
When I removed that rule, if I dial 14551 it is still taking to the same old URI although I removed that forwarding script in the ser.cfg and I restarted ser.
What I expect is 404 Not found, when I dial 14451 when I remove that.
How can I remove the cache in ser?
There is no cache for config rules in ser. After a restart the new config will be used. Are you sure your phone is not sending the request directly to fwd.pulver.com? Do you have an outbound proxy with ser address configured?
Andrei
I have don't have anything related to fwd.pulver.com in my phone or in ser.cfg. I removed the settings completely.
below is my ser.cfg routing script
route{
# initial sanity checks -- messages with # max_forwards==0, or excessively long requests if (!mf_process_maxfwd_header("10")) { sl_send_reply("483","Too Many Hops"); break; }; if (len_gt( max_len )) { sl_send_reply("513", "Message too big"); break; };
# we record-route all messages -- to make sure that # subsequent messages will go through our proxy; that's # particularly good if upstream and downstream entities # use different transport protocol record_route(); # loose-route processing if (loose_route()) { t_relay(); break; };
# if the request is for other domain use UsrLoc # (in case, it does not work, use the following command # with proper names and addresses in it) if (uri==myself) {
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication if (!www_authorize("mydomain.com", "subscriber")) { www_challenge("mydomain.com", "0"); break; };
save("location"); break; };
# native SIP destinations are handled using our USRLOC DB if (!lookup("location")) { sl_send_reply("404", "Not Found"); break; }; }; # forward to current uri now; use stateful forwarding; that # works reliably even if we forward from TCP to UDP if (!t_relay()) { sl_reply_error(); };
}
----- Original Message ----- From: "Andrei Pelinescu-Onciul" pelinescu-onciul@fokus.fraunhofer.de To: "Kannaiyan Natesan" nkans@lycos.co.uk Cc: serusers@lists.iptel.org Sent: Friday, November 21, 2003 6:08 PM Subject: Re: [Serusers] Cache Problem ??
On Nov 21, 2003 at 16:38, Kannaiyan Natesan nkans@lycos.co.uk wrote:
I used a rule forwarding 14551@mydomain.com to 14551@fwd.pulver.com . It
was
working very fine.
When I removed that rule, if I dial 14551 it is still taking to the same
old
URI although I removed that forwarding script in the ser.cfg and I
restarted
ser.
What I expect is 404 Not found, when I dial 14451 when I remove that.
How can I remove the cache in ser?
There is no cache for config rules in ser. After a restart the new config will be used. Are you sure your phone is not sending the request directly to fwd.pulver.com? Do you have an outbound proxy with ser address configured?
Andrei
On Nov 21, 2003 at 18:52, Kannaiyan Natesan nkans@lycos.co.uk wrote:
I have don't have anything related to fwd.pulver.com in my phone or in ser.cfg. I removed the settings completely.
I meant if you have the outbound proxy set to the ser box. If not your phone will try to send the message by itself, it will probably do a DNS SRV lookup for pulver.com and will send the message directly to it.
below is my ser.cfg routing script
We need also some packet dumps. The config file seems ok.
Andrei
Thanks Andrei.
It was problem with the local router which has a setup like that. I removed that SIP settings with IX66 router and now it working fine.
Thanks for your help.
Kannaiyan
----- Original Message ----- From: "Andrei Pelinescu-Onciul" pelinescu-onciul@fokus.fraunhofer.de To: "Kannaiyan Natesan" nkans@lycos.co.uk Cc: serusers@lists.iptel.org Sent: Friday, November 21, 2003 6:59 PM Subject: Re: [Serusers] Cache Problem ??
On Nov 21, 2003 at 18:52, Kannaiyan Natesan nkans@lycos.co.uk wrote:
I have don't have anything related to fwd.pulver.com in my phone or in ser.cfg. I removed the settings completely.
I meant if you have the outbound proxy set to the ser box. If not your phone will try to send the message by itself, it will probably do a DNS SRV lookup for pulver.com and will send the message directly to it.
below is my ser.cfg routing script
We need also some packet dumps. The config file seems ok.
Andrei