On Monday 19 June 2006 11:14, Hari Kurup wrote: > Ok but currently our IX link has been shut down because some > of our clients can connect from other peers (atleast UTL) but > cannot download (pop) mail. > We are still figuring out the cause and solution.
Assuming your link to the exchange point isn't congested, and no
annoying firewall filters on your end, it could uRPF biting
either you or UTL, or some such filter. Perhaps a traceroute
from you to UTL and vice versa would help.
> Good idea. Just the inspiration I needed to do IAX.
> What is step 1?
Step 1 is to firewall off the IAX2 channel port with IPTables
(you know how I am :-). Ports to block off are 4569 (IAX2) and
10000-20000 (RTP).
Step 2 is generate your RSA key like so:
astgenkey -n
This creates your public/private key pair, which you should move
to /var/lib/asterisk/keys .
Edit /etc/asterisk/iax.conf like so:
; Inter-Asterisk eXchange driver definition
;
; This configuration is re-read at reload
; or with the CLI command
; reload chan_iax2.so
;
; General settings, like port number to bind to, and
; an option address (the default is to bind to all
; local addresses).
;
[general]
bandwidth=low
disallow=lpc10
jitterbuffer=no
forcejitterbuffer=no
autokill=yes
tos=lowdelay
;
; Africa Online Zimbabwe
;
[afolzw]
type=friend
host=myhost.ipaddress.tobesent
context=your_extension_context
qualify=yes
auth=rsa
outkey=your_public_key
inkeys=my_public_key_tobesent
Restart your IAX2 channel driver:
asterisk -r
reload chan_iax2.so
Edit /etc/asterisk/extensions.conf like so:
exten => _XXXXX,1,Dial(IAX2/afolzw/${EXTEN:5})
Put this under the context you want to use, and assign XXX an
extension by which you would like to reach me.
Send your asterisk a SIGHUP/reload signal, and you should be set.
I'll send you my hostname shortly.
Mark.
pgpNAbDB1kD5s.pgp
Description: PGP signature
_______________________________________________ LUG mailing list [email protected] http://kym.net/mailman/listinfo/lug %LUG is generously hosted by INFOCOM http://www.infocom.co.ug/ The above comments and data are owned by whoever posted them (including attachments if any). The List's Host is not responsible for them in any way. ---------------------------------------
