Firewall configuration asterisk and SPA 3000

By default asterisk will listen for udp packets on port 5060. My firewall configuration has a default of dropping packets not explicitly allowed so I added a rule to allow udp packets on the internal network side of the firewall to port 5060. This configuration mostly worked, but some sorts of calls (handset to sipphone account) would result in only one end being able to hear the audio.

I eventually realised that problems only occurred when Asterisk was doing codec conversions for a SIP client. It appears that when this occurs, the audio stream is transmitted on a different dynamically allocated udp port and the packets were being dropped by the firewall rules. I ended up allowing all udp packets from the internal network side of my firewall. Its probably possible to restrict the range.
read more:http://ozlabs.org/~cyeoh/asterisk/

Related post



Newer Post Older Post

0 comments:

Post a Comment

 

Wiki Voip And Fax Tutorials Copyright © 2010 Labloub