[Asterisk-Dev] chan_sip2 and siproxd problem

Andreas Bayer angel_azrael at gmx.de
Sat Dec 11 17:20:46 MST 2004


Hi,

i am trying to connect to freenet.de from an asterisk server behind a nat 
firewall.
Asterisk couuld register to freenet, but i get an error :    
    -- Executing Dial("IAX2/[xxxxx]@[xxxxx]/5", 
"SIP/[nnnnnnnnnnnnn]@freenet.de|45|r") in new stack
    -- parse_srv: SRV mapped to host iphone.freenet.de, port 5060
    -- sip_xmit:  0x815bbf4 (len 824) to 194.97.54.97 sent via outbound proxy
    -- >>>  Sending SIP message to [ip siproxd]
    -- Called [nnnnnnnnnnnnnnnnn]@freenet.de
=>-- Got SIP response 403 "Anruf nicht erlaubt" back from 194.97.54.97
    -- sip_xmit:  0xbd9f1c48 (len 439) to 194.97.54.97 sent via outbound proxy
    -- >>>  Sending SIP message to [ip siproxd]

Any good ideas??

=================================================================

/etc/hosts:

194.97.54.97 freenet.de


/etc/siproxd.conf

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 = [ip siproxd]
masked_host = [my dyndns]

/etc/asterisk/sip.conf

[general]
port = 5060
bindaddr = 0.0.0.0
context = sip_in
srvlookup=yes
canreinvite=no
disallow=all
allow=gsm
allow=ilbc 
allow=alaw
allow=ulaw
allow=all
outboundproxy=  [ip siproxd]
outboundproxyport=5060
localnet=172.18.0.0/255.255.0.0
usereqphone=yes

register => [freenet id]:[passwd]@freenet.de/[freenet id] ;


[freenet]
type=friend
username=[freenet id]
fromuser=[freenet id]
fromdomain=freenet.de
host=freenet.de
secret=[passwd]
context=sip_in
nat=yes
insecure=very



More information about the asterisk-dev mailing list