Peter thanks for the response.
I put the user name and password in but i still get the same error.
;Extentions at telx-nyc
exten => _70XX,1,Dial(IAX2/telx-nyc:telx-nyc@telx-nyc/${EXTEN})
Apr 23 12:30:35 NOTICE[147465]: chan_iax2.c:5390 socket_read: Rejected
connect attempt from 192.168.0.251
What else could it be?
-----Original Message-----
From: Peter Bowyer [mailto:peeebeee@gmail.com]
Sent: Saturday, April 23, 2005 4:18 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] IAX help
On 23/04/05, Michael DiMartino <mdm@bigmtnskier.com> wrote:
> 3. Extensions.conf (telx-NY17S)
> ;Extentions at telx-nyc
> exten => _7XXX,1,Dial(IAX2/telx-nyc/${EXTEN})
exten => _7XXX,1,Dial(IAX2/username:password@telx-nyx/${EXTEN})
where username:password is the credientials you need to authenticate
with the other server.
The username/secret in iax2.conf is for inbound, not for outbound calls.
Peter
--
Peter Bowyer
Email: peter@bowyer.org
Tel: +44 1296 768003
VoIP: sip:peter@bowyer.org
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
On 23/04/05, Michael DiMartino <mdm@bigmtnskier.com> wrote:> Peter thanks for the response. > I put the user name and password in but i still get the same error. > > ;Extentions at telx-nyc > exten => _70XX,1,Dial(IAX2/telx-nyc:telx-nyc@telx-nyc/${EXTEN}) > > Apr 23 12:30:35 NOTICE[147465]: chan_iax2.c:5390 socket_read: Rejected > connect attempt from 192.168.0.251 > > What else could it be?This peer entry in telx-nyc's iax.conf: ; telx-NY17S - Incoming [telx-NY17S] type=peer secret=telx-NY17S context=from-telx-NY17S disallow=all allow=ulaw Needs to match with the dial string you're calling it with above. See the difference? Check the presented username with iax debug enabled to confirm. Peter -- Peter Bowyer Email: peter@bowyer.org Tel: +44 1296 768003 VoIP: sip:peter@bowyer.org
On April 23, 2005 12:31 pm, Michael DiMartino wrote:> exten => _70XX,1,Dial(IAX2/telx-nyc:telx-nyc@telx-nyc/${EXTEN}) > > Apr 23 12:30:35 NOTICE[147465]: chan_iax2.c:5390 socket_read: Rejected > connect attempt from 192.168.0.251The extension you're hitting doesn't exist in the context you are being dumped in to telx-nyc [telx-nyc] type=user entry? The codec you are wanting and what they are offering don't match? Bad password? turn on iax debugging and see if you get more detail. -A.