<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>After checking the res_pjsip_outbound_registration.c code from an Asterisk 13 ... umm .. the answer is NO, it's not possible to specify the q value in a REGISTER request, neither of the channels, chan_sip or chan_pjsip allow that.<br></div><div><br></div><div>Your only 'solution' comes in 3 ways:</div><div><br></div><div>1- Do it at SPCE, you will require to do some 'tricks' to get this working in a non standar way.</div><div>2- Do the REGISTER from the Asterisk side with sipsak or sipp and a cron, instead of the regular way.</div><div>3- Patch Asterisk so it allow you to specify the q value on REGISTER request.</div><div><br></div><div>Best regards</div><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>De: </b>"Raúl Alexis Betancor Santana" <rabs@dimension-virtual.com><br><b>Para: </b>"Spce-user" <spce-user@lists.sipwise.com><br><b>Enviados: </b>Jueves, 27 de Noviembre 2014 13:22:38<br><b>Asunto: </b>Re: [Spce-user] q value<br><div><br></div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>Asterisk does not permit to specify the q value, you chould check the build_contact function on the chan_sip.c ... don't know if an Asterisk using the pjsip stack allow you to specify the q value ... it allow you to specify the Contact string ... so 'in teory' you could specify the q value.</div><div><br></div><div>Best regards</div><div><br></div><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>De: </b>"Aziz Palmer" <Aziz.Palmer@AirFIBER.com><br><b>Para: </b>"Daniel Grotti" <dgrotti@sipwise.com><br><b>CC: </b>spce-user@lists.sipwise.com<br><b>Enviados: </b>Miércoles, 26 de Noviembre 2014 17:17:25<br><b>Asunto: </b>Re: [Spce-user] q value<br><div><br></div><style id="owaParaStyle"></style><div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;"><div><div style="font-family:Tahoma; font-size:13px">I searched high and low and could not find it also</div><div style="font-family:Tahoma; font-size:13px"><br></div><div style="font-family:Tahoma; font-size:13px">anyone on this form know how to add a q value in the sip registration</div></div><div style="font-family: Times New Roman; color: #000000; font-size: 16px"><hr><div id="divRpF375398" style="direction: ltr;"><span style="color: #000000; font-family: Tahoma; font-size: small;"><b>From:</b> Daniel Grotti [dgrotti@sipwise.com]<br> <b>Sent:</b> Wednesday, November 26, 2014 9:15 AM<br> <b>To:</b> Aziz Palmer<br> <b>Cc:</b> Andreas Granig; spce-user@lists.sipwise.com<br> <b>Subject:</b> Re: q value<br> </span><br></div><div><br></div><div><p dir="ltr">Hi,<br> You should check asterisk documentation.<br> Frankly I never set q value in asterisk and don't know I'd it's supported.</p><p dir="ltr">Daniel<br></p><div class="gmail_quote">On 26 Nov 2014 18:04, Aziz Palmer <Aziz.Palmer@AirFIBER.com> wrote:<br><blockquote class="quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex"><div><div style="direction:ltr; font-family:'tahoma'; color:#000000; font-size:10pt"><div>Good Evening Daniel & Andreas,</div><div><br></div>when registering asterisk with sipwise how can i specify the "q" value during registration<div><br></div><div>we have a number of customers with redundant pbx and would like to perform serial forking between their PBXs</div><div><br></div><div>Thank you,</div><div>Anees</div></div></div></blockquote></div></div></div></div><br>_______________________________________________<br>Spce-user mailing list<br>Spce-user@lists.sipwise.com<br>https://lists.sipwise.com/listinfo/spce-user<br></div><div><br></div></div><br>_______________________________________________<br>Spce-user mailing list<br>Spce-user@lists.sipwise.com<br>https://lists.sipwise.com/listinfo/spce-user<br></div><div><br></div></div></body></html>