<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thank you for the Answer:<div><span class="Apple-style-span" style="font-family: 'Times New Roman', serif; font-size: 16px; ">Our customer is sending call forwarding to a toll free number using the diversion header</span><div><div><br></div><div>the scenario is :</div><div><br></div><div>customer---->proxy------>Kamailio----->carrier-----></div><div><br></div><div>not sure where the diversion have to touch the Kamailio, if kamailio has only to pass through the headers, but i only got a 404 from the carrier.</div><div>but not a 302 nor similar, what i know is we send the call, but i do not have any additional traceback.</div><div><br></div><div><br></div><div>When i should use the UAC_redirect and.or Diversion modules?!</div><div><br></div><div><br></div><div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>__________________________</div><div>o the small </div></div></span></div></span> </div><br><div><div>On Sep 1, 2009, at 5:26 AM, Henning Westerholt wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="font-family: 'Lucida Console'; font-size: 12px; "><div style="font-family: 'Lucida Console'; font-size: 9pt; font-weight: 400; font-style: normal; ">On Sonntag, 23. August 2009, Omar Mendoza wrote:<br>> I got confused:<br>><br>> Using Kamailio 1.4.3<br><div style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; "><br></div>Hi Omar,<br><div style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; "><br></div>i need also to ask you for a bit more details, as i got a bit confused as well what you trying to achive. ;-)<br><div style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; "><br></div>> uac_redirect is been used to handle diversion, also the draft expired<br>> there is anew one<span class="Apple-converted-space"> </span><a href="http://tools.ietf.org/html/draft-levy-sip-">http://tools.ietf.org/html/draft-levy-sip-</a><br>> diversion-10, is this used together with the diversion module, or no<br>> need at all.<br>><br>> or is diversion module when you have customers registered in your<br>> system?<br>><br>> I am do not have phones registered in my system at all, i use mainly<br>> the CR module, and i need to allow diversion headers.<br>> which one to use, or both?!<br><div style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; "><br></div>If you just want to route messages with Diversion headers, you don't need to do anything, the proxy will just route them as any other message.<br><div style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; "><br></div>> Also i am scare to use the diversion due the CDRs will create a new<br>> record for that, who i will charge the call for?! :)<br><div style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; "><br></div>The acc module (if you use this for accounting) will not evaluate the diversion header on its own.<br><div style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; "><br></div>> and if i use UAC_REDIRECT should i be able to use the avp $dip and the<br>> following, from ROUTE to add to the accounting?<br>> Diversion header URI<br>><br>> $di - reference to Diversion header URI<br>><br>><br>> Diversion "privacy" parameter<br>><br>> $dip - reference to Diversion header “privacy” parameter value<br>><br>><br>> Diversion "reason" parameter<br>><br>> $dir - reference to Diversion header “reason” parameter value<br><div style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; "><br></div>If there is a Diversion header in the message (with eventual parameters) you could use this pseudo-variables to access it/ them.<br><div style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; "><br></div>Does this information helps you?<br><div style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; "><br></div>Henning</div></span></span></blockquote></div><br></div></div></div></body></html>