Ivan Demkovitch
2018-Oct-11 17:18 UTC
[asterisk-users] Is there any way to pass caller id to cell phone?
We have following problem. On some of the extentions I call cell phone after 10 seconds or so.Or, like this one below- we call cell and office phone at the same time ;Eric on extension 105 exten => 105,1,Dial(${ERIC_CELL}&${ERIC_OFFICE},30) same => n,VoiceMail(105 at default,u) 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? Thank you,Ivan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20181011/73bc10c3/attachment.html>
Abdul Basit
2018-Oct-11 17:41 UTC
[asterisk-users] Is there any way to pass caller id to cell phone?
Hi Ivan, Check whats CallerID you are getting before initiating dial command. ;Eric on extension 105 exten => 105,1,NoOp( Call ID: ${CALLERID(all)} ) exten => 105,n,Dial(${ERIC_CELL}&${ERIC_OFFICE},30) same => n,VoiceMail(105 at default,u) Also what Caller ID is set on outgoing trunk? Is that enforced in trunk configuration? -- regards, abdul basit On Thu, 11 Oct 2018 at 22:19, Ivan Demkovitch <idemkovitch at yahoo.com> wrote:> > We have following problem. On some of the extentions I call cell phone > after 10 seconds or so. > Or, like this one below- we call cell and office phone at the same time > > ;Eric on extension 105 > exten => 105,1,Dial(${ERIC_CELL}&${ERIC_OFFICE},30) > same => n,VoiceMail(105 at default,u) > > 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? > > Thank you, > Ivan > > -- > _____________________________________________________________________ > -- 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-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20181011/1004851d/attachment.html>
Ivan Demkovitch
2018-Oct-11 20:00 UTC
[asterisk-users] Is there any way to pass caller id to cell phone?
Abdul, What is the point of chacking caller id? Does it "make" Asterisk forward it later on? Here is outgoing trunk sip.config. Don't know much about it, pretty much copy/paste from their instructions. register => dsfsadfasdf at callcentric.com[callcentric] type=peer context=from-callcentric host=callcentric.com fromdomain=callcentric.com defaultuser=17775555555 fromuser=17775555555 secret=abcd1234 insecure=port,invite disallowed_methods=UPDATE directmedia=no videosupport=no disallow=all allow=ulaw[callcentric1](callcentric); host=alpha1.callcentric.com[callcentric2](callcentric); host=alpha2.callcentric.com[callcentric3](callcentric); host=alpha3.callcentric.com[callcentric4](callcentric); host=alpha4.callcentric.com[callcentric5](callcentric); host=alpha5.callcentric.com Thank you,Ivan From: Abdul Basit <basit.engg at gmail.com> To: idemkovitch at yahoo.com; Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com> Sent: Thursday, October 11, 2018 12:42 PM Subject: Re: [asterisk-users] Is there any way to pass caller id to cell phone? Hi Ivan, Check whats CallerID you are getting before initiating dial command. ;Eric on extension 105 exten => 105,1,NoOp( Call ID: ${CALLERID(all)} ) exten => 105,n,Dial(${ERIC_CELL}&${ERIC_OFFICE},30) same => n,VoiceMail(105 at default,u) Also what Caller ID is set on outgoing trunk? Is that enforced in trunk configuration? -- regards, abdul basit On Thu, 11 Oct 2018 at 22:19, Ivan Demkovitch <idemkovitch at yahoo.com> wrote: We have following problem. On some of the extentions I call cell phone after 10 seconds or so.Or, like this one below- we call cell and office phone at the same time ;Eric on extension 105 exten => 105,1,Dial(${ERIC_CELL}&${ERIC_OFFICE},30) same => n,VoiceMail(105 at default,u) 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? Thank you,Ivan -- _____________________________________________________________________ -- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20181011/2d269a47/attachment.html>
Ivan Demkovitch
2018-Oct-11 20:11 UTC
[asterisk-users] Is there any way to pass caller id to cell phone?
Abdul, Added code like you proposed, I see it in logs but still don't see caller ID coming in: -- Goto (internal,101,1) -- Executing [101 at internal:1] NoOp("SIP/callcentric13-000006d1", "Call ID: "DEMKOVITCH,IVAN" <15555555555>") in new stack -- Executing [101 at internal:2] Dial("SIP/callcentric13-000006d1", "SIP/649EF375FFFF,30") in new stack == Using SIP RTP CoS mark 5 -- Called SIP/649EF375FFFF -- SIP/649EF375FFFF-000006d2 is ringing -- Nobody picked up in 30000 ms -- Executing [101 at internal:3] Dial("SIP/callcentric13-000006d1", "SIP/16666666666 at callcentric,20") in new stack == Using SIP RTP CoS mark 5 -- Called SIP/16666666666 at callcentric -- SIP/callcentric-000006d3 is making progress passing it to SIP/callcentric13-000006d1 > 0x7f3b3801c800 -- Probation passed - setting RTP source address to 222.11.192.162:56680 -- SIP/callcentric-000006d3 is ringing -- SIP/callcentric-000006d3 is making progress passing it to SIP/callcentric13-000006d1 -- SIP/callcentric-000006d3 is ringing -- SIP/callcentric-000006d3 is making progress passing it to SIP/callcentric13-000006d1 -- SIP/callcentric-000006d3 is ringing -- SIP/callcentric-000006d3 is making progress passing it to SIP/callcentric13-000006d1 -- SIP/callcentric-000006d3 is ringing -- SIP/callcentric-000006d3 is making progress passing it to SIP/callcentric13-000006d1 == Spawn extension (internal, 101, 3) exited non-zero on 'SIP/callcentric13-000006d1' From: Abdul Basit <basit.engg at gmail.com> To: idemkovitch at yahoo.com; Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com> Sent: Thursday, October 11, 2018 12:42 PM Subject: Re: [asterisk-users] Is there any way to pass caller id to cell phone? Hi Ivan, Check whats CallerID you are getting before initiating dial command. ;Eric on extension 105 exten => 105,1,NoOp( Call ID: ${CALLERID(all)} ) exten => 105,n,Dial(${ERIC_CELL}&${ERIC_OFFICE},30) same => n,VoiceMail(105 at default,u) Also what Caller ID is set on outgoing trunk? Is that enforced in trunk configuration? -- regards, abdul basit On Thu, 11 Oct 2018 at 22:19, Ivan Demkovitch <idemkovitch at yahoo.com> wrote: We have following problem. On some of the extentions I call cell phone after 10 seconds or so.Or, like this one below- we call cell and office phone at the same time ;Eric on extension 105 exten => 105,1,Dial(${ERIC_CELL}&${ERIC_OFFICE},30) same => n,VoiceMail(105 at default,u) 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? Thank you,Ivan -- _____________________________________________________________________ -- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20181011/03bb758a/attachment.html>
Daniel Tryba
2018-Oct-15 21:39 UTC
[asterisk-users] Is there any way to pass caller id to cell phone?
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.