Outbound dial pattern in asterisk for USA numbers from Australia using Anveo

I setup a US number with anveo

$2.49 setup and $1.49 per month for a DID.

Online chat support was helpful and they have a comprehensive call routing system including being able to accept faxes on the DID, setup voicemail etc. Call quality is good from Australia to US numbers.

Incoming calls worked fine on the trunk setup using

 

PEER Details

username=yourusername

type=friend

secret=yourpassword

qualify=no

port=5010

insecure=port,invite

host=sip.anveo.com

context=from-trunk

Register String

yourusername:[email protected]:5010

 

Initially I setup the outbound route to use Anveo for the dial Patter 00111_Nxxx.

When calling a US number I found it would ring about 5 times, then give a “All circuits are busy now” message

running asterisk -r the relevant part of the failure was:

SIP/Anveo yournumber-08bb9458 is ringing

— Got SIP response 503 “Service Unavailable” back from 72.9.149.69

— SIP/Anveo yournumber-08bb9458 is circuit-busy-