[asterisk-dev] [Code Review] directmediapermit/directmediadeny support to restrict which peers can do directmedia based on ip address

Russell Bryant russell at digium.com
Thu Jan 28 11:42:04 CST 2010


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/467/
-----------------------------------------------------------

(Updated 2010-01-28 11:42:04.178745)


Review request for Asterisk Developers.


Changes
-------

added bug number


Summary
-------

In some networks not all phones are fully routed, i.e. not all phones can ping each other. This patch adds a way to restrict directmedia for certain peers between certain networks. Only implemented for the SIP channel.

See https://issues.asterisk.org/view.php?id=16645


This addresses bug 16645.
    https://issues.asterisk.org/view.php?id=16645


Diffs
-----

  /trunk/channels/chan_sip.c 241101 
  /trunk/configs/sip.conf.sample 241101 
  /trunk/main/acl.c 241101 

Diff: https://reviewboard.asterisk.org/r/467/diff


Testing
-------

I tested this in our lab where phones where located on separate VLAN's. The phones that were on the same VLAN talked directly to eachother, and phones that weren't didn't. 


Thanks,

raarts




More information about the asterisk-dev mailing list