<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE-CH" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi all<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-GB">Based on my problem reported with subject „</span><a href="http://sip-router.1086192.n5.nabble.com/error-handling-tp123240.html"><span lang="EN-GB" style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#551A8B;background:#F2F2F2">error
 handling</span></a><span lang="EN-GB">“ I have some other questions.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I think it is a conceptual question – and I do not see any solution.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I would like to handle Kamailio with carrierroute / carrierfailureroute module different errors.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Like 404, 403, busy – or whatever sip error occurs.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Some of them need to be sent to a freeswitch playing an announcement (like “this number is blocked”, “no more credit”, …).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">So if an error occur (lets say 403) then the call is routed by carrierfailurroute to fresswitch playing message for 403.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">If I am listening the whole message – I get back error 403 at the end and the call is logged in missed calls as error 403 sent from the freeswitch – everything ok.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">If I cancel the listening by hanging up – 487 is stored in missed_calls – cause I terminated the call before getting error 403 back from freeswitch.  </span><span lang="EN-GB" style="font-family:Wingdings">è</span><span lang="EN-GB">
 so I loose this important information<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">How can I get back error 403 – play an  announcement and make sure, it is logged as 403 in database?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Thanks for helping …<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Oli<o:p></o:p></span></p>
</div>
</body>
</html>