Valued Colleagues,

 

Can anyone tell me how I can use/read the value of an avpops variable in my ser.cfg?!

 

For example, if my intention is to obtain a new uri value from database and rewrite the

RURI using this value, would the following work properly?

 

 

                if (avp_db_load("$ruri/username", "s:new-uri"))                                                              

                {                                                                                                                 

                        rewriteuri("s:new-uri");

                };                                                                                                                

 

I appreciate your kind assistance in advance

 

ramin