<div dir="ltr">damn... it seems there's a new law in France to do stir/shaken... <br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 6, 2023 at 2:38 PM Mickael Hubert <<a href="mailto:mickael@winlux.fr">mickael@winlux.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">We are deploying it in France.<div>In France on providers interconnections, we can see a format (made in France maybe ;) )</div><div>prefix: +33<br></div><div>portability prefix: 10200</div><div>phonenumber national format without 0: 123456789</div><div><br></div><div><a class="gmail_plusreply" id="m_-279478538631384451plusReplyChip-2">++</a><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mer. 6 sept. 2023 à 14:30, David Villasmil <<a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Is ST/SH being used other than the US? AFAIK it only applies to US numbers, thus 10 digits, no?</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 6 Sep 2023 at 14:27, Mickael Hubert <<a href="mailto:mickael@winlux.fr" target="_blank">mickael@winlux.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">yep I found...<div><br></div><div>if (end - start < 2 || end - start > 15)<br>return -1;</div><div><br></div><div>I have to modify this code.</div><div>I will propose a PR.</div><div><br></div><div>Thanks a lot<br></div><div><a class="gmail_plusreply" id="m_-279478538631384451m_4411083829991859293m_-7518287751391729148plusReplyChip-0">++</a><br></div></div></div><div dir="ltr"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mer. 6 sept. 2023 à 14:25, Marcin Groszek <<a href="mailto:marcin@voipplus.net" target="_blank">marcin@voipplus.net</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>Correction : maximum of 15 digits .<br>
</p>
<div>On 9/6/2023 7:21 AM, Marcin Groszek
wrote:<br>
</div>
<blockquote type="cite">
<p>Your number is to long</p>
<p>E.164 is + [1-9] and {1-14} digits for total of 15 digits NOT
starting with 0<br>
</p>
<div>On 9/6/2023 7:16 AM, Mickael Hubert
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi all,<br>
<div>I have an issue, when I verify a call with no E164 format
(dest: +3310200123456789)</div>
<div><br>
</div>
<div><u><b>logs:</b></u></div>
<div>Sep 6 13:39:48 am-scr-001
/usr/local/sbin/opensips[622409]:
ERROR:stir_shaken:check_passport_phonenum: number is not in
E.164 format: 3310200123456789<br>
Sep 6 13:39:48 am-scr-001 /usr/local/sbin/opensips[622409]:
ERROR:stir_shaken:w_stir_verify: failed to validate
Destination number (3310200123456789)<br>
</div>
<div><br>
</div>
<div><u><b>My configuration:</b></u></div>
<div># ----------------- module stir_shaken ---------------<br>
loadmodule "stir_shaken.so"<br>
#----------- stir_shaken params -----------------<br>
modparam("stir_shaken", "ca_list",
"/usr/local/etc/opensips/man_ca.pem")<br>
modparam("stir_shaken", "require_date_hdr", 0)<br>
modparam("stir_shaken", "verify_date_freshness", 60)<br>
</div>
<div><br>
</div>
<div>According to the doc <span>e164_strict_mode is disabled
by default, so I don't know why it doesn't work.</span></div>
<div><span><br>
</span></div>
<div><span><u><b>source of code: </b></u></span></div>
<div> if (_is_e164(num, e164_strict_mode) == -1) {<br>
LM_GEN(log_lev, "number is not in E.164
format: %.*s\n", num->len, num->s);<br>
return -1;<br>
}<span><br>
</span></div>
<div><br>
</div>
<div><br>
</div>
<div>Do you have any help for me please ? I have to validate
this format of dest number.</div>
<div><br>
</div>
<div>Thanks in advance</div>
<div><br>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<pre cols="72">--
Best Regards:
Marcin Groszek
Business Phone Service
<a href="https://www.voipplus.net" target="_blank">https://www.voipplus.net</a></pre>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<pre cols="72">--
Best Regards:
Marcin Groszek
Business Phone Service
<a href="https://www.voipplus.net" target="_blank">https://www.voipplus.net</a></pre>
</div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>