Callcentric trunks

I’m having trouble setting up my PBX to dial out. I can dial in fine, but when i dial out i get “all circuits in use” from the PBX

here are my Peer details
context=from-pstn
fromdomain=callcentric.com
fromuser=1777xxxxxxx
host=callcentric.com
insecure=port,invite
secret=xxxxxxxxx
type=peer
username=1777xxxxxxx
disallowed_methods=UPDATE
directmedia=no
videosupport=no
disallow=all
allow=ulaw

here is what happens when i try to dial out

[2013-04-24 17:04:28] ERROR[2818] netsock2.c: getaddrinfo(“Call centric”, “(null)”, …): Name or service not known
[2013-04-24 17:04:28] WARNING[2818] chan_sip.c: No such host: Call centric
[2013-04-24 17:04:28] WARNING[2818] app_dial.c: Unable to create channel of type ‘SIP’ (cause 20 - Subscriber absent)
[2013-04-24 17:04:28] VERBOSE[2818] app_dial.c: == Everyone is busy/congested at this time (1:0/0/1)
[2013-04-24 17:04:28] VERBOSE[2818] pbx.c: – Executing [s@macro-dialout-trunk:23] NoOp(“SIP/303-0000002a”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 20”) in new stack

Please do not post multiple threads on the same topic. I deleted the other thread.

Clearly you have some sort of typo or garbage in your hostname, read the error:

Call centric", “(null)”, …): Name or service not know

is there a way to see what host name Asterisk is trying to use, because as far as I can see, the host name entered is correct. CallCentric CS doesn’t seem to know why this error is occurring, they have seen screenshots of all of the trunk configuration pages.

Yes do a ‘sip show peer xxx’ in Asterisk.

i did that and found my problem, my trunk name was Call centric, i changed it to Call-centric and now my system works. thanks! wouldn’t have realized that with out that command.