<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>Hi,</div><div>the From user and >From display can be set using the Peer's preferences outbound_from_user and outbound_from_display.</div><div>Basically when a call comes in you have to set the User provided Number (UPN) and Network Provided Number (NPN) using the inboud_upn (NPN for a call coming from a local user is the CLI) in the Domain/Subscriber's preferences.</div><div><br></div><div>Then the system will rewrite the UPN and NPN through the Rewrite rules set.</div><div>Before relaying the call to the peer (in yuor case) it will assign the UPN or NPN to the outbound_From_user and outbound_display_name - depending on your peer's preferences.</div><div>In this way you can rewrite the From user/Disaply name as you want and set the From header according to your outbound_from_user and outbound_from_display preferences.</div><div><br></div><div>Daniel</div><div><br></div><div><br></div><div><br></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;" data-mce-style="color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Dennis van der Vliet" <dennis@messagebird.com><br><b>To: </b>spce-user@lists.sipwise.com<br><b>Sent: </b>Wednesday, May 13, 2015 2:29:46 PM<br><b>Subject: </b>[Spce-user] Changing the from header of the sip message<br><div><br></div><div dir="ltr">Hi,<div><br></div><div>We are using DIDlogic as one of our (potential) sip trunks. To have the outbound caller-id work properly they expect a 'from' field in the sip message that is formatted as follows:</div><div><br></div><div>From: 'ignored' <<a href="mailto:31612345678@yourdomain.com" target="_blank" data-mce-href="mailto:31612345678@yourdomain.com">31612345678@yourdomain.com</a>></div><div><br></div><div>However when inspecting the sip message created by sipwise I see the following:</div><div><br></div><div>From: "31858882669" <<a href="mailto:sip%3A19872@sip.nl.didlogic.net" target="_blank" data-mce-href="mailto:sip%3A19872@sip.nl.didlogic.net">sip:19872@sip.nl.didlogic.net</a>><br></div><div><br></div><div>How can I configure the 'From' header for outgoing calls through a peer?</div><div><br></div><div><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><span size="2" face="arial, helvetica, sans-serif" data-mce-style="font-family: arial, helvetica, sans-serif; font-size: small;" style="font-family: arial, helvetica, sans-serif; font-size: small;">Best from Amsterdam,</span></div><div><span size="2" face="arial, helvetica, sans-serif" data-mce-style="font-family: arial, helvetica, sans-serif; font-size: small;" style="font-family: arial, helvetica, sans-serif; font-size: small;"><br></span></div><div><span size="2" face="arial, helvetica, sans-serif" data-mce-style="font-family: arial, helvetica, sans-serif; font-size: small;" style="font-family: arial, helvetica, sans-serif; font-size: small;">Dennis van der Vliet | Senior Engineer</span></div><div><span size="2" face="arial, helvetica, sans-serif" data-mce-style="font-family: arial, helvetica, sans-serif; font-size: small;" style="font-family: arial, helvetica, sans-serif; font-size: small;"><br></span></div><div><span size="2" face="arial, helvetica, sans-serif" data-mce-style="font-family: arial, helvetica, sans-serif; font-size: small;" style="font-family: arial, helvetica, sans-serif; font-size: small;">M: +31 6 53 47 44 96</span></div><div><span size="2" face="arial, helvetica, sans-serif" data-mce-style="font-family: arial, helvetica, sans-serif; font-size: small;" style="font-family: arial, helvetica, sans-serif; font-size: small;">E: <a href="mailto:dennis@messagebird.com" target="_blank" data-mce-href="mailto:dennis@messagebird.com">dennis@messagebird.com</a></span></div><div><div style="font-size:12.8000001907349px" data-mce-style="font-size: 12.8000001907349px;"><span size="2" face="arial, helvetica, sans-serif" data-mce-style="font-family: arial, helvetica, sans-serif; font-size: small;" style="font-family: arial, helvetica, sans-serif; font-size: small;">MessageBird</span></div></div><div><span size="2" face="arial, helvetica, sans-serif" data-mce-style="font-family: arial, helvetica, sans-serif; font-size: small;" style="font-family: arial, helvetica, sans-serif; font-size: small;"><a href="https://nl.linkedin.com/in/dennisvandervliet" target="_blank" data-mce-href="https://nl.linkedin.com/in/dennisvandervliet">LinkedIn</a> | <a href="https://twitter.com/dennisvdvliet" target="_blank" data-mce-href="https://twitter.com/dennisvdvliet">Twitter</a></span></div><div><br></div><div><div style="margin:0px" data-mce-style="margin: 0px;"><br></div></div></div></div></div></div></div></div></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></body></html>