Hello Daniel,

Thank you for your help.

Best Regards
José

2017-03-01 14:25 GMT+00:00 Daniel-Constantin Mierla <miconda@gmail.com>:

Hello,

so it seems that the error happens before the transaction is created, as I see SL in the response...

Can you try with:

https://www.kamailio.org/docs/modules/stable/modules/tm.html#tm.f.t_set_disable_internal_reply

before t_relay() and then catch the failure execution with if(!t_relay()) and send there response you want there.

Cheers,
Daniel


On 01/03/2017 15:11, José Seabra wrote:
Hi Daniel,
I'm using t_relay().

Regards
José

2017-03-01 14:09 GMT+00:00 Daniel-Constantin Mierla <miconda@gmail.com>:

Hello,

are you using forward() or t_relay() to send out?

Cheers,
Daniel


On 28/02/2017 12:32, José Seabra wrote:
Hello there,
Some times dns server fails and my kamailio server start replying "Unresolvable destination (478/SL)".

The propose of my email is to know if is there any possibility to change this reply (478) to for example one of 5XX replies.

I have modparam("sl", "default_code", 503) but in situations where dns fails, kamailio doesn't reply 503.


Thank you for your support

Regards
José Seabra


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - www.asipto.com
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Cumprimentos
José Seabra
-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - www.asipto.com
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com



--
Cumprimentos
José Seabra