Re: [asterisk-users] Voice recognition IVR Is it possible?

2016-02-23 Thread Rodrigo Ramírez Norambuena
February 23 2016 6:57 PM, "Frank"  wrote:
> On Tue, 2016-02-23 at 17:06 +, Steve Howes wrote:
> 
>> Google?...
> 
> Yeah... searched "google voice recognition api asterisk", browsed though
> various results. Nothing helpful for a beginner, very confusing bla
> bla...
> 
> Thanks anyway for your help.

You can check
https://github.com/antirek/voicer

I see only today and not tested now.

For enable API Key you need do it by Google Console and enabled the service for 
voice (not remember
the name exactly)
https://console.developers.google.com

Regards,
--
Rodrigo Ramírez Norambuena
http://www.rodrigoramirez.com

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Voice recognition IVR Is it possible?

2016-02-23 Thread Lefteris Zafiris
On Tue, 23 Feb 2016 22:56:50 +0100
Frank  wrote:

> On Tue, 2016-02-23 at 17:06 +, Steve Howes wrote:
> 
> > Google?...  
> 
> Yeah... searched "google voice recognition api asterisk", browsed though
> various results. Nothing helpful for a beginner, very confusing bla
> bla...
> 
> Thanks anyway for your help.
> 
> F.
> 
> 

Hello Frank,

google indeed makes it very hard to figure out how to enable the speech API and
get a key. I guess it is intentional since they still consider is a technology
preview. Anyway have a look here on how to get there:
https://github.com/zaf/asterisk-speech-recog/issues/9#issuecomment-44586754
Hope that helps,

Lefteris

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] Voice recognition IVR Is it possible?

2016-02-23 Thread Israel Gottlieb
if i remember correctly nerdvittles has a article
"google speech recognition api asterisk" brings results

On Tue, Feb 23, 2016 at 11:56 PM, Frank  wrote:

> On Tue, 2016-02-23 at 17:06 +, Steve Howes wrote:
>
> > Google?...
>
> Yeah... searched "google voice recognition api asterisk", browsed though
> various results. Nothing helpful for a beginner, very confusing bla
> bla...
>
> Thanks anyway for your help.
>
> F.
>
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>http://www.asterisk.org/hello
>
> 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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Voice recognition IVR Is it possible?

2016-02-23 Thread Frank
On Tue, 2016-02-23 at 17:06 +, Steve Howes wrote:

> Google?...

Yeah... searched "google voice recognition api asterisk", browsed though
various results. Nothing helpful for a beginner, very confusing bla
bla...

Thanks anyway for your help.

F.


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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


Re: [asterisk-users] pri channels locked

2016-02-23 Thread Richard Mudgett
On Tue, Feb 23, 2016 at 3:01 PM, Jefferson B. Limeira <
j...@internexxus.com.br> wrote:

> Ops! Sorry Richard, more information:
>
> # asterisk -V
> Asterisk 11.17.1
> # asterisk -rx 'pri show version'
> libpri version: 1.4.15
>
> I found some information: my asterisk forward calls to a lot of
> equipments, and the last call on channel 1 was to a equipment that was
> restarted (SO fail).
> And seconds later on my messages:
> [2016-02-23 12:41:06] WARNING[24348] sig_pri.c: Span 1: Got SETUP with
> duplicate call ptr (0x7fc52c018c70).  Dropping call.
> [2016-02-23 12:41:19] WARNING[24348] sig_pri.c: Span 1: Got SETUP with
> duplicate call ptr (0x7fc52c03bf90).  Dropping call.
> [2016-02-23 12:41:26] WARNING[24348] sig_pri.c: Span 1: Got SETUP with
> duplicate call ptr (0x7fc52c000f70).  Dropping call.
> [2016-02-23 12:41:32] WARNING[24348] sig_pri.c: Span 1: Got SETUP with
> duplicate call ptr (0x7fc52c0258b0).  Dropping call.
> [2016-02-23 12:41:38] WARNING[24348] sig_pri.c: Span 1: Got SETUP with
> duplicate call ptr (0x7fc52c0305c0).  Dropping call.
> [2016-02-23 12:41:57] WARNING[24348] sig_pri.c: Span 1: Got SETUP with
> duplicate call ptr (0x7fc52c0a7040).  Dropping call.
>
> Any way to restart only this channels?
>

No.  You cannot restart single channels, you can only restart all dahdi
channels
in asterisk.


> I have scheduled 'service dahdi restart' at maintenance window. It's
> sufficient?
>

It is not the DAHDI service that needs to be restarted but the DAHDI
channels in asterisk.
You need to either restart asterisk or use the CLI "dahdi restart".
Restarting asterisk
is better because the dahdi restart command by necessity is going to leak
memory.


>
> Is efficient a debug on span after 'Idle' status?


