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

2018-10-16 Thread Ivan Demkovitch
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

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

[asterisk-users] Asterisk 15 and Cepstral

2018-10-16 Thread Carlos Chavez
    It seems that app_swift does not work with Asterisk 15 or 16.  I 
just get errors when trying to compile:


[root@pbxoficina app_swift]# ./configure
checking gcc...
checking swift...
checking asterisk...
creating Makefile
  
  *  Now run 'make' to compile app_swift *
  
[root@pbxoficina app_swift]# make

gcc -I/opt/swift/include -I/usr/include -g -Wall -fPIC -D_SWIFT_VER_6 
-D_AST_VER_15 -c -o built/app_swift.o app_swift.c

In file included from app_swift.c:34:0:
/usr/include/asterisk.h:219:2: error: #error "Externally compiled 
modules must declare AST_MODULE_SELF_SYM."

 #error "Externally compiled modules must declare AST_MODULE_SELF_SYM."
  ^
app_swift.c:35:1: error: expected declaration specifiers or ‘...’ before 
string constant

 ASTERISK_FILE_VERSION(__FILE__, "$Revision: 305000 $")
 ^
app_swift.c:35:33: error: expected declaration specifiers or ‘...’ 
before string constant

 ASTERISK_FILE_VERSION(__FILE__, "$Revision: 305000 $")
 ^
In file included from app_swift.c:37:0:
/opt/swift/include/swift.h:392:1: error: unknown type name ‘swift_voice’
 swift_voice * SWIFT_CALLCONV

..

    Is there a better way to use Cepstral voices for TTS on Asterisk?


--
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez
+52 (55)8116-9161


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

2018-10-16 Thread sean darcy

On 10/16/18 1:42 PM, Antony Stone wrote:

On Tuesday 16 October 2018 at 19:04:42, Ivan Demkovitch wrote:


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.


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.


+1


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

2018-10-16 Thread Antony Stone
On Tuesday 16 October 2018 at 19:04:42, Ivan Demkovitch wrote:

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

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.

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

2018-10-16 Thread Ivan Demkovitch
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

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] Asterisk 16.0.0 Now Available

2018-10-16 Thread Richard Mudgett
On Tue, Oct 16, 2018 at 8:08 AM Marcelo Terres  wrote:

> Guys,
>
> just a small thing:
>
> the link on "thanks for download" webpage is still pointing to Asterisk 15.
>
> Here:
>
> https://www.asterisk.org/download-asterisk-thank-you
>
> Your download should begin in a few seconds. If not, download now
> 
> Thanks for downloading Asterisk! style="font-size:16px;
> margin-bottom:0px">Your download should begin in a few seconds. If not,  href="
> http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-15-current.tar.gz
> ">download now 
> But when the page is loaded it downloads the new version.
>

Should be fixed.

Richard
-- 
_
-- 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-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 => n,VoiceM

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] Disabling a trunk at runtime

2018-10-16 Thread Daniel Tryba
On Fri, Oct 12, 2018 at 07:59:52AM -0400, Telium Support Group wrote:
> I have an Asterisk system with 2 trunks (as shown below).  I need to be able
> to disable a trunk at runtime. I may not change the dialplan but I can
> change sip.conf and reload.
> 
> Any attempt to dial in the dialplan uses trunk A and trunk B in that order.
> Normally calls will route through trunk A, but if I disable A I want calls
> to go to trunk B.
> 
> Is there a creative way to effectively disable a trunk at runtime given
> these parameters?  I don't think there is an "enabled" key-value pair for
> sip.conf stanzas.  If I change the host key value to 0.0.0.0 and reload will
> that effectively cause the dialplan to use trunk B?
[snip]

TIMTOWTDI:

- You can create a dialplan that checks a global variable whether to skip
  trunk A. You can manipulate this variable from the AMI.

- Use an AGI script to set variables or dial trunks directly.

- use a script to generate configuration (included files) and reload the
  channel driver on changes.

- Do (no)sql queries from the dialplan.

- And probably lots more of possibilities.

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