Claudio Thomas
2013-10-15 11:48:46 UTC
Hi,
im working with a pfSense 2.1(i386) release and I'm trying to connect my
asterisk to sipgate.
The following parts already run:
- register asterisk to sipgate and qualify (trunk marked as online at
sipgate)
- outgoing calls from asterisk to POTs over sipgate (signaling and audio
-> outgoing SIP/RTP works)
But what not runs are incomming calls.
I see the SIP pakets comming on WAN with tcpdump (tcpdump -i xl0 -A -s 0
'port 5060'), but nothing goes out to LAN (tcpdump -i re1 -A -s 0 'port
5060').
So my guess is that NAT+Portforwarding is not working correctly. Can
anyone help?
Thanks, Claudio
PS: annexed some details...
asterisk <-> siproxd 0.8.0_2/pfSense 2.1(i386) <-> sipgate
10.150.0.14 <-> 10.150.0.158/(pub-ip censored) <-> 217.10.68.150
siproxd-config:
Enabled siproxd: enable
Inbound Interface: LAN
Outbound Interface: WAN
Enable RTP proxy: enable
RTP port range: 7070 - 7080
Outbound proxy hostname: sipconnect.sipgate.de
Debug Level: Everything
(missing options are empty/not checked)
1.NAT-Port-Forward-Rules:
Interface: WAN
Protocol: TCP/UDP
Destination: WAN address
Destination port range: SIP - SIP
Redirect target IP: 10.150.0.14
Redirect target port: SIP
Description: "SIP-protocol Weiterleitung an PBX"
NAT reflection: Enable (NAT + Proxy)
Filter rule association: "Rule NAT SIP-protocol Weiterleitung an PBX"
2.NAT-Port-Forward-Rules:
Interface: WAN
Protocol: TCP/UDP
Destination: WAN address
Destination port range: 10000 - 20000
Redirect target IP: 10.150.0.14
Redirect target port: 10000
Description: "RTP-protocol Weiterleitung an PBX"
NAT reflection: Enable (NAT + Proxy)
Filter rule association: "Rule NAT RTP-protocol Weiterleitung an PBX"
pbx2*CLI> sip show peers
Name/username Host Dyn Nat ACL Port
Status Realtime
gw_25_sipgate/2100006t0 217.10.68.150 5060 OK (14 ms)
pbx2*CLI> sip show registry
Host dnsmgr Username Refresh
State Reg.Time
10.150.0.158:5060 N ***@si 130
Registered Tue, 15 Oct 2013 13:44:11
im working with a pfSense 2.1(i386) release and I'm trying to connect my
asterisk to sipgate.
The following parts already run:
- register asterisk to sipgate and qualify (trunk marked as online at
sipgate)
- outgoing calls from asterisk to POTs over sipgate (signaling and audio
-> outgoing SIP/RTP works)
But what not runs are incomming calls.
I see the SIP pakets comming on WAN with tcpdump (tcpdump -i xl0 -A -s 0
'port 5060'), but nothing goes out to LAN (tcpdump -i re1 -A -s 0 'port
5060').
So my guess is that NAT+Portforwarding is not working correctly. Can
anyone help?
Thanks, Claudio
PS: annexed some details...
asterisk <-> siproxd 0.8.0_2/pfSense 2.1(i386) <-> sipgate
10.150.0.14 <-> 10.150.0.158/(pub-ip censored) <-> 217.10.68.150
siproxd-config:
Enabled siproxd: enable
Inbound Interface: LAN
Outbound Interface: WAN
Enable RTP proxy: enable
RTP port range: 7070 - 7080
Outbound proxy hostname: sipconnect.sipgate.de
Debug Level: Everything
(missing options are empty/not checked)
1.NAT-Port-Forward-Rules:
Interface: WAN
Protocol: TCP/UDP
Destination: WAN address
Destination port range: SIP - SIP
Redirect target IP: 10.150.0.14
Redirect target port: SIP
Description: "SIP-protocol Weiterleitung an PBX"
NAT reflection: Enable (NAT + Proxy)
Filter rule association: "Rule NAT SIP-protocol Weiterleitung an PBX"
2.NAT-Port-Forward-Rules:
Interface: WAN
Protocol: TCP/UDP
Destination: WAN address
Destination port range: 10000 - 20000
Redirect target IP: 10.150.0.14
Redirect target port: 10000
Description: "RTP-protocol Weiterleitung an PBX"
NAT reflection: Enable (NAT + Proxy)
Filter rule association: "Rule NAT RTP-protocol Weiterleitung an PBX"
pbx2*CLI> sip show peers
Name/username Host Dyn Nat ACL Port
Status Realtime
gw_25_sipgate/2100006t0 217.10.68.150 5060 OK (14 ms)
pbx2*CLI> sip show registry
Host dnsmgr Username Refresh
State Reg.Time
10.150.0.158:5060 N ***@si 130
Registered Tue, 15 Oct 2013 13:44:11