<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div><span></span></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1539616778582_28483" dir="ltr">Sorry guys! Here is what Callcentric tech support provided. They asked me to add 2 settings to </div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1539616778582_28552" dir="ltr">SIP.conf:</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1539616778582_28584" dir="ltr">sendrpid=pai<br id="yui_3_16_0_ym19_1_1539616778582_28580">trustrpid=no</div><div class="qtdSeparateBR" dir="ltr"><br></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1539616778582_28631" dir="ltr">And modify incoming context like so:</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1539616778582_28613" dir="ltr"><br id="yui_3_16_0_ym19_1_1539616778582_28608">[from-pstn-toheader-inreplyto]<br id="yui_3_16_0_ym19_1_1539616778582_28609">exten => s,1,Noop(Trying to add ${SIPCALLID} to the In-Reply-To Header)<br id="yui_3_16_0_ym19_1_1539616778582_28610">exten => s,2,SIPAddHeader(In-Reply-To: ${SIPCALLID})<br id="yui_3_16_0_ym19_1_1539616778582_28611">exten => s,3,Goto(automated_attendant,s,1)<br id="yui_3_16_0_ym19_1_1539616778582_28612"><br id="yui_3_16_0_ym19_1_1539616778582_28581"></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1539616778582_28549">Basically it's all about adding header they support on their end. I do not know if they had to make any config changes on their side or not but seems like it's a supported and legit feature.</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1539616778582_28626">Now I need to figure out how to figure out when it's a call from office :)))</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1539616778582_28632"><br></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1539616778582_28627">Thank you,</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1539616778582_28630">Ivan</div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1539616778582_28628"><br></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1539616778582_28629"><br></div><div class="yahoo_quoted" id="yui_3_16_0_ym19_1_1539616778582_28487" style="display: block;"><div id="yui_3_16_0_ym19_1_1539616778582_28486" style="font-family: Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"><div id="yui_3_16_0_ym19_1_1539616778582_28485" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"><div class="y_msg_container" id="yui_3_16_0_ym19_1_1539616778582_28488"><div id="yui_3_16_0_ym19_1_1539616778582_28501" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1539616778582_28500" dir="ltr">Message: 2<br></div><div id="yui_3_16_0_ym19_1_1539616778582_28503" dir="ltr">Date: Mon, 15 Oct 2018 23:39:31 +0200<br></div><div id="yui_3_16_0_ym19_1_1539616778582_28506" dir="ltr">From: Daniel Tryba <<a id="yui_3_16_0_ym19_1_1539616778582_28577" href="mailto:daniel@tryba.nl" ymailto="mailto:daniel@tryba.nl">daniel@tryba.nl</a>><br></div><div id="yui_3_16_0_ym19_1_1539616778582_28499" dir="ltr">To: Asterisk Users Mailing List - Non-Commercial Discussion<br></div><div id="yui_3_16_0_ym19_1_1539616778582_28505" dir="ltr">    <<a id="yui_3_16_0_ym19_1_1539616778582_28504" href="mailto:asterisk-users@lists.digium.com" ymailto="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a>><br></div><div id="yui_3_16_0_ym19_1_1539616778582_28508" dir="ltr">Subject: Re: [asterisk-users] Is there any way to pass caller id to<br></div><div id="yui_3_16_0_ym19_1_1539616778582_28533" dir="ltr">    cell phone?<br></div><div id="yui_3_16_0_ym19_1_1539616778582_28510" dir="ltr">Message-ID: <<a id="yui_3_16_0_ym19_1_1539616778582_28509" href="mailto:20181015213930.2a4uulq2z6xbfjcb@bogus" ymailto="mailto:20181015213930.2a4uulq2z6xbfjcb@bogus">20181015213930.2a4uulq2z6xbfjcb@bogus</a>><br></div><div id="yui_3_16_0_ym19_1_1539616778582_28532" dir="ltr">Content-Type: text/plain; charset=us-ascii<br></div><div id="yui_3_16_0_ym19_1_1539616778582_28531" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1539616778582_28530" dir="ltr">On Thu, Oct 11, 2018 at 05:18:24PM +0000, Ivan Demkovitch wrote:<br></div><div id="yui_3_16_0_ym19_1_1539616778582_28529" dir="ltr">> Where problem comes in - if person not at the desk - his cell phone shows call from OFFICE number and there is no way to tell who is really calling.<br></div><div id="yui_3_16_0_ym19_1_1539616778582_28528" dir="ltr">> We use Callcentric as a trunk if it makes any difference.<br></div><div id="yui_3_16_0_ym19_1_1539616778582_28527" dir="ltr">> I'd like to add info about caller when passing to cell phone if possible. Is there any way to do that?<br></div><div id="yui_3_16_0_ym19_1_1539616778582_28511" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1539616778582_28526" dir="ltr">Maybe you should ask them how to do this! Maybe you should add a<br></div><div id="yui_3_16_0_ym19_1_1539616778582_28525" dir="ltr">Diversion header, maybe they don't allow this kind of spoofing at all.<br></div><div id="yui_3_16_0_ym19_1_1539616778582_28512" dir="ltr">This is a common request from users of SIP trunks and your use case is<br></div><div id="yui_3_16_0_ym19_1_1539616778582_28513" dir="ltr">legit. If Callcentric does checks on callerid validity and there is a<br></div><div id="yui_3_16_0_ym19_1_1539616778582_28514" dir="ltr">call to a customer with callerid X, they should be able to use this<br></div><div id="yui_3_16_0_ym19_1_1539616778582_28515" dir="ltr">callerid X when forwarding to an external device/number.<br></div><div id="yui_3_16_0_ym19_1_1539616778582_28558" dir="ltr"><br></div><br></div> </div> </div>  </div></div></body></html>