Hello,

the 477 error code is a specific one for Kamailio. There is currently no way to 
change it over the configuration, but you can change it in the code.

In the past it was not possible to catch this internal 477 internally in a 
failure_route or similar. I have not tested it if this is still the case, 
probably yes. One way to work around it would be to use the "0x02" flag in 
t_relay(..) and then generate another reply by directly in the configuration.

Cheers,

Henning

From: Patrick Karton <patrickar...@hotmail.com>
Sent: Sonntag, 12. Februar 2023 17:02
To: sr-users@lists.kamailio.org
Subject: [SR-Users] change default 477 response code per case

Hello ,

i would like to know if there is a way to change the default 477 response code 
generated by kamailio in some cases.

for example if kamalio generates 477 because its not able to reach a peer i 
would like to change it to another code before to forward it.


Thanks.
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:

Reply via email to