<div dir="ltr">On Fri, 25 May 2018 at 08:35, Daniel Grotti <<a href="mailto:dgrotti@sipwise.com">dgrotti@sipwise.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
><br>
> Is this possible? I can imagine registering a 2nd IP address in the <br>
> subscriber, but don't know how to prioritize one over the other.<br>
<br>
You could theoretically define the q value in the permanent registration with value 0 for the highest priority. Then create another permanent registration with q set to 1.<br>
Then in the subscriber preferences you select the option to fork calls based on q value.<br>
The calls will go first to ip with q value 0. If fails or no reply, call will fall back to ip with q value 1.<br>
<br></blockquote><div><br></div><div>Hi</div><div>I think this is slightly wrong. q-value should be a floating point number in a range 0 to 1.0 with 1.0 being the highest priority. So the call will go to an endpoint with a q-value of 1 first, and only use the endpoint with a q-value of 0 if the first is unavailable.</div><div><br></div><div>This is also nicely documented at <a href="https://www.sipwise.com/serial-forking-based-sip-provider/">https://www.sipwise.com/serial-forking-based-sip-provider/</a></div><div><br></div><div>Hope this helps.</div><div><br></div><div>-Barry</div><br></div></div>