Sorry guys! Here is what Callcentric tech support provided. They asked me to 
add 2 settings to SIP.conf:sendrpid=pai
trustrpid=no
And modify incoming context like so:
[from-pstn-toheader-inreplyto]
exten => s,1,Noop(Trying to add ${SIPCALLID} to the In-Reply-To Header)
exten => s,2,SIPAddHeader(In-Reply-To: ${SIPCALLID})
exten => s,3,Goto(automated_attendant,s,1)

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.Now I need to figure out how to figure out when 
it's a call from office :)))
Thank you,Ivan


Message: 2
Date: Mon, 15 Oct 2018 23:39:31 +0200
From: Daniel Tryba <[email protected]>
To: Asterisk Users Mailing List - Non-Commercial Discussion
    <[email protected]>
Subject: Re: [asterisk-users] Is there any way to pass caller id to
    cell phone?
Message-ID: <20181015213930.2a4uulq2z6xbfjcb@bogus>
Content-Type: text/plain; charset=us-ascii

On Thu, Oct 11, 2018 at 05:18:24PM +0000, Ivan Demkovitch wrote:
> 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.
> We use Callcentric as a trunk if it makes any difference.
> I'd like to add info about caller when passing to cell phone if possible. Is 
> there any way to do that?

Maybe you should ask them how to do this! Maybe you should add a
Diversion header, maybe they don't allow this kind of spoofing at all.
This is a common request from users of SIP trunks and your use case is
legit. If Callcentric does checks on callerid validity and there is a
call to a customer with callerid X, they should be able to use this
callerid X when forwarding to an external device/number.


   
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Astricon is coming up October 9-11!  Signup is available at: 
https://www.asterisk.org/community/astricon-user-conference

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to