Reputation: 125
I'm sending outbound calls from asterisk server using sip account. I want to use separate IPs for voice an signaling for these outbound calls. Please guide if any idea regarding this, how should I configure it in sip.conf.
Upvotes: 3
Views: 3868
Reputation: 1878
You can set the RTP / media address IP in the [general]
section of your sip.conf
:
[general]
; media address
media_address=10.10.5.2
; depending on your nat & situation you might need for signalling:
externaddr=10.10.5.1
localnet=192.168.1.0/255.255.255.0
Then you can confirm this by running:
ast*CLI> sip set debug on
And look for the media address in the SDP payload under c=
.
Word to the wise: make sure you check your routing on your box too, e.g. route -n
and make sure things are headed where you expect them to.
Upvotes: 2