Hello,<br><br>subst is replacing inside the sintring values, those being in between quotes, like:<br><br>#subst &quot;/404/408/&quot;<br><br>sl_send_reply(&quot;404&quot;, &quot;Timeout&quot;)<br><br>The define is replacing ID tokes, which are alpha-numeric tokens stand alone.<br>
<br>In your case, you try to replace inside a composite value, and the ip address is not a stand alone token there - not sure if it supports, but you try putting the value in between quotes. If does not work, then you have to break down the listen value in listen with ip and then port separately.<br>
<br>Cheers,<br>Daniel<br><br><div class="gmail_quote">On Tue, Mar 8, 2011 at 1:13 PM, Klaus Darilion <span dir="ltr">&lt;<a href="mailto:klaus.mailinglists@pernau.at">klaus.mailinglists@pernau.at</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi!<br>
<br>
I tried<br>
<br>
#!subst &quot;/IPADDRESS_VIRTUAL/<a href="http://83.136.32.161/" target="_blank">83.136.32.161/</a>&quot;<br>
listen=udp:IPADDRESS_VIRTUAL:5060<br>
<br>
and<br>
<br>
#!define IPADDRESS_VIRTUAL 83.136.32.161<br>
listen=udp:IPADDRESS_VIRTUAL:5060<br>
<br>
Both do not work - am I doing something wrong or is this a known<br>
limitation with &quot;listen&quot; statements?<br>
<br>
Thanks<br>
Klaus<br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Daniel-Constantin Mierla<br>  <a href="http://www.asipto.com">http://www.asipto.com</a><br>