<!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>
> I got confused:<br>
><br>
> 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>> uac_redirect is been used to handle diversion, also the draft expired<br>
> there is anew one http://tools.ietf.org/html/draft-levy-sip-<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>
<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>> 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>
<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>> 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>
<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>