[Asterisk-Users] Problems with IAX

Jason Lixfeld jason+lists.asterisk at lixfeld.ca
Thu Jun 8 10:08:55 MST 2006


Hi,

Here's my setup:

(PSTN)--[ASTERISK1]--(IAX)--[ASTERISK2]--(IAX)--[ASTERISK3]

I don't run asterisk 1, but I do run asterisk 2 and asterisk 3.  I  
have a DID via PSTN on asterisk 1 that is directed at asterisk 2 via  
IAX.  On asterisk 2 I want to direct that DID at asterisk 3.  I have  
done so, I have the IAX stuff setup between asterisk 2 and asterisk  
3, but when I try to call the DID, I get this on asterisk 2:

Jun  8 12:50:06 NOTICE[5277]: chan_iax2.c:7183 socket_read: Host  
[asterisk1_ip] failed to authenticate as [asterisk3_ip]

I'm trying to figure out if there is some sort of proxy action that I  
need to setup somewhere. I can't figure out why asterisk 2 would log  
a message saying asterisk 1 was trying to authenticate as asterisk 3.

#asterisk 2:
; /etc/iax.conf
[asterisk3]
type=friend
username=user
secret=pass
host=x.x.x.x
qualify=yes

; /etc/extensions.conf
exten => 4166447887,1,Dial(IAX2/asterisk3)

#asterisk 3:
; /etc/iax.conf
[asterisk2]
type=friend
username=user
password=pass
host=x.x.x.x
qualify=yes

; /etc/extensions.conf
exten => 4166447887,1,NoOp(Test)
exten => 4166447887,2,Answer()




More information about the asterisk-users mailing list