[asterisk-users] SIP and RTP on different IP's

Tiago Geada tiago.geada at gmail.com
Fri Nov 23 07:19:22 CST 2012


Hello Folks, I am looking for a way that makes asterisk tell remote SIP
party that the IP where they will send RTP is not the same as the one I am
comunicating via SIP

Can this be done anyhow?

I can try and explain:

We have placed a asterisk box in our partners office.

It has eth0 with IP 172.16.1.10 and eth1: 10.34.18.250

linux has its routes set so it can comunicate with several networks in
their offices.

now there is a cisco call manager that we need to communicate with.
Normally via our IP 172.16.1.10, however seems that this cisco uses some
sort of 'directmedya=yes' and sets both ends speaking RTP with themselves.

There are some extensions in cisco that have a network 10.134.0.0/16 that
we can only comunicate via eth1

thus when calling cisco (always via eth0) sometimes we need to say that OUR
IP to recieve RTP is not 172.16.1.10, but 10.34.18.250

can this be done?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20121123/4767049e/attachment.htm>


More information about the asterisk-users mailing list