<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 9, 2018 at 5:38 AM, Benoit Panizzon <span dir="ltr"><<a href="mailto:benoit.panizzon@imp.ch" target="_blank">benoit.panizzon@imp.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear fellow list readers<br>
<br>
This is the situation:<br>
<br>
ISDN Devices => Patton ISDN to SIP GW => Asterisk PJSIP<br>
<br>
The Patton GW resides on a dynamic IP address, so I cannot really use<br>
match=ip in the identify section.<br>
<br>
The Patton does not send a line parameter.<br>
<br>
The ISDN Devices behind the patton have different MSN and should be<br>
able to send them in the From: Header, so the default endpoint<br>
identification mechanism which matches the From username with the<br>
endplaint fails.<br>
<br>
So what are the options to solve that issue?<br>
<br>
I see the asterisk sending out a challenge and getting a proper reply<br>
from the patton, but then stills complains about the endpoint not<br>
matching.<br>
<br>
According to the manual there is no<br>
<br>
type=identify<br>
match=authentication_username<br></blockquote><div><br></div><div>There is no need for a separate "identify" object in this case.  In the pjsip.conf "global" section set "endpoint_identifier_order" to include "auth_username" and in each endpoint's section set "identify_by" to include "auth_username".</div><div><br></div><div>[global]</div><div>endpoint_identifier_order = auth_username,username,ip,anonymous<br></div><div><br></div><div>[endpoint_x]</div><div>identify_by = auth_username</div><div><br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
or similar.<br>
<br>
Mit freundlichen Grüssen<br>
<br>
-Benoît Panizzon-<br>
<span class="gmail-HOEnZb"><font color="#888888">--<br>
I m p r o W a r e   A G    -    Leiter Commerce Kunden<br>
______________________________<wbr>________________________<br>
<br>
Zurlindenstrasse 29             Tel  +41 61 826 93 00<br>
CH-4133 Pratteln                Fax  +41 61 826 93 01<br>
Schweiz                         Web  <a href="http://www.imp.ch" rel="noreferrer" target="_blank">http://www.imp.ch</a><br>
______________________________<wbr>________________________<br>
<br>
--<br>
______________________________<wbr>______________________________<wbr>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.<wbr>org/</a><br>
<br>
New to Asterisk? Start here:<br>
      <a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/<wbr>wiki/display/AST/Getting+<wbr>Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/<wbr>mailman/listinfo/asterisk-<wbr>users</a></font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><span style="font-size:12.8px">George Joseph</span><br style="font-size:12.8px"><span style="font-size:12.8px">Digium, Inc. | Software Developer</span><span style="font-size:12.8px"><br>445 Jan Davis Drive NW - Huntsville, AL 35806 - US<br></span><span style="font-size:12.8px">Check us out at: </span><a href="http://www.digium.com/" rel="noreferrer" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">www.digium.com</a><span style="font-size:12.8px"> & </span><a href="http://www.asterisk.org/" rel="noreferrer" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">www.asterisk.org</a><br><div><br></div></div></div>
</div></div>