[Asterisk-Users] iax.conf config and iax based clients
Jay Milk
jay at skimmilk.net
Sun Feb 13 08:19:37 MST 2005
Try using "context" (with a trailing T!!) in your config, and lose the
spaces around the equal sign, just in case.
> -----Original Message-----
> From: Wesley Jay Deypalan [mailto:wjdeypalan at ictuscomm.net]
> Sent: Saturday, February 12, 2005 9:33 PM
> To: timebandit001 at gmail.com; asterisk-users at lists.digium.com
> Subject: Re: [Asterisk-Users] iax.conf config and iax based clients
>
>
> 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
> >
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/aster> isk-users
> To
> UNSUBSCRIBE or update options visit:
>
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list