Re: [asterisk-users] multiple outbound invites

2017-02-22 Thread Max Grobecker
Hi,

that could be caused when your upstream offers "100rel" and your Asterisk does 
not get a response fast enough from your upstream.
Is your outbound peer monitored by the qualify feature (qualify=yes)? 
Then asterisk should calculate the round-trip-time until a response arrives and 
should not resend the packets too fast.
If that does not help, you could play around with the "timert1" settings in 
your peer's SIP configuration.

Also, this sounds to me like a bug on the carriers side. It seems they are 
maybe offering "100rel" to you, but do not send any SIP/1xx responses
regarding your INVITE so your Asterisk resends these INVITEs because they are 
assumed lost.
Since these INVITEs all have the very same Call-ID and CSeq number, your 
carrier's equipment should be able to determine these packets are regarding
the same call. Again, I think your carrier should fix this problem on his site.
If he wants to enforce rate-limiting to INVITEs he should do it right by 
honouring the Call-IDs and sequence numbers.

If you like you can anyway send me your trace off-list, maybe there's something 
other weird going on.


Greetings
 Max



Am 22.02.2017 um 18:57 schrieb Jeff LaCoursiere:
> 
> Hello,
> 
> I have two upstream providers we use for US termination.  The dialplan sends 
> calls out the "primary" and if that fails for specific reasons, it sends the 
> same call out the "secondary". This has worked well for us when we are lazy 
> about keeping balances up, for example.
> 
> Starting a few days ago ALL calls sent to the 'primary' were returned as 
> busy, though the secondary terminated them fine.  We have a balance, and 
> funny enough international calls are going through fine, just not US calls.  
> I opened a ticket.
> 
> The response form the carrier is that our asterisk is sending four 
> simultaneous invites within one second, and for that reason the call is 
> rejected.
> 
> I did a packet trace and was able to confirm this is true - only US calls 
> sent to this carrier cause our end to send four identical simultaneous 
> invites.  When it fails, a single invite for the same call is sent to the 
> secondary, which is terminated without issue.
> 
> Happy to send the SIP trace if any would care to see it, but is there a 
> reason anyone can think of that our asterisk (11.11.0) would suddenly start 
> doing this?  It may be that it has been doing it all along, and our carrier 
> just started rejected calls that come in this way, I'm not sure.
> 
> Cheers,
> 
> j
> 
> 

-- 
Viele Grüße aus dem Tal

Max Grobecker

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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] multiple outbound invites

2017-02-22 Thread Israel Gottlieb

Maybe your firewall is blocking receiving packets from that provider or some 
sip helper is messing the returning packets so asterisk is not recieving a 
response and resending the invite

  Original Message  
From: j...@jeff.net
Sent: February 22, 2017 7:57 PM
To: asterisk-users@lists.digium.com
Reply-to: asterisk-users@lists.digium.com
Subject: [asterisk-users] multiple outbound invites


Hello,

I have two upstream providers we use for US termination.  The dialplan 
sends calls out the "primary" and if that fails for specific reasons, it 
sends the same call out the "secondary". This has worked well for us 
when we are lazy about keeping balances up, for example.

Starting a few days ago ALL calls sent to the 'primary' were returned as 
busy, though the secondary terminated them fine.  We have a balance, and 
funny enough international calls are going through fine, just not US 
calls.  I opened a ticket.

The response form the carrier is that our asterisk is sending four 
simultaneous invites within one second, and for that reason the call is 
rejected.

I did a packet trace and was able to confirm this is true - only US 
calls sent to this carrier cause our end to send four identical 
simultaneous invites.  When it fails, a single invite for the same call 
is sent to the secondary, which is terminated without issue.

Happy to send the SIP trace if any would care to see it, but is there a 
reason anyone can think of that our asterisk (11.11.0) would suddenly 
start doing this?  It may be that it has been doing it all along, and 
our carrier just started rejected calls that come in this way, I'm not sure.

Cheers,

j


-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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

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-users Digest, Vol 151, Issue 23

2017-02-22 Thread Saint Michael
Theory: The carrier is not responding with 100 Trying in the expected time.
Hence, Asterisk is sending the INVITE again.

On Wed, Feb 22, 2017 at 1:00 PM, <asterisk-users-requ...@lists.digium.com>
wrote:

