[Kamailio-Users] Carrierroute and AVP

Henning Westerholt henning.westerholt at 1und1.de
Tue Dec 23 15:50:56 CET 2008


On Fri, December 19, 2008 2:58 pm, rod wrote:
> I'd like to know if there is a way to retrieve the information from the
> carrierroute module in AVPs.
> Example:
>     - a prefix has matched, and I'd like to get the field "description"
> associated with this route and  add it in  the  SIP  header
>      - a prefix has matched, and I'd like to get the field
> "rewrite_host" associated with this route and use it with xlog

Hello Rod,

currently there is only the dest_avp parameter available, to get the
rewritten host value. Is this the information you referred in the first
case?

For the description value there is actually no such a facility. One option
would be to change the code that writes the AVP at the moment to also
include the information you need. Another, more general approach would be
to make this configurable..

Cheers,

Henning





More information about the Users mailing list