[SIP Beyond VoIP] media_ip darcs patches

Saúl Ibarra Corretgé saul at ag-projects.com
Tue Dec 2 11:34:12 CET 2014


On 01 Dec 2014, at 15:16, Juha Heinanen <jh at tutpro.com> wrote:

> Saúl Ibarra Corretgé writes:
> 
>> This should already be working if you build python-sipsimple and
>> sylkserver from trunk (both). The IP settings is shared, so the one
>> you set in the SIP section will also be used for SDP and RTP now.
> 
> saul,
> 
> after the media_ip patch that i made, i have defined in config.ini:
> 
> [SIP]
> local_ip = 127.0.0.1
> local_udp_port = 5092
> local_tcp_port = 5092
> local_tls_port = 5093
> outbound_proxy = 127.0.0.1:5070
> trusted_peers = 127.0.0.1
> 
> [RTP]
> media_ip = 93.106.72.219
> 
> that is, my sylkserver is colocated with my sip proxy and uses 127.0.0.1
> for signalling.  media_ip is public ip of the nat.  sip proxy cannot reach
> sylkserver using that address, but only using address 127.0.0.1.
> 
> i hope that nothing breaks with shared public ip setting.
> 

You’ll need to listen on a public interface and a different port, then the trusted peers setting should take care of rejecting potential unwanted traffic.


Regards,

--
Saúl Ibarra Corretgé
AG Projects



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.ag-projects.com/pipermail/sipbeyondvoip/attachments/20141202/51f3ec90/attachment.pgp>


More information about the SIPBeyondVoIP mailing list