Is There Any Way To Pass Caller Id To
Thanks all, I did contact Callcentric about it and their tech support helped meget those headers established. They even helped to troubleshoot Asterisk dialplan. A the end all works as it should. Thank you,Ivan
Message: 2
Date: Mon, 15 Oct 2018 23:39:31 +0200
From: Daniel Tryba
To: Asterisk Users Mailing List – Non-Commercial Discussion
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
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.
3 thoughts on - Is There Any Way To Pass Caller Id To
For the benefit of others who may run into the same sort of problem:
1. What did Call Centric’s tech support people do?
2. What did they advise you to change?
3. What did you end up with as a working dialplan (at least, the part that dials out to Call Centric)?
Other carriers may well work the same way as Call Centric, so this information could be helpful to other people on similar connections.
Regards,
Antony.
—
What do you get when you cross a joke with a rhetorical question?
Please reply to the list;
please *don’t* CC me.
—
+1
—
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
To: Asterisk Users Mailing List – Non-Commercial Discussion
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
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.