[Asterisk-Users] asterisk + chan_sip2 + sipproxd + sipgate

Andreas Bayer angel_azrael at gmx.de
Sun Dec 5 06:11:48 MST 2004


Hi,

i have an asterisk server behind a masquerading firewall and trying to register to sipgate.de.

I use for outbound connections chan_sip2 and on the firewall sipproxd as outound proxy, but it doesnt work. 

Could anybody help me?

====================================
My firewall has ip addresses:
172.18.48.151
[my dyndns]

My asterisk server has ip address:
172.18.48.254

My sip.conf:

[general]
port = 5060
bindaddr = 0.0.0.0
;externip = [my dyndns]
context = sip_in
srvlookup=yes
canreinvite=no
disallow=all
allow=gsm
allow=ilbc
allow=alaw
allow=ulaw
allow=all
outboundproxy=172.18.48.251
outboundproxyport=5060
localnet=172.18.0.0/255.255.0.0

register => [sipgate authid]:[sipgate password]:[sipgate authid]@sipgate.de/s ;

[sipgate]
type=friend
username=[sipgate authid]
fromuser=[sipgate authid]
fromdomain=sipgate.de
host=proxy.de.sipgate.net
secret=[sipgate password]
context=sip_in
insecure=very
nat=yes

My sipproxd.conf:

# Minimal config only. Derived from siproxd.conf.example
# and changed: if_(in|out)bound, user, (regist|pid)file

if_inbound  = vlan2
if_outbound = ppp0
daemonize = 1
user = root
registration_file = /var/run/siproxd_registrations
pid_file = /var/run/siproxd.pid
rtp_proxy_enable = 1
rtp_port_low  = 12000
rtp_port_high = 13000
rtp_timeout = 300
mask_host = 172.18.48.251
masked_host = [my dyndns]





More information about the asterisk-users mailing list