<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 08/04/2021 11:37, Daniel-Constantin
Mierla wrote:<br>
</div>
<blockquote type="cite"
cite="mid:e5fda607-107c-d511-7798-fe5494750b71@gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>Hello,</p>
<p>have you changed the value for the force_dst modparam for
dispatcher module?</p>
<p> *
<a class="moz-txt-link-freetext"
href="https://www.kamailio.org/docs/modules/stable/modules/dispatcher.html#dispatcher.p.force_dst"
moz-do-not-send="true">https://www.kamailio.org/docs/modules/stable/modules/dispatcher.html#dispatcher.p.force_dst</a></p>
<p>Also not, iirc, in the older versions the value was 0.</p>
</blockquote>
<p>Thanks Daniel, this was not explicitly set and is currently
running an old 4.4 so I will set it and see if it helps, although
the docs say it defaults to 1.<br>
</p>
<p>-Barry<br>
</p>
<blockquote type="cite"
cite="mid:e5fda607-107c-d511-7798-fe5494750b71@gmail.com">
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 08.04.21 11:58, Barry Flanagan
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:a0b60439-106c-b987-b055-693dc5432c79@flanagan.ie">Hi <br>
<br>
I am using the dispatcher module with Kamailio as a front-end
Registrar/LB in front of a cluster of Asterisk boxes. I have
come across an issue with SUBSCRIBE messages not getting routed
to the correct server in the event that the phone endpoint's
dispatch set is changed. It will still go to the old server
until such time as the phone is rebooted. <br>
<br>
The reason this is happening is because the 200 OK in the
response from the Asterisk server has Contact set to its own
IP:port and subsequent in-dialog reSUBSCRIBE are sent with the
original Asterisk ip:port in the RURI. When Kamailio receives
these reSUBSCRIBE it does not change the RURI even though
ds_select_dst is being called in the [WITHIN_DIALOG] route. <br>
<br>
My feeling is I have two choices - either alter the Contact in
the reply from Asterisk, or, change the RURI manually on receipt
of an in-dialog SUBSCRIBE. <br>
<br>
Has anyone else come across this, or have advice on the best way
to handle this? <br>
<br>
Thanks <br>
<br>
<div class="moz-txt-sig"><span class="moz-txt-tag">-- <br>
</span> <br>
-Barry <br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" moz-do-not-send="true">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</div>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com" moz-do-not-send="true">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" moz-do-not-send="true">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - Online
May 17-20, 2021 (Europe Timezone) - June 7-10, 2021 (America Timezone)
* <a class="moz-txt-link-freetext" href="https://www.asipto.com/sw/kamailio-advanced-training-online/" moz-do-not-send="true">https://www.asipto.com/sw/kamailio-advanced-training-online/</a></pre>
</blockquote>
<pre class="moz-signature" cols="72">--
-Barry</pre>
</body>
</html>