On 10/07/05 11:04, Müller Thorsten wrote:
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");
all these above are not possible with avpops or something else available
in ser. Only using a text preprocessor (e.g., m4)
...
rewritehost($myip);
this can be done with avpops:
avp_write("192.168.1.11", "i:11");
avp_pushto("$ruri/domain", "i:11");
Daniel
...
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
------------------------------------------------------------------------
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers