My incoming works great, no problem. I have an issue with my outgoing.
I use the settings Vitelity provides me for my outgoing trunk:
type=friend
dtmfmode=auto
username=****
secret=
fromuser=****
trustrpid=yes
sendrpid=yes
context=from-trunk ; (this could be ext-did or from-pstn as well)
canreinvite=no
host=outbound.vitelity.net
but I keep getting the error “All Circuits Are Busy Now” whenever I try to dial a number out.
What am I doing wrong? This is the only issue I’m stuck on.
Do you have all the comments to the right of from-trunk in the config?
That should not be there. It’s a comment
after removing that I still get the same “All circuits are busy”
This is what I have now:
type=friend
dtmfmode=auto
username=
secret=
fromuser=
trustrpid=yes
sendrpid=yes
context=from-trunk
canreinvite=no
host=outbound.vitelity.net
When dialing out - asterisk returns this:
WARNING[2846][C-0000007a]: chan_sip.c:23031 handle response_invite: received response: “Forbidden” from <sip:(myuserhere)@(my public ip here)>;tag=as7b3aebf2
I edited out your private info for your security.
You are getting a response back from fidelity. Maybe sending wrong CODEC
try adding:
disallow=all
allow=ulaw
to the end and see what happens.
Managed to fix it , it started to work randomly afyer I created a completely new outbound trunk. There was also an error with incorrect number formats like NXXNXXXxX.
Now for some reason I set up a ring group with both extensions 101 and 102, but the only extension that will ring is the main 101 extension. Everything with the extentions dialing out , and to each other work fine, 102 just wont ring.
Thank you