[Asterisk-Users] Ingate Firewall and Asterisk Integration

c waddy wadstar at gmail.com
Wed Apr 6 12:26:11 MST 2005


Hi,

I just got an Ingate Firewall, I cannot get asterisk to register to
it. Using UDP port forwarding to the Asterisk box, its like the
firewall is re-writing the password part.

I keep getting an error like the password is wrong, when trying to
route through the firewall.

 In the console i get.

WARNING[19393]: chan_sip.c:6834 handle_response: Forbidden - wrong
password on authentication for REGISTER for 'one' to '195.***.22.12'

Yet i know the password is correct.

In sip.conf  -> register => test:test at IPaddress:5060

Anyone had asterisk + Ingate working?

Is there a certain authentication method or encryption i need to use?

Below is the log output showing asterisk trying to authenticate with the Ingate.

UDP   195.224.22.12 5060 eth1 10.6.0.9 5060     Accepted SIP signaling
2005-04-04 15:55:27 >>> Info: sipfw:  send sl to 10.6.0.9:

 SIP/2.0 403 Forbidden
 Via: SIP/2.0/UDP 10.6.0.9:5060;branch=z9hG4bK0f09ac29
 From: <sip:test at 195.***.22.12>;tag=as576cb37b
 Call-ID: 257130a362bbd95a436c6125628c895d at 10.6.0.9
 CSeq: 230 REGISTER
 Server: Ingate-Firewall/4.1.3
 To: <sip:test at 195.***.22.12>;tag=10675194461474
 Content-Length: 0

2005-04-04 15:55:27 >>> Info: sipfw: send sl to 10.6.0.9: SIP/2.0 403 Forbidden
2005-04-04 15:55:27 >>> Notice: sipfw: REGISTER request denied.
2005-04-04 15:55:27 >>> Info: sipfw:  recv from 10.6.0.9 via socket 12:

 REGISTER sip:195.***.22.12 SIP/2.0
 Via: SIP/2.0/UDP 10.6.0.9:5060;branch=z9hG4bK0f09ac29
 From: <sip:test at 195.224.22.12>;tag=as576cb37b
 To: <sip:test at 195.***.22.12>
 Call-ID: 257130a362bbd95a436c6125628c895d at 10.6.0.9
 CSeq: 230 REGISTER
 User-Agent: Asterisk PBX
 Expires: 120
 Contact: <sip:s at 10.6.0.9>
 Event: registration
 Content-Length: 0

2005-04-04 15:55:27 >>> Info: sipfw: recv from 10.6.0.9: REGISTER
sip:195.224.22.12 SIP/2.0
2005-04-04 15:55:27.703 UDP eth1 10.6.0.9 5060   195.***.22.12 5060
Accepted SIP signaling
2005-04-04 15:55:07.688 UDP   195.***.22.12 5060 eth1 10.6.0.9 5060
Accepted SIP signaling
2005-04-04 15:55:07 >>> Info: sipfw:  send sl to 10.6.0.9:

 SIP/2.0 403 Forbidden
 Via: SIP/2.0/UDP 10.6.0.9:5060;branch=z9hG4bK3d04eca3
 From: <sip:test at 195.***.22.12>;tag=as0e819f3b
 Call-ID: 257130a362bbd95a436c6125628c895d at 10.6.0.9
 CSeq: 229 REGISTER
 Server: Ingate-Firewall/4.1.3
 To: <sip:test at 195.***.22.12>;tag=10675194461474
 Content-Length: 0



More information about the asterisk-users mailing list