[Serusers] variables in ser.cfg

Müller Thorsten Thorsten.Mueller at vierling.de
Fri Oct 7 10:04:00 CEST 2005


Hi all,

is there a possibility to use variables in ser.cfg (ser0.9.0) like
...
set myip=192.168.1.11
set myaccount=testuser
set mypasswd=testpasswd
...
modparam("uac","credential","$myaccount:$myip:$mypasswd");
...
rewritehost($myip);
...
Perhaps a solution would be with avpops, but I didn't get it to work in conjunction with dbtext.
Has someone an example how to read variables with avpops out of a dbtext table which are not connected to a SIP-message?
(I read the README for avpops!!)

Any other solutions would be a help!!
Would this be possible with openser's pseudo variables or another ser-version?

Thanks

Thorsten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20051007/3d924e7d/attachment.htm>


More information about the sr-users mailing list