<p dir="ltr">what version are you running?</p>
<p dir="ltr">--Skyler </p>
<div class="gmail_extra"><br><div class="gmail_quote">On Sep 14, 2016 5:27 PM, "Dave Massey" <<a href="mailto:dave@optionsdsl.ca">dave@optionsdsl.ca</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Bump for any help if it can be done? My upstream needs me to figure this out in the next couple days.<br>
<br>
> On Sep 12, 2016, at 4:31 PM, Dave Massey <<a href="mailto:dave@optionsdsl.ca">dave@optionsdsl.ca</a>> wrote:<br>
><br>
> My upstream takes the password authentication from the reINVITE and that's working fine. They ignore the PAI and take the CLI in the From-header.<br>
><br>
> Is it difficult to change this in SPCE for this peer?<br>
><br>
>> On Sep 12, 2016, at 11:39 AM, Daniel Grotti <<a href="mailto:dgrotti@sipwise.com">dgrotti@sipwise.com</a>> wrote:<br>
>><br>
>> Hi,<br>
>> well, how your peer would authenticate you then ? Using the PAI header ?<br>
>> Usually the authentication is based on the From header, are you sure that you provider will be able to authenticate your user with "username" in PAI and not in From ?<br>
>><br>
>><br>
>> Daniel<br>
>><br>
>><br>
>>> On 09/12/2016 04:57 PM, Dave Massey wrote:<br>
>>> Is there any way to change this ? In the code?<br>
>>><br>
>>> From my upstream:<br>
>>><br>
>>> Looks like you will have to change some code on your SPCE. it sends the<br>
>>> CLI in P-Asserted-Identity and upstream pulls it in From-header.<br>
>>><br>
>>> I need the CLI in From-header on a peer I authenticate against.<br>
>>><br>
>>> Thanks.<br>
>>><br>
>>><br>
>>><br>
>>><br>
>>> On Sep 9, 2016, at 1:52 PM, Daniel Grotti <<a href="mailto:dgrotti@sipwise.com">dgrotti@sipwise.com</a><br>
>>> <mailto:<a href="mailto:dgrotti@sipwise.com">dgrotti@sipwise.com</a>>> wrote:<br>
>>><br>
>>>> Hi Dave,<br>
>>>> From handbook:<br>
>>>> "If you do NOT authenticate against a peer host, then the caller CLI<br>
>>>> is put into the From and P-Asserted-Identity headers, e.g. "<a href="tel:%2B4312345" value="+4312345">+4312345</a>"<br>
>>>> <<a href="mailto:sip%3A%2B4312345@your-domain.com">sip:+4312345@your-domain.com</a> <mailto:<a href="mailto:4312345@your-domain.com">4312345@your-domain.<wbr>com</a>>>. If<br>
>>>> you DO authenticate, then the From header is "<a href="tel:%2B4312345" value="+4312345">+4312345</a>"<br>
>>>> <sip:your_peer_auth_user@your_<wbr>peer_auth_realm>(the CLI is in the<br>
>>>> Display field, the peer_auth_user in the From username and the<br>
>>>> peer_auth_realm in the From domain), and the P-Asserted-Identityheader<br>
>>>> is as usual like <<a href="mailto:sip%3A%2B4312345@your-domain.com">sip:+4312345@your-domain.com</a><br>
>>>> <mailto:<a href="mailto:4312345@your-domain.com">4312345@your-domain.<wbr>com</a>>>. So for presenting the correct CLI<br>
>>>> in/CLIP//no screening/ scenarios, your peering provider needs to<br>
>>>> extract the correct user either from theFrom Display-Name or from<br>
>>>> the P-Asserted-Identity URI-User."<br>
>>>><br>
>>>> Cheers,<br>
>>>> Daniel<br>
>>>><br>
>>>><br>
>>>> On Sep 9, 2016 6:16 PM, Dave Massey <<a href="mailto:dave@optionsdsl.ca">dave@optionsdsl.ca</a><br>
>>>> <mailto:<a href="mailto:dave@optionsdsl.ca">dave@optionsdsl.ca</a>>> wrote:<br>
>>>><br>
>>>>   Bumping for any ideas?<br>
>>>>   Ive messed with the peer number manipulation section to no avail.<br>
>>>><br>
>>>>   Thanks<br>
>>>><br>
>>>>       On Jul 21, 2016, at 2:11 PM, Dave Massey <<a href="mailto:dave@optionsdsl.ca">dave@optionsdsl.ca</a><br>
>>>>       <mailto:<a href="mailto:dave@optionsdsl.ca">dave@optionsdsl.ca</a>>> wrote:<br>
>>>><br>
>>>>   I have 2 peers configured, one uses IP authentication (no<br>
>>>>   username/password/realm entered) and one that uses<br>
>>>>   username/password/realm for outgoing calls.<br>
>>>>   The peer that uses IP authentication works fine for displaying<br>
>>>>   correctly the caller ID on the called partys phone, but the one<br>
>>>>   that uses authentication always puts the username/realm as the “From”<br>
>>>><br>
>>>><br>
>>>><br>
>>>>   This one works OK, the From contains the number Im calling:<br>
>>>>   proxy <script>: Setting From to<br>
>>>>   '<<a href="mailto:sip%3A19057722572@sip.optionsdsl.ca">sip:19057722572@sip.<wbr>optionsdsl.ca</a><br>
>>>>   <mailto:<a href="mailto:19057722572@sip.optionsdsl.ca">19057722572@sip.<wbr>optionsdsl.ca</a>>>' -<br>
>>>>   R=<a href="mailto:sip%3A19059753988@209.15.226.21">sip:19059753988@209.15.226.<wbr>21</a> <mailto:<a href="mailto:19059753988@209.15.226.21">19059753988@209.15.<wbr>226.21</a>><br>
>>>>   ID=<a href="mailto:f2316165-fddb0614-d0aaadf7@10.40.36.100">f2316165-fddb0614-d0aaadf7@<wbr>10.40.36.100</a><br>
>>>>   <mailto:<a href="mailto:ID">ID</a>=<a href="mailto:f2316165-fddb0614-d0aaadf7@10.40.36.100">f2316165-fddb0614-<wbr>d0aaadf7@10.40.36.100</a>><br>
>>>><br>
>>>><br>
>>>><br>
>>>>   When I call the same number out this new peer it changes it to below:<br>
>>>>   proxy[4378]: NOTICE: <script>: Setting From to<br>
>>>>   '<<a href="mailto:sip%3A2899191273@tor.trk.tprm.ca">sip:2899191273@tor.trk.tprm.<wbr>ca</a><br>
>>>>   <mailto:<a href="mailto:2899191273@tor.trk.tprm.ca">2899191273@tor.trk.<wbr>tprm.ca</a>>>' -<br>
>>>>   R=<a href="mailto:sip%3A19059753988@206.80.250.100">sip:19059753988@206.80.250.<wbr>100</a><br>
>>>>   <mailto:<a href="mailto:19059753988@206.80.250.100">19059753988@206.80.<wbr>250.100</a>><br>
>>>>   ID=<a href="mailto:6596d56-a2187651-9a413210@10.40.36.100">6596d56-a2187651-9a413210@<wbr>10.40.36.100</a><br>
>>>>   <mailto:<a href="mailto:ID">ID</a>=<a href="mailto:6596d56-a2187651-9a413210@10.40.36.100">6596d56-a2187651-<wbr>9a413210@10.40.36.100</a>><br>
>>>><br>
>>>>   Where do I change it so it does the same thing as the first peer?<br>
>>>>   Calls out work fine but always display the <a href="tel:2899191273" value="+12899191273">2899191273</a> on the<br>
>>>>   callee’s phone<br>
>>>><br>
>>>>   Thanks<br>
>>>>   ______________________________<wbr>_________________<br>
>>>>   Spce-user mailing list<br>
>>>>   <a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a> <mailto:<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.<wbr>sipwise.com</a>><br>
>>>>   <a href="https://lists.sipwise.com/listinfo/spce-user" rel="noreferrer" target="_blank">https://lists.sipwise.com/<wbr>listinfo/spce-user</a><br>
><br>
> ______________________________<wbr>_________________<br>
> Spce-user mailing list<br>
> <a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
> <a href="https://lists.sipwise.com/listinfo/spce-user" rel="noreferrer" target="_blank">https://lists.sipwise.com/<wbr>listinfo/spce-user</a><br>
<br>
______________________________<wbr>_________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
<a href="https://lists.sipwise.com/listinfo/spce-user" rel="noreferrer" target="_blank">https://lists.sipwise.com/<wbr>listinfo/spce-user</a><br>
</blockquote></div></div>