[Asterisk-Users] iax.conf config and iax based clients
Wesley Jay Deypalan
wjdeypalan at ictuscomm.net
Sat Feb 12 20:32:48 MST 2005
Hi,
I changed the dialplan and the same error. By the way the * server has
public IP address and the firefly clients are behind firewall(iptables).
here is the error and config
chan_iax2.c:5718 socket_read: Rejected
connect attempt from 33.44.5.55, request '106 at default' does not exist
chan_iax2.c:5718 socket_read: Rejected
connect attempt from 33.44.5.55, request '105 at default' does not exist
iax.conf
[general]
bindport=4569
bindaddr=2.3.4.5
bandwidth=low
jitterbuffer=no
tos=lowdelay
[QIax1]
type = friend
host = dynamic
accountcode = iaxy
secret = 12345678
contex = from-iax
disallow = all
allow = ilbc
allow = gsm
auth = md5
trunk = no
qualify = no
[QIax2]
type = friend
host = dynamic
accountcode = iaxy
secret = 12345678
contex = from-iax
disallow = all
allow = ilbc
allow = gsm
auth = md5
trunk = no
qualify = no
[QIax3]
type = friend
host = dynamic
accountcode = iaxy
secret = 12345678
contex = from-iax
disallow = all
allow = ilbc
allow = gsm
auth = md5
trunk = no
qualify = no
extension.conf
[general]
static = yes
writeprotect = yes
[bogon-calls]
exten => _.,1,Congestion
[from-iax]
exten => 105,1,Dial(IAX2/QIax1,20)
;exten => 105,2,Voicemail(u2000)
;exten => 105,102,Voicemail(b2000)
exten => 105,103,Hangup
exten => 106,1,Dial(IAX2/QIax2,20)
;exten => 106,2,Voicemail(u2001)
;exten => 106,102,Voicemail(b2001)
exten => 106,103,Hangup
exten => 107,1,Dial(IAX2/QIax3,20)
;exten => 107,2,Voicemail(u2002)
;exten => 107,102,Voicemail(b2002)
exten => 107,103,Hangup
TIA
WEsley
> correct your dialplan. something like this
>
> [from-iax]
>
> exten => 105,1,Dial(IAX2/QIax1,20)
> exten => 106,1,Dial(IAX2/QIax2,20)
> exten => 107,1,Dial(IAX2/QIax3,20)
>
> hth
>
More information about the asterisk-users
mailing list