I got confused:
Using Kamailio 1.4.3
uac_redirect is been used to handle diversion, also the draft expired there is anew one http://tools.ietf.org/html/draft-levy-sip- diversion-10, is this used together with the diversion module, or no need at all.
or is diversion module when you have customers registered in your system?
I am do not have phones registered in my system at all, i use mainly the CR module, and i need to allow diversion headers. which one to use, or both?!
Also i am scare to use the diversion due the CDRs will create a new record for that, who i will charge the call for?! :)
and if i use UAC_REDIRECT should i be able to use the avp $dip and the following, from ROUTE to add to the accounting? Diversion header URI
$di - reference to Diversion header URI
Diversion "privacy" parameter
$dip - reference to Diversion header “privacy” parameter value
Diversion "reason" parameter
$dir - reference to Diversion header “reason” parameter value
__________________________ O the Great
Anyone :|
__________________________ O
On Aug 23, 2009, at 10:52 AM, Omar Mendoza wrote:
I got confused:
Using Kamailio 1.4.3
uac_redirect is been used to handle diversion, also the draft expired there is anew one http://tools.ietf.org/html/draft-levy-sip-diversion-10 , is this used together with the diversion module, or no need at all.
or is diversion module when you have customers registered in your system?
I am do not have phones registered in my system at all, i use mainly the CR module, and i need to allow diversion headers. which one to use, or both?!
Also i am scare to use the diversion due the CDRs will create a new record for that, who i will charge the call for?! :)
and if i use UAC_REDIRECT should i be able to use the avp $dip and the following, from ROUTE to add to the accounting? Diversion header URI
$di - reference to Diversion header URI
Diversion "privacy" parameter
$dip - reference to Diversion header “privacy” parameter value
Diversion "reason" parameter
$dir - reference to Diversion header “reason” parameter value
O the Great
On Sonntag, 23. August 2009, Omar Mendoza wrote:
I got confused:
Using Kamailio 1.4.3
Hi Omar,
i need also to ask you for a bit more details, as i got a bit confused as well what you trying to achive. ;-)
uac_redirect is been used to handle diversion, also the draft expired there is anew one http://tools.ietf.org/html/draft-levy-sip- diversion-10, is this used together with the diversion module, or no need at all.
or is diversion module when you have customers registered in your system?
I am do not have phones registered in my system at all, i use mainly the CR module, and i need to allow diversion headers. which one to use, or both?!
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.
Also i am scare to use the diversion due the CDRs will create a new record for that, who i will charge the call for?! :)
The acc module (if you use this for accounting) will not evaluate the diversion header on its own.
and if i use UAC_REDIRECT should i be able to use the avp $dip and the following, from ROUTE to add to the accounting? Diversion header URI
$di - reference to Diversion header URI
Diversion "privacy" parameter
$dip - reference to Diversion header “privacy” parameter value
Diversion "reason" parameter
$dir - reference to Diversion header “reason” parameter value
If there is a Diversion header in the message (with eventual parameters) you could use this pseudo-variables to access it/ them.
Does this information helps you?
Henning
Thank you for the Answer: Our customer is sending call forwarding to a toll free number using the diversion header
the scenario is :
customer---->proxy------>Kamailio----->carrier----->
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. but not a 302 nor similar, what i know is we send the call, but i do not have any additional traceback.
When i should use the UAC_redirect and.or Diversion modules?!
__________________________ o the small
On Sep 1, 2009, at 5:26 AM, Henning Westerholt wrote:
On Sonntag, 23. August 2009, Omar Mendoza wrote:
I got confused:
Using Kamailio 1.4.3
Hi Omar,
i need also to ask you for a bit more details, as i got a bit confused as well what you trying to achive. ;-)
uac_redirect is been used to handle diversion, also the draft
expired
there is anew one http://tools.ietf.org/html/draft-levy-sip- diversion-10, is this used together with the diversion module, or no need at all.
or is diversion module when you have customers registered in your system?
I am do not have phones registered in my system at all, i use mainly the CR module, and i need to allow diversion headers. which one to use, or both?!
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.
Also i am scare to use the diversion due the CDRs will create a new record for that, who i will charge the call for?! :)
The acc module (if you use this for accounting) will not evaluate the diversion header on its own.
and if i use UAC_REDIRECT should i be able to use the avp $dip and
the
following, from ROUTE to add to the accounting? Diversion header URI
$di - reference to Diversion header URI
Diversion "privacy" parameter
$dip - reference to Diversion header “privacy” parameter value
Diversion "reason" parameter
$dir - reference to Diversion header “reason” parameter value
If there is a Diversion header in the message (with eventual parameters) you could use this pseudo-variables to access it/ them.
Does this information helps you?
Henning
On Dienstag, 1. September 2009, Omar wrote:
Our customer is sending call forwarding to a toll free number using the diversion header
the scenario is :
customer---->proxy------>Kamailio----->carrier----->
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. but not a 302 nor similar, what i know is we send the call, but i do not have any additional traceback.
When i should use the UAC_redirect and.or Diversion modules?!
Hi Omar,
have you tried to investigated why you get this 404 from the carrier?
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.
Cheers,
Henning