<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Lucida Console'; font-size:9pt; font-weight:400; font-style:normal;">On Dienstag, 1. September 2009, Omar wrote:<br>
&gt; Our customer is  sending call forwarding to a toll free number using<br>
&gt; the diversion header<br>
&gt;<br>
&gt; the scenario is :<br>
&gt;<br>
&gt; customer----&gt;proxy------&gt;Kamailio-----&gt;carrier-----&gt;<br>
&gt;<br>
&gt; not sure where the diversion have to touch the Kamailio, if kamailio<br>
&gt; has only to pass through the headers, but i only got a 404 from the<br>
&gt; carrier.<br>
&gt; but not a 302 nor similar, what i know is we send the call, but i do<br>
&gt; not have any additional traceback.<br>
&gt;<br>
&gt;<br>
&gt; When i should use the UAC_redirect and.or Diversion modules?!<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Hi Omar,<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>have you tried to investigated why you get this 404 from the carrier?<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>The diversion module can only be used to add a new diversion header (something that can also be done with textops, for example). The uac_redirect module can be used teach kamailio how to handle redirect responses (3XX replies), for example for correct accounting and to append them as new branches for later relaying. Take a look to the module docs for more information, it contains also a cfg example.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Cheers,<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Henning</p></body></html>