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

Iñaki Baz Castillo ibc at in.ilimit.es
Wed Jan 16 14:22:58 CET 2008


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!


-- 
Iñaki Baz Castillo
ibc at in.ilimit.es




More information about the Users mailing list