[Serusers] Manipulate from_uri

Vitaly Nikolaev vitaly at voipsonic.com
Wed Feb 23 20:19:20 CET 2005


Many thanks for parameters for append_rpid_hf, that will work perfect for
me.


Is avpops is something that could be used already in production? Using
external routing script made me lazy to check new features in ser :)



-----Original Message-----
From: Richard [mailto:richard at o-matrix.org] 
Sent: Wednesday, February 23, 2005 1:04 PM
To: 'Vitaly Nikolaev'; serusers at lists.iptel.org
Subject: RE: [Serusers] Manipulate from_uri

> This is for kind of static thing, and I did not find way (almost half year
> ago) to make it dynamic.., per customer, per call


append_rpid_hf() can accept parameters, so you can make it a little dynamic.
For example, some UA changes caller name after activating blocking
caller-id, you can add "privacy=yes" in the rpid header.

There is another way which is totally dynamic. You can use avpops to load
the rpid and add it to the header. Hopefully someone (Elena? :) can come up
with some functions to manipulate avp values. That will make it possible to
modify rpid on the fly.

Richard








More information about the sr-users mailing list