[Kamailio-Users] Carrierroute and AVP
Ovidiu Sas
osas at voipembedded.com
Mon Dec 29 16:47:04 CET 2008
Hello Henning,
Can we change the name of the avp and retrieve the content of the
"descritpion" field in it?
Regards,
Ovidiu Sas
On Tue, Dec 23, 2008 at 9:50 AM, Henning Westerholt
<henning.westerholt at 1und1.de> wrote:
> 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
>
>
> _______________________________________________
> Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list