<p></p>
<p>Updated PR to connect to urls while parsing the given "nats_url" modparams. Also the new function now supports either 1, 2 or 3 params; url and subject are now optional; it will publish to all urls and all subject queues if none given.</p>
<p>Basically tested it with 3 local nats servers. And calling the new config function either with 1 param or 3 params.</p>
<p>Let me know what you think of this.</p>
<p>Thank you,<br>
Stefan</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/pull/2915#issuecomment-960798522">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZPYOLBDOM6NXZM5BXTUKJ3T3ANCNFSM5HI6CVXQ">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/ABO7UZIGRHS2G4VL3KRNT5LUKJ3T3A5CNFSM5HI6CVX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHFCJ6OQ.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/pull/2915#issuecomment-960798522",
"url": "https://github.com/kamailio/kamailio/pull/2915#issuecomment-960798522",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>