<!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 Sonntag, 23. August 2009, Omar Mendoza wrote:<br>
&gt; I got confused:<br>
&gt;<br>
&gt; Using Kamailio 1.4.3<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>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>
<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>&gt; uac_redirect is been used to handle diversion, also the draft expired<br>
&gt; there is anew one http://tools.ietf.org/html/draft-levy-sip-<br>
&gt; diversion-10, is this used together with the diversion module, or no<br>
&gt; need at all.<br>
&gt;<br>
&gt; or is diversion module when you have customers registered in your<br>
&gt; system?<br>
&gt;<br>
&gt; I am do not have phones registered in my system at all, i use mainly<br>
&gt; the CR module, and i need to allow diversion headers.<br>
&gt; which one to use, or both?!<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>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>
<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>&gt; Also i am scare to use the diversion due the CDRs will create a new<br>
&gt; record for that, who i will charge the call for?! :)<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 acc module (if you use this for accounting) will not evaluate the diversion header on its own.<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>&gt; and if i use UAC_REDIRECT should i be able to use the avp $dip and the<br>
&gt; following, from ROUTE to add to the accounting?<br>
&gt; Diversion header URI<br>
&gt;<br>
&gt; $di - reference to Diversion header URI<br>
&gt;<br>
&gt;<br>
&gt; Diversion "privacy" parameter<br>
&gt;<br>
&gt; $dip - reference to Diversion header “privacy” parameter value<br>
&gt;<br>
&gt;<br>
&gt; Diversion "reason" parameter<br>
&gt;<br>
&gt; $dir - reference to Diversion header “reason” parameter value<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>If there is a Diversion header in the message (with eventual parameters) you could use this pseudo-variables to access it/ them.<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>Does this information helps you?<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>