I put this in:
if (t_check_trans()) {
t_reply("503", "Service Unavailable");
} else {
sl_send_reply("503", "Service Unavailable");
}
And it seems to work fine. But I suppose send_reply would be much
simpler... :-)
On Apr
David Aldworth writes:
> kamailio server sends the provisional response to customer UA if we
> cannot find a route for the call. I am using:
>
> t_reply("503", "Service Unavailable");
>
> However this results in:
>
> ERROR:tm:w_t_reply: failed to send a t_reply to a message for which
On Sat, Apr 11, 2009 at 1:19 PM, David Aldworth wrote:
> Is there a way to tell if a transaction already exists before executing
> t_newtran(); ?
I suppose you could use t_check_trans().
But I haven't tried it.
> If the route query scripts executes resulted in a route, but then we get a
> 5XX f
On Sat, Apr 11, 2009 at 12:53 PM, David Aldworth wrote:
> I'm am attempting to return a 503 "Service Unavailable" after my
> kamailio server sends the provisional response to customer UA if we
> cannot find a route for the call. I am using:
>
> t_reply("503", "Service Unavailable");
>
> However th
I'm am attempting to return a 503 "Service Unavailable" after my
kamailio server sends the provisional response to customer UA if we
cannot find a route for the call. I am using:
t_reply("503", "Service Unavailable");
However this results in:
ERROR:tm:w_t_reply: failed to send a t_reply to a