<!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>
> Our customer is sending call forwarding to a toll free number using<br>
> the diversion header<br>
><br>
> the scenario is :<br>
><br>
> customer---->proxy------>Kamailio----->carrier-----><br>
><br>
> not sure where the diversion have to touch the Kamailio, if kamailio<br>
> has only to pass through the headers, but i only got a 404 from the<br>
> carrier.<br>
> but not a 302 nor similar, what i know is we send the call, but i do<br>
> not have any additional traceback.<br>
><br>
><br>
> 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>