[Kamailio-Users] Carrierroute and AVP

rod kawarod at laposte.net
Mon Dec 29 08:16:44 CET 2008


Henning,

For the rewrite host I was looking for, I got it using $rd pseudovariable.

Thanks for your support,
Regards,
rod

Henning Westerholt 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