Re: [asterisk-users] Is there any way to pass caller id to cell phone

2018-10-16 Thread Daniel Friedman
Hello,

You can ask your provider to accept PAI headers that you 
Would add to your SIP Invite request.

Usually, this is what you do when you want to block
Your caller id from showing it to the callee.
The only way that the provider can identify you (for billing and legal purposes)
Is by RPID or the PAI headers.

Regards,

Daniel Friedman
Trixton LTD.

Tel: 972.72.2557000
Mobile: 972.50.6655579

Email: d...@3xton.com
Website: http://www.3xton.com





-Original Message-
From: asterisk-users [mailto:asterisk-users-boun...@lists.digium.com] On Behalf 
Of asterisk-users-requ...@lists.digium.com
Sent: Monday, October 15, 2018 8:00 PM
To: asterisk-users@lists.digium.com
Subject: asterisk-users Digest, Vol 170, Issue 17

Send asterisk-users mailing list submissions to
asterisk-users@lists.digium.com

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.digium.com/mailman/listinfo/asterisk-users
or, via email, send a message with subject or body 'help' to
asterisk-users-requ...@lists.digium.com

You can reach the person managing the list at
asterisk-users-ow...@lists.digium.com

When replying, please edit your Subject line so it is more specific than "Re: 
Contents of asterisk-users digest..."


Today's Topics:

   1. Re: asterisk 16 manager --END COMMAND-- (Jacek Konieczny)
   2. Re: Is there any way to pass caller id to cellphone? (Eric Klein)


--

Message: 1
Date: Mon, 15 Oct 2018 08:36:23 +0200
From: Jacek Konieczny 
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] asterisk 16 manager --END COMMAND--
Message-ID: <44e25e43-e845-92f6-4e56-8e67f8643...@jajcus.net>
Content-Type: text/plain; charset=utf-8

On 2018-10-12 12:22, Dmitry Melekhov wrote:

>> AMI:
>>   - The Command action now sends the output from the CLI command as a 
>> series
>>     of Output headers for each line instead of as a block of text 
>> with the
>>     --END COMMAND-- delimiter to match the output from other actions.
>>
>>     Commands that fail to execute (no such command, invalid syntax
>> etc.) now
>>     return an Error response instead of Success.
>>
> Very pity that you break compatibility...

The old AMI protocol was so broken, so it was hardly possible to make any 
compatible client implementation. Whatever you do, it would break on some 
corner cases. This change fixed a little bit of this mess.

And if some client library is not properly updated for major Asterisk releases, 
then that is not Asterisk to blame.

Jacek



--

Message: 2
Date: Mon, 15 Oct 2018 11:12:09 +0300
From: Eric Klein 
To: asterisk-users 
Subject: Re: [asterisk-users] Is there any way to pass caller id to
cellphone?
Message-ID:

Content-Type: text/plain; charset="utf-8"

Ivan,

Be aware that what you are asking may cause problems with making the call to 
the cell phone.
Think of it this way, you are taking an inbound call and then sending it out 
over your regular operator. They may object to accepting a call with a CLID 
that does not match your account and could block it.
It is worth testing if they will allow any outbound CLID or need it to match 
the account. The problem will get worse when SHAKEN'STIR comes into effect and 
they need to certify that the call came from your office.
The reason they would block it is to prevent both spam calls and fraud.

Eric Klein
COO
Greenfield
Main US +1 805 410 1010
Main UK +44 203 746 6000
Main Il+972  73 255 7799
Mobile+972 54 666 0933

*Email *e...@greenfield.tech
Skype: EricLKlein
Web: www.greenfield.tech
 www.cloudonix.io


*Disclaimer:*
This e-mail is intended solely for the person to whom it is addressed and may 
contain confidential or legally privileged information. Access to this e-mail 
by anyone else is unauthorized. If an addressing or transmission error has 
misdirected this e-mail, please notify the author by replying to this e-mail 
and destroy this e-mail and any attachments.
E-mail may be susceptible to data corruption, interception, unauthorized 
amendment, viruses and delays or the consequences thereof. If you are not the 
intended recipient, be advised that you have received this email in error and 
that any use, dissemination, forwarding, printing or copying of this email is 
strictly prohibited.


> Date: Thu, 11 Oct 2018 17:18:24 + (UTC)
> From: Ivan Demkovitch 
> To: "asterisk-users@lists.digium.com"
> 
> Subject: [asterisk-users] Is there any way to pass caller id to cell
> phone?
> Message-ID: <1490413779.8332018.1539278304...@mail.yahoo.com>
> Content-Type: text/plain; charset="utf-8"
>
>
> 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 => 

Re: [asterisk-users] Is there any way to pass caller id to cell phone?

2018-10-16 Thread Daniel Tryba
On Thu, Oct 11, 2018 at 05:18:24PM +, 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

Re: [asterisk-users] Is there any way to pass caller id to cell phone?

2018-10-15 Thread Eric Klein
Ivan,

Be aware that what you are asking may cause problems with making the call
to the cell phone.
Think of it this way, you are taking an inbound call and then sending it
out over your regular operator. They may object to accepting a call with a
CLID that does not match your account and could block it.
It is worth testing if they will allow any outbound CLID or need it to
match the account. The problem will get worse when SHAKEN'STIR comes into
effect and they need to certify that the call came from your office.
The reason they would block it is to prevent both spam calls and fraud.

