[Asterisk-bsd] Re: One Way Audio

Tom Ivar Helbekkmo tih at eunetnorge.no
Sun Oct 17 03:24:25 CDT 2004


Jeff Rizzo <riz+asterisk at boogers.sf.ca.us> writes:

> When I do a tcpdump on his inside interface, the thing that I notice
> is that in the half-duplex audio situation, packets from the phone
> to asterisk are destined for one of the interfaces on the asterisk
> box, and packets from asterisk to the phone are destined for the
> other interface, which makes me wonder if the phone itself (a
> polycom 500) is ignoring them.  Audio _does_ work both ways when he
> uses a softphone (SJphone), even though the same situation of
> packets from the phone going to one interface, and packets to the
> phone come from the other.

This *does* seem strange.  Are you saying that packets addressed to
the phone are sent out the wrong interface?  I thought they were
outside and inside interfaces on a NAT gateway?  How do the packets
reach the phone from the wrong side?  Or are they sent out the right
interface, but addressed from the wrong one?

It may be that the Asterisk system is doing something wrong there, and
while the hard phones refuse the RTP packets, the soft phone isn't as
choosy.  Maybe there's a problem with the BSD specific code that's
invoked when bindaddr is 0.0.0.0, to resolve the proper route to each
target?  It obviously hadn't been tested until you guys started using
it, since there was a bug there that we only uncovered the other day.

I'll see if I can rig my system to do some debugging -- it's got a few
interfaces configured.

-tih
-- 
Tom Ivar Helbekkmo, Senior System Administrator, EUnet Norway Hosting
www.eunet.no  T +47-22092958 M +47-93013940 F +47-22092901 FWD 484145


More information about the Asterisk-BSD mailing list