[Serusers] Save RURI (maybe AVP related)

Java Rockx javarockx at gmail.com
Tue Apr 5 13:43:29 CEST 2005


Martin,

You can use AVPOPS for this. Try something like this:

avp_write("$ruri/username", "i:30"); # store username part of r-uri in avp i:30
# do your r-uri manipulation stuff here
avp_pushto("$ruri/username", "i:30"); # rewrite usernam part of u-uri

The AVPOPS documentation is available at http://www.siphub.net/docs/avpops/

Regards,
Paul


On Apr 5, 2005 7:11 AM, Martin Koenig <martin.koenig at toplink-plannet.de> wrote:
> Hello all,
> 
> is it possible to store the User-Part of the current state of the RURI,
> do manipulations then and revert the User-Part later in Ser.cfg.
> 
> Scenario is the following:
> 
> 1) Incoming RURI is e164 at proxy, e164 is saved.
> 2) e164 at proxy is aliased to username at proxy
> 3) username at proxy is looked-up in registrar, now contact at client-ip
> 4) contact at client-ip should be rewritten to saved-e164 at client-ip
> 
> Is this possible using avps?
> 
> With best regards,
> Martin Koenig
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>




More information about the sr-users mailing list