Hi!
At the end of the PSTN-routing (route(3)) I make:
if (!t_relay()) { sl_reply_error(); break; };
Isn't that enough?
Well, at the end of all routings I put sl_send_reply("404", "Not Found");
...but this is after
# Numbers with more that 6 Numbers (until 30) are forwarded to the PSTN - Gateway if (uri=~"sip:[0-9]{6,30}@.*") { route(3); break; };
...so ser never shouldn't reach this code.
Thanks!
Sebastian
----- Original Message ----- From: "Andreas Granig" andreas.granig@inode.info To: "Sebastian Kühner" skuehner@veraza.com Cc: serusers@lists.iptel.org Sent: Monday, August 08, 2005 3:36 PM Subject: Re: [Serusers] Not found
Sebastian Kühner wrote:
I have a strange problem. Sometimes a user is calling to a PSTN Gateway (prefix 00) and ser is routing it correctly, but sometimes ser sends
back a
"NOT FOUND" to the user before forwarding the call to the Gateway...
then
the gateway sends back many "OK" messages that never reaches the caller.
Maybe you've forgotten a "break;" somewhere after routing to PSTN?
Andy