<h3>Description</h3>
<p>I have listeners on multiple ports. (5060, 5080, 7000)<br>
I want force change port to 5060 for outbound messages. To do this i use</p>
<pre><code>force_send_socket($Ri:5060);
</code></pre>
<p>When I check config using <code>kamailio -c</code>, then I get error message</p>
<pre><code>syntax error, unexpected AVP_OR_PVAR
</code></pre>
<p>Could you add support of pseudo variable as argument of <code>force_send_socket</code> function</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2145?email_source=notifications&email_token=ABO7UZOSZS5FPGJXEGJ7ZBLQVF6QVA5CNFSM4JQ3QQD2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H3SPUYQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZLSAA5N2M7KV36FMX3QVF6QVANCNFSM4JQ3QQDQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZPBGAMJQ3HDE4CES63QVF6QVA5CNFSM4JQ3QQD2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H3SPUYQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2145?email_source=notifications\u0026email_token=ABO7UZOSZS5FPGJXEGJ7ZBLQVF6QVA5CNFSM4JQ3QQD2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H3SPUYQ",
"url": "https://github.com/kamailio/kamailio/issues/2145?email_source=notifications\u0026email_token=ABO7UZOSZS5FPGJXEGJ7ZBLQVF6QVA5CNFSM4JQ3QQD2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H3SPUYQ",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>