<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>That will not work, and will have non-desired side-effects, It's only this peer that one that causes this problems, I'll end doing it by hand if there is no per-peer option already.<br></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>De: </b>"Marco Capetta" <mcapetta@sipwise.com><br><b>Para: </b>"spce-user" <spce-user@lists.sipwise.com><br><b>Enviados: </b>Jueves, 13 de Febrero 2020 7:49:55<br><b>Asunto: </b>Re: [Spce-user] Peer gateway returning a wrong response<br></div><div><br></div><div data-marker="__QUOTED_TEXT__"><tt>Hi Raul,<br>
<br>
you can try adding the code to
"kamailio.proxy.filter_failover_response" params of config.yml
file.<br>
The drawback is that the configuration will be system wide, so it
iwll be applied automatically to all the peers.<br>
<br>
<br>
Regards<br>
Marco<br>
</tt><br>
<div class="moz-cite-prefix">On 2/13/20 12:08 AM, Raúl Alexis
Betancor Santana wrote:<br>
</div>
<blockquote cite="mid:1890540643.5122596.1581548929014.JavaMail.zimbra@dimension-virtual.com">
<div style="font-family: arial, helvetica, sans-serif; font-size:
12pt; color: #000000">
<div>Hi all,<br>
</div>
<div><br>
</div>
<div>We a facing the problem with one carrier, that returns a
"404 not-found" for calls routed throught them that the number
was before on their network but now have been ported out, It's
a problem inside their internal LPN service, but they take too
much time to solving it each time whe open a ticket with them
so we need to translate that 404 into any response code that
SPCE will undestand as "Try other gateway".<br>
</div>
<div><br>
</div>
<div>Are the "SIP Response Codes", inside Peering Groups ->
[group] -> Peering Server -> [peer server] ->
Preferences for this ?, if not, is ther any option on SPCE
for doing this without having to go to the routing script and
do a hand-modification of the template ?<br>
</div>
<div><br>
</div>
<div>I'm testing under a mr7.5.2<br>
</div>
<div><br>
</div>
<div>Best regards.<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<div style="line-height:16px; margin:6px 0; padding:8px 8px 8px
8px; border-top:1px #aeb1a6 dotted; border-bottom:1px #aeb1a6
dotted; font-family: 'Lucida Sans', Lucida Grande, Verdana,
Arial, Sans-Serif; font-size:11px; color:#555555;"> <strong style="color:#333333; text-transform:uppercase;
font-size:10px;"> Marco Capetta </strong> <br>
VoIP Developer
<p> <a href="http://www.sipwise.com" style="color:rgb(0, 136,
204) !important; text-decoration:none !important;
border-bottom:1px dotted #AAA;" target="_blank"> Sipwise GmbH </a> , Campus
21/Europaring F15<br>
AT-2345 Brunn am Gebirge </p>
<p> Phone: <a href="tel:+4313012044" style="color:rgb(0, 136,
204) !important; text-decoration:none !important;
border-bottom:1px dotted #AAA;" target="_blank"> +43(0)1 301 2044 </a> <br>
Email: <a href="mailto:mcapetta@sipwise.com" style="color:rgb(0, 136, 204) !important;
text-decoration:none !important; border-bottom:1px dotted
#AAA;" target="_blank"> mcapetta@sipwise.com </a> <br>
Website: <a href="http://www.sipwise.com" style="color:rgb(0, 136, 204) !important;
text-decoration:none !important; border-bottom:1px dotted
#AAA;" target="_blank"> www.sipwise.com </a> </p>
<p>
Particulars according Austrian Companies Code paragraph 14<br>
"Sipwise GmbH" - Europaring F15 - 2345 Brunn am Gebirge<br>
FN:305595f, Commercial Court Vienna, ATU64002206
</p>
</div>
</div>
<br>-- <br>Spce-user mailing list<br>Spce-user@lists.sipwise.com<br>http://lists.sipwise.com/mailman/listinfo/spce-user_lists.sipwise.com<br></div></div></body></html>