<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div></div><div>Is there any way to change this ? In the code?</div><div><br></div><div>From my upstream:</div><div><p dir="ltr"><span style="background-color: rgba(255, 255, 255, 0);">Looks like you will have to change some code on your SPCE. it sends the CLI in P-Asserted-Identity and upstream pulls it in From-header.</span></p></div><div>I need the CLI in From-header on a peer I authenticate against. </div><div><br></div><div>Thanks. </div><div><br></div><div><br></div><div><br></div><div><br>On Sep 9, 2016, at 1:52 PM, Daniel Grotti <<a href="mailto:dgrotti@sipwise.com">dgrotti@sipwise.com</a>> wrote:<br><br></div><blockquote type="cite"><div><p dir="ltr">Hi Dave,<br>
From handbook:<br>
"If you do NOT authenticate against a peer host, then the caller CLI is put into the From and P-Asserted-Identity headers, e.g. "+4312345" <sip:+<a href="mailto:4312345@your-domain.com">4312345@your-domain.com</a>>. If you DO authenticate, then the From header is "+4312345" <sip:your_peer_auth_user@your_peer_auth_realm>(the CLI is in the Display field, the peer_auth_user in the From username and the peer_auth_realm in the From domain), and the P-Asserted-Identityheader is as usual like <sip:+<a href="mailto:4312345@your-domain.com">4312345@your-domain.com</a>>. So for presenting the correct CLI in<i>CLIP</i><i> no screening</i> scenarios, your peering provider needs to extract the correct user either from theFrom Display-Name or from the P-Asserted-Identity URI-User."</p>
<p dir="ltr">Cheers,<br>
Daniel</p>
<div class="gmail_extra"><br><div class="gmail_quote">On Sep 9, 2016 6:16 PM, Dave Massey <<a href="mailto:dave@optionsdsl.ca">dave@optionsdsl.ca</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Bumping for any ideas?</div><div>Ive messed with the peer number manipulation section to no avail.</div><div><br></div><div>Thanks</div><br><div><blockquote><div>On Jul 21, 2016, at 2:11 PM, Dave Massey <<a href="mailto:dave@optionsdsl.ca">dave@optionsdsl.ca</a>> wrote:</div><br><div></div></blockquote></div></div><div style="word-wrap:break-word">I have 2 peers configured, one uses IP authentication (no username/password/realm entered) and one that uses username/password/realm for outgoing calls.<div>The peer that uses IP authentication works fine for displaying correctly the caller ID on the called partys phone, but the one that uses authentication always puts the username/realm as the “From”</div><div><br></div><div><br></div><div><br></div><div>This one works OK, the From contains the number Im calling:</div><div><span style="font-family:'menlo';font-size:11px">proxy <script>: Setting From to '<sip:<a href="mailto:19057722572@sip.optionsdsl.ca">19057722572@sip.optionsdsl.ca</a>>' - R=sip:<a href="mailto:19059753988@209.15.226.21">19059753988@209.15.226.21</a> <a href="mailto:ID=f2316165-fddb0614-d0aaadf7@10.40.36.100">ID=f2316165-fddb0614-d0aaadf7@10.40.36.100</a></span></div><div><br></div><div><span style="font-family:'menlo';font-size:11px"><br></span></div><div><span style="font-family:'menlo';font-size:11px"><br></span></div><div><span style="font-family:'menlo';font-size:11px">When I call the same number out this new peer it changes it to below:</span></div><div><div style="margin:0px;font-size:11px;line-height:normal;font-family:'menlo'">proxy[4378]: NOTICE: <script>: Setting From to '<sip:<a href="mailto:2899191273@tor.trk.tprm.ca">2899191273@tor.trk.tprm.ca</a>>' - R=sip:<a href="mailto:19059753988@206.80.250.100">19059753988@206.80.250.100</a> <a href="mailto:ID=6596d56-a2187651-9a413210@10.40.36.100">ID=6596d56-a2187651-9a413210@10.40.36.100</a></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:'menlo'"><br></div></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:'menlo'">Where do I change it so it does the same thing as the first peer?</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:'menlo'">Calls out work fine but always display the 2899191273 on the callee’s phone</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:'menlo'"><br></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:'menlo'">Thanks</div></div>_______________________________________________<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">https://lists.sipwise.com/listinfo/spce-user</a><br><br></blockquote></div><br></div></div></blockquote></body></html>