Eric Klein
COO
Greenfield
Main US +1 805 410 1010
Main UK +44 203 746 6000
Main Il+972  73 255 7799
Mobile+972 54 666 0933

*Email *e...@greenfield.tech
Skype: EricLKlein
Web: www.greenfield.tech
 www.cloudonix.io


*Disclaimer:*
This e-mail is intended solely for the person to whom it is addressed and
may contain confidential or legally privileged information. Access to this
e-mail by anyone else is unauthorized. If an addressing or transmission
error has misdirected this e-mail, please notify the author by replying to
this e-mail and destroy this e-mail and any attachments.
E-mail may be susceptible to data corruption, interception, unauthorized
amendment, viruses and delays or the consequences thereof. If you are not
the intended recipient, be advised that you have received this email in
error and that any use, dissemination, forwarding, printing or copying of
this email is strictly prohibited.


> Date: Thu, 11 Oct 2018 17:18:24 + (UTC)
> From: Ivan Demkovitch 
> To: "asterisk-users@lists.digium.com"
> 
> Subject: [asterisk-users] Is there any way to pass caller id to cell
> phone?
> Message-ID: <1490413779.8332018.1539278304...@mail.yahoo.com>
> Content-Type: text/plain; charset="utf-8"
>
>
> 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@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-0001.html
> >
>
> --
>
-- 
_
-- 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

Re: [asterisk-users] Is there any way to pass caller id to cell phone?

2018-10-11 Thread Antony Stone
On Thursday 11 October 2018 at 22:11:10, Ivan Demkovitch wrote:

> 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@internal:1] NoOp("SIP/callcentric13-06d1", "Call
> ID: "DEMKOVITCH,IVAN" <155>") in new stack
> -- Executing [101@internal:2] Dial("SIP/callcentric13-06d1",
> "SIP/649EF375,30") in new stack

So, assuming 155 is the Caller ID you would *like* to see on the 
mobile, but in fact you see the number associated with your Callcentric trunk, 
I think Abdul has pinpointed the problem:

> Also what Caller ID is set on outgoing trunk? Is that enforced in trunk
> configuration?  --
> regards,
> abdul basit

By "trunk configuration" he means the trunk setup with Callcentric, not your 
Asterisk server.

It is most likely that Callcentric do not allow you to set arbitrary caller ID 
on outgoing calls made through that connection.  You could pretend to be 
anybody, and they don't permit that.


Regards,


Antony.

-- 
Because it messes up the order in which people normally read text.
> Why is top-posting such a bad thing?
> > Top-posting.
> > > What is the most annoying way of replying to e-mail?

   Please reply to the list;
 please *don't* CC me.

-- 
_
-- 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

Re: [asterisk-users] Is there any way to pass caller id to cell phone?

2018-10-11 Thread Ivan Demkovitch
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@internal:1] NoOp("SIP/callcentric13-06d1", "Call ID: 
"DEMKOVITCH,IVAN" <155>") in new stack
    -- Executing [101@internal:2] Dial("SIP/callcentric13-06d1", 
"SIP/649EF375,30") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/649EF375
    -- SIP/649EF375-06d2 is ringing
    -- Nobody picked up in 3 ms
    -- Executing [101@internal:3] Dial("SIP/callcentric13-06d1", 
"SIP/166@callcentric,20") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/166@callcentric
    -- SIP/callcentric-06d3 is making progress passing it to 
SIP/callcentric13-06d1
   > 0x7f3b3801c800 -- Probation passed - setting RTP source address to 
222.11.192.162:56680
    -- SIP/callcentric-06d3 is ringing
    -- SIP/callcentric-06d3 is making progress passing it to 
SIP/callcentric13-06d1
    -- SIP/callcentric-06d3 is ringing
    -- SIP/callcentric-06d3 is making progress passing it to 
SIP/callcentric13-06d1
    -- SIP/callcentric-06d3 is ringing
    -- SIP/callcentric-06d3 is making progress passing it to 
SIP/callcentric13-06d1
    -- SIP/callcentric-06d3 is ringing
    -- SIP/callcentric-06d3 is making progress passing it to 
SIP/callcentric13-06d1
  == Spawn extension (internal, 101, 3) exited non-zero on 
'SIP/callcentric13-06d1'




  From: Abdul Basit 
 To: idemkovi...@yahoo.com; Asterisk Users Mailing List - Non-Commercial 
Discussion  
 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@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  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@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


   -- 
_
-- 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

Re: [asterisk-users] Is there any way to pass caller id to cell phone?

2018-10-11 Thread Ivan Demkovitch
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 => dsfsadfa...@callcentric.com[callcentric]
type=peer
context=from-callcentric
host=callcentric.com
fromdomain=callcentric.com
defaultuser=1777555
fromuser=1777555
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 
 To: idemkovi...@yahoo.com; Asterisk Users Mailing List - Non-Commercial 
Discussion  
 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@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  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@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


   -- 
_
-- 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

Re: [asterisk-users] Is there any way to pass caller id to cell phone?

2018-10-11 Thread Abdul Basit
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@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  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@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
-- 
_
-- 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

[asterisk-users] Is there any way to pass caller id to cell phone?

2018-10-11 Thread Ivan Demkovitch

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@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