> 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. Looking for Speech Recognition (ASR) suggestions (Dan Cropp)
>2. multiple outbound invites (Jeff LaCoursiere)
>
>
> --
>
> Message: 1
> Date: Wed, 22 Feb 2017 15:43:56 +
> From: Dan Cropp <d...@amtelco.com>
> To: "asterisk-users@lists.digium.com"
> <asterisk-users@lists.digium.com>
> Subject: [asterisk-users] Looking for Speech Recognition (ASR)
> suggestions
> Message-ID:
> <41223e927281d842a48cc18032b36cc30118faf...@mail2010c.amtelco.com>
> Content-Type: text/plain; charset="us-ascii"
>
> Is it correct that the unimrcp is the best approach for Asterisk and
> ASR/TTS?
>
> Could anyone provide pros/cons for the various ASR options for Asterisk?
> We need the ability for very large grammars (over 100,000 options).
> Because of this, my initial thought is Nuance or Lumenvox.  Does this sound
> correct?
>
> Have a great day!
>
> Dan
> -- next part --
> An HTML attachment was scrubbed...
> URL: <http://lists.digium.com/pipermail/asterisk-users/
> attachments/20170222/371708a5/attachment-0001.html>
>
> --
>
> Message: 2
> Date: Wed, 22 Feb 2017 11:57:16 -0600
> From: Jeff LaCoursiere <j...@jeff.net>
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> <asterisk-users@lists.digium.com>
> Subject: [asterisk-users] multiple outbound invites
> Message-ID: <a38a9ce9-b53d-bbef-5897-422ef7cd4...@jeff.net>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
>
> Hello,
>
> I have two upstream providers we use for US termination.  The dialplan
> sends calls out the "primary" and if that fails for specific reasons, it
> sends the same call out the "secondary". This has worked well for us
> when we are lazy about keeping balances up, for example.
>
> Starting a few days ago ALL calls sent to the 'primary' were returned as
> busy, though the secondary terminated them fine.  We have a balance, and
> funny enough international calls are going through fine, just not US
> calls.  I opened a ticket.
>
> The response form the carrier is that our asterisk is sending four
> simultaneous invites within one second, and for that reason the call is
> rejected.
>
> I did a packet trace and was able to confirm this is true - only US
> calls sent to this carrier cause our end to send four identical
> simultaneous invites.  When it fails, a single invite for the same call
> is sent to the secondary, which is terminated without issue.
>
> Happy to send the SIP trace if any would care to see it, but is there a
> reason anyone can think of that our asterisk (11.11.0) would suddenly
> start doing this?  It may be that it has been doing it all along, and
> our carrier just started rejected calls that come in this way, I'm not
> sure.
>
> Cheers,
>
> j
>
>
>
>
> --
>
> ___
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> 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
>
> End of asterisk-users Digest, Vol 151, Issue 23
> ***
>
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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] multiple outbound invites

2017-02-22 Thread Jeff LaCoursiere


Hello,

I have two upstream providers we use for US termination.  The dialplan 
sends calls out the "primary" and if that fails for specific reasons, it 
sends the same call out the "secondary". This has worked well for us 
when we are lazy about keeping balances up, for example.


Starting a few days ago ALL calls sent to the 'primary' were returned as 
busy, though the secondary terminated them fine.  We have a balance, and 
funny enough international calls are going through fine, just not US 
calls.  I opened a ticket.


The response form the carrier is that our asterisk is sending four 
simultaneous invites within one second, and for that reason the call is 
rejected.


I did a packet trace and was able to confirm this is true - only US 
calls sent to this carrier cause our end to send four identical 
simultaneous invites.  When it fails, a single invite for the same call 
is sent to the secondary, which is terminated without issue.


Happy to send the SIP trace if any would care to see it, but is there a 
reason anyone can think of that our asterisk (11.11.0) would suddenly 
start doing this?  It may be that it has been doing it all along, and 
our carrier just started rejected calls that come in this way, I'm not sure.


Cheers,

j


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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] Looking for Speech Recognition (ASR) suggestions

2017-02-22 Thread Dan Cropp
Is it correct that the unimrcp is the best approach for Asterisk and ASR/TTS?

Could anyone provide pros/cons for the various ASR options for Asterisk?
We need the ability for very large grammars (over 100,000 options).  Because of 
this, my initial thought is Nuance or Lumenvox.  Does this sound correct?

Have a great day!

Dan
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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