Hi, perhaps I missing something but AFAIK if I do:

        rewritehostport("kk.kkkkkkkkkkaaa.bad");
        append_branch();
        xlog("L_INFO", "1111111111\n");
        if (!t_relay()) {
                xlog("L_ERROR","222222222222\n");
        }
        xlog("L_ERROR","3333333333\n");

Then, since "kk.kkkkkkkkkkaaa.bad" is a non existing domain I expect to 
see "222222222" because t_relay should reply a negative value:
  -4 bad destination (unresolvable address)

But the fact is that I don't see that "2222222222", neither "3333333333" but 
this error:

----------
May 29 10:38:32 [16795] CRITICAL:core:mk_proxy: could not resolve 
hostname: "kk.kkkkkkkkkkaaa.bad"
May 29 10:38:32 [16795] ERROR:tm:uri2proxy: bad host name in URI 
<sip:[EMAIL PROTECTED];transport=UDP;user=phone>
May 29 10:38:32 [16795] ERROR:tm:t_forward_nonack: failure to add branches
-----------


Why?

Thanks a lot.



-- 
Iñaki Baz Castillo
[EMAIL PROTECTED]

_______________________________________________
Users mailing list
[email protected]
http://lists.openser.org/cgi-bin/mailman/listinfo/users

Reply via email to