[Serusers] Variabilized a data into ser.cfg

inge inge at legos.fr
Thu Nov 23 12:45:47 CET 2006


Hi all,

I want to change the host of my PSTN gateway according to certain
conditions.
But in the aim of not rewrite all routes wich don't change (just PSNT
host sometimes) I want to variabilize this data.

Is it possible to do something like :

if {} => gw=w.x.y.z
else => gw=z.y.x.w

Next in the routing plan :

...
rewritehost(gw);
...

?

Thanks for your help.




More information about the sr-users mailing list