if (is_method("INVITE"))
{
record_route();
uac_replace_from("sip:997321073@xxxxxx.be");
rewritehost("xxxxxx.be");
}
if (has_totag()) {
if (loose_route()) {
if (is_method("BYE")) {
xlog("L_NOTICE", "------------------> LOOSE
route");
t_relay();
I think there are too many t_relay(). Just one will
suffice.
if(has_totag()){
if(is_method("BYE")){
xlog(......);
}
t_relay(); #relay all in-dialog messages (also BYEs)
exit;
}
Can you try with smth like this?
Cheers
Marius