Re: [SR-Users] #!define and #!subst problem

2011-03-08 Thread Klaus Darilion
Daniel-Constantin Mierla wrote: Hello, subst is replacing inside the sintring values, those being in between quotes, like: #subst "/404/408/" sl_send_reply("404", "Timeout") The define is replacing ID tokes, which are alpha-numeric tokens stand alone. In your case, you try to replace ins

Re: [SR-Users] #!define and #!subst problem

2011-03-08 Thread Daniel-Constantin Mierla
Hello, subst is replacing inside the sintring values, those being in between quotes, like: #subst "/404/408/" sl_send_reply("404", "Timeout") The define is replacing ID tokes, which are alpha-numeric tokens stand alone. In your case, you try to replace inside a composite value, and the ip addr

[SR-Users] #!define and #!subst problem

2011-03-08 Thread Klaus Darilion
Hi! I tried #!subst "/IPADDRESS_VIRTUAL/83.136.32.161/" listen=udp:IPADDRESS_VIRTUAL:5060 and #!define IPADDRESS_VIRTUAL 83.136.32.161 listen=udp:IPADDRESS_VIRTUAL:5060 Both do not work - am I doing something wrong or is this a known limitation with "listen" statements? Thanks Klaus