To figure out why the stuck channel happens, what is needed is the debug
logs
and the "pri set debug on span x" output of the last successful call on the
stuck
channel to when you see the "Got SETUP with duplicate..." rejecting the next
call.  In other words, the log needs to cover from when the last successful
incoming
call starts on the stuck channel to when the next rejected call completes.

This looks like a bug in asterisk when handling an abnormal condition.

Richard
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] pri channels locked

2016-02-23 Thread Jefferson B. Limeira

Ops! Sorry Richard, more information:

# asterisk -V
Asterisk 11.17.1
# asterisk -rx 'pri show version'
libpri version: 1.4.15

I found some information: my asterisk forward calls to a lot of 
equipments, and the last call on channel 1 was to a equipment that was 
restarted (SO fail).

And seconds later on my messages:
[2016-02-23 12:41:06] WARNING[24348] sig_pri.c: Span 1: Got SETUP with 
duplicate call ptr (0x7fc52c018c70).  Dropping call.
[2016-02-23 12:41:19] WARNING[24348] sig_pri.c: Span 1: Got SETUP with 
duplicate call ptr (0x7fc52c03bf90).  Dropping call.
[2016-02-23 12:41:26] WARNING[24348] sig_pri.c: Span 1: Got SETUP with 
duplicate call ptr (0x7fc52c000f70).  Dropping call.
[2016-02-23 12:41:32] WARNING[24348] sig_pri.c: Span 1: Got SETUP with 
duplicate call ptr (0x7fc52c0258b0).  Dropping call.
[2016-02-23 12:41:38] WARNING[24348] sig_pri.c: Span 1: Got SETUP with 
duplicate call ptr (0x7fc52c0305c0).  Dropping call.
[2016-02-23 12:41:57] WARNING[24348] sig_pri.c: Span 1: Got SETUP with 
duplicate call ptr (0x7fc52c0a7040).  Dropping call.


Any way to restart only this channels?
I have scheduled 'service dahdi restart' at maintenance window. It's 
sufficient?


Is efficient a debug on span after 'Idle' status?

Em 2016-02-23 17:33, Richard Mudgett escreveu:

On Tue, Feb 23, 2016 at 2:04 PM, Jefferson B. Limeira 
 wrote:



Hi everyone!

Everyday some channels go to this situation:

# asterisk -rx 'pri show channels'| head -n 32 | grep 'Yes No Idle 
Yes'

PRI B Chan Call PRI Channel
Span Chan Chan Idle Level Call Name
1 1 Yes No Idle Yes
1 2 Yes No Idle Yes
1 6 Yes No Idle Yes
1 13 Yes No Idle Yes
1 14 Yes No Idle Yes
1 17 Yes No Idle Yes
1 18 Yes No Idle Yes
1 19 Yes No Idle Yes
1 20 Yes No Idle Yes
1 21 Yes No Idle Yes
1 22 Yes No Idle Yes
1 23 Yes No Idle Yes
1 24 Yes No Idle Yes
1 25 Yes No Idle Yes
1 26 Yes No Idle Yes
1 29 Yes No Idle Yes

This is an incoming calls only, and all calls on this channels are be 
rejected.
Telco delivery calls on minor channel available, empowering my 
problem.


You have not specified the Asterisk nor libpri versions involved. I 
know your

Asterisk version has to at least be mid-v1.8 in order to have the
"pri show channels" command.

The PRI call column being Yes is why those channels don't get any more 
calls.
You will need to find out what abnormal signalling causes the libpri 
call structure
to be left associated with the B channel. It could be glare, call 
aborted early,

hangup never completed, channel got RESTARTed, etc.

You will need to read [1] and use the CLI "pri set debug on span x" 
command.


Richard

[1] 
https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information 
[1]


--
[]'s Jefferson B. Limeira
j...@internexxus.com.br
https://br.linkedin.com/in/jlimeira
+55 (41) 9928-8628


Links:
--
[1] 
https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

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


Re: [asterisk-users] pri channels locked

2016-02-23 Thread Richard Mudgett
On Tue, Feb 23, 2016 at 2:04 PM, Jefferson B. Limeira <
j...@internexxus.com.br> wrote:

> Hi everyone!
>
>   Everyday some channels go to this situation:
>
> # asterisk -rx 'pri show channels'| head -n 32 | grep 'Yes  No   Idle
>  Yes'
> PRI   BChan Call   PRI  Channel
> Span Chan Chan Idle Level  Call Name
>11 Yes  No   Idle   Yes
>12 Yes  No   Idle   Yes
>16 Yes  No   Idle   Yes
>1   13 Yes  No   Idle   Yes
>1   14 Yes  No   Idle   Yes
>1   17 Yes  No   Idle   Yes
>1   18 Yes  No   Idle   Yes
>1   19 Yes  No   Idle   Yes
>1   20 Yes  No   Idle   Yes
>1   21 Yes  No   Idle   Yes
>1   22 Yes  No   Idle   Yes
>1   23 Yes  No   Idle   Yes
>1   24 Yes  No   Idle   Yes
>1   25 Yes  No   Idle   Yes
>1   26 Yes  No   Idle   Yes
>1   29 Yes  No   Idle   Yes
>
> This is an incoming calls only, and all calls on this channels are be
> rejected.
> Telco delivery calls on minor channel available, empowering my problem.
>

