Hey everybody,
all previous problems were solved, but my X-lite can’t complete VOIP calls, and my Asterisk CLI says that the circuit is busy, but actually it isn’t busy.
The two clients and the server are in a restricted network just for them, there is no firewall.
Anybody has any idea what is going wrong.
Thanks for everyone
what kind of call are you trying to make? Are you trying to call another device on the asterisk server? If so is that device registered? Paste the output of cli in here so we can see what you are doing/getting.
I’m trying to call another computer linked to the asterisk server, it is registered, connect normal. 401 and 402 are the numbers of each station.
– Executing [401@ext-local:1] Dial(“SIP/402-099909d0”, “SIP/401|15”) in new stack
– Called 401
– SIP/401-099986b8 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
– Executing [401@ext-local:2] Hangup(“SIP/402-099909d0”, “”) in new stack
== Spawn extension (ext-local, 401, 2) exited non-zero on ‘SIP/402-099909d0’
Can you post your sip and extension conf files, so that I can analyze and try to help you out.
Thanks,
Agni.
thanks for helping
10.0.0.200 is the ip of the computer with asterisk
extensions.conf:
[general]
autofallthrough=no
[globals]
include => ext-local
include => xlite
include => 401
include => 402
[default]
[ext-local]
exten =>401,1,Dial(SIP/401,15)
exten =>401,2,Hangup
exten =>402,1,Dial(SIP/402,15)
exten =>402,2,Hangup
sip.conf:
[general]
bindport=5060
bindaddr=10.0.0.200
bandwidth=high
realm=10.0.0.200
srvlookup=yes
useragente=Asterisk PBX 1.2.12
context=default
disallow=all
allow=speex
allow=gsm
[xlite]
type=peer
secret=1234
host=dynamic
defaultip=10.0.0.200
mailbox=8590
[401]
username=401
secret=1234
type=friend
host=dynamic
canreinvite=yes
callerid=401<401>
context=ext-local
dtmfmode=info
mailbox=2500
videosupport=no
language=br
qualify=yes
nat=yes
[402]
username=402
secret=4321
type=friend
host=dynamic
canreinvite=yes
callerid=402<402>
context=ext-local
dtmfmode=info
mailbox=2501
videosupport=no
language=br
qualify=yes
nat=yes
change the following line bindaddr=10.0.0.200 to 0.0.0.0 and try to test.
Thanks,
Agni
Hi
change
disallow=all
allow=speex
allow=gsm
to
disallow=all
allow=alaw
allow=ulaw
allow=gsm
and also add it to the peers.
Ian
thanks for everyone, it worked