I have problem with figuring out how to make Asterisk use different source IPs in SIP messaging when going through different trunks. I did a lot of Google, but ended up not finding any useful info.
My provider gave me extra cable for telephony. I have 5 SIP trunks on 5 different VLANs on that cable. Every trunk is authenticated by source IP in SIP Header. Every trunk uses same SIP Proxy address provided by my VoIP provider. Is there any way to configure vanilla Asterisk to chose specific source IP (and put it in SIP Headers) for each trunk to pass providers authentication?