Hi, all.
I have problems with iax2, when try to communicate with one third server, asterisk reports the following errors in server's, could help me?
Server A it speaks It with C in iax and Server B it speaks with D in iax, but Server A it does not obtain to speak with B in iax, reports the following error in server B "chan_iax2.c:5749 socket_read: Host 200.xxx.xxx.xxx failed you authenticate sipspo "and in the Server A, where I originate the calls reports the following message: "chan_iax2.c:5553 socket_read: Call rejected by 200.xxx.xxx.xxx: In authority found -- Hungup ' IAX2/gatewayspo/16384 ' Where would apply the function switch in extensions.conf? Necessary of something more? I am using the version the 1.0.9 of asterisk in all tips.
Below follows my configurations of iax.conf the interesting one is that register it functions in each server, what could be? Already I compiled and I installed everything two times and the error persists.

Greatings
 

server B

[general]
bindport=4569
bindaddr=0.0.0.0

trunkdfreq=40
amaflags=billing
disallow=all
allow=gsm
allow=g729
;allow=g723.1
;allow=ulaw
tos=lowdelay
jitterbuffer=yes

[cornjundiai]
type=friend
username=corncea
context=default
secret=spojundiai
host=133.1.150.1
peercontext=default
qualify=yes
trunk=yes
insecure=very
canreinvite=no
incominglimit=30
disallow=all
allow=gsm
;allow=g729
;allow=g723.1
;allow=ulaw

[gatewaycea]
type=friend
username=sipcea
context=default
secret=ceaiax
host=200.XXX.XXX.XXX
peercontext=default
qualify=yes
trunk=yes
insecure=very
canreinvite=no
incominglimit=30
disallow=all
allow=gsm
;allow=g729
;allow=g729
;allow=g723.1
;allow=ulaw

[5003]
type=friend
secret=5003
context=default
host=dynamic
regexten=5003
amaflags=billing


SERVER A:

[agra]
type=friend
username=cea
context=default
secret=agracea
host=200.XXX.XXX.XXX
peercontext=default
qualify=yes
trunk=yes
insecure=very
canreinvite=no
incominglimit=30
disallow=all
allow=gsm
;allow=g729
;allow=g723.1
;allow=ulaw

[sipcea]
type=friend
username=gatewaycea
context=default
secret=ceaiax
insecure=very
host=200.XXX.XXX.XXX
peercontext=default
qualify=yes
trunk=yes
insecure=very
canreinvite=no
incominglimit=30
disallow=all
allow=gsm
;allow=g729
;allow=g723.1
;allow=ulaw

;[5011]
type=friend
secret=5011
host=dynamic
callgroup=1
amaflags=billing

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to