[OpenSIPS-Users] Question about static values in opensips cfg

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Oct 1 17:16:36 CEST 2008


Hello Helmut,

You can use for this purpose M4 - a text processor. It is more powerfull 
than the opensips.cfg script will ever be :). I'm using it and it is 
more than sufficient (you can do substitutions, functions, etc).

Regard,
Bogdan

Helmut Kuper wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello,
>
> since some functions and parameters of opensips accept only static
> values (e.g src_ip, forward, t_reply, listen, mod_param, ...) I wonder
> if it is planned to change this in that way, that we can use at least
> something like this:
>
> define LISTEN "udp:aaa.bbb.ccc.ddd:5060"
> define SERVER1 "sip:111.222.221.110:5060"
> [...]
> listen=LISTEN
> [...]
> route {
> [...]
> i	t_relay(SERVER1);
> [...]
> }
>
> This should'nt affect the performanceof opensips. But it would ease the
> change management process for openSIPs' config updates, doesn't it?.
>
> regards
> Helmut
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.8 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkjjcDUACgkQ4tZeNddg3dw8+wCeOCcKRxX0Gd/Eg9LPmX5E8cjs
> u9kAoLrBgJ7DBwmQ5Y1seef5VDOTwWLu
> =3/ji
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>   




More information about the Users mailing list