You have not specified the Asterisk nor libpri versions involved.  I know
your
Asterisk version has to at least be mid-v1.8 in order to have the
"pri show channels" command.

The PRI call column being Yes is why those channels don't get any more
calls.
You will need to find out what abnormal signalling causes the libpri call
structure
to be left associated with the B channel.  It could be glare, call aborted
early,
hangup never completed, channel got RESTARTed, etc.

You will need to read [1] and use the CLI "pri set debug on span x" command.

Richard

[1] https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

[asterisk-users] pri channels locked

2016-02-23 Thread Jefferson B. Limeira

Hi everyone!

  Everyday some channels go to this situation:

# asterisk -rx 'pri show channels'| head -n 32 | grep 'Yes  No   Idle
   Yes'

PRI   BChan Call   PRI  Channel
Span Chan Chan Idle Level  Call Name
   11 Yes  No   Idle   Yes
   12 Yes  No   Idle   Yes
   16 Yes  No   Idle   Yes
   1   13 Yes  No   Idle   Yes
   1   14 Yes  No   Idle   Yes
   1   17 Yes  No   Idle   Yes
   1   18 Yes  No   Idle   Yes
   1   19 Yes  No   Idle   Yes
   1   20 Yes  No   Idle   Yes
   1   21 Yes  No   Idle   Yes
   1   22 Yes  No   Idle   Yes
   1   23 Yes  No   Idle   Yes
   1   24 Yes  No   Idle   Yes
   1   25 Yes  No   Idle   Yes
   1   26 Yes  No   Idle   Yes
   1   29 Yes  No   Idle   Yes

This is an incoming calls only, and all calls on this channels are be 
rejected.

Telco delivery calls on minor channel available, empowering my problem.

Any investigation suggestion?

--
[]'s Jefferson B. Limeira

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

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


Re: [asterisk-users] Windstream SIP Trunk settings

2016-02-23 Thread Rodrigo Ramírez Norambuena
February 23 2016 9:37 AM, "James Cass"  wrote:
> Thanks everyone, all sound advice. Still can't even get the calls to show up 
> on the console at all
> - I suspect the issue is on the WS side, as I'm not having any issues with 
> other carriers with
> similar settings.

You can debug SIP to detect the problem. May be exists some cause tell you more 
information in the
trace SIP.
--
Rodrigo Ramírez Norambuena
http://www.rodrigoramirez.com

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Voice recognition IVR Is it possible?

2016-02-23 Thread Steve Howes

On 22/02/16 23:58, Frank wrote:

On Tue, 2016-02-23 at 00:43 +0100, Laszlo wrote:
...
Speech API key from Google
Yes... OK... but... where and how can I obtain this API Key?

Google?...

Steve

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

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


Re: [asterisk-users] Windstream SIP Trunk settings

2016-02-23 Thread James Cass
Thanks everyone, all sound advice.  Still can't even get the calls to show
up on the console at all - I suspect the issue is on the WS side, as I'm
not having any issues with other carriers with similar settings.

Thanks again.

James Cass 
jcas...@gmail.com


On Mon, Feb 22, 2016 at 9:06 AM, Mark Wiater 
wrote:

> In my case, username is the BTN. I also set the fromdomain to be the sbc
> that I'm registering with. Externip might help also?
>
> [paetec]
> host=10.250.0.5
> username=btn
> fromdomain=10.250.0.5
> dtmfmode=rfc2833
> externip=10.255.0.2
>
> I've used these settings on both registering and non-registering trunks,
> connecting to both the Broadworks and Plexus platforms in Windstream.
> Though all of my asterisk versions have been 1.8.x
>
> Mark
>
>
> On 2/22/2016 8:20 AM, James Cass wrote:
>
> Does anyone on this list use Windstream as a SIP trunk provider?
>
> If so, would you mind sharing your peer settings?
>
> I'm using asterisk 13.7.2 and can't seem to get the inbound working
> correctly (using registration).  Outbound is fine, but they are seeing an
> authentication error on their end.
>
> Here are my inbound peer settings:
>
> username=
> secret=
> host=
> type=peer
> fromuser=
> context=from-trunk
> dtmfmode=auto
> canreinvite=no
> qualify=yes
> insecure=port,invite
>
> register string:   :@:5060
>
> Thanks in advance,
>
>
>
>
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>http://www.asterisk.org/hello
>
> 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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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