[OpenSER-Users] Obtaining the domain of "Refer-to" URI

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Jan 16 16:19:34 CET 2008


Hi Iñaki,

all the transformation should work with avps and script variables 
also..See the examples:
    http://www.openser.org/dokuwiki/doku.php/transformations:1.3.x#examples

why do you say it doesn't? do you get some errors ?

Regards,
Bogdan

Iñaki Baz Castillo wrote:
> On Wednesday 16 January 2008 13:42:34 Klaus Darilion wrote:
>   
>> {uri.host}
>>
>> (same as {uri.domain})
>>
>> Return the domain part
>>
>>
>> http://www.openser.org/dokuwiki/doku.php/transformations:1.3.x
>>     
>
>
> Thanks Klaus, it works using:
>   $(rt{uri.host})      ;)
>
> I already know about those {uri} tansformation but unfortunatelly the are not 
> allowed for variables or AVP's:
>
>   $(var(name){uri.host})
>   $(avp(s:name){uri.host})
>
> Those are not allowed and they will fail in execution time even if they 
> contain a valid SIP URI.
>
> Thanks a lot!
>
>
>   





More information about the Users mailing list